:root {
    --bg: #09090b;
    --bg-elevated: #111114;
    --bg-card: #16161a;
    --bg-card-hover: #1c1c21;
    --text: #f0f0f2;
    --text-muted: #7a7a85;
    --text-dim: #4a4a55;
    --accent: #6ee7b7;
    --accent-dim: rgba(110, 231, 183, 0.1);
    --accent-mid: rgba(110, 231, 183, 0.25);
    --accent-glow: rgba(110, 231, 183, 0.06);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --font: 'Outfit', sans-serif;
    --mono: 'IBM Plex Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.reveal-d1 { animation-delay: 0.1s; }
.reveal-d2 { animation-delay: 0.2s; }
.reveal-d3 { animation-delay: 0.3s; }

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.03em;
    color: var(--text);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    font-size: 14px;
    font-weight: 450;
}
.nav-links a { color: var(--text-muted); transition: color 0.25s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
    background: var(--accent-dim);
    color: var(--accent) !important;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid rgba(110, 231, 183, 0.2);
    font-weight: 500;
    transition: all 0.25s;
}
.nav-cta:hover {
    background: var(--accent-mid);
    border-color: rgba(110, 231, 183, 0.4);
}
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px; transition: all 0.3s;
}
.mobile-toggle.open span:first-child { transform: rotate(45deg) translate(2px, 3px); }
.mobile-toggle.open span:last-child { transform: rotate(-45deg) translate(2px, -3px); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(110, 231, 183, 0.25);
}
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-hover);
}
.btn-ghost:hover {
    color: var(--text);
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.03);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 32px 80px;
    max-width: 1240px;
    margin: 0 auto;
    overflow: hidden;
}
.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(120px); pointer-events: none;
}
.hero-orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(110, 231, 183, 0.08), transparent 70%);
    top: -10%; right: -5%;
    animation: float 12s ease-in-out infinite;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05), transparent 70%);
    bottom: 10%; left: -10%;
    animation: float 15s ease-in-out infinite reverse;
}
.hero-visual {
    position: absolute; right: -40px; top: 50%;
    transform: translateY(-50%);
    width: 480px; height: 480px;
    opacity: 0.5; animation: fadeIn 2s ease forwards;
}
.hex-grid { position: relative; width: 100%; height: 100%; }
.hex {
    position: absolute; width: 60px; height: 60px;
    border: 1px solid var(--border); border-radius: 12px;
    transform: rotate(45deg);
}
.hex:nth-child(1) { top: 20%; left: 30%; animation: float 8s ease infinite; }
.hex:nth-child(2) { top: 40%; left: 55%; width: 80px; height: 80px; border-color: rgba(110, 231, 183, 0.15); animation: float 10s ease infinite 1s; }
.hex:nth-child(3) { top: 60%; left: 25%; width: 50px; height: 50px; animation: float 12s ease infinite 2s; }
.hex:nth-child(4) { top: 15%; left: 60%; width: 40px; height: 40px; border-color: rgba(56, 189, 248, 0.1); animation: float 9s ease infinite 0.5s; }
.hex:nth-child(5) { top: 70%; left: 60%; width: 70px; height: 70px; animation: float 11s ease infinite 1.5s; }
.hex:nth-child(6) { top: 35%; left: 15%; width: 45px; height: 45px; border-color: rgba(110, 231, 183, 0.1); animation: float 13s ease infinite 3s; }

.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 12px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 2px; color: var(--accent);
    margin-bottom: 28px;
}
.hero-eyebrow::before {
    content: ''; width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); animation: pulse 2s infinite;
}
.hero h1 {
    font-size: clamp(48px, 6vw, 80px); font-weight: 800;
    line-height: 1.0; letter-spacing: -0.04em; margin-bottom: 24px;
}
.hero-gradient-text {
    background: linear-gradient(135deg, var(--accent), #38bdf8, var(--accent));
    background-size: 200% 200%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; animation: gradientShift 6s ease infinite;
}
.hero-sub {
    font-size: 18px; color: var(--text-muted); max-width: 520px;
    line-height: 1.75; margin-bottom: 40px; font-weight: 350;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== SECTIONS ===== */
.section { padding: 120px 32px; max-width: 1240px; margin: 0 auto; }
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
    max-width: 1240px; margin: 0 auto;
}
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 2px; color: var(--accent);
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(36px, 4.5vw, 52px); font-weight: 800;
    letter-spacing: -0.03em; margin-bottom: 16px; line-height: 1.1;
}
.section-header p {
    font-size: 16px; color: var(--text-muted); max-width: 520px;
    line-height: 1.75; font-weight: 350;
}
.section-header { margin-bottom: 64px; }

/* ===== GUIDES GRID ===== */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2px;
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.guide-card {
    display: flex; flex-direction: column;
    background: var(--bg); padding: 36px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer; position: relative;
}
.guide-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: var(--accent); transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.guide-card:hover { background: var(--bg-card); }
.guide-card:hover::before { transform: scaleX(1); }
.guide-num {
    font-family: var(--mono); font-size: 12px;
    color: var(--text-dim); margin-bottom: 20px; font-weight: 500;
}
.guide-card h3 {
    font-size: 17px; font-weight: 600;
    line-height: 1.4; margin-bottom: 10px; letter-spacing: -0.01em;
}
.guide-card p {
    font-size: 14px; color: var(--text-muted);
    line-height: 1.7; flex: 1; font-weight: 350;
}
.guide-arrow {
    margin-top: 20px; font-size: 13px; font-weight: 600;
    color: var(--accent); opacity: 0; transform: translateX(-8px);
    transition: all 0.3s;
}
.guide-card:hover .guide-arrow { opacity: 1; transform: translateX(0); }

/* ===== SOURCES ===== */
.sources-section {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 120px 0;
}
.sources-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.sources-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.source-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px;
    transition: all 0.35s; position: relative; overflow: hidden;
}
.source-card::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--accent-glow), transparent 60%);
    opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.source-card:hover { border-color: rgba(110, 231, 183, 0.15); }
.source-card:hover::after { opacity: 1; }
.source-name {
    font-size: 24px; font-weight: 700; margin-bottom: 24px;
    letter-spacing: -0.02em; position: relative; z-index: 1;
}
.source-stats {
    display: flex; gap: 32px; margin-bottom: 24px;
    padding-bottom: 24px; border-bottom: 1px solid var(--border);
    position: relative; z-index: 1;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-label {
    font-family: var(--mono); font-size: 10px;
    text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-dim);
}
.stat-val { font-size: 14px; font-weight: 600; }
.source-desc {
    font-size: 14px; color: var(--text-muted); line-height: 1.75;
    margin-bottom: 28px; font-weight: 350; position: relative; z-index: 1;
}
.source-card .btn { position: relative; z-index: 1; }
.sources-note {
    font-size: 13px; color: var(--text-dim); line-height: 1.7;
    margin-top: 32px; font-style: italic;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
}
.about-content h2 {
    font-size: clamp(32px, 4vw, 44px); font-weight: 800;
    letter-spacing: -0.03em; margin-bottom: 24px; line-height: 1.1;
}
.about-content p {
    font-size: 15px; color: var(--text-muted);
    line-height: 1.8; margin-bottom: 16px; font-weight: 350;
}
.principles { display: flex; flex-direction: column; }
.principle {
    padding: 28px 0; border-bottom: 1px solid var(--border);
    display: grid; grid-template-columns: 48px 1fr;
    gap: 20px; align-items: start;
}
.principle:first-child { border-top: 1px solid var(--border); }
.principle-num {
    font-family: var(--mono); font-size: 12px;
    font-weight: 500; color: var(--accent); padding-top: 2px;
}
.principle h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.principle p { font-size: 14px; color: var(--text-muted); line-height: 1.7; font-weight: 350; }

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 32px 32px;
}
.footer-inner {
    max-width: 1240px; margin: 0 auto;
    display: flex; justify-content: space-between;
    gap: 60px; margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; color: var(--text-dim); margin-top: 12px; font-weight: 350; }
.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--text-dim); margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; font-weight: 400; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    max-width: 1240px; margin: 0 auto;
    padding-top: 32px; border-top: 1px solid var(--border);
}
.footer-disclaimer { font-size: 12px; color: var(--text-dim); line-height: 1.8; margin-bottom: 16px; font-weight: 350; }
.footer-copy { font-size: 12px; color: var(--text-dim); font-weight: 350; }

/* ===== ARTICLE PAGES ===== */
.article {
    max-width: 720px; margin: 0 auto; padding: 120px 24px 80px;
}
.article-back {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 500; color: var(--text-muted);
    margin-bottom: 32px; transition: color 0.2s;
}
.article-back:hover { color: var(--accent); }
.article-meta {
    font-family: var(--mono); font-size: 12px;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--accent); margin-bottom: 12px;
}
.article h1 {
    font-size: clamp(32px, 4vw, 42px); font-weight: 700;
    letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px;
}
.article-intro {
    font-size: 18px; color: var(--text-muted); line-height: 1.7;
    margin-bottom: 48px; padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}
.article h2 {
    font-size: 24px; font-weight: 700; margin-top: 48px;
    margin-bottom: 16px; letter-spacing: -0.01em;
}
.article h3 {
    font-size: 18px; font-weight: 600;
    margin-top: 32px; margin-bottom: 12px;
}
.article p {
    font-size: 16px; line-height: 1.8; color: var(--text-muted);
    margin-bottom: 16px;
}
.article strong { color: var(--text); }
.article ul, .article ol {
    margin-bottom: 16px; padding-left: 24px;
}
.article li {
    font-size: 16px; line-height: 1.8;
    margin-bottom: 6px; color: var(--text-muted);
}
.article-callout {
    background: var(--accent-dim); border-left: 3px solid var(--accent);
    padding: 20px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 32px 0;
}
.article-callout p { font-size: 14px; color: var(--text); margin: 0; }
.article-vendor-box {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px; margin: 32px 0;
}
.article-vendor-box h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.article-vendor-box p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }

/* ===== LEGAL PAGES ===== */
.legal {
    max-width: 720px; margin: 0 auto; padding: 120px 24px 80px;
}
.legal h1 {
    font-size: clamp(28px, 3.5vw, 36px); font-weight: 700;
    letter-spacing: -0.02em; margin-bottom: 8px;
}
.legal .legal-updated {
    font-family: var(--mono); font-size: 12px;
    color: var(--text-dim); margin-bottom: 40px;
}
.legal h2 {
    font-size: 20px; font-weight: 600; margin-top: 40px; margin-bottom: 12px;
}
.legal p {
    font-size: 15px; line-height: 1.8; color: var(--text-muted);
    margin-bottom: 14px;
}
.legal ul { margin-bottom: 14px; padding-left: 24px; }
.legal li {
    font-size: 15px; line-height: 1.8; color: var(--text-muted);
    margin-bottom: 4px;
}
.legal a { color: var(--accent); text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero { flex-direction: column; min-height: auto; padding-top: 120px; }
    .hero-visual { display: none; }
    .guides-grid { grid-template-columns: 1fr; }
    .sources-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-inner { flex-direction: column; gap: 40px; }
}
@media (max-width: 600px) {
    .nav-links {
        display: none; position: absolute; top: 68px; left: 0; right: 0;
        background: rgba(9, 9, 11, 0.95); backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border);
        flex-direction: column; padding: 24px 32px; gap: 16px;
    }
    .nav-links.open { display: flex; }
    .mobile-toggle { display: flex; }
    .hero-actions { flex-direction: column; }
    .btn { justify-content: center; width: 100%; }
    .source-stats { flex-direction: column; gap: 16px; }
    .footer-links { flex-direction: column; gap: 32px; }
}
