/* ===== FinanceHub Landing Page ===== */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Barlow:wght@300;400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700;800&display=swap');

/* ===== Design Tokens ===== */
:root {
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: 0.2s ease;
    --max-width: 1120px;
}

/* Light: Clean White + Electric Blue */
[data-theme="light"] {
    --bg: #F5F7FC;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    --text-primary: #0C0F1A;
    --text-secondary: #4A5578;
    --text-tertiary: #8A95B5;
    --border: rgba(12,15,26,0.08);
    --accent: #3B5BFF;
    --accent-bright: #3B5BFF;
    --accent-bg: rgba(59,91,255,0.08);
    --positive: #16a34a;
    --negative: #dc2626;
    --shadow-sm: 0 1px 3px rgba(12,15,26,0.05);
    --shadow-md: 0 4px 12px rgba(12,15,26,0.08);
    --shadow-lg: 0 12px 32px rgba(12,15,26,0.1);
    --nav-bg: rgba(245,247,252,0.92);

    /* ── Gold accent tokens (light) ── */
    --gold:            #B8860B;
    --gold-bright:     #C9960D;
    --gold-muted:      rgba(184,134,11,0.12);
    --gold-border:     rgba(184,134,11,0.25);
    --gold-divider:    rgba(184,134,11,0.35);

    /* ── Brand tokens (light) ── */
    --brand-fn-name:   #0D1A3A;
    --brand-fn-gold:   #B8860B;
    --brand-fn-rule:   rgba(13,26,58,.15);
    --brand-df-top:    #8A95B5;
    --brand-df-name:   #0D1A3A;
    --brand-df-fai:    #1A4FCC;
    --brand-df-sub:    #B8860B;
    --brand-df-brk-hi: #0D1A3A;
    --brand-df-brk-lo: #B8860B;
    --brand-df-brk-dot:#1A4FCC;
}

/* Dark: FintexNews — Deep Slate + Gold + Electric Blue */
[data-theme="dark"] {
    --bg: #0C0F1A;
    --bg-card: #141824;
    --bg-elevated: #1C2035;
    --text-primary: #F0F2F8;
    --text-secondary: #8A95B5;
    --text-tertiary: rgba(255,255,255,0.3);
    --border: rgba(255,255,255,0.06);

    /* ── Gold accent tokens (dark) ── */
    --gold:            #D4A832;
    --gold-bright:     #E0B840;
    --gold-muted:      rgba(212,168,50,0.1);
    --gold-border:     rgba(212,168,50,0.22);
    --gold-divider:    rgba(212,168,50,0.3);
    --accent: #3B5BFF;
    --accent-bright: #3B5BFF;
    --accent-bg: rgba(59,91,255,0.1);
    --positive: #4ade80;
    --negative: #f87171;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.6);
    --nav-bg: rgba(12,15,26,0.92);

    /* ── Brand tokens (dark) ── */
    --brand-fn-name:   #FFFFFF;              /* FintexNews serif name */
    --brand-fn-gold:   #D4A832;              /* FintexNews gold lines + sub */
    --brand-fn-rule:   rgba(255,255,255,.10);/* horizontal rule under name */

    --brand-df-top:    rgba(255,255,255,.32);/* deFAId "Decentralized" label */
    --brand-df-name:   #FFFFFF;              /* deFAId main word */
    --brand-df-fai:    #7AABFF;              /* deFAId "FAI" accent */
    --brand-df-sub:    #D4A832;              /* deFAId "Finance & AI" */
    --brand-df-brk-hi: rgba(255,255,255,.35);/* bracket top stroke */
    --brand-df-brk-lo: #D4A832;             /* bracket bottom stroke */
    --brand-df-brk-dot:#7AABFF;             /* bracket center dot */
}

/* ════════════════════════════════════════
   FINTEX AI LOGO — Concept B (Condensed Tech)
   ════════════════════════════════════════ */
.logo-fn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    line-height: 1;
    transition: opacity var(--transition);
}
.logo-fn__hex {
    flex-shrink: 0;
}
.logo-fn__f-stroke {
    stroke: var(--brand-df-fai);
    transition: stroke var(--transition);
}
.logo-fn__hex-dot {
    fill: var(--brand-fn-gold);
    transition: fill var(--transition);
}
.logo-fn__text {
    display: flex;
    flex-direction: column;
    text-align: center;
}
.logo-fn__wordmark {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    line-height: 1;
    white-space: nowrap;
}
.logo-fn__fintex {
    color: var(--brand-fn-name);
    transition: color var(--transition);
}
.logo-fn__dot {
    color: var(--brand-fn-gold);
    font-size: 15px;
    transition: color var(--transition);
}
.logo-fn__ai {
    color: var(--brand-df-fai);
    transition: color var(--transition);
}
.logo-fn__hrule {
    height: 1px;
    background: var(--brand-fn-rule);
    margin: 3px 0 2px;
    transition: background var(--transition);
}
.logo-fn__sub {
    font-family: 'Barlow', sans-serif;
    font-size: 6px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-fn-gold);
    white-space: nowrap;
    transition: color var(--transition);
}

/* ════════════════════════════════════════
   deFAId LOGO — CSS class-based
   Exakt nach Brand-Referenz (brand-logos-final.html)
   ════════════════════════════════════════ */
.logo-df {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Bracket SVG paths */
.logo-df__bracket .brk-hi  { stroke: var(--brand-df-brk-hi);  transition: stroke var(--transition); }
.logo-df__bracket .brk-lo  { stroke: var(--brand-df-brk-lo);  transition: stroke var(--transition); }
.logo-df__bracket .brk-dot { fill:   var(--brand-df-brk-dot); transition: fill  var(--transition); }

/* Text stack */
.logo-df__stack {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    text-align: left;
}

/* "DECENTRALIZED" — Barlow Condensed, wie Brand-Referenz */
.logo-df__top {
    font-family: 'Barlow Condensed', 'DM Sans', sans-serif;
    font-size: 7px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4.5px;
    color: var(--brand-df-top);
    transition: color var(--transition);
    margin-bottom: 2px;
}

/* "deFAId" — Libre Baskerville Serif, wie Brand-Referenz */
.logo-df__name {
    font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.05;
    color: var(--brand-df-name);
    transition: color var(--transition);
    text-transform: none !important;  /* niemals uppercase — "deFAId" ist case-sensitiv */
    font-style: normal;
}

/* "FAI" — Blau-Akzent, ebenfalls nie uppercase */
.logo-df__fai {
    color: var(--brand-df-fai);
    transition: color var(--transition);
    text-transform: none !important;
    font-style: normal;
}

/* "Finance & AI" — Barlow Regular, Gold, wie Brand-Referenz */
.logo-df__sub {
    font-family: 'Barlow', 'DM Sans', sans-serif;
    font-size: 6.5px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brand-df-sub);
    transition: color var(--transition);
    margin-top: 4px;
}

/* ── Größenvarianten ── */
.logo-df--sm .logo-df__name { font-size: 15px; }
.logo-df--sm .logo-df__top  { font-size: 7px;  letter-spacing: 4px; }
.logo-df--sm .logo-df__sub  { font-size: 6px;  letter-spacing: 2.5px; }

.logo-df--md .logo-df__name { font-size: 18px; }
.logo-df--md .logo-df__top  { font-size: 8px;  letter-spacing: 4.5px; }
.logo-df--md .logo-df__sub  { font-size: 7px;  letter-spacing: 3px; }

.logo-df--lg .logo-df__name { font-size: 26px; }
.logo-df--lg .logo-df__top  { font-size: 9px;  letter-spacing: 5px; }
.logo-df--lg .logo-df__sub  { font-size: 7.5px; letter-spacing: 3.5px; }

/* ── Immer-dunkle Flächen (CTA-Card, Modal-Header) ──
   Navy/Dark Variante aus brand-logos-final.html */
.logo-df--on-dark .logo-df__top  { color: rgba(255, 255, 255, 0.32); }
.logo-df--on-dark .logo-df__name { color: #FFFFFF; }
.logo-df--on-dark .logo-df__fai  { color: #7AABFF; }
.logo-df--on-dark .logo-df__sub  { color: #D4A832; }
.logo-df--on-dark .logo-df__bracket .brk-hi  { stroke: rgba(255, 255, 255, 0.35); }
.logo-df--on-dark .logo-df__bracket .brk-lo  { stroke: #D4A832; }
.logo-df--on-dark .logo-df__bracket .brk-dot { fill:   #7AABFF; }

/* ── Light-Theme auto (ohne --on-dark) ──
   White/Light Variante aus brand-logos-final.html */
[data-theme="light"] .logo-df:not(.logo-df--on-dark) .logo-df__top  { color: #8A95B5; }
[data-theme="light"] .logo-df:not(.logo-df--on-dark) .logo-df__name { color: #0D1A3A; }
[data-theme="light"] .logo-df:not(.logo-df--on-dark) .logo-df__fai  { color: #1A4FCC; }
[data-theme="light"] .logo-df:not(.logo-df--on-dark) .logo-df__sub  { color: #B8860B; }
[data-theme="light"] .logo-df:not(.logo-df--on-dark) .logo-df__bracket .brk-hi  { stroke: #0D1A3A; }
[data-theme="light"] .logo-df:not(.logo-df--on-dark) .logo-df__bracket .brk-lo  { stroke: #B8860B; }
[data-theme="light"] .logo-df:not(.logo-df--on-dark) .logo-df__bracket .brk-dot { fill:   #1A4FCC; }

/* ── Dark-Theme auto (ohne --on-dark) ──
   Navy/Dark Variante aus brand-logos-final.html */
[data-theme="dark"] .logo-df:not(.logo-df--on-dark) .logo-df__top  { color: rgba(255, 255, 255, 0.32); }
[data-theme="dark"] .logo-df:not(.logo-df--on-dark) .logo-df__name { color: #FFFFFF; }
[data-theme="dark"] .logo-df:not(.logo-df--on-dark) .logo-df__fai  { color: #7AABFF; }
[data-theme="dark"] .logo-df:not(.logo-df--on-dark) .logo-df__sub  { color: #D4A832; }
[data-theme="dark"] .logo-df:not(.logo-df--on-dark) .logo-df__bracket .brk-hi  { stroke: rgba(255, 255, 255, 0.35); }
[data-theme="dark"] .logo-df:not(.logo-df--on-dark) .logo-df__bracket .brk-lo  { stroke: #D4A832; }
[data-theme="dark"] .logo-df:not(.logo-df--on-dark) .logo-df__bracket .brk-dot { fill:   #7AABFF; }

/* ===== Accessibility: Screen-reader only ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

/* ===== Focus Visible ===== */
:focus { outline: none; }
:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ===== NAVBAR — Floating Pill (Ondo-Style) ===== */
.nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: var(--nav-bg);
    border-radius: 999px;
    border: 1px solid var(--gold-border);
    transition: box-shadow var(--transition), background 0.3s ease;
    width: auto;
    max-width: calc(100% - 32px);
    overflow: hidden;
}

[data-theme="light"] .nav {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.nav-logo-icon {
    color: var(--accent-bright);
}

.nav-links {
    display: flex;
    gap: 4px;
    margin-left: auto;
    list-style: none;
}

.nav-link {
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--accent-bg);
}

.nav-link--ai {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold, #D4A832);
    background: rgba(212,168,50,0.08);
    border: 1px solid rgba(212,168,50,0.2);
    border-radius: 999px;
    padding: 5px 13px;
    font-weight: 500;
    white-space: nowrap;
}
.nav-link--ai:hover {
    background: rgba(212,168,50,0.18);
    color: var(--gold, #D4A832);
    border-color: rgba(212,168,50,0.4);
}
.nav-ai-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.nav-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-left: 8px;
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}

/* ===== Language Switcher ===== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    background: var(--accent-bg);
    border-radius: 999px;
    border: 1px solid var(--border);
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 26px;
    border: none;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    padding: 0;
    opacity: 0.45;
    transition: all 0.2s ease;
    position: relative;
}

.lang-btn svg {
    border-radius: 3px;
    display: block;
}

.lang-btn:hover {
    opacity: 0.75;
}

.lang-btn--active {
    opacity: 1;
    background: var(--bg-card);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border: none;
    border-radius: 999px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-bright);
    color: #ffffff;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); filter: brightness(0.95); }

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 14px;
}
.btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }

.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: 999px; }
.btn-full { width: 100%; }

/* ===== HERO — Zentriert (kein Bento-Grid) ===== */
.hero {
    position: relative;
    background: #0C0F1A;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 48px 80px;
}

/* Subtle radial bg glow */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 20%, rgba(59,91,255,0.08) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(212,168,50,0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Grain texture overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    pointer-events: none;
    opacity: 0.3;
    z-index: 0;
}

/* Hero content layering */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 740px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--gold-muted);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    animation: fadeSlideUp 0.7s ease both;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold-border);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Bento rotation crossfade */
.bento-switching {
    opacity: 0 !important;
    transform: scale(0.97) !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.bento-switch-in {
    transition: opacity 0.4s ease, transform 0.4s ease !important;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(56px, 8vw, 100px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    text-wrap: balance;
    color: #ffffff;
    animation: fadeSlideUp 0.7s 0.1s ease both;
}

.hero-highlight {
    color: rgba(255,255,255,0.7);
    -webkit-text-fill-color: rgba(255,255,255,0.7);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
    margin-bottom: 48px;
    max-width: 560px;
    text-wrap: balance;
    animation: fadeSlideUp 0.7s 0.2s ease both;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeSlideUp 0.7s 0.3s ease both;
}

/* Outline button for dark hero — Ondo-Style */
.btn-outline {
    background: transparent;
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.45);
    color: #ffffff;
}

/* ===== Hero Search ===== */
.hero-search {
    margin-top: 36px;
    max-width: 580px;
    width: 100%;
    animation: fadeSlideUp 0.7s 0.4s ease both;
}

.hero-search-chips {
    justify-content: center;
}

.hero-search-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 10px;
}

.hero-search-label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3B5BFF;
    box-shadow: 0 0 6px rgba(59,91,255,0.8);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.hero-search-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.hero-search-bar:focus-within {
    border-color: rgba(59,91,255,0.6);
    box-shadow: 0 0 0 3px rgba(59,91,255,0.15), 0 8px 32px rgba(0,0,0,0.3);
}

.hero-search-icon {
    display: flex;
    align-items: center;
    padding: 0 12px 0 16px;
    color: rgba(255,255,255,0.35);
    flex-shrink: 0;
    pointer-events: none;
}

.hero-search-input {
    flex: 1;
    padding: 14px 8px 14px 0;
    border: none;
    outline: none;
    background: transparent;
    color: #ffffff;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 400;
    min-width: 0;
}

.hero-search-input::placeholder {
    color: rgba(255,255,255,0.3);
    font-weight: 400;
}

.hero-search-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 999px;
    background: #3B5BFF;
    color: #ffffff;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-search-btn:hover {
    background: #6B8FF0;
    filter: brightness(1.1);
}

.hero-search-btn:active {
    transform: translateY(0);
}

.hero-search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.5);
    font-family: var(--font);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.hero-chip:hover {
    border-color: rgba(59,91,255,0.5);
    color: #8BA8F0;
    background: rgba(59,91,255,0.12);
    transform: translateY(-1px);
}

.hero-chip:active {
    transform: translateY(0);
}

/* ===== Bento Grid ===== */
.hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    animation: fadeSlideUp 0.7s 0.2s ease both;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "tao-price  tao-price"
        "change24h  feargreed"
        "news       news"
        "network    mcap"
        "btcmini    volume";
    gap: 3px;
    width: 100%;
    max-width: 400px;
    perspective: 800px;
}

/* ---- Base Card ---- */
.bento-card {
    background: rgba(18, 20, 30, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 12px 14px;
    position: relative;
    overflow: hidden;
    cursor: default;
    /* stagger-in start state */
    opacity: 0;
    transform: translateY(18px) scale(0.96);
    /* smooth all transitions */
    transition: all 0.25s ease;
    box-shadow: none;
}

.bento-card.bento-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Gradient border shimmer — top-left accent */
.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 4px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(59,91,255,0.5), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

/* Soft inner glow on hover */
.bento-card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(59,91,255,0.04), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.bento-card:hover {
    border-color: rgba(90, 127, 230, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover::after {
    opacity: 1;
}

/* Smooth press feedback */
.bento-card:active {
    transform: translateY(0);
    transition-duration: 0.1s;
}

[data-theme="light"] .bento-card {
    background: rgba(10, 12, 20, 0.90);
    box-shadow: none;
}

/* ---- 1. TAO Price Widget ---- */
.bento-tao-price {
    padding: 14px 16px 0;
}

.bento-tao-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.bento-token-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bento-token-icon {
    width: 24px;
    height: 24px;
    border-radius: 3px;
    background: rgba(90, 127, 230, 0.15);
    color: #3B5BFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.bento-token-name {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.bento-token-ticker {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    margin-left: -4px;
}

.bento-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s infinite;
}

.bento-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.bento-price-value {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1;
}

.bento-price-currency {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.45;
}

/* Change badges */
.bento-change {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
}

.bento-change--pos {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.10);
}

.bento-change--neg {
    color: #f87171;
    background: rgba(248, 113, 113, 0.10);
}

.bento-change--sm {
    font-size: 11px;
    padding: 2px 6px;
}

/* Sparkline */
.bento-sparkline {
    width: 100%;
    height: 44px;
    display: block;
    margin-top: 2px;
}

.bento-spark-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-spark-line.spark-drawn {
    stroke-dashoffset: 0;
}

.bento-spark-fill {
    opacity: 0;
    transition: opacity 1s ease 0.5s;
}

.bento-spark-fill.spark-drawn {
    opacity: 1;
}

.bento-tao-price:hover .bento-spark-line {
    filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.6));
}

.bento-tao-price:hover .bento-spark-fill {
    filter: brightness(1.2);
}

/* TAO card gets extra prominent hover — hero widget */
.bento-tao-price:hover {
    border-color: rgba(74, 222, 128, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.bento-tao-price::before {
    background: linear-gradient(135deg, rgba(74,222,128,0.25), rgba(59,91,255,0.15) 50%, transparent 75%);
}

/* ---- 2 & 5 & 6. Metric Cards ---- */
.bento-metric-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bento-metric-icon {
    width: 24px;
    height: 24px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.bento-metric-icon--green {
    background: rgba(74, 222, 128, 0.10);
    color: #4ade80;
}

.bento-metric-icon--blue {
    background: rgba(90, 127, 230, 0.12);
    color: #3B5BFF;
}

.bento-metric-icon--purple {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
}

.bento-metric-value {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.bento-text--green { color: #4ade80; }
.bento-text--red { color: #f87171; }

.bento-metric-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.bento-metric-sub {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 2px;
}

/* ---- 3. Fear & Greed ---- */
.bento-fear-greed {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 12px 8px;
}

.bento-fear-greed:hover {
    border-color: rgba(251, 191, 36, 0.25);
}

.bento-fear-greed::before {
    background: linear-gradient(135deg, rgba(251,191,36,0.2), transparent 60%);
}

.bento-gauge {
    width: 72px;
    height: 44px;
    margin-bottom: 4px;
}

.bento-gauge-score {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-top: -2px;
}

.bento-gauge-label {
    font-size: 10px;
    font-weight: 700;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

/* ---- 4. News Widget ---- */
.bento-news {
    padding: 10px 14px;
}

.bento-news-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.bento-news-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8BA8F0;
    padding: 2px 8px;
    border-radius: 2px;
    background: rgba(90, 127, 230, 0.10);
    border: 1px solid rgba(90, 127, 230, 0.20);
}

.bento-news-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s infinite;
}

.bento-news-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.bento-news-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.bento-news-source {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 6px;
}

/* News card gets clickable feel */
.bento-news {
    cursor: pointer;
}

.bento-news:hover {
    border-color: rgba(90, 127, 230, 0.3);
}

.bento-news:hover .bento-news-title {
    color: #a5bcf5;
    transition: color 0.3s ease;
}

/* Network widget — purple Bittensor accent on hover */
.bento-metric-card[style*="network"]:hover {
    border-color: rgba(90, 127, 230, 0.25);
}

/* Market Cap — purple accent */
.bento-metric-card[style*="mcap"]:hover {
    border-color: rgba(139, 92, 246, 0.25);
}

.bento-metric-card[style*="mcap"]::before {
    background: linear-gradient(135deg, rgba(139,92,246,0.2), transparent 60%);
}

/* ---- 6. Market Cap Row ---- */
.bento-mcap-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.bento-rank-badge {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

/* ---- 7. BTC Mini Ticker ---- */
.bento-btc-mini:hover {
    border-color: rgba(247, 147, 26, 0.25);
}

.bento-btc-mini::before {
    background: linear-gradient(135deg, rgba(247,147,26,0.2), transparent 60%);
}

.bento-btc-mini {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bento-mini-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.bento-mini-icon {
    font-size: 13px;
    font-weight: 700;
    color: #f7931a;
    width: 22px;
    height: 22px;
    border-radius: 3px;
    background: rgba(247, 147, 26, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-mini-name {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.bento-mini-price {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

/* ---- 8. Volume Bars ---- */
.bento-volume {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-volume:hover .bento-mini-bars rect {
    filter: brightness(1.3);
    transition: filter 0.3s ease;
}

.bento-mini-bars {
    width: 56px;
    height: 28px;
    margin-top: 6px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .bento-grid {
        max-width: 400px;
        gap: 6px;
    }
    .bento-card { padding: 10px 12px; border-radius: 4px; }
    .bento-card::before { border-radius: 4px; }
    .bento-tao-price { padding: 12px 14px 0; }
    .bento-price-value { font-size: 26px; }
    .bento-metric-value { font-size: 20px; }
}

@media (max-width: 480px) {
    .bento-grid {
        max-width: 100%;
        gap: 2px;
    }
    .bento-card {
        padding: 8px 10px;
        border-radius: 4px;
    }
    .bento-tao-price { padding: 10px 10px 0; }
    .bento-price-value { font-size: 24px; }
    .bento-metric-value { font-size: 18px; }
    .bento-gauge { width: 60px; height: 38px; }
    .bento-gauge-score { font-size: 18px; }
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--bg-card);
    border-top: 1px solid var(--gold-divider);
    border-bottom: 1px solid var(--gold-divider);
}

.stats-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px !important;
    padding-bottom: 32px !important;
    gap: 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 140px;
    padding: 8px 16px;
    cursor: default;
}

.stat-item:hover .stat-value {
    color: var(--accent-bright);
    transition: color 0.3s ease;
}

.stat-value {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gold-divider);
    flex-shrink: 0;
}

/* ===== SECTIONS ===== */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 32px;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 12px;
}

[data-theme="light"] .section-label { color: var(--gold); }

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    text-wrap: balance;
    line-height: 1.1;
}

.section-subheading {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 56px;
    max-width: 540px;
    text-wrap: balance;
    line-height: 1.6;
}

/* ===== FEATURES GRID ===== */
.features {
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
}

.feature-card:hover {
    box-shadow: var(--shadow-md), 0 0 0 1px var(--gold-border);
    transform: translateY(-2px);
    border-color: var(--gold-border);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card--link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.feature-arrow {
    margin-top: auto;
    padding-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-bright);
    display: block;
    transition: transform 0.2s ease;
}

.feature-card--link:hover .feature-arrow {
    transform: translateX(4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--accent-bg);
    color: var(--accent-bright);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.feature-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ===== PARTNERS ===== */
.partners {
    background: var(--bg);
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.55;
    transition: opacity var(--transition);
    cursor: default;
}

.partner-item:hover { opacity: 1; }

.partner-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.partner-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
}

/* ===== CTA / NEWSLETTER ===== */
.cta-section {
    background: var(--bg);
}

.cta-card {
    background: #0A0A0A;
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(59,91,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="dark"] .cta-card {
    background: #1A1B18;
    border: 1px solid var(--border);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--accent-bg);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}
.cta-badge-sep {
    opacity: 0.25;
    font-size: 16px;
    line-height: 1;
    color: var(--text-secondary);
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: 12px;
    text-wrap: balance;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 28px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
    text-wrap: balance;
}

[data-theme="dark"] .cta-desc { color: var(--text-secondary); }

.cta-form {
    display: flex;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto 12px;
}

.cta-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    font-family: var(--font);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.cta-input::placeholder { color: rgba(255,255,255,0.35); }
.cta-input:focus { border-color: var(--accent-bright); box-shadow: 0 0 0 3px rgba(59,91,255,0.2); }
.cta-input:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }

[data-theme="dark"] .cta-input {
    background: rgba(255,255,255,0.05);
    border-color: var(--border);
}

.cta-msg {
    font-size: 13px;
    margin-top: 8px;
    min-height: 20px;
}

.cta-msg.success { color: #4ade80; }
.cta-msg.error { color: #ef4444; }

.cta-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    margin-top: 12px;
}

[data-theme="dark"] .cta-hint { color: var(--text-tertiary); }

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--gold-divider);
    padding: 24px 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--text-primary); }

.footer-meta {
    font-size: 12px;
    color: var(--text-tertiary);
    display: flex;
    gap: 6px;
}

.footer-sep { opacity: 0.4; }

/* ===== FADE-IN / SCROLL REVEAL ===== */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.feature-card:nth-child(1) { transition-delay: 0ms; }
.feature-card:nth-child(2) { transition-delay: 80ms; }
.feature-card:nth-child(3) { transition-delay: 160ms; }
.feature-card:nth-child(4) { transition-delay: 240ms; }

/* Feature card glow on hover */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(59,91,255,0.07) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-title { font-size: 42px; }
    .hero-subtitle { font-size: 16px; }

    .hero-search { max-width: 100%; }
    .hero-search-btn { padding: 8px 14px; font-size: 12px; }
    .hero-search-chips { gap: 6px; }
    .hero-chip { font-size: 11px; padding: 5px 10px; }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }
    .nav-actions .btn-secondary,
    .nav-actions .btn-ghost { display: none; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        list-style: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
        padding: 12px 24px;
    }

    .partners-grid {
        gap: 20px;
    }

    .cta-card { padding: 40px 24px; }
    .cta-form { flex-direction: column; }

    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }

    .stats-container {
        justify-content: center;
        gap: 8px;
    }

    .stat-divider { display: none; }
    .stat-item { min-width: calc(50% - 16px); }
}

@media (max-width: 480px) {
    .section-container { padding: 60px 16px; }
    .hero { padding: 90px 16px 30px; }
    .feature-card { padding: 20px; }
    .stat-item { min-width: 100%; }
}

/* ===== Theme Toggle Icons ===== */
[data-theme="light"] .icon-moon { display: none !important; }
[data-theme="light"] .icon-sun { display: block !important; }
[data-theme="dark"] .icon-sun { display: none !important; }
[data-theme="dark"] .icon-moon { display: block !important; }

/* ===== Chat FAB ===== */
.chat-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 200;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--accent-bright);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(55,91,210,0.35);
    transition: all var(--transition);
}

.chat-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(55,91,210,0.5);
}

.chat-fab:active { transform: scale(0.97); }
.chat-fab.hidden { display: none; }

/* ===== Chat Panel ===== */
.chat-panel {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 300;
    width: 400px;
    height: 540px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: chatSlideIn 0.25s ease;
}

.chat-panel.open { display: flex; }

@keyframes chatSlideIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--accent);
}

[data-theme="dark"] .chat-header {
    background: #1A1B18;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.9);
}

[data-theme="dark"] .chat-header-icon {
    color: var(--text-secondary);
}

.chat-header-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

[data-theme="dark"] .chat-header-title {
    color: var(--text-primary);
}

.chat-header-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.65);
}

[data-theme="dark"] .chat-header-sub {
    color: var(--text-tertiary);
}

.chat-close {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.7);
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.chat-close:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

[data-theme="dark"] .chat-close {
    border-color: var(--border);
    color: var(--text-secondary);
}

[data-theme="dark"] .chat-close:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
    max-width: 85%;
}

.chat-message.user { align-self: flex-end; }
.chat-message.assistant { align-self: flex-start; }

.chat-bubble {
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
}

.chat-message.user .chat-bubble {
    background: var(--accent-bright);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.chat-message.assistant .chat-bubble {
    background: var(--bg);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border);
}

.chat-bubble p { margin: 0 0 8px; }
.chat-bubble p:last-child { margin: 0; }
.chat-bubble strong { font-weight: 700; }
.chat-bubble code {
    background: var(--accent-bg);
    padding: 1px 4px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 12px;
}

.chat-typing {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border);
    width: fit-content;
}

.chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-tertiary);
    animation: chatTyping 1.2s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatTyping {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}

.chat-input-bar {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.chat-input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 13px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.chat-input:focus {
    border-color: var(--accent-bright);
    box-shadow: 0 0 0 3px rgba(59,91,255,0.15);
}

.chat-send {
    padding: 9px 14px;
    border: none;
    border-radius: var(--radius);
    background: var(--accent-bright);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.chat-send:hover { opacity: 0.9; }
.chat-send:active { transform: scale(0.96); }
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 480px) {
    .chat-panel {
        width: calc(100vw - 16px);
        right: 8px;
        bottom: 8px;
        height: 70vh;
    }
}


/* ===== STAT COUNT-UP ANIMATION ===== */
.stat-value {
    transition: color 0.3s ease;
}

.stat-value.counting {
    color: var(--accent-bright);
}

/* stat-item fade-in on scroll */
.stat-item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item.stat-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PRICE FLIP EFFECT ===== */
@keyframes priceFlip {
    0%   { transform: translateY(0);    opacity: 1; }
    40%  { transform: translateY(-8px); opacity: 0; }
    60%  { transform: translateY(8px);  opacity: 0; }
    100% { transform: translateY(0);    opacity: 1; }
}

.price-flip {
    animation: priceFlip 0.35s ease;
}

/* =================================================== */
/*   NEWSLETTER PRICING MODAL                          */
/* =================================================== */

/* Overlay */
.nl-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.nl-modal-overlay.nl-open {
    opacity: 1;
    pointer-events: all;
}
/* Modal box */
.nl-modal {
    background: #0d1117;
    border: 1px solid rgba(59,91,255,0.25);
    border-radius: 20px;
    width: 100%;
    max-width: 940px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 32px 28px;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(59,91,255,0.1);
}
.nl-modal-overlay.nl-open .nl-modal {
    transform: translateY(0) scale(1);
}
/* Modal Header */
.nl-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}
.nl-modal-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #3B5BFF;
    background: rgba(59,91,255,0.12);
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 8px;
}
.nl-modal-title {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}
.nl-modal-sub {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}
.nl-modal-close {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9ca3af;
    flex-shrink: 0;
    transition: background 0.18s, color 0.18s;
}
.nl-modal-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
/* Plan grid */
.nl-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

/* Individual plan card */
.nl-plan {
    background: #111827;
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 16px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    position: relative;
    outline: none;
}
.nl-plan:hover {
    border-color: rgba(59,91,255,0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.nl-plan:focus-visible {
    border-color: #3B5BFF;
    box-shadow: 0 0 0 3px rgba(59,91,255,0.3);
}
.nl-plan.nl-selected {
    border-color: #3B5BFF;
    box-shadow: 0 0 0 2px rgba(59,91,255,0.25), 0 12px 32px rgba(0,0,0,0.35);
}
/* Featured / Bundle card */
.nl-plan--featured {
    border-color: rgba(251,191,36,0.35);
    background: linear-gradient(160deg, #141a2e 0%, #111827 100%);
}
.nl-plan--featured:hover {
    border-color: rgba(251,191,36,0.7);
    box-shadow: 0 12px 32px rgba(251,191,36,0.15);
}
.nl-plan--featured.nl-selected {
    border-color: #fbbf24;
    box-shadow: 0 0 0 2px rgba(251,191,36,0.2), 0 12px 32px rgba(251,191,36,0.12);
}
/* Chatbot card */
.nl-plan--chatbot {
    border-color: rgba(124,58,237,0.35);
    background: linear-gradient(160deg, #160d2e 0%, #111827 100%);
}
.nl-plan--chatbot:hover {
    border-color: rgba(124,58,237,0.7);
    box-shadow: 0 12px 32px rgba(124,58,237,0.18);
}
.nl-plan--chatbot.nl-selected {
    border-color: #7C3AED;
    box-shadow: 0 0 0 2px rgba(124,58,237,0.2), 0 12px 32px rgba(124,58,237,0.12);
}
.nl-check--chatbot { color: #a855f7; font-weight: 700; flex-shrink: 0; }
.nl-plan-btn--chatbot {
    background: linear-gradient(90deg, #7C3AED, #a855f7);
    color: #fff;
    border: none;
}
.nl-plan-btn--chatbot:hover { filter: brightness(1.12); transform: translateY(-1px); }
.nl-plan-icon--chatbot {
    background: linear-gradient(135deg, #7C3AED, #a855f7);
}
/* Add-on block inside plan cards */
.nl-addon {
    margin-top: 14px;
    padding: 12px 14px;
    background: rgba(124,58,237,0.08);
    border: 1.5px dashed rgba(124,58,237,0.35);
    border-radius: 10px;
}
.nl-addon-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #a855f7;
    margin-bottom: 8px;
}
.nl-addon-price {
    margin-left: auto;
    font-size: 12px;
    font-weight: 800;
    color: #a855f7;
    background: rgba(168,85,247,0.15);
    padding: 2px 8px;
    border-radius: 20px;
}
.nl-addon-features {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}
.nl-addon-features li {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
    padding: 2px 0;
}
.nl-addon-features li::before {
    content: "·  ";
    color: #a855f7;
    font-weight: 700;
}
.nl-plan-btn--addon {
    width: 100%;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(124,58,237,0.15);
    color: #a855f7;
    border: 1.5px solid rgba(124,58,237,0.4);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.01em;
}
.nl-plan-btn--addon:hover {
    background: rgba(124,58,237,0.3);
    border-color: rgba(124,58,237,0.7);
    color: #fff;
    transform: translateY(-1px);
}
.nl-plan-btn--addon:focus-visible {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
}
.nl-plan-badge-top {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

/* Plan top section */
.nl-plan-top { text-align: center; }
/* Plan icons */
.nl-plan-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.nl-plan-icon--free    { background: rgba(59,91,255,0.15); color: #3B5BFF; }
.nl-plan-icon--chainlink { background: transparent; padding: 0; }
.nl-plan-icon--bittensor { background: transparent; padding: 0; }
.nl-plan-icon--bundle  { background: rgba(251,191,36,0.15); color: #fbbf24; }

.nl-plan-label {
    font-size: 13px;
    font-weight: 700;
    color: #e5e7eb;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}
.nl-plan-price { margin-bottom: 2px; }
.nl-price-amount {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
}
.nl-price-mo {
    font-size: 14px;
    color: #6b7280;
    margin-left: 2px;
}
.nl-plan-period {
    font-size: 11px;
    color: #4b5563;
    margin-top: 2px;
}
/* Feature list */
.nl-plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}
.nl-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.45;
}
.nl-check          { color: #3B5BFF;  font-weight: 700; flex-shrink: 0; }
.nl-check--link    { color: #375BD2;  font-weight: 700; flex-shrink: 0; }
.nl-check--tao     { color: #8B5CF6;  font-weight: 700; flex-shrink: 0; }
.nl-check--bundle  { color: #fbbf24;  font-weight: 700; flex-shrink: 0; }
/* Plan buttons */
.nl-plan-btn {
    width: 100%;
    padding: 8px 12px;
    border-radius: 10px;
    border: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s;
    letter-spacing: 0.01em;
}
.nl-plan-btn--free {
    background: rgba(59,91,255,0.15);
    color: #7A9FEE;
    border: 1.5px solid rgba(59,91,255,0.3);
}
.nl-plan-btn--free:hover { background: rgba(59,91,255,0.28); color: #fff; }
.nl-plan-btn--chainlink {
    background: rgba(55,91,210,0.15);
    color: #6b8ff8;
    border: 1.5px solid rgba(55,91,210,0.3);
}
.nl-plan-btn--chainlink:hover { background: rgba(55,91,210,0.3); color: #fff; }
.nl-plan-btn--bittensor {
    background: rgba(139,92,246,0.15);
    color: #a78bfa;
    border: 1.5px solid rgba(139,92,246,0.3);
}
.nl-plan-btn--bittensor:hover { background: rgba(139,92,246,0.28); color: #fff; }
.nl-plan-btn--bundle {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    color: #000;
    border: none;
}
.nl-plan-btn--bundle:hover { filter: brightness(1.1); transform: translateY(-1px); }
/* Email step */
.nl-email-step {
    display: none;
    animation: nlSlideUp 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
.nl-email-step.nl-visible { display: block; }

@keyframes nlSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nl-email-step-inner {
    background: #111827;
    border: 1.5px solid rgba(59,91,255,0.25);
    border-radius: 14px;
    padding: 24px;
}
.nl-selected-plan-info {
    font-size: 14px;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nl-email-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.nl-email-row {
    display: flex;
    gap: 10px;
}.nl-email-input {
    flex: 1;
    padding: 11px 15px;
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.nl-email-input::placeholder { color: rgba(255,255,255,0.3); }
.nl-email-input:focus {
    border-color: #3B5BFF;
    box-shadow: 0 0 0 3px rgba(59,91,255,0.2);
}
.nl-submit-btn {
    padding: 11px 22px;
    background: #3B5BFF;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background 0.18s, transform 0.18s;
}
.nl-submit-btn:hover { background: #4a6fd6; transform: translateY(-1px); }

.nl-form-msg {
    font-size: 13px;
    margin-top: 10px;
    min-height: 18px;
}
.nl-form-msg.success { color: #4ade80; }
.nl-form-msg.error   { color: #f87171; }
.nl-back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.15s;
}
.nl-back-btn:hover { color: #9ca3af; }

/* Responsive */
@media (max-width: 860px) {
    .nl-plans { grid-template-columns: repeat(2, 1fr); }
    .nl-modal  { padding: 20px 18px 16px; }
}
@media (max-width: 520px) {
    .nl-plans { grid-template-columns: 1fr; }
    .nl-modal  { padding: 20px 16px 16px; max-height: 95vh; }
    .nl-email-row { flex-direction: column; }
}

/* =================================================== */
/*   DARK THEME — Clean overrides (Ondo-Style)         */
/* =================================================== */

/* ── Dark Theme — Clean Ondo-Style Overrides ── */
[data-theme="dark"] .hero-badge {
    background: var(--gold-muted);
    border: 1px solid var(--gold-border);
    color: var(--gold);
}

[data-theme="dark"] .section-label {
    color: var(--gold);
    letter-spacing: 0.12em;
}

[data-theme="dark"] .feature-icon {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

[data-theme="dark"] .feature-arrow { color: rgba(255,255,255,0.5); }

[data-theme="dark"] .chat-fab {
    background: var(--accent-bright);
}
/* ===== PRICING SECTION ===== */

.pricing-section {
    background: var(--bg);
    padding: 80px 0 96px;
}

.pricing-free-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(59,91,255,0.08);
    border: 1px solid rgba(59,91,255,0.22);
    color: var(--accent-bright);
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 100px;
    margin: 0 auto 48px;
    display: flex;
    width: fit-content;
}

[data-theme="dark"] .pricing-free-badge {
    background: rgba(59,91,255,0.12);
    border-color: rgba(59,91,255,0.3);
}

/* Usage table */
.pricing-usage-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 36px 28px;
    margin-bottom: 48px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-usage-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.pricing-usage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 640px) {
    .pricing-usage-grid { grid-template-columns: repeat(2, 1fr); }
}

.pricing-usage-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.pricing-usage-icon { font-size: 18px; margin-bottom: 2px; }

.pricing-usage-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.pricing-usage-desc {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 6px;
}

.pricing-usage-cost {
    font-size: 13px;
    color: var(--accent-bright);
    font-weight: 500;
}

.pricing-usage-cost strong {
    font-size: 16px;
    font-weight: 700;
}

/* Bundle cards */
.pricing-bundles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 860px;
    margin: 0 auto 32px;
}

@media (max-width: 768px) {
    .pricing-bundles { grid-template-columns: 1fr; max-width: 400px; }
}

.pricing-bundle {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-bundle:hover {
    border-color: rgba(59,91,255,0.35);
    box-shadow: 0 4px 24px rgba(59,91,255,0.08);
}

.pricing-bundle--featured {
    background: #0A0A0A;
    border-color: rgba(59,91,255,0.5);
    box-shadow: 0 0 0 1px rgba(59,91,255,0.25), 0 8px 32px rgba(59,91,255,0.12);
}

.pricing-bundle--featured:hover {
    border-color: rgba(59,91,255,0.7);
    box-shadow: 0 0 0 1px rgba(59,91,255,0.35), 0 8px 40px rgba(59,91,255,0.18);
}

[data-theme="dark"] .pricing-bundle--featured {
    background: #111218;
}

.pricing-bundle-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #3B5BFF, #00CFCF);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-bundle-top {
    margin-bottom: 20px;
}

.pricing-bundle-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pricing-bundle--featured .pricing-bundle-name { color: #ffffff; }

.pricing-bundle-credits {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

.pricing-bundle--featured .pricing-bundle-credits { color: #ffffff; }

.pricing-bundle-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-bright);
    margin-bottom: 2px;
}

.pricing-bundle-per {
    font-size: 12px;
    color: var(--text-tertiary);
}

.pricing-bundle--featured .pricing-bundle-per { color: rgba(255,255,255,0.45); }

.pricing-bundle-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.pricing-bundle-list li {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-bundle--featured .pricing-bundle-list li { color: rgba(255,255,255,0.75); }

.pricing-chk {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-bright);
    flex-shrink: 0;
}

.pricing-chk--feat { color: #00CFCF; }

.pricing-bundle-btn {
    width: 100%;
    padding: 11px 0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: not-allowed;
    transition: all 0.2s;
    opacity: 0.6;
}

.pricing-bundle-btn--feat {
    background: linear-gradient(90deg, #3B5BFF, #00CFCF);
    border-color: transparent;
    color: #ffffff;
    opacity: 0.7;
}

.pricing-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text-tertiary);
    margin: 0 auto;
}

/* ===== END PRICING SECTION ===== */

/* ===== ITSR SHOWCASE ===== */
.itsr-showcase {
    background: var(--bg);
    padding: 80px 0 88px;
    position: relative;
}
.itsr-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(99,102,241,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.itsr-sc-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 56px;
    align-items: start;
}
@media (max-width: 960px) {
    .itsr-sc-inner { grid-template-columns: 1fr; }
    .itsr-sc-right { max-width: 480px; }
}

/* Page structure list */
.itsr-pages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.itsr-page {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--card-bg, rgba(255,255,255,0.03));
    border: 1px solid var(--border, rgba(255,255,255,0.07));
    transition: border-color 0.2s, background 0.2s;
}
[data-theme="light"] .itsr-page {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
}
.itsr-page:hover {
    border-color: rgba(99,102,241,0.3);
    background: rgba(99,102,241,0.04);
}
.itsr-page-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    font-family: 'DM Mono', monospace;
    color: #818cf8;
    letter-spacing: 0.04em;
    margin-top: 1px;
}
.itsr-page-name {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.itsr-page-sub {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Right panel: launch card */
.itsr-launch-card {
    background: var(--card-bg, rgba(255,255,255,0.035));
    border: 1px solid var(--border, rgba(255,255,255,0.08));
    border-radius: 20px;
    padding: 28px 26px 24px;
    position: relative;
}
[data-theme="light"] .itsr-launch-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.itsr-launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.22);
    color: #818cf8;
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 700;
    font-family: 'DM Mono', monospace;
    margin-bottom: 16px;
}
.itsr-launch-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}
.itsr-launch-sub {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 22px;
    line-height: 1.5;
}
.itsr-launch-group {
    margin-bottom: 16px;
}
.itsr-launch-group-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary, #888);
    margin-bottom: 9px;
}
.itsr-launch-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.itsr-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 10px;
    background: var(--bg);
    border: 1px solid var(--border, rgba(255,255,255,0.1));
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    font-family: 'DM Mono', monospace;
    text-decoration: none;
    transition: border-color 0.18s, background 0.18s, transform 0.15s, box-shadow 0.18s;
    cursor: pointer;
    white-space: nowrap;
}
.itsr-chip:hover {
    border-color: rgba(99,102,241,0.5);
    background: rgba(99,102,241,0.08);
    color: #818cf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99,102,241,0.12);
}
[data-theme="light"] .itsr-chip {
    background: #f8f8ff;
    border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .itsr-chip:hover {
    background: rgba(99,102,241,0.07);
    border-color: rgba(99,102,241,0.35);
}
.itsr-launch-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: opacity 0.18s, transform 0.18s, box-shadow 0.18s;
    box-shadow: 0 4px 20px rgba(99,102,241,0.28);
}
.itsr-launch-cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99,102,241,0.38);
}
.itsr-launch-compare {
    text-align: center;
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--text-tertiary, #888);
}
.itsr-launch-compare a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(128,128,128,0.4);
    transition: color 0.2s;
}
.itsr-launch-compare a:hover { color: #818cf8; text-decoration-color: #818cf8; }
/* ===== END ITSR SHOWCASE ===== */

/* ===== PRICING TEASER (landing page compact block) ===== */
.pricing-teaser-section {
    background: var(--bg);
    padding: 80px 0 96px;
}
.pricing-teaser-inner {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}
.pricing-teaser-left {
    flex: 1 1 0;
    min-width: 0;
}
.pricing-teaser-right {
    flex: 0 0 340px;
}
.pricing-teaser-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.2rem;
}
.pricing-teaser-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    background: var(--card-bg, rgba(255,255,255,0.04));
    border: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--text-secondary);
    white-space: nowrap;
    font-family: 'DM Mono', monospace;
}
.pricing-teaser-card {
    background: var(--card-bg, rgba(255,255,255,0.04));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 28px 24px;
}
.pricing-teaser-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(59,91,255,0.1);
    color: #3b5bff;
    border-radius: 20px;
    padding: 5px 13px;
    font-size: 12.5px;
    font-weight: 500;
    margin-bottom: 20px;
}
[data-theme="dark"] .pricing-teaser-badge {
    background: rgba(100,130,255,0.12);
    color: #8fa4ff;
}
.pricing-teaser-plans {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}
.pricing-teaser-plan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    font-size: 14px;
}
.pricing-teaser-plan--feat {
    background: rgba(59,91,255,0.06);
    border-color: rgba(59,91,255,0.25);
}
[data-theme="dark"] .pricing-teaser-plan--feat {
    background: rgba(100,130,255,0.08);
    border-color: rgba(100,130,255,0.2);
}
.pricing-teaser-plan-name {
    font-weight: 600;
    color: var(--text-primary);
}
.pricing-teaser-plan--feat .pricing-teaser-plan-name {
    color: #3b5bff;
}
[data-theme="dark"] .pricing-teaser-plan--feat .pricing-teaser-plan-name {
    color: #8fa4ff;
}
.pricing-teaser-plan-val {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    color: var(--text-secondary);
}
.pricing-teaser-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    border-radius: 10px;
    background: var(--accent, #3b5bff);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.18s, transform 0.18s;
}
.pricing-teaser-cta:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}
@media (max-width: 860px) {
    .pricing-teaser-inner {
        flex-direction: column;
    }
    .pricing-teaser-right {
        flex: unset;
        width: 100%;
    }
}
/* ===== END PRICING TEASER ===== */

[data-theme="dark"] .chat-fab:hover {
    filter: brightness(1.15);
}