:root {
    /* Color Palette */
    --bg-color: #f7f8fb;
    --bg-darker: #eff3ff;
    --card-bg: rgba(255, 255, 255, 0.72);
    --card-border: rgba(15, 23, 42, 0.10);
    
    --primary: #12b76a;
    --primary-glow: rgba(18, 183, 106, 0.24);
    --secondary: #5b5ceb;
    
    --text-main: #0b1220;
    --text-muted: #55657f;
    
    --danger: #FF3D00;
    --warning: #FFC400;
    --system-shot: url("../一点次方系统.png");
    --hero-bg-opacity: 0.24;
    --hero-bg-contrast: 1.02;
    --hero-bg-saturate: 1.05;
    --hero-mask-opacity: 0.9;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.bg-darker { background-color: var(--bg-darker); }

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), #00B0FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--primary); }

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.pt-0 { padding-top: 0 !important; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2.5rem; }
.d-block { display: block; }

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section.pt-0 { padding-top: 30px; }

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}
.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-links a:hover { color: var(--primary); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-sm { padding: 6px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.1rem; border-radius: var(--radius-md); }
.btn-block { width: 100%; display: flex; }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
    background: #0ea35d;
}

.btn-outline {
    background: transparent;
    border-color: var(--card-border);
    color: var(--text-main);
}
.btn-outline:hover {
    border-color: rgba(15, 23, 42, 0.24);
    background: rgba(15, 23, 42, 0.03);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    color: var(--text-main);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(15, 23, 42, 0.16);
}

.btn-soft {
    background: rgba(18, 183, 106, 0.10);
    border-color: rgba(18, 183, 106, 0.22);
    color: var(--primary);
}
.btn-soft:hover {
    background: rgba(18, 183, 106, 0.14);
    border-color: rgba(18, 183, 106, 0.30);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0 80px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(1200px 500px at 50% 20%, rgba(91, 92, 235, 0.06), transparent 68%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.88) 52%, rgba(247, 248, 251, 0.98) 100%);
}

.glow-bg {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(18, 183, 106, 0.18) 0%, rgba(91, 92, 235, 0.12) 42%, transparent 72%);
    z-index: 0;
    pointer-events: none;
}

.hero-system-bg {
    position: absolute;
    inset: 12px -4% -12px;
    z-index: 0;
    pointer-events: none;
    opacity: var(--hero-bg-opacity);
    mix-blend-mode: multiply;
    filter: saturate(var(--hero-bg-saturate)) contrast(var(--hero-bg-contrast));
    animation: heroChartDrift 14s ease-in-out infinite alternate;
}

.hero-system-bg svg {
    width: 108%;
    height: 100%;
    display: block;
}

.hero-soft-mask {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(90% 48% at 50% 36%, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.65) 78%, rgba(255, 255, 255, 0.88) 100%),
        linear-gradient(180deg, rgba(247, 250, 255, 0.72) 0%, rgba(247, 250, 255, 0.16) 22%, rgba(247, 250, 255, 0.75) 100%);
    opacity: var(--hero-mask-opacity);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.subtitle-badge {
    font-size: 1.2rem;
    vertical-align: middle;
    background: rgba(15, 23, 42, 0.06);
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 24px;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@keyframes heroChartDrift {
    from { transform: translateY(6px) scale(1.02); }
    to { transform: translateY(-8px) scale(1.035); }
}

.hero-system-bg .trade-signal,
.system-showcase-chart .trade-signal {
    transform-box: fill-box;
    transform-origin: center;
    animation: signalBeacon 1.8s ease-in-out infinite;
    will-change: transform, filter;
}

.hero-system-bg .signal-pulse-ring,
.system-showcase-chart .signal-pulse-ring {
    transform-box: fill-box;
    transform-origin: center;
    filter: drop-shadow(0 0 12px currentColor);
    animation: signalPulseStrong 1.45s cubic-bezier(0.18, 0.82, 0.22, 1) infinite;
}

.hero-system-bg .signal-core,
.system-showcase-chart .signal-core {
    transform-box: fill-box;
    transform-origin: center;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.75));
    animation: signalCoreFlash 1.1s ease-in-out infinite alternate;
}

.hero-system-bg .signal-guide,
.system-showcase-chart .signal-guide {
    stroke-dasharray: 6 8;
    stroke-linecap: round;
    animation: signalGuideFlow 0.85s linear infinite, signalGuideGlow 1.25s ease-in-out infinite alternate;
}

.hero-system-bg .signal-guide-marker,
.system-showcase-chart .signal-guide-marker {
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 8px currentColor);
}

.hero-system-bg .signal-label,
.system-showcase-chart .signal-label {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.08em;
    paint-order: stroke fill;
    stroke: rgba(255, 255, 255, 0.88);
    stroke-width: 5px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

.hero-system-bg .signal-tag,
.system-showcase-chart .signal-tag {
    animation: none;
}

.hero-system-bg .signal-tag text,
.system-showcase-chart .signal-tag text {
    font-family: var(--font-heading);
}

.hero-system-bg .signal-arrow,
.system-showcase-chart .signal-arrow {
    transform-box: fill-box;
    transform-origin: center;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.38));
    animation: signalArrowKick 1.1s ease-in-out infinite;
}

.hero-system-bg .signal-buy,
.system-showcase-chart .signal-buy {
    color: rgba(34, 197, 94, 0.96);
    filter: drop-shadow(0 0 16px rgba(34, 197, 94, 0.34));
}

.hero-system-bg .signal-exit,
.system-showcase-chart .signal-exit {
    color: rgba(245, 101, 101, 0.96);
    filter: drop-shadow(0 0 16px rgba(245, 101, 101, 0.32));
}

.system-showcase-section {
    padding-top: 0;
    padding-bottom: 72px;
    background:
        radial-gradient(1100px 380px at 50% 0%, rgba(91, 92, 235, 0.08), transparent 70%),
        linear-gradient(180deg, #f8fbff 0%, #eef4ff 58%, #f3f7ff 100%);
}

.system-showcase-section .container {
    max-width: 1480px;
    padding: 0 20px;
}

.system-showcase {
    position: relative;
    padding: 22px 18px 86px;
    overflow: hidden;
    isolation: isolate;
}

.system-showcase::before {
    content: "";
    position: absolute;
    inset: 6% 10% 24% 10%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(91, 92, 235, 0.16) 0%, rgba(18, 183, 106, 0.14) 28%, rgba(255, 255, 255, 0) 72%);
    filter: blur(42px);
    opacity: 0.9;
    z-index: -2;
}

.system-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 1px, transparent 1px, transparent 120px),
        linear-gradient(180deg, rgba(148, 163, 184, 0.08) 0, rgba(148, 163, 184, 0.08) 1px, transparent 1px, transparent 92px);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.08) 60%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

.system-showcase-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.system-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #1e293b;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(148, 163, 184, 0.16);
}

.system-chip-soft {
    color: rgba(58, 59, 191, 0.96);
    background: rgba(239, 244, 255, 0.9);
    border-color: rgba(91, 92, 235, 0.16);
}

.system-showcase-device {
    position: relative;
    width: min(1320px, 100%);
    margin: 0 auto;
    perspective: 2400px;
}

.system-showcase-device::before {
    content: "";
    position: absolute;
    inset: 2% 7% -4%;
    border-radius: 38px;
    background: linear-gradient(180deg, rgba(91, 92, 235, 0.12) 0%, rgba(18, 183, 106, 0.1) 100%);
    filter: blur(30px);
    z-index: -1;
}

.system-showcase-bezel {
    position: relative;
    padding: 18px 18px 22px;
    border-radius: 34px;
    border: 1px solid rgba(203, 213, 225, 0.84);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(233, 240, 250, 0.96) 54%, rgba(210, 221, 236, 0.98) 100%);
    box-shadow:
        0 28px 70px rgba(148, 163, 184, 0.18),
        0 12px 26px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: rotateX(1.6deg);
    transform-style: preserve-3d;
}

.system-showcase-bezel::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.84);
    pointer-events: none;
}

.system-showcase-bezel::after {
    content: "";
    position: absolute;
    inset: 10px 16px 18px;
    border-radius: 30px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.04) 8%, rgba(255, 255, 255, 0.04) 92%, rgba(255, 255, 255, 0.28) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 18%, rgba(15, 23, 42, 0.08) 100%);
    opacity: 0.55;
    pointer-events: none;
}

.system-showcase-camera {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 76px;
    height: 12px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(112, 128, 145, 0.9) 0%, rgba(229, 236, 245, 0.95) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 3px 8px rgba(148, 163, 184, 0.22);
}

.system-showcase-camera::before {
    content: "";
    position: absolute;
    inset: 2px auto auto 50%;
    width: 8px;
    height: 8px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(12, 18, 28, 0.96) 0%, rgba(37, 99, 235, 0.62) 38%, rgba(12, 18, 28, 0.96) 72%);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.system-showcase-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 8px 16px;
}

.system-showcase-lights {
    display: inline-flex;
    gap: 8px;
}

.system-showcase-lights span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.system-showcase-lights span:nth-child(1) { background: #ff7f66; }
.system-showcase-lights span:nth-child(2) { background: #ffc84d; }
.system-showcase-lights span:nth-child(3) { background: #28cf7a; }

.system-showcase-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #607089;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.system-showcase-status span:last-child {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.system-showcase-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 50% 14%, rgba(40, 207, 122, 0.12), transparent 22%),
        linear-gradient(180deg, rgba(6, 10, 18, 0.88) 0%, rgba(6, 10, 18, 0.56) 34%, rgba(6, 10, 18, 0.76) 100%),
        linear-gradient(135deg, #02060c 0%, #06101d 46%, #08121c 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 32px 64px rgba(7, 15, 25, 0.3),
        0 20px 34px rgba(15, 23, 42, 0.18);
    transform: translateZ(12px);
}

.system-showcase-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 64px),
        linear-gradient(180deg, rgba(148, 163, 184, 0.08) 0, rgba(148, 163, 184, 0.08) 1px, transparent 1px, transparent 48px),
        radial-gradient(circle at 18% 18%, rgba(91, 92, 235, 0.16), transparent 24%),
        radial-gradient(circle at 84% 20%, rgba(18, 183, 106, 0.12), transparent 18%);
    mix-blend-mode: screen;
    opacity: 0.72;
    pointer-events: none;
}

.system-showcase-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(140% 100% at 50% -8%, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.08) 18%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.02) 12%, rgba(255, 255, 255, 0.02) 88%, rgba(255, 255, 255, 0.18) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 22%, rgba(255, 255, 255, 0.08) 100%);
    pointer-events: none;
}

.system-showcase-curvature {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.system-showcase-curvature::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(180% 100% at 50% 0%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 18%, rgba(255, 255, 255, 0) 42%),
        radial-gradient(200% 140% at 50% 100%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 28%);
    opacity: 0.86;
}

.system-showcase-curvature::after {
    content: "";
    position: absolute;
    top: -8%;
    bottom: -8%;
    left: 6%;
    right: 6%;
    border-radius: 48% / 10%;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.5;
    filter: blur(0.2px);
}

.system-screen-map {
    position: relative;
    width: 100%;
    height: 100%;
}

.system-screen-map .system-map-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.system-map-hotspot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    z-index: 4;
}

.system-showcase-stand {
    position: relative;
    width: 280px;
    height: 84px;
    margin: -6px auto 0;
}

.system-showcase-stand::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 92px;
    height: 48px;
    transform: translateX(-50%);
    border-radius: 0 0 28px 28px;
    background: linear-gradient(180deg, #cfd9e8 0%, #a9bad0 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 14px 22px rgba(148, 163, 184, 0.18);
}

.system-showcase-stand::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 250px;
    height: 24px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(180deg, #dce5f3 0%, #aab8ca 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 20px 24px rgba(148, 163, 184, 0.22);
}

.system-map-image {
    display: block;
    width: 100%;
    height: auto;
}

.system-map-hotspot-dot {
    position: relative;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff4d4f;
    box-shadow: 0 0 0 5px rgba(255, 77, 79, 0.18), 0 0 18px rgba(255, 77, 79, 0.38);
    flex: 0 0 auto;
}

.system-map-hotspot-dot::before,
.system-map-hotspot-dot::after {
    content: "";
    position: absolute;
    inset: 50%;
    border-radius: 999px;
    border: 1px solid rgba(255, 77, 79, 0.55);
    transform: translate(-50%, -50%) scale(1);
    animation: systemHotspotPulse 2.2s ease-out infinite;
}

.system-map-hotspot-dot::after {
    animation-delay: 1.1s;
}

.system-map-hotspot-label {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 0;
    background: rgba(4, 7, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.system-map-hotspot:hover .system-map-hotspot-label,
.system-map-hotspot:focus-visible .system-map-hotspot-label,
.system-map-hotspot.is-active .system-map-hotspot-label {
    transform: translateY(-1px);
    background: rgba(4, 7, 12, 0.98);
    color: #f8fbff;
    border-color: rgba(18, 183, 106, 0.65);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.26);
}

.system-map-hotspot.is-active .system-map-hotspot-dot {
    background: #12b76a;
    box-shadow: 0 0 0 6px rgba(18, 183, 106, 0.20), 0 0 20px rgba(18, 183, 106, 0.42);
}

.system-map-hotspot.is-active .system-map-hotspot-dot::before,
.system-map-hotspot.is-active .system-map-hotspot-dot::after {
    border-color: rgba(18, 183, 106, 0.52);
}

.system-map-hotspot:focus-visible {
    outline: none;
}

.system-map-float-panel {
    position: absolute;
    left: 0;
    top: 0;
    width: min(300px, calc(100% - 20px));
    padding: 14px 16px;
    border-radius: 0;
    background: rgba(3, 7, 13, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    z-index: 6;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(0, 6px, 0);
    transition: opacity 180ms ease, transform 180ms ease;
}

.system-map-float-panel.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.system-map-inline-title {
    color: #f8fbff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.system-map-float-panel p {
    color: rgba(226, 232, 240, 0.88);
    margin-bottom: 12px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.system-map-points {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.system-map-points span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(241, 245, 249, 0.92);
    font-size: 0.8rem;
    line-height: 1.45;
}

.system-map-points span::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-top: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.10);
    flex: 0 0 auto;
}

.core-viz-section.section.pt-0 {
    padding-top: 76px;
}

@keyframes signalBeacon {
    0%, 100% { transform: scale(1); }
    35% { transform: scale(1.06); }
    60% { transform: scale(0.985); }
}

@keyframes signalPulseStrong {
    0% {
        transform: scale(0.6);
        opacity: 0.96;
    }
    72% {
        transform: scale(2.05);
        opacity: 0.16;
    }
    100% {
        transform: scale(2.35);
        opacity: 0;
    }
}

@keyframes signalCoreFlash {
    0% {
        transform: scale(0.88);
        opacity: 0.82;
    }
    100% {
        transform: scale(1.28);
        opacity: 1;
    }
}

@keyframes signalGuideFlow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -28; }
}

@keyframes signalGuideGlow {
    0% {
        opacity: 0.4;
        filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.55));
    }
}

@keyframes signalArrowKick {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.92;
    }
    50% {
        transform: translateY(-3px) scale(1.16);
        opacity: 1;
    }
}

@keyframes systemHotspotPulse {
    0% {
        width: 18px;
        height: 18px;
        opacity: 0.68;
    }
    70% {
        width: 42px;
        height: 42px;
        opacity: 0;
    }
    100% {
        width: 42px;
        height: 42px;
        opacity: 0;
    }
}


/* Glass Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    transition: var(--transition);
    overflow: hidden;
}
.glass-card:hover {
    border-color: rgba(15, 23, 42, 0.16);
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
}

.highlight-border {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0,230,118,0.1);
}

/* Products Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    display: flex;
    flex-direction: column;
    position: relative;
}

.featured {
    border-color: var(--secondary);
    box-shadow: 0 18px 40px rgba(91, 92, 235, 0.14);
}
.featured:hover { border-color: var(--secondary); }

.featured-badge {
    position: absolute;
    top: 0;
    right: 30px;
    background: var(--secondary);
    color: white;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 0 0 8px 8px;
}

.card-header {
    padding: 34px 34px 24px;
    border-bottom: 1px solid var(--card-border);
    position: relative;
}

.card-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid transparent;
    position: relative;
    z-index: 1;
}
.card-hero-icon svg {
    width: 32px;
    height: 32px;
}

/* Icon Styles */
.icon-free {
    background: linear-gradient(135deg, rgba(18, 183, 106, 0.1) 0%, rgba(18, 183, 106, 0.02) 100%);
    border-color: rgba(18, 183, 106, 0.15);
    color: rgba(12, 112, 64, 0.95);
    box-shadow: 0 8px 24px rgba(18, 183, 106, 0.08);
}
.icon-analysis {
    background: linear-gradient(135deg, rgba(91, 92, 235, 0.1) 0%, rgba(91, 92, 235, 0.02) 100%);
    border-color: rgba(91, 92, 235, 0.15);
    color: rgba(58, 59, 191, 0.98);
    box-shadow: 0 8px 24px rgba(91, 92, 235, 0.08);
}
.icon-trade {
    background: linear-gradient(135deg, rgba(255, 61, 0, 0.1) 0%, rgba(255, 61, 0, 0.02) 100%);
    border-color: rgba(255, 61, 0, 0.15);
    color: rgba(204, 44, 0, 0.96);
    box-shadow: 0 8px 24px rgba(255, 61, 0, 0.08);
}

.card-header h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: rgba(15, 23, 42, 0.95);
}

/* Pricing Styles */
.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--font-heading);
    color: var(--text-main);
}
.price-currency {
    font-size: 1.25rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.6);
    letter-spacing: -0.5px;
    transform: translateY(-2px);
}
.price-amount {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1;
}
.price-unit {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(85, 101, 127, 0.85);
    margin-left: 4px;
}

/* Free specific overrides */
.price-free .price-amount {
    font-size: 2.5rem;
    color: rgba(12, 112, 64, 0.96);
    letter-spacing: -0.5px;
}
.price-free .price-unit {
    color: rgba(12, 112, 64, 0.8);
}

/* Featured overrides */
.featured .price-amount {
    color: rgba(58, 59, 191, 0.98);
}
.featured .price-unit {
    color: rgba(58, 59, 191, 0.8);
}
.featured .price-currency {
    color: rgba(58, 59, 191, 0.6);
}

.card-body {
    padding: 30px;
    flex-grow: 1;
}

.card-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
    min-height: 48px;
}

.feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.92);
}
.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.card-footer {
    padding: 0 30px 30px;
}

.download-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: underline;
    text-decoration-color: rgba(15, 23, 42, 0.18);
}
.download-link:hover { color: var(--text-main); text-decoration-color: rgba(15, 23, 42, 0.32); }

.download-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-cta {
    box-shadow: 0 10px 24px rgba(18, 183, 106, 0.18);
}

/* Trend Lines Visualization */
.viz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.viz-card {
    padding: 22px 22px 18px;
    transition: transform 450ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 450ms ease, border-color 450ms ease;
}

.viz-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 23, 42, 0.16);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.viz-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.viz-title h3 {
    font-size: 1.15rem;
    margin-top: 10px;
}

.viz-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(18, 183, 106, 0.10);
    border: 1px solid rgba(18, 183, 106, 0.22);
    color: var(--primary);
}

.viz-pill-light {
    background: rgba(91, 92, 235, 0.10);
    border-color: rgba(91, 92, 235, 0.18);
    color: var(--secondary);
}

.viz-legend {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 2px;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-up { background: rgba(18, 183, 106, 0.9); box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.14); }
.dot-down { background: rgba(255, 61, 0, 0.85); box-shadow: 0 0 0 3px rgba(255, 61, 0, 0.12); }
.dot-white { background: rgba(255, 255, 255, 0.95); border: 1px solid rgba(15, 23, 42, 0.12); box-shadow: 0 0 0 3px rgba(91, 92, 235, 0.10); }
.dot-yellow { background: rgba(255, 194, 0, 0.95); box-shadow: 0 0 0 3px rgba(255, 194, 0, 0.16); }

.mini-chart {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.7);
}

.mini-chart svg {
    display: block;
    width: 100%;
    height: auto;
}

.mini-chart svg .anim-draw {
    transition: stroke-dashoffset 1200ms cubic-bezier(0.2, 0.9, 0.2, 1);
    stroke-dashoffset: 0;
}

.mini-chart svg .anim-pop {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 700ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 700ms ease;
    transform: scale(1);
    opacity: 1;
}

.mini-chart svg .anim-bars rect {
    transform-box: fill-box;
    transform-origin: center bottom;
    transition: transform 900ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 900ms ease;
    transform: scaleY(1);
    opacity: 1;
}

.mini-chart svg .anim-bars rect:nth-child(1) { transition-delay: 20ms; }
.mini-chart svg .anim-bars rect:nth-child(2) { transition-delay: 60ms; }
.mini-chart svg .anim-bars rect:nth-child(3) { transition-delay: 100ms; }
.mini-chart svg .anim-bars rect:nth-child(4) { transition-delay: 140ms; }
.mini-chart svg .anim-bars rect:nth-child(5) { transition-delay: 180ms; }
.mini-chart svg .anim-bars rect:nth-child(6) { transition-delay: 220ms; }
.mini-chart svg .anim-bars rect:nth-child(7) { transition-delay: 260ms; }
.mini-chart svg .anim-bars rect:nth-child(8) { transition-delay: 300ms; }
.mini-chart svg .anim-bars rect:nth-child(9) { transition-delay: 340ms; }
.mini-chart svg .anim-bars rect:nth-child(10) { transition-delay: 380ms; }
.mini-chart svg .anim-bars rect:nth-child(11) { transition-delay: 420ms; }
.mini-chart svg .anim-bars rect:nth-child(12) { transition-delay: 460ms; }

.mini-chart svg .anim-candles {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 800ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 800ms ease;
    opacity: 1;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: transform 700ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

 .mini-chart svg.replay .anim-pop {
    transform: scale(0.6);
    opacity: 0;
    transition: none !important;
}

.mini-chart svg.replay .anim-bars rect {
    transform: scaleY(0.05);
    opacity: 0.25;
    transition: none !important;
}

.mini-chart svg.replay .anim-candles {
    opacity: 0;
    transform: translateY(10px);
    transition: none !important;
}

.mini-chart svg.replay .anim-draw {
    transition: none !important;
}

.viz-desc {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.viz-trade-guide {
    margin-top: 22px;
    padding: 22px 24px;
    border: 1px solid rgba(91, 92, 235, 0.22);
    background:
        radial-gradient(1000px 220px at 8% -40%, rgba(91, 92, 235, 0.14), transparent 62%),
        radial-gradient(800px 180px at 92% 120%, rgba(18, 183, 106, 0.16), transparent 58%),
        linear-gradient(145deg, rgba(255,255,255,0.93), rgba(247,249,255,0.95));
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
}
.viz-trade-guide-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.viz-trade-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(91, 92, 235, 0.12);
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
}
.viz-trade-guide h3 {
    margin: 0;
    font-size: 1.12rem;
    letter-spacing: 0.01em;
}
.viz-trade-lines {
    display: grid;
    gap: 10px;
}
.trade-line {
    margin: 0;
    color: #334155;
    line-height: 1.8;
    font-size: 0.98rem;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.58);
}
.trade-line strong {
    color: #0f172a;
}
.viz-trade-guide .trade-line {
    opacity: 0;
    transform: translateY(14px);
}
.viz-trade-guide.is-visible .trade-line {
    animation: tradeLineIn 680ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}
.viz-trade-guide.is-visible .trade-line:nth-child(2) {
    animation-delay: 180ms;
}
@keyframes tradeLineIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .viz-card,
    .mini-chart svg .anim-draw,
    .mini-chart svg .anim-pop,
    .mini-chart svg .anim-bars rect,
    .mini-chart svg .anim-candles,
    .system-map-hotspot-label {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        stroke-dasharray: none !important;
        stroke-dashoffset: 0 !important;
    }
    .reveal {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    .viz-trade-guide .trade-line {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .hero-system-bg {
        animation: none !important;
    }
    .hero-system-bg .signal-pulse-ring,
    .hero-system-bg .signal-core,
    .hero-system-bg .signal-guide,
    .hero-system-bg .signal-tag,
    .system-showcase-chart .signal-pulse-ring,
    .system-showcase-chart .signal-core,
    .system-showcase-chart .signal-guide,
    .system-showcase-chart .signal-tag,
    .system-map-hotspot-dot::before,
    .system-map-hotspot-dot::after {
        animation: none !important;
    }
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.step-item {
    text-align: center;
}
.step-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.08);
    line-height: 1;
    margin-bottom: -20px;
}
.step-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.step-item p { color: var(--text-muted); }

/* Form Section */
.form-section {
    position: relative;
}
.glow-bg-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(91, 92, 235, 0.16) 0%, rgba(18, 183, 106, 0.10) 38%, transparent 72%);
    z-index: -1;
    pointer-events: none;
}
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
}

.form-header h2 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-outline {
    font-size: 0.9rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
}

.auth-notice {
    background: rgba(91, 92, 235, 0.06);
    border-left: 3px solid var(--secondary);
    padding: 15px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.auth-notice ul { margin-top: 8px; margin-left: 20px; list-style: disc;}

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}
.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.12);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
}
.form-message.success {
    background: rgba(18, 183, 106, 0.10);
    color: var(--primary);
    border: 1px solid rgba(18, 183, 106, 0.22);
}
.form-message.error {
    background: rgba(255,61,0,0.1);
    color: var(--danger);
    border: 1px solid rgba(255,61,0,0.2);
}

.trial-download-panel {
    margin-top: 16px;
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(18, 183, 106, 0.25);
    background: linear-gradient(135deg, rgba(18, 183, 106, 0.12), rgba(91, 92, 235, 0.09));
}
.trial-download-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}
.trial-download-desc {
    color: var(--text-muted);
    margin-bottom: 14px;
    font-size: 0.95rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
}
.faq-question {
    padding: 20px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-muted);
}
.faq-item.active .faq-answer {
    padding-bottom: 20px;
    max-height: 200px;
}
.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

/* Subscribe Page specific */
.page-header {
    padding: 80px 0 40px;
    position: relative;
}
.subscribe-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: start;
}
.warning-banner {
    background: rgba(255, 196, 0, 0.16);
    border-left: 4px solid rgba(255, 196, 0, 0.7);
    padding: 15px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: rgba(122, 84, 0, 0.95);
    display: grid;
    grid-template-columns: 20px auto 1fr;
    column-gap: 10px;
    align-items: start;
}
.warning-banner svg {
    margin-top: 1px;
}
.warning-banner strong {
    white-space: nowrap;
    line-height: 1.5;
    font-weight: 800;
}
.warning-banner #subscribeWarningText {
    line-height: 1.75;
    word-break: break-word;
    text-wrap: pretty;
}

.deliverable-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(15, 23, 42, 0.03);
    border-radius: var(--radius-sm);
}
.d-icon { font-size: 1.5rem; }
.deliverable-item h4 { margin-bottom: 5px; color: var(--text-main); }
.deliverable-item p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

.pay-types {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pay-type {
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: rgba(255,255,255,0.72);
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.pay-type input {
    margin: 0 12px 0 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.pay-type-brand {
    min-width: 140px;
    padding: 12px 20px 12px 16px;
}

.pay-brand-content {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pay-type-brand:hover {
    border-color: rgba(15, 23, 42, 0.22);
}
.pay-type-brand:has(input:checked) {
    border-color: rgba(37, 99, 235, 0.4);
    background: rgba(37, 99, 235, 0.03);
}

.pay-mark {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.pay-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.pay-name {
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.9);
}

.pay-type-brand[data-pay="alipay"]:has(input:checked) {
    border-color: #1677FF;
    background: rgba(22, 119, 255, 0.04);
}
.pay-type-brand[data-pay="alipay"] input {
    accent-color: #1677FF;
}

.pay-type-brand[data-pay="wxpay"]:has(input:checked) {
    border-color: #09B95E;
    background: rgba(9, 185, 94, 0.04);
}
.pay-type-brand[data-pay="wxpay"] input {
    accent-color: #09B95E;
}

.plan-inline-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 8px;
    border-radius: 8px;
    background: rgba(18, 183, 106, 0.10);
    color: rgba(11, 18, 32, 0.88);
}
.plan-inline-ico svg {
    width: 16px;
    height: 16px;
}

/* AI Dashboard */
.border-top-subtle { border-top: 1px solid var(--card-border); }
.border-bottom { border-bottom: 1px solid var(--card-border); }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

.dashboard-header {
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 44px rgba(2, 6, 23, 0.10);
    padding: 16px 18px;
}

.dashboard-header h2 {
    color: rgba(15, 23, 42, 0.92);
}

#userStatus {
    color: rgba(15, 23, 42, 0.72);
    font-weight: 700;
}

#userStatus #displayPhone,
#userStatus #displayExpire {
    color: rgba(15, 23, 42, 0.92);
    font-weight: 900;
}

.dashboard-header .text-success {
    color: #0b6b3f !important;
    font-weight: 900;
}

.reports-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.report-card { padding: 24px; }
.report-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    align-items: center;
}
.badge-tag {
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}
.badge-tag.success { background: rgba(18, 183, 106, 0.14); color: var(--primary); }
.badge-tag.warning { background: rgba(255, 196, 0, 0.18); color: rgba(122, 84, 0, 0.95); }
.report-meta .date { color: var(--text-muted); }

.report-title { font-size: 1.3rem; margin-bottom: 15px; }
.report-summary {
    background: rgba(91, 92, 235, 0.06);
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
}

.ai-daily-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.ai-daily-tabs {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ai-auth-stage {
    position: relative;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-auth-stage::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(900px 420px at 18% 20%, rgba(18, 183, 106, 0.14), transparent 55%),
        radial-gradient(900px 420px at 82% 10%, rgba(0, 176, 255, 0.12), transparent 55%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.00) 0%, rgba(2, 6, 23, 0.06) 65%, rgba(2, 6, 23, 0.10) 100%),
        repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.08) 0 1px, transparent 1px 42px),
        repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.06) 0 1px, transparent 1px 42px),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.84) 34%, rgba(255,255,255,0.72) 72%, rgba(255,255,255,0.70) 100%);
    mix-blend-mode: normal;
}

.ai-auth-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background:
        radial-gradient(120% 120% at 15% 0%, rgba(18, 183, 106, 0.12) 0%, rgba(0, 176, 255, 0.08) 30%, rgba(255, 255, 255, 0.90) 64%),
        var(--card-bg);
    box-shadow: 0 22px 64px rgba(2, 6, 23, 0.16);
}

.ai-auth-card::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(60% 60% at 18% 0%, rgba(18, 183, 106, 0.22) 0%, rgba(0, 176, 255, 0.14) 44%, transparent 70%);
    filter: blur(14px);
    opacity: 0.9;
    pointer-events: none;
}

.ai-auth-card > * {
    position: relative;
    z-index: 1;
}

.ai-auth-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 23, 42, 0.10);
    font-weight: 900;
    letter-spacing: 0.3px;
    color: rgba(15, 23, 42, 0.78);
    margin: 0 auto 14px;
}

.ai-auth-title {
    margin: 0 0 10px;
    font-size: 1.7rem;
    letter-spacing: -0.2px;
}

.ai-auth-subtitle {
    margin: 0 auto 18px;
    max-width: 420px;
}

.ai-auth-form {
    margin-top: 8px;
}

.ai-auth-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 0;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 40px rgba(16, 24, 40, 0.06);
}

.ai-auth-input-icon {
    font-size: 0.82rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.62);
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.08);
    white-space: nowrap;
}

.ai-auth-input input {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    flex: 1;
}

.ai-auth-input input:focus {
    box-shadow: none;
}

.ai-auth-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    text-align: left;
}

.ai-auth-footer-title {
    font-weight: 900;
    color: rgba(15, 23, 42, 0.86);
}

.ai-auth-footer-sub {
    margin-top: 2px;
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.62);
}

.ai-date-select {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-main);
    font-weight: 600;
}

.ai-risk-tip {
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 44px rgba(2, 6, 23, 0.08);
    padding: 14px 16px;
    margin: 10px 0 12px;
}

.ai-risk-tip-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.02rem;
    color: rgba(15, 23, 42, 0.92);
    letter-spacing: 0.2px;
    margin-bottom: 10px;
}

.ai-risk-tip-body {
    display: grid;
    gap: 8px;
}

.ai-risk-tip-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.65;
    color: rgba(15, 23, 42, 0.78);
    font-weight: 650;
    font-size: 0.92rem;
}

.ai-risk-tip-ico {
    width: 22px;
    flex: 0 0 22px;
    line-height: 1.2;
    margin-top: 1px;
}

.ai-risk-tip-strong {
    color: rgba(15, 23, 42, 0.92);
    font-weight: 900;
}

.ai-risk-tip-note {
    border-top: 1px dashed rgba(15, 23, 42, 0.14);
    padding-top: 10px;
    margin-top: 2px;
    color: rgba(15, 23, 42, 0.70);
}

.ai-month-picks {
    border: 1px solid rgba(18, 183, 106, 0.18);
    background: radial-gradient(120% 120% at 0% 0%, rgba(18, 183, 106, 0.10) 0%, rgba(0, 176, 255, 0.06) 35%, rgba(255, 255, 255, 0.86) 70%);
    border-radius: 16px;
    padding: 12px 12px 10px;
    margin: 10px 0 12px;
}

.ai-month-picks-title {
    font-weight: 900;
    color: rgba(15, 23, 42, 0.88);
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ai-month-picks-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 176px;
    overflow: auto;
    padding: 2px;
}

.ai-pick-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86));
    color: rgba(15, 23, 42, 0.86);
    font-weight: 800;
    font-size: 0.92rem;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}

.ai-pick-rank {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.78rem;
    color: rgba(15, 23, 42, 0.8);
    background: rgba(15, 23, 42, 0.06);
}

.ai-pick-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-weight: 900;
    letter-spacing: 0.2px;
    color: rgba(15, 23, 42, 0.9);
}

.ai-pick-name {
    font-weight: 800;
    color: rgba(15, 23, 42, 0.66);
}

.ai-report-card {
    padding: 26px 26px 24px;
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.ai-report-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ai-report-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.2px;
}

.ai-quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(18, 183, 106, 0.14);
    color: #0b6b3f;
    font-weight: 800;
    font-size: 0.86rem;
    border: 1px solid rgba(18, 183, 106, 0.24);
    -webkit-tap-highlight-color: transparent;
}

.ai-quote-btn:hover {
    background: rgba(18, 183, 106, 0.20);
}

.ai-item-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 14px 0 0;
}

.ai-item-tab {
    appearance: none;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 10px 10px;
    font-weight: 800;
    font-size: 0.86rem;
    color: rgba(15, 23, 42, 0.68);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.ai-item-tab:hover {
    border-color: rgba(15, 23, 42, 0.2);
    color: rgba(15, 23, 42, 0.9);
    transform: translateY(-1px);
}

.ai-item-tab.is-active {
    background: linear-gradient(135deg, rgba(18, 183, 106, 0.98), rgba(0, 176, 255, 0.92));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(18, 183, 106, 0.24);
}

.ai-item-body {
    margin-top: 12px;
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.ai-item-content {
    white-space: pre-line;
    line-height: 1.7;
    color: rgba(15, 23, 42, 0.9);
    font-size: 0.95rem;
    min-height: 64px;
}

@media (hover: none) {
    .ai-report-card:hover {
        transform: none;
        box-shadow: none;
    }
}

.ai-view-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.ai-view-tab {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 12px 10px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.84);
    cursor: pointer;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.ai-view-tab:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.20);
}

.ai-view-tab.is-active {
    background: rgba(91, 92, 235, 0.18);
    border-color: rgba(91, 92, 235, 0.36);
    color: rgba(255, 255, 255, 0.96);
}

.ai-view-tab:active {
    transform: translateY(1px);
}
.detail-section {
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
}
.detail-section h4 { color: var(--primary); margin-bottom: 8px; font-size: 1rem; }
.detail-section p { color: var(--text-muted); }

/* Footer */
.footer {
    border-top: 1px solid var(--card-border);
    padding: 60px 0 30px;
    margin-top: 60px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
}
.footer-logo span { color: var(--primary); }
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text-main); }
.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 30px;
}

/* Responsive (Mobile First adjustments) */
@media (max-width: 992px) {
    .cards-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .subscribe-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 3rem; }
    .viz-grid { grid-template-columns: 1fr; }
    .hero-system-bg { inset: 28px -14% -10px; opacity: 0.24; }
    .system-showcase { padding: 18px 10px 72px; }
    .system-showcase-bezel { border-radius: 28px; }
    .system-showcase-screen { border-radius: 20px; }
    .system-showcase-status { flex-wrap: wrap; justify-content: flex-end; }
    .system-showcase-camera { width: 68px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 58px;
        left: 12px;
        right: 12px;
        width: auto;
        padding: 16px;
        gap: 14px;
        flex-direction: column;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--card-border);
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 200ms ease;
        z-index: 300;
        display: flex;
        backdrop-filter: blur(12px);
    }
    .nav-links.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav-links a { color: var(--text-main); }
    .mobile-menu-btn { display: block; }
    
    .cards-grid, .steps-grid { grid-template-columns: 1fr; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-cta { flex-direction: column; }
    .hero-features { flex-wrap: wrap; }
    .hero { padding: 88px 0 68px; }
    .hero-system-bg { inset: 44px -26% -16px; opacity: 0.2; }
    .hero-soft-mask {
        background:
            radial-gradient(100% 44% at 50% 36%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.8) 80%, rgba(255, 255, 255, 0.9) 100%),
            linear-gradient(180deg, rgba(247, 250, 255, 0.8) 0%, rgba(247, 250, 255, 0.16) 24%, rgba(247, 250, 255, 0.82) 100%);
    }
    .system-showcase-section { padding-bottom: 56px; }
    .system-showcase { padding: 16px 0 56px; }
    .system-showcase-meta { margin-bottom: 14px; gap: 10px; }
    .system-chip { min-height: 30px; padding: 6px 12px; font-size: 0.72rem; }
    .system-showcase-bezel { padding: 14px 14px 18px; border-radius: 22px; }
    .system-showcase-camera { top: 8px; width: 58px; height: 10px; }
    .system-showcase-toolbar { padding: 10px 4px 12px; flex-direction: column; align-items: flex-start; }
    .system-showcase-status { width: 100%; justify-content: space-between; font-size: 0.68rem; gap: 8px; }
    .system-showcase-screen { border-radius: 16px; aspect-ratio: 4 / 3; }
    .system-showcase-stand { width: 180px; height: 64px; }
    .system-showcase-stand::before { width: 70px; height: 36px; }
    .system-showcase-stand::after { width: 180px; height: 18px; }
    .system-map-hotspot { gap: 7px; }
    .system-map-hotspot-dot { width: 12px; height: 12px; }
    .system-map-hotspot-label {
        min-height: 30px;
        padding: 5px 10px;
        font-size: 0.68rem;
    }
    .system-map-float-panel { width: min(220px, calc(100% - 14px)); padding: 10px 11px; }
    .system-map-inline-title { font-size: 0.94rem; margin-bottom: 6px; }
    .system-map-float-panel p { font-size: 0.76rem; margin-bottom: 8px; line-height: 1.4; }
    .system-map-points { gap: 6px; }
    .system-map-points span { padding: 6px 8px; font-size: 0.66rem; }
    
    .form-wrapper { padding: 30px 20px; }
    
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}

/* Pro Quote App UI */
.pro-quote-body,
html:has(.pro-quote-body),
body:has(.pro-quote-body) {
    height: 100%;
}

.pro-quote-body {
    background-color: #0b1220;
    color: #D1D4DC;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent body scroll */
}

/* Remove desktop padding/border */
.pro-navbar {
    display: none !important; /* Force hide navbar on quote page for all devices */
}

.pro-quote-main {
    padding: 0;
    height: 100dvh;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
}

.pro-quote-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pro-back-btn {
    display: block !important; /* Always show back button */
    color: #D1D4DC;
    padding: 8px;
    margin-right: 8px;
    cursor: pointer;
}
.pro-back-btn:hover { color: #fff; }

/* Search Bar */
.pro-search-bar {
    display: flex;
    padding: 12px 16px;
    background: #1C212D;
    border-bottom: 1px solid #2A2E39;
    gap: 10px;
}
.pro-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: #131722;
    border: 1px solid #2A2E39;
    border-radius: 8px;
    padding: 0 12px;
    color: #787B86;
}
.pro-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: #D1D4DC;
    padding: 10px 8px;
    font-size: 1rem;
    outline: none;
}
.pro-btn {
    background: #2962FF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.pro-btn:hover { background: #1E53E5; }

/* Header */
.pro-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #2A2E39;
    background: #131722;
}
.pro-asset-info {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pro-asset-info h1 {
    margin: 0;
    font-size: 1.2rem;
    color: #D1D4DC;
    font-weight: 600;
}
.pro-asset-info span {
    color: #787B86;
    font-size: 0.9rem;
}
.pro-price-box {
    text-align: right;
}
.pro-current-price {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: monospace;
}
.pro-price-changes {
    font-size: 0.95rem;
    font-family: monospace;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.pro-up { color: #F23645; }
.pro-down { color: #089981; }

/* Chart Area */
.pro-chart-wrapper {
    flex: 1;
    position: relative;
    background: #131722;
    min-height: 300px;
}
.pro-loading {
    position: absolute;
    inset: 0;
    background: rgba(19, 23, 34, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    display: none;
}
.pro-loading.active { display: flex; }
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #2A2E39;
    border-top-color: #2962FF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toolbar */
.pro-toolbar {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #2A2E39;
    background: #1C212D;
}
.pro-toolbar-group {
    padding: 8px 16px;
    border-bottom: 1px solid #2A2E39;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}
.pro-toolbar-group::-webkit-scrollbar { display: none; } /* Chrome */
.pro-tabs {
    display: flex;
    gap: 8px;
    white-space: nowrap;
}
.pro-tab {
    background: transparent;
    border: 1px solid transparent;
    color: #787B86;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}
.pro-tab:hover { color: #D1D4DC; }
.pro-tab.active {
    background: #2A2E39;
    color: #D1D4DC;
}

@media (max-width: 768px) {
    .pro-quote-main {
        padding: 0;
        height: 100dvh;
        height: 100svh;
    }
    .pro-quote-container {
        border-radius: 0;
        border: none;
        max-width: 100%;
        height: 100%;
    }
}

.mt4-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    height: 100dvh;
    height: 100vh;
    width: 100%;
    background: #0b1220;
}

.mt4-market {
    border-right: 1px solid #2A2E39;
    background: #0f1526;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

.mt4-mask {
    position: fixed;
    inset: 0;
    background: rgba(11, 18, 32, 0.62);
    backdrop-filter: blur(6px);
    z-index: 85;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.mt4-market-head {
    padding: 12px;
    border-bottom: 1px solid #2A2E39;
    background: #0f1526;
}

.mt4-market-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #2A2E39;
    background: rgba(19, 23, 34, 0.85);
    color: #787B86;
}

.mt4-market-search input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #D1D4DC;
    font-size: 0.95rem;
}

.mt4-market-list {
    overflow: auto;
    padding: 6px;
    flex: 1;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.mt4-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 10px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid transparent;
}

.mt4-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(42, 46, 57, 0.9);
}

.mt4-item.is-active {
    background: rgba(41, 98, 255, 0.10);
    border-color: rgba(41, 98, 255, 0.30);
}

.mt4-item-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mt4-item-name strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #D1D4DC;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mt4-item-name span {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    color: #787B86;
    font-size: 0.78rem;
}

.mt4-item-last {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-weight: 700;
    color: #D1D4DC;
    font-size: 0.9rem;
}

.mt4-item-quote {
    display: flex;
    gap: 8px;
    align-items: baseline;
    justify-content: flex-end;
    white-space: nowrap;
}

.mt4-item-price {
    color: #D1D4DC;
}

.mt4-item-pct {
    font-size: 0.82rem;
    color: #787B86;
    font-weight: 800;
}

.mt4-item-quote.is-up .mt4-item-price,
.mt4-item-quote.is-up .mt4-item-pct {
    color: #F23645;
}

.mt4-item-quote.is-down .mt4-item-price,
.mt4-item-quote.is-down .mt4-item-pct {
    color: #089981;
}

.mt4-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    position: relative;
    --mt4-indbar-h: 64px;
    padding-bottom: calc(var(--mt4-indbar-h) + env(safe-area-inset-bottom));
}

.mt4-topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #2A2E39;
    background: #131722;
}

.mt4-left {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.mt4-back {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #2A2E39;
    background: rgba(19, 23, 34, 0.82);
    color: #D1D4DC;
}

.mt4-menu {
    width: 38px;
    height: 38px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #2A2E39;
    background: rgba(19, 23, 34, 0.82);
    color: #D1D4DC;
    cursor: pointer;
}

.mt4-menu:hover {
    background: rgba(255, 255, 255, 0.03);
}

.mt4-back:hover {
    background: rgba(255, 255, 255, 0.03);
}

.mt4-tf {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.mt4-tab {
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    color: #9aa0aa;
    padding: 8px 14px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.mt4-tab:hover {
    color: #D1D4DC;
    border-color: rgba(42, 46, 57, 0.9);
}

.mt4-tab.is-active {
    background: rgba(41, 98, 255, 0.16);
    border-color: rgba(41, 98, 255, 0.35);
    color: #D1D4DC;
}

.mt4-quote {
    display: flex;
    gap: 14px;
    align-items: center;
}

.mt4-quote-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-end;
}

.mt4-asset {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.98rem;
    color: #D1D4DC;
}

.mt4-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.78rem;
    color: #787B86;
}

.mt4-quote-price {
    text-align: right;
}

.mt4-last {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-weight: 900;
    font-size: 1.22rem;
    line-height: 1.05;
    color: #D1D4DC;
}

.mt4-chg {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.86rem;
    color: #787B86;
}

.mt4-chart {
    position: relative;
    display: grid;
    grid-template-rows: 1fr minmax(160px, 26vh);
    flex: 1 1 auto;
    min-height: 0;
    background: #131722;
    height: 100%;
}

.mt4-chart-main,
.mt4-chart-ind {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.mt4-indbar {
    border-top: 1px solid #2A2E39;
    background: #0f1526;
    padding: 10px 10px;
    position: fixed;
    left: 280px;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

.mt4-ind-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.mt4-ind-list::-webkit-scrollbar { display: none; }

.mt4-ind {
    border: 1px solid rgba(42, 46, 57, 0.9);
    background: rgba(19, 23, 34, 0.7);
    color: #9aa0aa;
    padding: 8px 14px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 900;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.mt4-ind:hover {
    color: #D1D4DC;
}

.mt4-ind.is-active {
    border-color: rgba(41, 98, 255, 0.35);
    background: rgba(41, 98, 255, 0.16);
    color: #D1D4DC;
}

@media (max-width: 900px) {
    .mt4-shell {
        grid-template-columns: 1fr;
    }
    .mt4-market {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(360px, 88vw);
        z-index: 90;
        border-right: 1px solid rgba(42, 46, 57, 0.9);
        box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
        transform: translateX(-105%);
        transition: transform 0.22s ease;
    }
    .mt4-main {
        --mt4-indbar-h: 72px;
        padding-bottom: calc(var(--mt4-indbar-h) + env(safe-area-inset-bottom));
    }
    .mt4-indbar {
        left: 0;
    }
    .mt4-chart {
        grid-template-rows: 1fr minmax(140px, 28vh);
    }

    body.mt4-market-open .mt4-market {
        transform: translateX(0);
    }
    body.mt4-market-open .mt4-mask {
        opacity: 1;
        pointer-events: auto;
    }

    .mt4-menu {
        display: inline-flex;
    }

    .mt4-tf {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .mt4-tf::-webkit-scrollbar { display: none; }
}

@media (max-width: 560px) {
    .mt4-main {
        --mt4-indbar-h: 78px;
        padding-bottom: calc(var(--mt4-indbar-h) + env(safe-area-inset-bottom));
    }
    .mt4-topbar {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        align-items: start;
        gap: 10px;
        padding: 10px 10px 8px;
        background: linear-gradient(180deg, #161d31 0%, #131722 75%);
    }
    .mt4-tf {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding: 6px 2px 0;
        gap: 6px;
    }
    .mt4-quote {
        gap: 8px;
        background: rgba(41, 98, 255, 0.08);
        border: 1px solid rgba(80, 128, 255, 0.24);
        border-radius: 12px;
        padding: 7px 10px;
        backdrop-filter: blur(6px);
    }
    .mt4-asset {
        font-size: 0.9rem;
    }
    .mt4-last {
        font-size: 1.16rem;
    }
    .mt4-chg {
        font-size: 0.78rem;
    }
    .mt4-tab {
        padding: 7px 12px;
        font-size: 0.84rem;
    }
    .mt4-chart {
        grid-template-rows: 1fr minmax(118px, 23vh);
    }
    .mt4-indbar {
        padding: 8px 8px;
        background: rgba(15, 21, 38, 0.92);
        backdrop-filter: blur(8px);
    }
    .mt4-ind-list {
        gap: 8px;
    }
    .mt4-ind {
        padding: 7px 12px;
        font-size: 0.8rem;
    }
}

.tv-chart-view__logo,
.tv-chart-view__branding,
.tv-chart-view__watermark,
.tv-wm,
.tv-watermark,
.js-logo,
.js-powered-by,
.js-attribution {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.kpic-body {
    font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(1200px 700px at 20% -10%, rgba(86, 115, 255, 0.16) 0%, rgba(86, 115, 255, 0) 55%),
        radial-gradient(900px 600px at 100% 0%, rgba(255, 168, 88, 0.16) 0%, rgba(255, 168, 88, 0) 55%),
        #f7f8fb;
    color: #0e1116;
    min-height: 100vh;
}

.kpic-app {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr;
}

.kpic-top {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(247, 248, 251, 0.86);
    border-bottom: 1px solid rgba(12, 18, 28, 0.06);
    backdrop-filter: blur(10px);
}

.kpic-back {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(12, 18, 28, 0.08);
    color: #0e1116;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(16, 24, 40, 0.08);
}

.kpic-title {
    font-family: "Outfit", "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0.2px;
    font-size: 1.05rem;
}

.kpic-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(12, 18, 28, 0.08);
    box-shadow: 0 10px 26px rgba(16, 24, 40, 0.08);
    min-width: 0;
}

.kpic-search-ico {
    color: rgba(14, 17, 22, 0.52);
    flex: 0 0 auto;
}

.kpic-search input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 0.95rem;
    color: #0e1116;
}

.kpic-search input::placeholder {
    color: rgba(14, 17, 22, 0.42);
}

.kpic-main {
    padding: 18px 16px 22px;
}

.kpic-matrixbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}

.kpic-worldtime,
.worldtime-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(12, 18, 28, 0.08);
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}

.kpic-wt-label,
.worldtime-label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(29, 55, 215, 0.95), rgba(0, 176, 255, 0.88));
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.2px;
    border: 1px solid rgba(29, 55, 215, 0.16);
    box-shadow: 0 12px 28px rgba(29, 55, 215, 0.18);
}

.kpic-wt-item,
.worldtime-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 32px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(12, 18, 28, 0.08);
    box-shadow: 0 10px 20px rgba(16, 24, 40, 0.06);
    color: rgba(14, 17, 22, 0.9);
}

.kpic-wt-flag,
.worldtime-flag {
    width: 22px;
    height: 14px;
    display: inline-block;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 6px 14px rgba(16, 24, 40, 0.10);
}

.kpic-wt-city,
.worldtime-city {
    font-weight: 900;
    font-size: 0.92rem;
    color: rgba(14, 17, 22, 0.86);
}

.kpic-wt-time,
.worldtime-time {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-weight: 900;
    font-size: 0.86rem;
    color: rgba(14, 17, 22, 0.82);
}

.kpic-filter {
    appearance: none;
    border: 1px solid rgba(12, 18, 28, 0.10);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 900;
    font-size: 1.05rem;
    min-height: 42px;
    min-width: 92px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
    color: var(--sec-tone, rgba(14, 17, 22, 0.74));
}

.kpic-filter:hover {
    transform: translateY(-1px);
    border-color: rgba(12, 18, 28, 0.14);
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.10);
}

.kpic-filter.is-active {
    background: rgba(255, 255, 255, 0.96);
    border-color: var(--sec-tone, rgba(12, 18, 28, 0.16));
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.10);
}

.kpic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
    gap: 12px;
}

.kpic-grid-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 8px 2px 2px;
}

.kpic-grid-title {
    font-family: "Outfit", "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.2px;
    color: var(--sec-tone, rgba(14, 17, 22, 0.92));
}

.kpic-grid-meta {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(14, 17, 22, 0.52);
}

.kpic-card {
    appearance: none;
    border: 1px solid var(--card-border, rgba(12, 18, 28, 0.10));
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 14px 14px 12px;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.10);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
    position: relative;
    overflow: hidden;
}

.kpic-card:focus-visible {
    outline: none;
    border-color: var(--card-border, rgba(38, 78, 255, 0.48));
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.14);
}

.kpic-card:hover {
    transform: translateY(-1px);
    border-color: var(--card-border, rgba(12, 18, 28, 0.12));
    box-shadow: 0 20px 48px rgba(16, 24, 40, 0.14);
}

.kpic-card--simple {
    text-align: center;
    padding: 18px 14px 16px;
}

.kpic-simple-name {
    font-family: "Outfit", "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 1.02rem;
    font-weight: 900;
    color: rgba(14, 17, 22, 0.92);
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.kpic-simple-code {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(12, 18, 28, 0.10);
    background: rgba(14, 17, 22, 0.04);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.6px;
    color: rgba(14, 17, 22, 0.82);
}

.kpic-simple-nid {
    margin-top: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.78rem;
    font-weight: 800;
    color: rgba(14, 17, 22, 0.52);
    letter-spacing: 0.2px;
}

.kpic-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.kpic-card-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}

.kpic-token {
    width: 58px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.6px;
    background: var(--token-bg, rgba(14, 17, 22, 0.06));
    color: var(--token-fg, rgba(14, 17, 22, 0.74));
    border: 1px solid rgba(12, 18, 28, 0.06);
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0 10px;
    gap: 6px;
}

.kpic-token-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.95;
}

.kpic-token-ico svg {
    width: 16px;
    height: 16px;
    color: var(--token-fg, rgba(14, 17, 22, 0.74));
}

.kpic-token-code {
    font-size: 0.72rem;
    letter-spacing: 0.7px;
    color: rgba(14, 17, 22, 0.86);
    line-height: 1;
}

.kpic-card-name {
    font-size: 1rem;
    font-weight: 900;
    color: rgba(14, 17, 22, 0.92);
    letter-spacing: 0.2px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kpic-card-quote {
    text-align: right;
    min-width: 86px;
    flex: 0 0 auto;
}

.kpic-sort-select {
    flex: 0 0 auto;
    white-space: nowrap;
    line-height: 1;
    min-width: 118px;
}

.kpic-last {
    font-size: 1.02rem;
    font-weight: 900;
    color: rgba(14, 17, 22, 0.92);
    letter-spacing: 0.2px;
}

.kpic-last.is-up {
    color: #ef4444;
}

.kpic-last.is-down {
    color: #22c55e;
}

.kpic-last.is-flat {
    color: rgba(14, 17, 22, 0.78);
}

.kpic-pct {
    margin-top: 2px;
    font-size: 0.82rem;
    font-weight: 900;
    color: rgba(14, 17, 22, 0.52);
}

.kpic-pct.is-up {
    color: #ef4444;
}

.kpic-pct.is-down {
    color: #22c55e;
}

.kpic-pct.is-flat {
    color: rgba(14, 17, 22, 0.46);
}

.kpic-card-btm {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.kpic-card-btm .kpic-pct {
    margin-top: 0;
}

.kpic-card-codebtn {
    appearance: none;
    border: 1px solid rgba(12, 18, 28, 0.10);
    background: rgba(14, 17, 22, 0.04);
    border-radius: 999px;
    padding: 6px 10px;
    color: rgba(14, 17, 22, 0.72);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.kpic-card-codebtn-txt {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1;
}

.kpic-card-codebtn svg {
    width: 12px;
    height: 12px;
    opacity: 0.65;
    flex: 0 0 auto;
}

.kpic-card-codebtn:hover {
    background: rgba(14, 17, 22, 0.07);
    border-color: rgba(12, 18, 28, 0.14);
}

.kpic-card-codebtn:active {
    transform: translateY(1px);
}

.kpic-card-ex {
    font-size: 0.8rem;
    font-weight: 800;
    color: rgba(14, 17, 22, 0.55);
}

.kpic-card-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    padding: 6px 10px;
    border-radius: 999px;
    color: rgba(14, 17, 22, 0.72);
    background: rgba(14, 17, 22, 0.04);
}

.kpic-hidden {
    display: none !important;
}

.kpic-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 17, 22, 0.40);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 200;
}

.kpic-modal {
    width: 100%;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(12, 18, 28, 0.10);
    border-radius: 18px;
    box-shadow: 0 26px 80px rgba(16, 24, 40, 0.24);
    overflow: hidden;
}

.kpic-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(12, 18, 28, 0.06);
}

.kpic-modal-title {
    font-family: "Outfit", "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 900;
    font-size: 1.05rem;
    color: rgba(14, 17, 22, 0.92);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kpic-modal-close {
    appearance: none;
    border: 1px solid rgba(12, 18, 28, 0.10);
    background: rgba(247, 248, 251, 0.92);
    border-radius: 12px;
    width: 36px;
    height: 36px;
    font-size: 20px;
    line-height: 1;
    font-weight: 900;
    color: rgba(14, 17, 22, 0.72);
    cursor: pointer;
}

.kpic-modal-body {
    padding: 12px 14px;
    max-height: 60vh;
    overflow: auto;
}

.kpic-modal-loading {
    padding: 18px 4px;
    font-weight: 800;
    color: rgba(14, 17, 22, 0.62);
}

.kpic-kv {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(12, 18, 28, 0.08);
}

.kpic-k {
    font-weight: 900;
    color: rgba(14, 17, 22, 0.70);
}

.kpic-v {
    font-weight: 800;
    color: rgba(14, 17, 22, 0.92);
    word-break: break-all;
}

.kpic-modal-foot {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(12, 18, 28, 0.06);
}

.kpic-chartbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px 14px;
    align-items: center;
    padding: 12px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(12, 18, 28, 0.08);
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.10);
}

.kpic-asset {
    min-width: 0;
}

.kpic-asset-nid {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.kpic-asset-sub {
    margin-top: 2px;
    font-size: 0.82rem;
    color: rgba(14, 17, 22, 0.56);
}

.kpic-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.kpic-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(12, 18, 28, 0.08);
    background: rgba(247, 248, 251, 0.9);
}

.kpic-tab {
    appearance: none;
    border: none;
    background: transparent;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.86rem;
    color: rgba(14, 17, 22, 0.62);
    cursor: pointer;
}

.kpic-tab.is-active {
    background: linear-gradient(180deg, rgba(38, 78, 255, 0.18) 0%, rgba(38, 78, 255, 0.12) 100%);
    color: #1d37d7;
}

.kpic-pill {
    appearance: none;
    border: 1px solid rgba(12, 18, 28, 0.10);
    background: rgba(247, 248, 251, 0.92);
    border-radius: 12px;
    padding: 9px 12px;
    font-weight: 800;
    color: rgba(14, 17, 22, 0.86);
    cursor: pointer;
}

.kpic-back-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(38, 78, 255, 0.18) 0%, rgba(38, 78, 255, 0.10) 100%);
    border-color: rgba(38, 78, 255, 0.28);
    color: #1d37d7;
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.10);
}

.kpic-back-icon__arrow {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(38, 78, 255, 0.22);
    font-weight: 900;
    line-height: 1;
}

.kpic-back-icon__arrow svg {
    display: block;
}

.kpic-back-icon__text {
    font-weight: 900;
    letter-spacing: 0.2px;
}

.kpic-back-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.12);
}

.kpic-ai-center-btn {
    background: linear-gradient(135deg, rgba(18, 183, 106, 0.96), rgba(0, 176, 255, 0.90));
    border-color: rgba(18, 183, 106, 0.22);
    color: #fff;
    box-shadow: 0 14px 34px rgba(18, 183, 106, 0.22);
}

.kpic-ai-center-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(18, 183, 106, 0.26);
}

.kpic-backpill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    background: linear-gradient(180deg, rgba(38, 78, 255, 0.18) 0%, rgba(38, 78, 255, 0.12) 100%);
    border-color: rgba(38, 78, 255, 0.28);
    color: #1d37d7;
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.10);
}

.kpic-backpill svg {
    color: #1d37d7;
}

.kpic-backpill:hover {
    transform: translateY(-1px);
    border-color: rgba(38, 78, 255, 0.38);
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.12);
}

.kpic-iconbtn {
    appearance: none;
    border: 1px solid rgba(12, 18, 28, 0.10);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 12px;
    padding: 9px 12px;
    font-weight: 800;
    font-size: 0.86rem;
    color: rgba(14, 17, 22, 0.86);
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.kpic-iconbtn svg {
    color: rgba(14, 17, 22, 0.62);
}

.kpic-iconbtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.kpic-ui-scale {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 12px;
    border: 1px solid rgba(12, 18, 28, 0.10);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
    position: relative;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.kpic-ui-scale:hover {
    transform: translateY(-1px);
    border-color: rgba(12, 18, 28, 0.14);
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.10);
}

.kpic-ui-scale svg {
    color: rgba(14, 17, 22, 0.62);
}

.kpic-ui-scale-label {
    font-weight: 800;
    font-size: 0.86rem;
    color: rgba(14, 17, 22, 0.66);
}

.kpic-ui-scale::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 2px solid rgba(14, 17, 22, 0.32);
    border-bottom: 2px solid rgba(14, 17, 22, 0.32);
    transform: rotate(45deg);
    position: absolute;
    right: 12px;
    top: 50%;
    margin-top: -5px;
    pointer-events: none;
}

.kpic-select {
    border: none;
    outline: none;
    background: transparent;
    font-weight: 800;
    font-size: 0.86rem;
    color: rgba(14, 17, 22, 0.86);
    appearance: none;
    padding-right: 18px;
    cursor: pointer;
    min-width: 66px;
}

.kpic-select::-ms-expand {
    display: none;
}

.kpic-select:focus-visible {
    outline: none;
}

.kpic-stage {
    margin-top: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(12, 18, 28, 0.08);
    box-shadow: 0 22px 60px rgba(16, 24, 40, 0.10);
    overflow: hidden;
}

.kpic-imgwrap {
    background: #ffffff;
    padding: 10px;
}

.kpic-imgwrap img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    background: #ffffff;
}

.kpic-imgstate {
    padding: 10px 12px 12px;
    font-size: 0.86rem;
    color: rgba(14, 17, 22, 0.62);
}

.kpic-note {
    padding: 0 12px 14px;
    font-size: 0.8rem;
    color: rgba(14, 17, 22, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 500;
}

.kpic-ai {
    margin-top: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(12, 18, 28, 0.06);
    box-shadow: 0 12px 40px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.04);
    overflow: hidden;
}

.kpic-ai-head {
    padding: 18px 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.kpic-ai-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.kpic-ai-title {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.2px;
    color: #0e1116;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kpic-ai-title svg {
    color: #1d37d7;
}

.kpic-pro-badge {
    background: linear-gradient(135deg, #1d37d7, #8a2be2);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(29, 55, 215, 0.3);
}

.kpic-subscribe-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(29, 55, 215, 0.08);
    color: #1d37d7;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.kpic-subscribe-btn:hover {
    background: rgba(29, 55, 215, 0.15);
    transform: translateY(-1px);
}

.kpic-ai-sub {
    margin-top: 8px;
    padding: 0 16px;
    font-size: 0.82rem;
    color: rgba(14, 17, 22, 0.56);
}

.kpic-ai-tabs {
    margin-top: 14px;
    padding: 0 16px 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(12, 18, 28, 0.04);
}

.kpic-ai-tab {
    appearance: none;
    border: 1px solid transparent;
    background: rgba(14, 17, 22, 0.04);
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 0.86rem;
    color: rgba(14, 17, 22, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
}

.kpic-ai-tab:hover {
    background: rgba(14, 17, 22, 0.08);
    color: #0e1116;
}

.kpic-ai-tab.is-active {
    background: #1d37d7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(29, 55, 215, 0.25);
}

.kpic-ai-body {
    padding: 16px;
}

.kpic-ai-status {
    font-size: 0.86rem;
    color: rgba(14, 17, 22, 0.62);
    margin-bottom: 10px;
}

.kpic-ai-content {
    white-space: pre-wrap;
    line-height: 1.65;
    color: #111827;
    font-size: 0.92rem;
}

 

@media (min-width: 561px) {
    .kpic-chartbar,
    .kpic-stage,
    .kpic-ai {
        width: 100%;
        max-width: var(--kpic-ui-maxw, 9999px);
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 560px) {
    .kpic-top {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }
    .kpic-title {
        justify-self: end;
    }
    .kpic-search {
        grid-column: 1 / -1;
    }
    .kpic-main {
        padding: 14px 12px 20px;
    }
    .kpic-grid {
        grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
        gap: 10px;
    }

    .kpic-matrixbar {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        margin-left: -12px;
        margin-right: -12px;
        margin-bottom: 18px;
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 10px;
        padding-bottom: 14px;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        max-width: 100%;
    }

    .kpic-matrixbar::-webkit-scrollbar {
        height: 6px;
    }
    .kpic-matrixbar::-webkit-scrollbar-thumb {
        background: rgba(12, 18, 28, 0.12);
        border-radius: 999px;
    }

    .kpic-worldtime {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        margin-left: -12px;
        margin-right: -12px;
        margin-bottom: 10px;
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 4px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        max-width: 100%;
    }

    .kpic-worldtime::-webkit-scrollbar {
        height: 6px;
    }
    .kpic-worldtime::-webkit-scrollbar-thumb {
        background: rgba(12, 18, 28, 0.12);
        border-radius: 999px;
    }

    .kpic-filter {
        flex: 0 0 auto;
        white-space: nowrap;
        line-height: 1;
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 1rem;
        min-height: 40px;
        min-width: 92px;
    }

    .kpic-main {
        overflow-x: hidden;
    }

    .kpic-card {
        padding: 12px 12px 10px;
    }

    .kpic-card-top {
        gap: 8px;
    }

    .kpic-card-left {
        gap: 8px;
    }

    .kpic-token {
        width: 52px;
        height: 32px;
        border-radius: 10px;
        padding: 0 8px;
        gap: 4px;
        font-size: 0.72rem;
    }

    .kpic-token-ico svg {
        width: 12px;
        height: 12px;
    }

    .kpic-token-code {
        font-size: 0.68rem;
        letter-spacing: 0.5px;
    }

    .kpic-card-quote {
        min-width: 64px;
    }

    .kpic-last {
        font-size: 0.95rem;
    }

    .kpic-chartbar {
        grid-template-columns: auto 1fr;
    }

    .kpic-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    #kpicZoomIn {
        margin-left: auto;
    }

    .kpic-ui-scale {
        display: none;
    }
}

/* ==========================================================================
   Premium Performance Card Section
   ========================================================================== */
.perf-premium-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    position: relative;
    z-index: 10;
}
.perf-premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 64px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.perf-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    background: rgba(255, 255, 255, 0.98);
}

.perf-live-status {
    display: flex;
    align-items: center;
    gap: 14px;
}

.live-dot {
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px rgba(18, 183, 106, 0.6);
}
.live-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

.live-text {
    font-weight: 800;
    color: rgba(15, 23, 42, 0.9);
    font-size: 1.1rem;
    letter-spacing: 0.2px;
}

.perf-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--secondary);
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(91, 92, 235, 0.06);
    border: 1px solid rgba(91, 92, 235, 0.12);
    transition: all 0.25s ease;
}
.perf-card-action:hover {
    background: rgba(91, 92, 235, 0.12);
    border-color: rgba(91, 92, 235, 0.2);
    gap: 12px;
}
.perf-card-action svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.perf-card-chart {
    width: 100%;
    height: 400px;
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}
.perf-svg {
    width: 100%;
    height: 100%;
    display: block;
}
.perf-grid-line {
    stroke: rgba(15, 23, 42, 0.03);
    stroke-width: 1;
    fill: none;
}
.perf-area-path {
    fill: url(#perfGradient);
}
.perf-line-path {
    stroke: var(--primary);
    stroke-width: 4;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.perf-end-dot {
    fill: #ffffff;
    stroke: var(--primary);
    stroke-width: 3.5;
    filter: drop-shadow(0 4px 8px rgba(18, 183, 106, 0.5));
}
.perf-end-pulse {
    fill: var(--primary);
    opacity: 0.15;
    animation: pulse-dot 2.5s infinite;
}
@keyframes pulse-dot {
    0% { transform: scale(0.8); opacity: 0.3; }
    100% { transform: scale(1.6); opacity: 0; }
}

.perf-card-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    background: #ffffff;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    padding: 30px 40px;
}

.perf-stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.perf-stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,0.1) 50%, rgba(15,23,42,0) 100%);
}
.perf-stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.perf-stat-value {
    font-size: 2.4rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1;
    letter-spacing: -0.5px;
}
.perf-stat-value.highlight {
    color: var(--primary);
    text-shadow: 0 4px 14px rgba(18, 183, 106, 0.2);
}

@media (max-width: 768px) {
    .perf-premium-card {
        border-radius: 16px;
    }
    .perf-card-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        padding: 20px;
    }
    .perf-card-footer {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 20px;
    }
    .perf-stat-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, rgba(15,23,42,0) 0%, rgba(15,23,42,0.1) 50%, rgba(15,23,42,0) 100%);
    }
    .perf-card-chart {
        height: 280px;
    }
}

/* ==========================================================================
   Classic Pricing Grid (High Contrast Style)
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0; /* Boxy layout typically has cards touching or very close */
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 8px;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
}

.pricing-card:hover {
    z-index: 10;
    transform: translate3d(0, -2px, 0);
}

/* Middle Card Pop-out (Now Ultimate Edition) */
.pc-pro {
    transform: translate3d(0, 0, 0) scale(1.08);
    z-index: 5;
    box-shadow: 0 24px 60px rgba(58, 59, 191, 0.2);
    border: none;
    border-radius: 8px;
}
.pc-pro:hover {
    transform: translate3d(0, -2px, 0) scale(1.08);
}

.pc-header {
    padding: 30px 20px 40px;
    text-align: center;
    position: relative;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.pc-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 5px;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.pc-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Downward Triangle Hack */
.pc-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 15px solid;
    z-index: 2;
}

/* Header Colors */
.pc-free .pc-header {
    background: #e2e8f0;
    color: #1e293b;
}
.pc-free .pc-header::after { border-top-color: #e2e8f0; }

.pc-pro .pc-header {
    background: rgba(58, 59, 191, 0.7); /* Even Lighter Blue/Purple for pro */
    color: #ffffff;
}
.pc-pro .pc-header::after { border-top-color: rgba(58, 59, 191, 0.7); }

.pc-ultimate .pc-header {
    background: rgba(18, 183, 106, 0.85); /* Lighter Green for ultimate */
    color: #ffffff;
}
.pc-ultimate .pc-header::after { border-top-color: rgba(18, 183, 106, 0.85); }

/* Stickers */
.pc-sticker {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 75px;
    height: 75px;
    background: #1e293b;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px dashed #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: rotate(15deg);
    z-index: 10;
}
.pc-sticker-gold {
    background: var(--secondary);
    border-color: #ffffff;
}
.sticker-top { font-size: 1.1rem; font-weight: 900; line-height: 1.1; }
.sticker-bottom { font-size: 0.75rem; font-weight: bold; }

/* Features Body */
.pc-body {
    padding: 30px 20px 0;
    flex-grow: 1;
    background: #ffffff;
}

.pc-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pc-features li {
    padding: 12px 10px;
    font-size: 0.9rem;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
}
.pc-features li:nth-child(even) {
    background: #f8fafc;
}
.pc-features li:last-child {
    border-bottom: none;
}

.pc-features svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}
.pc-check { color: var(--secondary); }
.pc-cross { color: #dc2626; opacity: 0.8; }
.pc-disabled span {
    text-decoration: line-through;
    color: #94a3b8;
}
.pc-highlight {
    color: var(--primary) !important;
    font-weight: bold;
}

/* Summary Bar */
.pc-summary {
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.78);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    text-align: center;
    padding: 14px;
    font-size: 1.05rem;
    font-weight: 800;
    margin-top: 20px;
}
.pc-free .pc-summary {
    background: rgba(15, 23, 42, 0.035);
    color: rgba(30, 41, 59, 0.82);
}
.pc-pro .pc-summary {
    background: rgba(58, 59, 191, 0.08);
    color: rgba(58, 59, 191, 0.96);
    border-color: rgba(58, 59, 191, 0.10);
}
.pc-ultimate .pc-summary {
    background: rgba(18, 183, 106, 0.10);
    color: rgba(12, 112, 64, 0.98);
    border-color: rgba(18, 183, 106, 0.14);
}

/* Footer / Price */
.pc-footer {
    background: #f8fafc;
    padding: 25px 20px;
    text-align: center;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.pc-price-box {
    margin-bottom: 20px;
}

.pc-currency {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    vertical-align: top;
    margin-right: 2px;
}
.pc-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
    font-family: var(--font-heading);
}
.pc-unit {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: bold;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    .pc-pro {
        transform: none;
    }
    .pc-pro:hover {
        transform: translateY(-5px);
    }
    .pricing-card {
        border-radius: 12px;
        overflow: hidden;
    }
}

/* ==========================================================================
   Floating Promo Card
   ========================================================================== */
.floating-promo {
    position: fixed;
    top: 100px; /* Changed from bottom to top, leaving space for header */
    right: 30px;
    width: 200px;
    background: rgba(58, 59, 191, 0.75); /* Even Lighter Blue */
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(58, 59, 191, 0.2);
    color: white;
    text-align: center;
    z-index: 1000;
    padding: 20px 15px;
    font-family: var(--font-body);
    animation: slideDownFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownFade {
    0% { opacity: 0; transform: translateY(-50px); }
    100% { opacity: 1; transform: translateY(0); }
}

.close-promo {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.close-promo:hover {
    background: rgba(255,255,255,0.4);
}

.promo-header {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.promo-body {
    background: white;
    color: #0f172a;
    padding: 12px 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.promo-discount {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(58, 59, 191, 0.75);
    font-family: var(--font-heading);
}

.promo-text {
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-weight: bold;
    color: #eff6ff;
}

.btn-promo {
    background: rgba(18, 183, 106, 0.95);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: bold;
    border: none;
    width: 100%;
    display: block;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
}

.btn-promo:hover {
    background: rgba(18, 183, 106, 1);
    transform: translateY(-2px);
    color: white;
}

@media (max-width: 560px) {
    .floating-promo {
        width: 140px;
        top: 80px;
        right: 20px;
        padding: 15px 10px;
    }
    .promo-header { font-size: 1rem; }
    .promo-discount { font-size: 1.8rem; }
    .promo-text { font-size: 0.8rem; }
}
