/* ===== FreeCEX - CSS Variables & Reset ===== */
:root {
    --primary: #00C9A7;
    --primary-dark: #00A88A;
    --primary-light: #33D4B8;
    --secondary: #0EA5E9;
    --accent: #06B6D4;
    --bg: #0B0F19;
    --bg-secondary: #0F1423;
    --bg-card: #141A2E;
    --bg-card-hover: #1A2240;
    --surface: #1C2438;
    --border: #1E293B;
    --border-light: #334155;
    --text: #E2E8F0;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-text: linear-gradient(135deg, #33D4B8, #38BDF8);
    --shadow: 0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px rgba(0,201,167,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
    --header-height: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--header-height); z-index: 1000;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
.header.scrolled { border-bottom-color: var(--border); background: rgba(11, 15, 25, 0.95); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo {
    display: flex; align-items: center; gap: 10px;
    color: var(--white); font-size: 1.3rem; font-weight: 500;
    font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em;
}
.logo:hover { color: var(--white); }
.logo strong { font-weight: 700; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-icon { display: flex; align-items: center; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
    padding: 8px 14px; border-radius: var(--radius-sm); transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(0, 201, 167, 0.08); }
.nav-link.active { color: var(--primary-light); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: var(--radius); font-size: 0.95rem; font-weight: 600;
    cursor: pointer; border: none; transition: all var(--transition); text-decoration: none;
    font-family: inherit;
}
.btn-primary {
    background: var(--gradient); color: var(--white);
    box-shadow: 0 4px 16px rgba(0, 201, 167, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 201, 167, 0.35); color: var(--white); }
.btn-secondary { background: rgba(255,255,255,0.05); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--border-light); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; border-radius: var(--radius-sm); background: rgba(0,201,167,0.1); color: var(--primary-light); border: 1px solid rgba(0,201,167,0.2); }
.btn-sm:hover { background: rgba(0,201,167,0.2); color: var(--white); }

/* ===== Hero ===== */
.hero {
    position: relative; min-height: 90vh; display: flex; align-items: center;
    padding-top: var(--header-height); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-particles {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0,201,167,0.08) 1px, transparent 0);
    background-size: 40px 40px;
}
.hero-gradient {
    position: absolute; top: 10%; left: 50%; transform: translate(-50%, -50%);
    width: 900px; height: 600px;
    background: radial-gradient(ellipse, rgba(0,201,167,0.1) 0%, rgba(14,165,233,0.05) 40%, transparent 70%);
}
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; padding: 60px 0; position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex; padding: 8px 20px;
    background: rgba(0,201,167,0.1); border: 1px solid rgba(0,201,167,0.2);
    border-radius: 100px; font-size: 0.85rem; font-weight: 600; color: var(--primary-light); margin-bottom: 28px;
}
.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 700;
    line-height: 1.15; letter-spacing: -0.03em; color: var(--white); margin-bottom: 20px;
}
.highlight { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.15rem; color: var(--text-secondary); max-width: 620px; margin: 0 auto 36px; line-height: 1.8; }

.hero-search { display: flex; justify-content: center; gap: 12px; max-width: 600px; margin: 0 auto 40px; }
.search-box {
    flex: 1; display: flex; align-items: center; gap: 10px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 16px;
    transition: border-color var(--transition);
}
.search-box:focus-within { border-color: var(--primary); }
.search-icon { color: var(--text-muted); min-width: 20px; }
.search-box input {
    flex: 1; background: none; border: none; color: var(--white); font-size: 0.95rem;
    padding: 12px 0; font-family: inherit; outline: none;
}
.search-box input::placeholder { color: var(--text-muted); }

.hero-trust { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--text-secondary); }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-secondary); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-tag {
    display: inline-block; padding: 6px 16px;
    background: rgba(0,201,167,0.1); border: 1px solid rgba(0,201,167,0.15);
    border-radius: 100px; font-size: 0.78rem; font-weight: 600;
    color: var(--primary-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700;
    color: var(--white); letter-spacing: -0.02em; margin-bottom: 12px;
}
.section-header p { font-size: 1.05rem; color: var(--text-secondary); }

/* ===== Compare Table ===== */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.compare-table {
    width: 100%; border-collapse: collapse; min-width: 800px;
}
.compare-table th {
    background: var(--surface); padding: 16px 20px; text-align: left;
    font-size: 0.8rem; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--border);
    position: sticky; top: 0;
}
.compare-table td {
    padding: 18px 20px; border-bottom: 1px solid var(--border);
    font-size: 0.92rem; color: var(--text-secondary); vertical-align: middle;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(0,201,167,0.03); }
.compare-table tbody tr { transition: background var(--transition); }

.exchange-name { display: flex; align-items: center; gap: 12px; min-width: 160px; }
.exchange-logo {
    width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem; color: white; font-family: 'Space Grotesk', sans-serif;
}
.exchange-logo.small { width: 32px; height: 32px; font-size: 0.85rem; border-radius: 8px; }
.exchange-name strong { color: var(--white); font-size: 0.95rem; display: block; }
.exchange-sub { font-size: 0.75rem; color: var(--text-muted); }

.rating { display: flex; flex-direction: column; gap: 2px; }
.stars { color: #FFD700; font-size: 0.9rem; letter-spacing: 1px; }
.rating span:last-child { font-size: 0.8rem; color: var(--text-muted); }

.fee { font-family: 'JetBrains Mono', monospace; font-size: 0.88rem; color: var(--white); display: block; }
.fee-label { font-size: 0.72rem; color: var(--text-muted); }

.security-badge {
    padding: 4px 10px; border-radius: 6px; font-size: 0.82rem; font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}
.security-badge.high { background: rgba(16,185,129,0.12); color: #34D399; }
.security-badge.medium { background: rgba(245,158,11,0.12); color: #FBBF24; }
.security-badge.low { background: rgba(239,68,68,0.12); color: #F87171; }

.best-for {
    display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 0.78rem; font-weight: 600;
    background: rgba(14,165,233,0.1); color: #38BDF8;
}

.table-note { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-top: 20px; line-height: 1.6; }
.table-note a { color: var(--primary-light); }

/* ===== Use Case Cards ===== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.use-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 32px; transition: all var(--transition);
}
.use-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.use-icon {
    width: 56px; height: 56px; border-radius: var(--radius); display: flex;
    align-items: center; justify-content: center; margin-bottom: 20px;
}
.use-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.use-card > p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; margin-bottom: 16px; }
.use-pick {
    display: flex; align-items: center; gap: 8px; padding: 10px 14px;
    background: rgba(0,201,167,0.06); border-radius: var(--radius-sm); margin-bottom: 16px;
}
.pick-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.use-pick strong { color: var(--primary-light); font-size: 0.9rem; }
.use-reasons { margin: 0 0 16px; }
.use-reasons li {
    padding: 4px 0 4px 20px; position: relative; font-size: 0.88rem; color: var(--text-secondary);
}
.use-reasons li::before {
    content: ''; position: absolute; left: 0; top: 12px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
}
.card-link { font-size: 0.88rem; font-weight: 600; color: var(--primary-light); }

/* ===== Methodology ===== */
.methodology-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.methodology-content .section-tag { margin-bottom: 16px; }
.methodology-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--white);
    margin-bottom: 16px; text-align: left;
}
.methodology-content > p { color: var(--text-secondary); margin-bottom: 32px; font-size: 1rem; line-height: 1.7; }
.method-list { display: flex; flex-direction: column; gap: 20px; }
.method-item { display: flex; gap: 16px; align-items: start; }
.method-bar {
    width: 100px; min-width: 100px; height: 8px; background: var(--surface);
    border-radius: 4px; margin-top: 8px; overflow: hidden;
}
.method-fill { height: 100%; background: var(--gradient); border-radius: 4px; }
.method-info h4 {
    font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 4px;
    display: flex; justify-content: space-between; gap: 12px;
}
.method-info h4 span { color: var(--primary-light); font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; }
.method-info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.method-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 36px; position: sticky; top: 100px;
}
.method-card h3 {
    font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700;
    color: var(--white); margin-bottom: 24px;
}
.promise-list { display: flex; flex-direction: column; gap: 16px; }
.promise-list li { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--text-secondary); }

/* ===== VS Cards ===== */
.comparison-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vs-card {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; transition: all var(--transition); color: var(--text);
}
.vs-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-glow); color: var(--text); }
.vs-left, .vs-right { display: flex; align-items: center; gap: 10px; flex: 1; }
.vs-right { justify-content: flex-end; text-align: right; }
.vs-left span, .vs-right span { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.vs-badge {
    padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 800;
    background: rgba(0,201,167,0.1); color: var(--primary-light); letter-spacing: 0.05em;
}

/* ===== Guide Cards ===== */
.guides-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.guide-card {
    display: flex; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); color: var(--text);
}
.guide-card:hover { border-color: var(--border-light); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.guide-image {
    width: 180px; min-width: 180px; display: flex; align-items: center; justify-content: center;
}
.guide-content { padding: 24px; flex: 1; }
.guide-tag {
    display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 0.72rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    background: rgba(0,201,167,0.1); color: var(--primary-light); margin-bottom: 10px;
}
.guide-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; line-height: 1.35; }
.guide-content p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.guide-meta { font-size: 0.78rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: border-color var(--transition);
}
.faq-item.active { border-color: var(--primary); }
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px; background: none; border: none; cursor: pointer;
    font-size: 0.95rem; font-weight: 600; color: var(--white); font-family: inherit; text-align: left; gap: 16px;
}
.faq-q svg { color: var(--text-muted); transition: transform var(--transition); min-width: 20px; }
.faq-item.active .faq-q svg { transform: rotate(180deg); color: var(--primary-light); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-a { max-height: 400px; }
.faq-a p { padding: 0 22px 18px; color: var(--text-secondary); line-height: 1.8; font-size: 0.92rem; }
.faq-a a { color: var(--primary-light); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Newsletter ===== */
.newsletter-card {
    background: var(--gradient); border-radius: var(--radius-lg); padding: 56px;
    text-align: center; position: relative; overflow: hidden;
}
.newsletter-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent 60%);
}
.newsletter-inner { position: relative; z-index: 1; }
.newsletter-card h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.newsletter-card p { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 24px; }
.newsletter-form { display: flex; max-width: 480px; margin: 0 auto; gap: 10px; }
.newsletter-form input {
    flex: 1; padding: 12px 18px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.15); color: var(--white); font-size: 0.92rem; font-family: inherit; outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.2); }
.newsletter-form .btn { background: var(--white); color: var(--primary-dark); white-space: nowrap; }
.newsletter-form .btn:hover { background: rgba(255,255,255,0.9); }
.newsletter-note { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 14px; }

/* ===== Footer ===== */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-secondary); margin-top: 16px; font-size: 0.88rem; line-height: 1.7; max-width: 300px; }
.footer-links h4 {
    font-size: 0.82rem; font-weight: 700; color: var(--white);
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-secondary); font-size: 0.88rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 28px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); text-align: center; line-height: 1.7; }

/* ===== Page Styles ===== */
.page-hero {
    padding: 140px 0 60px; background: var(--bg-secondary); border-bottom: 1px solid var(--border);
}
.page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 700; color: var(--white); margin-bottom: 14px;
}
.page-hero p { font-size: 1.1rem; color: var(--text-secondary); max-width: 680px; line-height: 1.8; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 0.85rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb .current { color: var(--primary-light); }

.page-content { padding: 80px 0; }
.content-wrapper { max-width: 840px; margin: 0 auto; }
.content-wrapper h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--white); margin: 48px 0 18px; }
.content-wrapper h3 { font-size: 1.3rem; font-weight: 700; color: var(--white); margin: 32px 0 14px; }
.content-wrapper h4 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin: 24px 0 10px; }
.content-wrapper p { color: var(--text-secondary); font-size: 1.02rem; line-height: 1.85; margin-bottom: 18px; }
.content-wrapper ul, .content-wrapper ol { margin: 14px 0 22px 24px; list-style: disc; }
.content-wrapper ol { list-style: decimal; }
.content-wrapper li { color: var(--text-secondary); font-size: 0.98rem; line-height: 1.75; margin-bottom: 6px; padding-left: 4px; }
.content-wrapper strong { color: var(--white); font-weight: 600; }
.content-wrapper blockquote { border-left: 3px solid var(--primary); padding: 14px 22px; margin: 22px 0; background: rgba(0,201,167,0.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.content-wrapper blockquote p { color: var(--text); font-style: italic; margin-bottom: 0; }

.info-box { background: rgba(0,201,167,0.08); border: 1px solid rgba(0,201,167,0.2); border-radius: var(--radius); padding: 22px 26px; margin: 26px 0; }
.info-box.warning { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.2); }
.info-box.danger { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.2); }
.info-box.success { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.2); }
.info-box h4 { margin-top: 0 !important; margin-bottom: 6px !important; font-size: 0.95rem; }
.info-box p { margin-bottom: 0; font-size: 0.92rem; }

.toc { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 30px; margin: 0 0 44px; }
.toc h3 { margin: 0 0 14px !important; font-size: 1.05rem; }
.toc ol { margin: 0 0 0 20px !important; }
.toc li { font-size: 0.92rem; margin-bottom: 5px; }
.toc a { color: var(--text-secondary); }
.toc a:hover { color: var(--primary-light); }

.comparison-table-page { width: 100%; border-collapse: separate; border-spacing: 0; margin: 22px 0 28px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.comparison-table-page th, .comparison-table-page td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.comparison-table-page th { background: var(--surface); font-weight: 700; color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.comparison-table-page td { color: var(--text-secondary); font-size: 0.92rem; }
.comparison-table-page tr:last-child td { border-bottom: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .methodology-grid { grid-template-columns: 1fr; gap: 40px; }
    .comparison-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
    .nav {
        display: none; position: fixed; top: var(--header-height); left: 0; right: 0;
        background: rgba(11,15,25,0.98); backdrop-filter: blur(20px);
        flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border);
    }
    .nav.active { display: flex; }
    .nav-toggle { display: flex; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .hero h1 { font-size: 2rem; }
    .hero-search { flex-direction: column; }
    .hero-trust { flex-direction: column; align-items: center; gap: 12px; }
    .cards-grid { grid-template-columns: 1fr; }
    .comparison-grid { grid-template-columns: 1fr; }
    .guides-grid { grid-template-columns: 1fr; }
    .guide-card { flex-direction: column; }
    .guide-image { width: 100%; min-width: auto; height: 140px; }
    .section { padding: 60px 0; }
    .newsletter-card { padding: 36px 20px; }
    .newsletter-form { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .use-card { padding: 24px; }
}

/* ===== Animations ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.5s ease forwards; opacity: 0; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }
.animate-in:nth-child(5) { animation-delay: 0.4s; }
.animate-in:nth-child(6) { animation-delay: 0.5s; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }
::selection { background: rgba(0,201,167,0.3); color: var(--white); }

/* ===== SKIP TO CONTENT ===== */
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--primary); color: #fff; padding: 12px 24px; border-radius: 0 0 8px 8px; font-weight: 700; font-size: 0.9rem; z-index: 9999; transition: top 0.2s; }
.skip-link:focus { top: 0; }

/* ===== READING PROGRESS BAR ===== */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--gradient); z-index: 1001; width: 0%; transition: width 0.1s linear; pointer-events: none; }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 900; opacity: 0; transform: translateY(16px); transition: all 0.3s; box-shadow: 0 4px 16px rgba(0,201,167,0.35); }
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-light); transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,201,167,0.45); }
.back-to-top:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }
.back-to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ===== TABLE OF CONTENTS ===== */
.toc { background: var(--bg-card, var(--surface, rgba(255,255,255,0.03))); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin: 32px 0; }
.toc h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary, var(--text-muted)); margin-bottom: 12px; }
.toc ol { padding-left: 20px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--primary-light, var(--primary)); font-size: 0.95rem; }
.toc a:hover { color: var(--secondary, var(--accent)); }

/* ===== RELATED GUIDES ===== */
.related-guides { padding: 64px 0; border-top: 1px solid var(--border); }
.related-guides h2 { text-align: center; margin-bottom: 40px; }
.related-guides .guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.related-guides .guide-card { background: var(--bg-card, var(--surface, rgba(255,255,255,0.03))); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.3s; }
.related-guides .guide-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg, 0 12px 40px rgba(0,0,0,0.3)); }
.related-guides .guide-card h3 { color: var(--primary-light, var(--primary)); margin-bottom: 8px; font-size: 1.15rem; }
.related-guides .guide-card p { color: var(--text-secondary, var(--text-muted)); font-size: 0.95rem; line-height: 1.6; }
.guide-card-link { text-decoration: none; color: inherit; }

/* ===== TABLE WRAPPER ===== */
.table-wrapper { overflow-x: auto; margin: 24px 0; border-radius: var(--radius); border: 1px solid var(--border); }
.table-wrapper table { min-width: 600px; }

/* ===== FOCUS VISIBLE ===== */
*:focus-visible { outline: 2px solid var(--primary-light, var(--primary)); outline-offset: 2px; }
input:focus-visible, textarea:focus-visible, button:focus-visible { outline-offset: 0; }

/* ===== PERFORMANCE ===== */
.faq, .newsletter, .footer { content-visibility: auto; contain-intrinsic-size: auto 500px; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .reveal, .animate-in { opacity: 1; transform: none; animation: none; }
    .back-to-top { transition: none; }
}

/* ===== HIGH CONTRAST ===== */
@media (prefers-contrast: high) {
    :root { --border: rgba(255,255,255,0.2); }
    .card, .faq-item { border: 1px solid rgba(255,255,255,0.3); }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header, .nav-toggle, .back-to-top, .progress-bar, .newsletter, .footer, .related-guides { display: none !important; }
    body { background: #fff; color: #111; font-size: 12pt; line-height: 1.5; }
    .hero, .page-hero { padding: 20px 0; background: none !important; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #666; }
    .card, section { break-inside: avoid; }
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(20,20,30,0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--border); padding: 16px 24px; z-index: 9998; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 0.9rem; transform: translateY(100%); transition: transform 0.4s ease; }
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { color: var(--text-secondary, #a1a1aa); max-width: 600px; line-height: 1.5; margin: 0; }
.cookie-banner a { color: var(--primary-light, var(--primary)); text-decoration: underline; }
.cookie-btn { background: var(--primary); color: #fff; border: none; padding: 10px 24px; border-radius: 6px; font-weight: 600; cursor: pointer; font-size: 0.9rem; white-space: nowrap; transition: background 0.2s; }
.cookie-btn:hover { opacity: 0.9; }
.cookie-btn.secondary { background: transparent; border: 1px solid var(--border); color: var(--text-secondary, #a1a1aa); }
.cookie-btn.secondary:hover { border-color: var(--primary); color: var(--primary-light, var(--primary)); }

/* ===== BREADCRUMBS ===== */
.breadcrumbs { padding: 12px 0; font-size: 0.85rem; color: var(--text-muted, var(--text-secondary, #71717a)); }
.breadcrumbs a { color: var(--primary-light, var(--primary)); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .separator { margin: 0 8px; opacity: 0.5; }

/* ===== ARTICLE META (reading time, last updated, share) ===== */
.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0; margin-bottom: 24px; border-bottom: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted, var(--text-secondary, #71717a)); }
.article-meta svg { width: 16px; height: 16px; vertical-align: -2px; margin-right: 4px; stroke: currentColor; fill: none; }
.reading-time, .last-updated { display: flex; align-items: center; gap: 4px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--text-secondary, #a1a1aa); padding: 6px 14px; border-radius: 6px; font-size: 0.85rem; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.share-btn:hover { border-color: var(--primary); color: var(--primary-light, var(--primary)); background: rgba(0,201,167, 0.08); }
.share-btn.copied { border-color: var(--success, #10b981); color: var(--success, #10b981); }
.share-btn svg { width: 14px; height: 14px; }

/* ===== PAGE LOAD ANIMATION ===== */
@keyframes fadeInPage { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.page-hero, .hero { animation: fadeInPage 0.5s ease both; }
.content-wrapper { animation: fadeInPage 0.5s ease 0.1s both; }

/* ===== FEE COMPARISON TABLE ===== */
.fees-section { background: rgba(0,201,167,0.03); }
.fees-table-wrap { overflow-x: auto; max-width: 800px; margin: 0 auto; border-radius: 12px; border: 1px solid var(--border); }
.fees-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.fees-table th { background: rgba(0,201,167,0.08); padding: 14px 16px; text-align: left; font-weight: 600; cursor: pointer; white-space: nowrap; user-select: none; color: var(--text, #fff); border-bottom: 1px solid var(--border); }
.fees-table th:hover { color: var(--primary); }
.fees-table th .sort-arrow { margin-left: 4px; opacity: 0.4; font-size: 0.7rem; }
.fees-table th.sorted .sort-arrow { opacity: 1; color: var(--primary); }
.fees-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--muted, #ccc); }
.fees-table tr:last-child td { border-bottom: none; }
.fees-table tr:hover td { background: rgba(0,201,167,0.04); }
.fees-table .fee-low { color: var(--primary); font-weight: 600; }
.fees-rating { display: inline-flex; gap: 2px; }
.fees-rating .star { color: var(--primary); }
.fees-rating .star.empty { opacity: 0.3; }
.fees-note { text-align: center; font-size: 0.75rem; color: var(--muted, #666); margin-top: 12px; }

/* ===== NEWSLETTER ===== */
.newsletter-section { text-align: center; }
.newsletter-section .newsletter-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-input { flex: 1; min-width: 200px; padding: 14px 20px; border-radius: 8px; border: 1px solid var(--border); background: rgba(0,201,167,0.06); color: var(--text, #fff); font-size: 1rem; font-family: inherit; }
.newsletter-input:focus { outline: none; border-color: var(--primary); }
.newsletter-btn { padding: 14px 28px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-weight: 600; font-size: 1rem; cursor: pointer; font-family: inherit; transition: opacity 0.2s; }
.newsletter-btn:hover { opacity: 0.9; }
.newsletter-btn:disabled { opacity: 0.7; cursor: default; }
