/* ═══════════════════════════════════════════════════════════════════════════
   SolVault — Design System
   Colour Split: 60% White · 30% Grey · 10% Black
   Fonts: Inter (sans) + JetBrains Mono (mono)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* 60% White */
    --white: #ffffff;
    --white-off: #fafafa;
    --white-warm: #f5f5f5;

    /* 30% Grey */
    --g50: #f9fafb; --g100: #f3f4f6; --g200: #e5e7eb; --g300: #d1d5db;
    --g400: #9ca3af; --g500: #6b7280; --g600: #4b5563; --g700: #374151;

    /* 10% Black */
    --black: #0a0a0a; --black-s: #1a1a1a; --black-m: #262626;

    /* Functional */
    --green: #22c55e; --green-bg: #dcfce7;
    --red: #ef4444;   --red-bg: #fee2e2;
    --blue: #3b82f6;  --blue-bg: #dbeafe;

    /* Type */
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Layout */
    --nav-h: 72px;
    --r: 12px; --r-sm: 8px; --r-lg: 16px; --r-xl: 20px;
    --max-w: 1200px;
    --transition: 0.2s ease;
}

/* ═══ Dark Mode ═══ */
[data-theme="dark"] {
    --white: #0a0a0a;
    --white-off: #111111;
    --white-warm: #161616;

    --g50: #1a1a1a; --g100: #222222; --g200: #2e2e2e; --g300: #3a3a3a;
    --g400: #888888; --g500: #a0a0a0; --g600: #c0c0c0; --g700: #e0e0e0;

    --black: #f5f5f5; --black-s: #e8e8e8; --black-m: #d4d4d4;

    --green: #34d399; --green-bg: #064e3b;
    --red: #f87171;   --red-bg: #450a0a;
    --blue: #60a5fa;  --blue-bg: #1e3a5f;
}
[data-theme="dark"] .navbar {
    background: rgba(10,10,10,0.88);
}
[data-theme="dark"] .nav-links.open {
    background: #0a0a0a;
}
[data-theme="dark"] .cta-section {
    background: #f5f5f5;
}
[data-theme="dark"] .cta-inner h2 { color: #0a0a0a; }
[data-theme="dark"] .cta-inner > p { color: #6b7280; }
[data-theme="dark"] .cta-slots { color: #6b7280; }
[data-theme="dark"] .pulse-dot-white { background: #0a0a0a; }
[data-theme="dark"] .btn-white { background: #0a0a0a; color: #f5f5f5; }
[data-theme="dark"] .btn-white:hover { background: #1a1a1a; }
[data-theme="dark"] .btn-ghost { color: rgba(0,0,0,0.6); border-color: rgba(0,0,0,0.2); }
[data-theme="dark"] .btn-ghost:hover { color: #0a0a0a; border-color: rgba(0,0,0,0.5); }
[data-theme="dark"] .text-gradient {
    background: linear-gradient(135deg, #f5f5f5 0%, #888888 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
[data-theme="dark"] .hero-grid-bg {
    background-image:
        linear-gradient(var(--g200) 1px, transparent 1px),
        linear-gradient(90deg, var(--g200) 1px, transparent 1px);
    opacity: 0.15;
}
[data-theme="dark"] .feature-card:hover {
    box-shadow: 0 8px 32px rgba(255,255,255,0.04);
}
[data-theme="dark"] .security-card:hover {
    box-shadow: 0 4px 20px rgba(255,255,255,0.03);
}
[data-theme="dark"] .price-card-featured {
    box-shadow: 0 8px 40px rgba(255,255,255,0.06);
}
[data-theme="dark"] .modal-overlay {
    background: rgba(0,0,0,0.7);
}
[data-theme="dark"] .modal-panel {
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
[data-theme="dark"] .toast {
    background: #f5f5f5; color: #0a0a0a;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
[data-theme="dark"] .toast-msg { color: #6b7280; }
[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 4px 16px rgba(255,255,255,0.1);
}
[data-theme="dark"] .logo-icon {
    background: #f5f5f5; color: #0a0a0a;
}

/* Theme Toggle */
.theme-toggle {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--g100); border: 1px solid var(--g200);
    border-radius: var(--r-sm); cursor: pointer;
    color: var(--g600); transition: all var(--transition);
}
.theme-toggle:hover {
    background: var(--g200); color: var(--black);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ═══ Reset ═══ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--sans);
    background: var(--white);
    color: var(--g700);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { font-family: var(--sans); }

/* ═══ Utility ═══ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.section { padding: 100px 0; }
.section-alt { background: var(--g50); }

/* ═══ Navigation ═══ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--g200);
    z-index: 1000;
}
.nav-container {
    max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
    display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.logo-icon {
    width: 36px; height: 36px;
    background: var(--black); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-sm); font-weight: 700;
}
.logo-text {
    font-size: 20px; font-weight: 800; color: var(--black); letter-spacing: -0.5px;
}
.nav-links { display: flex; gap: 28px; }
.nav-link {
    font-size: 14px; font-weight: 500; color: var(--g500);
    transition: color var(--transition); position: relative;
}
.nav-link:hover { color: var(--black); }
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--black); transition: width var(--transition);
}
.nav-link:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-mobile-toggle {
    display: none; background: none; border: none; color: var(--g600); cursor: pointer;
    padding: 8px;
}

.wallet-info {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 16px; background: var(--g50);
    border-radius: var(--r); border: 1px solid var(--g200);
}
.wallet-dot, .pulse-dot {
    width: 8px; height: 8px; background: var(--green);
    border-radius: 50%; display: inline-block; animation: pulse 2s infinite;
}
.pulse-dot-white { background: var(--white); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.wallet-addr { font-family: var(--mono); font-size: 13px; color: var(--g600); }

/* ═══ Buttons ═══ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border: none; border-radius: var(--r-sm);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all var(--transition); white-space: nowrap;
}
.btn svg { flex-shrink: 0; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--black-m); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.btn-outline { background: transparent; color: var(--black); border: 1px solid var(--g300); }
.btn-outline:hover { border-color: var(--black); background: var(--g50); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--g100); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--r); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }
.btn-wallet svg { flex-shrink: 0; }

/* ═══ Hero ═══ */
.hero {
    padding: calc(var(--nav-h) + 80px) 0 100px;
    text-align: center; position: relative; overflow: hidden;
}
.hero-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--g200) 1px, transparent 1px),
        linear-gradient(90deg, var(--g200) 1px, transparent 1px);
    background-size: 64px 64px; opacity: 0.35;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.hero-content { position: relative; max-width: 820px; margin: 0 auto; padding: 0 24px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; background: var(--g50); border: 1px solid var(--g200);
    border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--g600);
    margin-bottom: 32px;
}
.hero-title {
    font-size: clamp(38px, 5.5vw, 62px); font-weight: 900;
    color: var(--black); line-height: 1.08; letter-spacing: -2px; margin-bottom: 24px;
}
.text-gradient {
    background: linear-gradient(135deg, var(--black) 0%, var(--g400) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 18px; line-height: 1.7; color: var(--g500);
    max-width: 600px; margin: 0 auto 48px;
}
.hero-metrics {
    display: flex; align-items: center; justify-content: center;
    gap: 36px; margin-bottom: 48px; flex-wrap: wrap;
}
.metric { display: flex; flex-direction: column; align-items: center; }
.metric-value {
    font-size: 30px; font-weight: 800; color: var(--black);
    font-family: var(--mono); letter-spacing: -1px;
}
.metric-label { font-size: 13px; color: var(--g400); font-weight: 500; margin-top: 4px; }
.metric-sep { width: 1px; height: 40px; background: var(--g200); }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-note { font-size: 13px; color: var(--g400); }

/* ═══ Trust Bar ═══ */
.trust-bar {
    padding: 18px 0; border-top: 1px solid var(--g200);
    border-bottom: 1px solid var(--g200); background: var(--g50);
}
.trust-items { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; }
.trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 500; color: var(--g600);
}
.trust-icon { font-size: 18px; }

/* ═══ Section Header ═══ */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; padding: 6px 14px; background: var(--g100);
    border-radius: 999px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.2px;
    color: var(--g500); margin-bottom: 16px;
}
.section-title {
    font-size: clamp(26px, 4vw, 38px); font-weight: 800;
    color: var(--black); line-height: 1.2; letter-spacing: -1px; margin-bottom: 16px;
}
.section-desc {
    font-size: 16px; color: var(--g500); max-width: 560px;
    margin: 0 auto; line-height: 1.7;
}

/* ═══ Features ═══ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
    padding: 32px; background: var(--white);
    border: 1px solid var(--g200); border-radius: var(--r-lg);
    transition: all 0.3s ease;
}
.feature-card:hover {
    border-color: var(--g300); box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}
.feature-icon-wrap {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--g50); border: 1px solid var(--g200);
    border-radius: var(--r-sm); margin-bottom: 20px; color: var(--black);
}
.feature-card h3 {
    font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 8px;
}
.feature-card p { font-size: 14px; line-height: 1.7; color: var(--g500); }

/* ═══ Timeline ═══ */
.timeline { max-width: 680px; margin: 0 auto; }
.timeline-step {
    display: flex; gap: 32px; padding: 28px 0;
    border-bottom: 1px solid var(--g200);
}
.timeline-step:last-child { border-bottom: none; }
.timeline-num {
    font-size: 44px; font-weight: 900; color: var(--g200);
    font-family: var(--mono); min-width: 72px; line-height: 1;
}
.timeline-body h3 { font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.timeline-body p { font-size: 14px; line-height: 1.7; color: var(--g500); }

/* ═══ Pricing ═══ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.price-card {
    padding: 36px; border: 1px solid var(--g200);
    border-radius: var(--r-lg); background: var(--white); position: relative;
}
.price-card-featured { border-color: var(--black); box-shadow: 0 8px 40px rgba(0,0,0,0.08); }
.price-badge {
    display: inline-block; padding: 4px 12px; background: var(--g100);
    border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--g500);
    margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px;
}
.price-badge-dark { background: var(--black); color: var(--white); }
.price-card h3 { font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 16px; }
.price-amount-wrap { margin-bottom: 8px; }
.price-big {
    font-size: 40px; font-weight: 900; color: var(--black); letter-spacing: -2px;
}
.price-per { font-size: 15px; color: var(--g400); }
.price-fee {
    font-size: 13px; color: var(--g500); margin-bottom: 24px;
    padding-bottom: 24px; border-bottom: 1px solid var(--g200);
}
.price-list { list-style: none; margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.price-list li { font-size: 14px; color: var(--g600); display: flex; align-items: center; gap: 8px; }
.price-list li.muted { color: var(--g300); }
.check { color: var(--black); font-weight: 700; }
.cross { color: var(--g300); }

.guarantee-bar {
    display: flex; align-items: flex-start; gap: 20px;
    padding: 24px 32px; background: var(--g50);
    border: 1px solid var(--g200); border-radius: var(--r-lg);
}
.guarantee-icon { font-size: 32px; flex-shrink: 0; }
.guarantee-text strong { font-size: 16px; color: var(--black); display: block; margin-bottom: 4px; }
.guarantee-text p { font-size: 14px; color: var(--g500); line-height: 1.6; }

/* ═══ Performance ═══ */
.perf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.perf-card {
    padding: 24px; background: var(--white);
    border: 1px solid var(--g200); border-radius: var(--r); text-align: center;
}
.perf-card-hl { border-color: var(--black); }
.perf-label {
    display: block; font-size: 12px; color: var(--g400);
    margin-bottom: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.perf-value { font-size: 26px; font-weight: 800; color: var(--black); font-family: var(--mono); }
.recent-trades-section h3 {
    font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 16px;
}

/* ═══ Tables ═══ */
.table-wrap {
    overflow-x: auto; border: 1px solid var(--g200); border-radius: var(--r);
}
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
    padding: 12px 16px; text-align: left; font-weight: 600;
    color: var(--g500); background: var(--g50);
    border-bottom: 1px solid var(--g200);
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap;
}
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--g100); color: var(--g700); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--g50); }
.table-empty { text-align: center; color: var(--g400); padding: 28px !important; }

.pnl-positive { color: var(--green) !important; font-weight: 600; }
.pnl-negative { color: var(--red) !important; font-weight: 600; }
.token-link { font-family: var(--mono); font-size: 13px; color: var(--blue); }
.token-link:hover { text-decoration: underline; }

/* ═══ Chart ═══ */
.chart-section {
    margin-top: 48px; padding: 32px;
    background: var(--white); border: 1px solid var(--g200);
    border-radius: var(--r-lg);
}
.chart-title {
    font-size: 17px; font-weight: 700; color: var(--black);
    margin-bottom: 4px;
}
.chart-subtitle {
    font-size: 13px; color: var(--g400); margin-bottom: 32px;
}
.chart-container {
    position: relative; min-height: 240px;
}
.chart-bars {
    display: flex; align-items: flex-end; gap: 24px;
    height: 220px; padding: 0 16px;
    border-bottom: 2px solid var(--g200);
}
.chart-bar-group {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; gap: 8px;
}
.chart-bar-wrap {
    display: flex; flex-direction: column; align-items: center;
    width: 100%; height: 200px;
    justify-content: flex-end;
}
.chart-bar {
    width: 100%; max-width: 80px;
    background: linear-gradient(180deg, var(--green) 0%, rgba(34,197,94,0.3) 100%);
    border-radius: var(--r-sm) var(--r-sm) 0 0;
    transition: height 1s ease; min-height: 12px;
    position: relative;
}
.chart-bar-best {
    background: linear-gradient(180deg, #16a34a 0%, rgba(22,163,106,0.4) 100%);
    box-shadow: 0 -4px 16px rgba(34,197,94,0.2);
}
.chart-bar-value {
    font-size: 12px; font-weight: 700; font-family: var(--mono);
    margin-bottom: 6px; white-space: nowrap;
}
.chart-bar-label {
    font-size: 13px; font-weight: 600; color: var(--black);
    margin-top: 8px;
}
.chart-bar-meta {
    font-size: 11px; color: var(--g400);
    text-align: center; white-space: nowrap;
}
.chart-winrate-line {
    position: absolute; top: 0; left: 16px; right: 16px;
    height: 200px; pointer-events: none;
}
.chart-wr-label {
    font-size: 10px; font-weight: 600; color: var(--blue);
    text-transform: uppercase; letter-spacing: 0.5px;
    text-align: right; margin-bottom: 4px;
}
.chart-wr-points {
    position: relative; height: 200px;
    display: flex; justify-content: space-around;
}
.wr-point {
    position: absolute; width: 12px; height: 12px;
    background: var(--blue); border: 2px solid var(--white);
    border-radius: 50%; box-shadow: 0 0 0 2px var(--blue);
    transform: translate(-50%, 50%);
}
.wr-point:nth-child(1) { left: 12.5%; }
.wr-point:nth-child(2) { left: 37.5%; }
.wr-point:nth-child(3) { left: 62.5%; }
.wr-point:nth-child(4) { left: 87.5%; }
.wr-point span {
    position: absolute; top: -22px; left: 50%;
    transform: translateX(-50%);
    font-size: 10px; font-weight: 700; color: var(--blue);
    font-family: var(--mono); white-space: nowrap;
}
.wr-best { background: #2563eb; box-shadow: 0 0 0 2px #2563eb, 0 0 8px rgba(37,99,235,0.3); }
.chart-legend {
    display: flex; justify-content: center; gap: 24px;
    margin-top: 20px;
}
.legend-item {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: var(--g500);
}
.legend-bar {
    width: 16px; height: 10px;
    background: var(--green); border-radius: 2px;
}
.legend-dot {
    width: 8px; height: 8px;
    background: var(--blue); border-radius: 50%;
}

/* ═══ Footer Socials ═══ */
.footer-socials {
    display: flex; gap: 12px; margin-top: 16px;
}
.social-link {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--g100); border-radius: var(--r-sm);
    color: var(--g500); transition: all var(--transition);
}
.social-link:hover {
    background: var(--black); color: var(--white);
    transform: translateY(-2px);
}

/* ═══ Legal/Docs Page ═══ */
.page-body {
    padding: calc(var(--nav-h) + 40px) 0 80px;
    min-height: 100vh;
}
.page-container {
    max-width: 800px; margin: 0 auto; padding: 0 24px;
}
.page-title {
    font-size: 32px; font-weight: 800; color: var(--black);
    margin-bottom: 8px;
}
.page-updated {
    font-size: 13px; color: var(--g400); margin-bottom: 40px;
}
.page-section {
    margin-bottom: 36px;
}
.page-section h2 {
    font-size: 20px; font-weight: 700; color: var(--black);
    margin-bottom: 12px; padding-bottom: 8px;
    border-bottom: 1px solid var(--g200);
}
.page-section h3 {
    font-size: 16px; font-weight: 600; color: var(--black);
    margin: 16px 0 8px;
}
.page-section p, .page-section li {
    font-size: 15px; color: var(--g600); line-height: 1.8;
    margin-bottom: 12px;
}
.page-section ul, .page-section ol {
    padding-left: 24px; margin-bottom: 16px;
}
.page-section li { margin-bottom: 6px; }
.page-section code {
    font-family: var(--mono); font-size: 13px;
    background: var(--g100); padding: 2px 6px;
    border-radius: 4px; color: var(--g700);
}
.doc-step {
    display: flex; gap: 20px; padding: 20px;
    background: var(--g50); border: 1px solid var(--g200);
    border-radius: var(--r); margin-bottom: 16px;
}
.doc-step-num {
    width: 36px; height: 36px; flex-shrink: 0;
    background: var(--black); color: var(--white);
    border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    font-weight: 800; font-size: 15px;
}
.doc-step-body h3 {
    font-size: 15px; font-weight: 700; color: var(--black);
    margin: 0 0 4px;
}
.doc-step-body p {
    font-size: 14px; color: var(--g500); line-height: 1.6;
    margin: 0;
}
.safety-card {
    padding: 20px; background: var(--red-bg);
    border: 1px solid var(--red); border-radius: var(--r);
    margin-bottom: 12px;
}
.safety-card.safe {
    background: var(--green-bg); border-color: var(--green);
}
.safety-card h3 {
    font-size: 14px; font-weight: 700;
    color: var(--black); margin-bottom: 4px;
}
.safety-card p {
    font-size: 13px; color: var(--g600); line-height: 1.6; margin: 0;
}

/* ═══ Security ═══ */
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.security-card {
    padding: 32px 24px; border: 1px solid var(--g200);
    border-radius: var(--r-lg); text-align: center;
    transition: all 0.3s ease;
}
.security-card:hover {
    border-color: var(--g300); box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.security-num {
    font-size: 36px; font-weight: 900; color: var(--g200);
    font-family: var(--mono); margin-bottom: 12px;
}
.security-card h3 { font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.security-card p { font-size: 14px; color: var(--g500); line-height: 1.6; }

/* ═══ FAQ ═══ */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--white); border: 1px solid var(--g200);
    border-radius: var(--r); overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--g300); }
.faq-item summary {
    padding: 18px 24px; font-size: 15px; font-weight: 600;
    color: var(--black); cursor: pointer; list-style: none;
    display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; font-size: 20px; font-weight: 400; color: var(--g400);
    transition: transform var(--transition);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
    padding: 0 24px 18px; font-size: 14px; color: var(--g500); line-height: 1.7;
}

/* ═══ CTA ═══ */
.cta-section { background: var(--black); padding: 80px 0; }
.cta-inner { text-align: center; }
.cta-inner h2 {
    font-size: clamp(26px, 4vw, 36px); font-weight: 800;
    color: var(--white); margin-bottom: 12px;
}
.cta-inner > p { color: var(--g400); font-size: 16px; margin-bottom: 32px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; margin-bottom: 24px; }
.cta-slots {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; font-size: 13px; color: var(--g500);
}

/* ═══ Footer ═══ */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--g200); }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 48px;
}
.footer-tagline { font-size: 14px; color: var(--g400); margin-top: 12px; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--g500); transition: color var(--transition); }
.footer-col a:hover { color: var(--black); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--g200); }
.footer-bottom p { font-size: 13px; color: var(--g400); text-align: center; }

/* ═══ Modal / Dashboard ═══ */
.modal {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; align-items: flex-start; justify-content: center;
    padding: 40px 20px; overflow-y: auto;
}
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
}
.modal-panel {
    position: relative; background: var(--white);
    border-radius: var(--r-xl); width: 100%; max-width: 820px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.2); animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 32px; border-bottom: 1px solid var(--g200);
}
.modal-head h2 { font-size: 20px; font-weight: 700; color: var(--black); }
.modal-close {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border: none; background: var(--g100); border-radius: var(--r-sm);
    cursor: pointer; color: var(--g500); transition: all var(--transition);
}
.modal-close:hover { background: var(--g200); color: var(--black); }
.modal-body { padding: 32px; }

.dash-row {
    margin-bottom: 28px; padding-bottom: 28px;
    border-bottom: 1px solid var(--g100);
}
.dash-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.dash-title { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 16px; }
.dash-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-title-row .dash-title { margin-bottom: 0; }

.dash-user-bar {
    display: flex; align-items: center; justify-content: space-between;
}
.dash-wallet-info { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--g600); }
.dash-status-wrap { display: flex; align-items: center; gap: 12px; }
.dash-slot { font-size: 13px; color: var(--g400); font-weight: 500; }

.badge {
    padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
    background: var(--g100); color: var(--g600);
}
.badge.trial { background: var(--blue-bg); color: #1d4ed8; }
.badge.active { background: var(--green-bg); color: #16a34a; }
.badge.expired { background: var(--red-bg); color: var(--red); }

.status-badge {
    padding: 3px 10px; border-radius: 999px; font-size: 11px;
    font-weight: 600; background: var(--g100); color: var(--g600);
}
.status-badge.open { background: var(--blue-bg); color: #1d4ed8; }
.status-badge.closed { background: var(--g100); color: var(--g600); }
.status-badge.trial { background: var(--blue-bg); color: #1d4ed8; }
.status-badge.active { background: var(--green-bg); color: #16a34a; }
.status-badge.expired { background: var(--red-bg); color: var(--red); }

/* Config */
.config-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--g600); }
.field input {
    padding: 10px 14px; border: 1px solid var(--g300);
    border-radius: var(--r-sm); font-size: 15px; color: var(--black);
    background: var(--white); outline: none;
    transition: border-color var(--transition); font-family: var(--sans);
}
.field input:focus { border-color: var(--black); }
.field-hint { font-size: 12px; color: var(--g400); }

/* Stats */
.stats-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-box {
    padding: 16px; background: var(--g50);
    border-radius: var(--r-sm); text-align: center;
}
.stat-label {
    display: block; font-size: 11px; color: var(--g400);
    margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px;
}
.stat-value { font-size: 20px; font-weight: 700; color: var(--black); font-family: var(--mono); }

/* Signal Feed */
.signal-feed {
    max-height: 280px; overflow-y: auto;
    border: 1px solid var(--g200); border-radius: var(--r-sm);
}
.signal-empty { padding: 24px; text-align: center; color: var(--g400); font-size: 14px; }
.signal-item {
    padding: 10px 16px; border-bottom: 1px solid var(--g100);
    display: flex; align-items: center; gap: 12px; font-size: 13px;
}
.signal-item:last-child { border-bottom: none; }
.signal-type {
    padding: 3px 8px; border-radius: 4px; font-size: 11px;
    font-weight: 700; font-family: var(--mono);
}
.signal-type.buy { background: var(--green-bg); color: #16a34a; }
.signal-type.sell { background: var(--red-bg); color: var(--red); }
.signal-type.tp { background: var(--blue-bg); color: #1d4ed8; }
.signal-token { font-family: var(--mono); color: var(--g600); }
.signal-time { margin-left: auto; color: var(--g400); font-size: 12px; }

.live-indicator {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; color: var(--green);
    margin-left: 12px;
}
.live-dot {
    width: 6px; height: 6px; background: var(--green);
    border-radius: 50%; animation: pulse 1.5s infinite;
}

/* ═══ Toast ═══ */
#toast-container {
    position: fixed; top: 88px; right: 24px; z-index: 9999;
    display: flex; flex-direction: column; gap: 8px;
}
.toast {
    background: var(--black); color: var(--white); padding: 16px 24px;
    border-radius: var(--r); max-width: 360px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease;
}
.toast-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.toast-msg { font-size: 13px; color: var(--g400); }
@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ═══ Responsive ═══ */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .perf-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    :root { --nav-h: 60px; }
    .container { padding: 0 16px; }
    .section { padding: 60px 0; }

    .nav-links { display: none; }
    .nav-mobile-toggle { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute;
        top: var(--nav-h); left: 0; right: 0;
        background: var(--white); border-bottom: 1px solid var(--g200);
        padding: 16px 24px; gap: 12px; z-index: 999;
    }
    .nav-actions { gap: 8px; }
    .btn-wallet { padding: 8px 12px; font-size: 13px; }
    .btn-wallet span:last-child { display: none; }

    .hero { padding: calc(var(--nav-h) + 40px) 0 60px; }
    .hero-title { font-size: 32px; letter-spacing: -1px; }
    .hero-subtitle { font-size: 15px; margin-bottom: 32px; }
    .hero-badge { font-size: 12px; padding: 6px 14px; margin-bottom: 20px; }
    .hero-metrics { gap: 16px; margin-bottom: 32px; }
    .metric-value { font-size: 22px; }
    .metric-label { font-size: 11px; }
    .metric-sep { display: none; }

    .features-grid { grid-template-columns: 1fr; gap: 12px; }
    .feature-card { padding: 24px; }
    .feature-card h3 { font-size: 15px; }
    .feature-card p { font-size: 13px; }

    .section-header { margin-bottom: 40px; }
    .section-title { font-size: 24px; }
    .section-desc { font-size: 14px; }
    .section-tag { font-size: 10px; }

    .timeline-step { flex-direction: column; gap: 8px; padding: 20px 0; }
    .timeline-num { font-size: 32px; min-width: auto; }
    .timeline-body h3 { font-size: 15px; }
    .timeline-body p { font-size: 13px; }

    .pricing-grid { grid-template-columns: 1fr; max-width: 100%; margin: 0; gap: 12px; }
    .price-card { padding: 24px; }
    .price-big { font-size: 32px; }
    .guarantee-bar { flex-direction: column; gap: 12px; padding: 20px; }

    .perf-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .perf-card { padding: 16px; }
    .perf-value { font-size: 20px; }
    .perf-label { font-size: 10px; }

    .chart-section { padding: 20px; margin-top: 32px; }
    .chart-bars { gap: 12px; height: 180px; padding: 0 8px; }
    .chart-bar-wrap { height: 160px; }
    .chart-winrate-line { left: 8px; right: 8px; height: 160px; }
    .chart-wr-points { height: 160px; }
    .chart-bar { max-width: 60px; }
    .chart-bar-value { font-size: 11px; }
    .chart-legend { gap: 16px; }
    .page-title { font-size: 24px; }
    .doc-step { flex-direction: column; gap: 12px; padding: 16px; }

    .security-grid { grid-template-columns: 1fr; gap: 12px; }
    .security-card { padding: 24px 20px; }
    .security-num { font-size: 28px; }

    .faq-item summary { padding: 14px 18px; font-size: 14px; }
    .faq-item p { padding: 0 18px 14px; font-size: 13px; }

    .cta-section { padding: 60px 0; }
    .cta-inner h2 { font-size: 24px; }
    .cta-buttons { flex-direction: column; align-items: center; gap: 10px; }

    .footer { padding: 40px 0 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    .trust-items { gap: 16px; }
    .trust-item { font-size: 12px; gap: 4px; }
    .trust-icon { font-size: 14px; }

    .data-table th { padding: 10px 12px; font-size: 10px; }
    .data-table td { padding: 10px 12px; font-size: 12px; }
    .table-wrap { border-radius: var(--r-sm); }

    .stats-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .stat-box { padding: 12px; }
    .stat-value { font-size: 18px; }
    .stat-label { font-size: 10px; }

    .config-grid { grid-template-columns: 1fr; gap: 12px; }

    .wallet-info { padding: 6px 10px; }
    .wallet-addr { font-size: 11px; }

    #toast-container { top: 68px; right: 12px; left: 12px; }
    .toast { max-width: 100%; padding: 12px 16px; }
}
@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .section { padding: 48px 0; }
    .hero { padding: calc(var(--nav-h) + 24px) 0 48px; }
    .hero-title { font-size: 26px; letter-spacing: -0.5px; line-height: 1.15; }
    .hero-subtitle { font-size: 14px; }
    .hero-content { padding: 0 8px; }
    .hero-metrics { gap: 12px; }
    .metric-value { font-size: 18px; }
    .btn-lg { padding: 12px 20px; font-size: 14px; }
    .perf-grid { grid-template-columns: 1fr 1fr; }
    .perf-value { font-size: 18px; }
    .chart-bars { gap: 8px; height: 150px; }
    .chart-bar-wrap { height: 130px; }
    .chart-winrate-line { height: 130px; }
    .chart-wr-points { height: 130px; }
    .chart-bar-meta { font-size: 10px; }
    .chart-bar-label { font-size: 11px; }
    .page-container { padding: 0 16px; }
    .pricing-grid { gap: 10px; }
    .price-card { padding: 20px; }
    .price-big { font-size: 28px; }
    .cta-inner h2 { font-size: 20px; }
    .section-title { font-size: 20px; letter-spacing: -0.5px; }
    .footer-bottom p { font-size: 11px; }
    .trust-items { flex-direction: column; gap: 8px; align-items: center; }
}
@media (max-width: 360px) {
    .hero-title { font-size: 22px; }
    .hero-badge { font-size: 11px; padding: 5px 10px; }
    .stats-grid-4 { grid-template-columns: 1fr 1fr; }
    .nav-brand .logo-text { font-size: 16px; }
}
