/* ============================================================
   BT4T Marketing Site — Shared Styles
   Extracted from index.html + merged with landing-premium.css
   ============================================================ */

/* ---------- 1. CSS Variables ---------- */
:root {
    --bg-deep: #050507;
    --bg-card: rgba(255,255,255,0.03);
    --bg-card-solid: #0a0a0f;
    --accent-cyan: #5eadb8;
    --accent-green: #34d399;
    --accent-red: #f87171;
    --accent-purple: #8b7db8;
    --text-primary: #ffffff;
    --text-secondary: rgba(255,255,255,0.6);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --gradient-accent: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
    --btn-primary-bg: #e8e8e8;
    --btn-primary-hover: #ffffff;
    --btn-primary-text: #0a0a0f;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* ---------- 2. Reset + Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: var(--accent-cyan); color: #000; }
::-moz-selection { background: var(--accent-cyan); color: #000; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0c; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #444; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.05rem;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    scrollbar-color: #333 #0a0a0c;
    opacity: 0;
    transition: opacity 0.45s ease-out;
}
body.page-ready { opacity: 1; }

a { color: inherit; }
img { max-width: 100%; height: auto; }

/* ---------- 3. Ambient Background ---------- */
.ambient-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(94, 173, 184, 0.04), transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(139, 125, 184, 0.03), transparent 35%),
        radial-gradient(circle at 50% 80%, rgba(94, 140, 184, 0.02), transparent 30%);
    background-size: 200% 200%;
    animation: mesh-drift 45s ease-in-out infinite alternate;
    z-index: -2;
    pointer-events: none;
}
@keyframes mesh-drift {
    0% { background-position: 0% 0%; }
    25% { background-position: 50% 30%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 30% 80%; }
    100% { background-position: 0% 100%; }
}

/* Ambient glow orbs */
.ambient-bg::before,
.ambient-bg::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -2;
    filter: blur(120px);
}
.ambient-bg::before {
    width: 600px; height: 600px;
    top: 20%; right: -10%;
    background: rgba(139, 125, 184, 0.03);
    animation: orb-float 20s ease-in-out infinite alternate;
}
.ambient-bg::after {
    width: 500px; height: 500px;
    bottom: 10%; left: -5%;
    background: rgba(94, 173, 184, 0.02);
    animation: orb-float 25s ease-in-out infinite alternate-reverse;
}
@keyframes orb-float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, -40px); }
}
.noise {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

/* ---------- 4. Container ---------- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; position: relative; }

/* ---------- 5. Navigation — Mega Dropdown ---------- */
.nav-glass {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 0.75rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav-glass.scrolled {
    background: rgba(5, 5, 7, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.nav-logo img { height: 50px; }

/* Nav menu (desktop links row) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

/* Dropdown container */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
    border-radius: 6px;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
    color: var(--text-primary);
}
.nav-dropdown-trigger .chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.25s ease;
}
.nav-dropdown.open .nav-dropdown-trigger .chevron {
    transform: rotate(180deg);
}

/* Dropdown panel */
.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 280px;
    background: rgba(12, 12, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
    z-index: 200;
}
.nav-dropdown.open .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: background 0.15s, color 0.15s;
}
.dropdown-item:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
}
.dropdown-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(94, 173, 184, 0.08);
    color: var(--accent-cyan);
    flex-shrink: 0;
}
.dropdown-icon svg { width: 18px; height: 18px; }

.dropdown-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}
.dropdown-item span {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Social icons in nav */
.nav-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border);
}
.nav-social a {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}
.nav-social a:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}
.nav-social a svg { width: 16px; height: 16px; }

/* Nav CTA buttons */
.nav-ctas {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* ---------- 6. Buttons ---------- */
.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    padding: 0.7rem 1.6rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    position: relative;
}
.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--btn-primary-hover);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}
.btn-secondary {
    padding: 0.7rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    background: transparent;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
}
.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
}
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* ---------- 7. Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 0 4rem;
    position: relative;
}
.hero-split {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 3rem;
    align-items: center;
}
.hero-content { text-align: left; }

.hero-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
    display: inline-block;
    position: relative;
}
.hero-tag--centered {
    text-align: center;
    margin-bottom: 2rem;
    display: block;
}
.hero-tag--centered .hero-tag {
    display: inline-block;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #ffffff 40%, rgba(255,255,255,0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.hero-bullets {
    list-style: none;
    margin-bottom: 2rem;
}
.hero-bullets li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.hero-bullets li::before {
    content: '\2713';
    color: var(--accent-cyan);
    font-weight: bold;
    flex-shrink: 0;
}
.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero visual (right column) */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

/* ---------- 8. Float Cards (hero visual) ---------- */
.float-card {
    position: absolute;
    background: rgba(20, 20, 25, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid transparent;
    background-clip: padding-box;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.float-card:hover {
    box-shadow: 0 24px 60px -10px rgba(0,0,0,0.6), 0 0 30px rgba(94, 173, 184, 0.03);
}
.card-journal {
    top: 5%; left: 0;
    width: 260px; z-index: 2;
    opacity: 0;
    animation: hero-card-enter-left 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards,
               float-bob-1 6s ease-in-out 1.1s infinite;
}
.card-journal .tag {
    background: rgba(255, 71, 87, 0.1);
    color: var(--accent-red);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
}
.card-whale {
    top: 25%; right: 0;
    width: 280px; z-index: 1;
    opacity: 0;
    animation: hero-card-enter-right 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards,
               float-bob-2 7s ease-in-out 1.3s infinite;
}
.whale-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}
.card-insight {
    bottom: 5%; left: 10%;
    width: 300px; z-index: 3;
    border-color: var(--accent-cyan);
    opacity: 0;
    animation: hero-card-enter-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards,
               float-bob-3 5s ease-in-out 1.5s infinite,
               insight-glow-pulse 8s ease-in-out 1.5s infinite;
}

/* Hero visual container needs height for absolute cards */
.hero-visual-cards {
    position: relative;
    width: 100%;
    height: 420px;
}
/* Float card internal helpers */
.float-card-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}
.float-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.float-card-tags {
    display: flex;
    gap: 0.5rem;
}
.float-card-alert {
    color: #f59e0b;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}
.tag--neutral {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.whale-buy { color: var(--accent-green); }
.whale-sell { color: var(--accent-red); }
.savings-badge {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.78rem;
}
/* Hero card float & entrance animations */
@keyframes float-bob-1 {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50% { transform: rotate(-3deg) translateY(-12px); }
}
@keyframes float-bob-2 {
    0%, 100% { transform: rotate(3deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-10px); }
}
@keyframes float-bob-3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
@keyframes insight-glow-pulse {
    0%, 70%, 100% { box-shadow: 0 0 20px rgba(94, 173, 184, 0.06); }
    85% { box-shadow: 0 0 35px rgba(94, 173, 184, 0.12), 0 0 60px rgba(94, 173, 184, 0.04); }
}
@keyframes hero-card-enter-left {
    from { opacity: 0; transform: rotate(-3deg) translateX(-60px) translateY(20px); }
    to { opacity: 1; transform: rotate(-3deg) translateY(0); }
}
@keyframes hero-card-enter-right {
    from { opacity: 0; transform: rotate(3deg) translateX(60px) translateY(20px); }
    to { opacity: 1; transform: rotate(3deg) translateY(0); }
}
@keyframes hero-card-enter-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- 9. Section Primitives ---------- */
.section { padding: 10rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 5rem; }

/* Subtle divider between sections */
.section + .section::before,
.edge-section::before,
.ai-section::before,
.how-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    background: linear-gradient(180deg, #ffffff 40%, rgba(255,255,255,0.65) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-sub {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 9rem;
}
.grid-2.reversed .text-col { order: 2; }
.text-col h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #ffffff 40%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-col p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}
.feature-list { list-style: none; }
.feature-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}
.feature-list li::before {
    content: '\2713';
    color: var(--accent-cyan);
    font-weight: bold;
    flex-shrink: 0;
}

/* ---------- 10. Screenshot Placeholder ---------- */
.screenshot-placeholder {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    border: 1px solid transparent;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%) padding-box,
                linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)) border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.placeholder-chrome {
    height: 32px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}
.placeholder-chrome span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}
.placeholder-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.15);
    font-size: 0.85rem;
    font-family: var(--font-mono);
}
/* Core section tinted screenshots */
.core-journal .screenshot-placeholder {
    background: linear-gradient(180deg, rgba(94, 173, 184, 0.02) 0%, rgba(94, 173, 184, 0.005) 100%) padding-box,
                linear-gradient(160deg, rgba(94, 173, 184, 0.08), rgba(94, 173, 184, 0.02)) border-box;
    border: 1px solid transparent;
}
.core-analytics .screenshot-placeholder {
    background: linear-gradient(180deg, rgba(139, 125, 184, 0.02) 0%, rgba(139, 125, 184, 0.005) 100%) padding-box,
                linear-gradient(160deg, rgba(139, 125, 184, 0.08), rgba(139, 125, 184, 0.02)) border-box;
    border: 1px solid transparent;
}
.core-replay .screenshot-placeholder {
    background: linear-gradient(180deg, rgba(52, 211, 153, 0.02) 0%, rgba(52, 211, 153, 0.005) 100%) padding-box,
                linear-gradient(160deg, rgba(52, 211, 153, 0.08), rgba(52, 211, 153, 0.02)) border-box;
    border: 1px solid transparent;
}

/* ---------- 11. Connected Data Section ---------- */
.connected-section {
    padding: 5rem 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: radial-gradient(ellipse at 50% 50%, rgba(94, 173, 184, 0.02), transparent 60%);
}
.connected-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent-cyan);
    border: 1px solid transparent;
    padding: 0.45rem 1.1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}
.connected-section .container { text-align: center; max-width: 800px; }
.connected-section h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}
.connected-section .accent-highlight { color: var(--accent-cyan); }
.connected-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

/* ---------- 12. Edge Section + Cards ---------- */
.edge-section {
    position: relative;
    padding: 10rem 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.edge-section .section-title { font-weight: 500; }
.edge-section .section-sub { font-weight: 300; }
.edge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}
.edge-card {
    --card-accent: #5eadb8;
    background: linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)) padding-box,
                linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) border-box;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid transparent;
    padding: 2.25rem;
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}
.edge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
    opacity: 0.3;
    transition: opacity 0.35s ease;
}
.edge-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)) padding-box,
                linear-gradient(160deg, color-mix(in srgb, var(--card-accent) 40%, transparent), rgba(255,255,255,0.05)) border-box;
    box-shadow: 0 0 50px color-mix(in srgb, var(--card-accent) 10%, transparent),
                0 12px 40px rgba(0, 0, 0, 0.3);
}
.edge-card:hover::before { opacity: 0.7; }
.edge-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--card-accent, var(--accent-cyan));
    background: color-mix(in srgb, var(--card-accent) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--card-accent) 15%, transparent);
    transition: background 0.3s ease, border-color 0.3s ease;
}
.edge-card:hover .edge-icon {
    background: color-mix(in srgb, var(--card-accent) 18%, transparent);
    border-color: color-mix(in srgb, var(--card-accent) 30%, transparent);
}
/* Edge icon micro-animations */
.edge-card.revealed .edge-icon svg {
    animation: icon-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes icon-pop {
    0% { transform: scale(0.7); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}
.edge-card:nth-child(odd):hover .edge-icon svg {
    transition: transform 0.3s ease;
    transform: rotate(8deg) scale(1.1);
}
.edge-card:nth-child(even):hover .edge-icon svg {
    transition: transform 0.3s ease;
    transform: scale(1.15);
}
/* Edge card variety */
.edge-card:nth-child(even) {
    background: linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)) padding-box,
                linear-gradient(200deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) border-box;
}
.edge-card:nth-child(3n+1)::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--card-accent) 3%, transparent), transparent 60%);
    pointer-events: none;
}
.edge-card h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.edge-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.7;
}
.edge-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.edge-tag.pro {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* ---------- 13. AI (The Brain) Section ---------- */
.ai-section {
    text-align: center;
    padding: 8rem 0;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(94, 173, 184, 0.04), transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(139, 125, 184, 0.02), transparent 60%);
}
.ai-section::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 173, 184, 0.03), transparent 70%);
    animation: ai-pulse-bg 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes ai-pulse-bg {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}
.ai-message {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.2;
}
.ai-message span { color: var(--accent-cyan); }
.insight-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.insight-pill {
    background: linear-gradient(rgba(255,255,255,0.03), rgba(255,255,255,0.01)) padding-box,
                linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)) border-box;
    border: 1px solid transparent;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 1.5rem;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: box-shadow 0.3s ease;
}
.insight-pill:hover {
    box-shadow: 0 4px 20px rgba(94, 173, 184, 0.05);
}
.insight-pill span { color: var(--accent-green); }
.insight-pill span.neg { color: var(--accent-red); }
.ai-body-text {
    margin-top: 2.5rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ---------- 14. How It Works ---------- */
.how-section { padding: 6rem 0; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    margin-top: 4rem;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}
.step-card { text-align: center; }
.step-number {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 auto 1.5rem;
    background: var(--bg-deep);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}
.step-card h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}
.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* ---------- 15. Pricing ---------- */
.pricing-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 4rem;
    flex-wrap: wrap;
}
.price-card {
    background: linear-gradient(var(--bg-card-solid), rgba(10, 10, 15, 0.95)) padding-box,
                linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)) border-box;
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 2.75rem;
    width: 340px;
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.price-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(var(--bg-card-solid), rgba(10, 10, 15, 0.95)) padding-box,
                linear-gradient(160deg, rgba(94, 173, 184, 0.15), rgba(139, 125, 184, 0.1)) border-box;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.price-card.featured {
    background: linear-gradient(var(--bg-card-solid), rgba(10, 10, 15, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.03);
    transform: scale(1.03);
}
.price-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.05), 0 16px 48px rgba(0, 0, 0, 0.3);
}
.price-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}
.price-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 1rem;
}
.price {
    font-family: var(--font-display);
    font-size: 3rem;
    margin: 0.5rem 0 1.5rem;
}
.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}
.tier-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 1rem;
}
.tier-badge.trial,
.tier-badge.popular {
    background: rgba(94, 173, 184, 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(94, 173, 184, 0.15);
}
.price-list {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}
.price-list li {
    margin-bottom: 0.7rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    line-height: 1.4;
}
.price-list li::before {
    content: '\2713';
    color: var(--accent-cyan);
    flex-shrink: 0;
}
.price-list li.section-label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 1rem;
}
.price-list li.section-label::before { content: ''; }
.price-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 1.5rem;
}
.price-cta:hover {
    transform: translateY(-2px);
}
.price-cta.solid {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    font-weight: 600;
}
.price-cta.solid:hover {
    background: var(--btn-primary-hover);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.08);
}
.price-cta.outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}
.price-cta.outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Billing toggle — pill style */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px;
}
.billing-label {
    font-size: 0.88rem;
    cursor: pointer;
    transition: color 0.25s, background 0.25s;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    color: var(--text-secondary);
    font-weight: 500;
    user-select: none;
}
.billing-label.active {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    font-weight: 600;
}
.billing-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    cursor: pointer;
}
.billing-switch input { opacity: 0; width: 0; height: 0; }
.billing-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 26px;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}
.billing-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
#billingToggle:checked + .billing-slider::before {
    transform: translateX(22px);
}

.trust-line {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.trust-flex {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ---------- 16. Content Body (prose pages) ---------- */
.content-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}
.content-body h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.content-body .meta {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.content-body h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--text-primary);
    margin: 3rem 0 1rem;
}
.content-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem;
}
.content-body p {
    color: var(--text-secondary);
    margin: 1rem 0;
    line-height: 1.7;
}
.content-body a { color: var(--accent-cyan); text-decoration: underline; }
.content-body a:hover { color: var(--text-primary); }
.content-body ul, .content-body ol {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-secondary);
}
.content-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
.content-body hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

/* ---------- 17. Page Header (sub-pages) ---------- */
.page-header {
    text-align: center;
    padding: 10rem 0 4rem;
    position: relative;
    background: radial-gradient(ellipse at 50% 0%, rgba(94, 173, 184, 0.03), transparent 60%);
}
.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #ffffff 40%, rgba(255,255,255,0.65) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-header .hero-sub {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* ---------- 18. CTA Section (shared bottom) ---------- */
.cta-section {
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse at 50% 50%, rgba(94, 173, 184, 0.02), transparent 60%);
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}
.cta-section .hero-ctas {
    justify-content: center;
    margin-top: 2rem;
}


/* ---------- Stats Bar ---------- */
.stats-bar {
    padding: 3rem 0;
    position: relative;
    background: radial-gradient(ellipse at 50% 50%, rgba(94, 173, 184, 0.015), transparent 60%);
}
.stats-bar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 5rem;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}
.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
}
.stat-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---------- Mouse-Follow Spotlight ---------- */
.spotlight-container { position: relative; overflow: hidden; }
.spotlight-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 173, 184, 0.03), transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}
.spotlight-container:hover .spotlight-blob { opacity: 1; }

/* ---------- Product Explorer Tabs ---------- */
.product-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.product-tab {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.product-tab:hover {
    background: rgba(255,255,255,0.08);
    color: var(--text-primary);
}
.product-tab.active {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    font-weight: 600;
    border-color: transparent;
}
.product-tab-panels {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.product-panel {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.product-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 19. Footer ---------- */
.site-footer {
    padding: 4rem 0 5rem;
    background: #0a0a0c;
    border-top: none;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 280px;
}
.footer-brand img { height: 40px; }
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 0.3rem 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.footer-social {
    display: flex;
    gap: 1rem;
}
.footer-social a {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    transition: color 0.2s;
    text-decoration: none;
}
.footer-social a:hover { color: var(--accent-cyan); }
.footer-social a svg { width: 18px; height: 18px; }

/* ---------- 20. Live Ticker ---------- */
.live-ticker-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 7, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 0.8rem 0;
    overflow: hidden;
    white-space: nowrap;
    transition: padding 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}
.live-ticker-wrapper.ticker-collapsed {
    padding: 0.15rem 0;
    opacity: 0.4;
    transform: translateY(calc(100% - 6px));
}
.live-ticker-wrapper.ticker-collapsed:hover {
    padding: 0.8rem 0;
    opacity: 1;
    transform: translateY(0);
}
.live-ticker-track {
    display: inline-block;
    animation: scroll-ticker 60s linear infinite;
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    margin-right: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.ticker-item::after {
    content: '\00B7';
    margin-left: 1.5rem;
    color: rgba(255,255,255,0.2);
}
.ticker-item strong {
    color: var(--text-primary);
    margin-right: 0.5rem;
}
.ticker-item .value-up { color: var(--accent-green); }
.ticker-item .value-down { color: var(--accent-red); }

@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- 21. Hamburger + Mobile Menu ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 101;
    background: none;
    border: none;
    padding: 0;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(5, 5, 7, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    overflow-y: auto;
}
.mobile-menu.active { display: flex; }

.mobile-menu-section {
    margin-bottom: 1.5rem;
}
.mobile-menu-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    padding: 0 1rem;
}
.mobile-menu a {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background 0.15s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.06); }

.mobile-menu-ctas {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.mobile-menu-ctas .btn-primary,
.mobile-menu-ctas .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
}

/* ---------- 22. Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal.from-left {
    transform: translateX(-30px);
}
.reveal.from-left.revealed {
    transform: translateX(0);
}
.reveal.from-right {
    transform: translateX(30px);
}
.reveal.from-right.revealed {
    transform: translateX(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* Section-specific reveal variants */
.reveal-scale {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}
.reveal-fan-left {
    opacity: 0;
    transform: translateX(-40px) rotate(-2deg);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-fan-left.revealed {
    opacity: 1;
    transform: translateX(0) rotate(0);
}
.reveal-fan-right {
    opacity: 0;
    transform: translateX(40px) rotate(2deg);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-fan-right.revealed {
    opacity: 1;
    transform: translateX(0) rotate(0);
}
/* How It Works line draw */
@keyframes line-draw {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}
.steps-grid.revealed::before {
    animation: line-draw 1s ease-out 0.3s forwards;
    clip-path: inset(0 100% 0 0);
}

/* ---------- 23. FAQ Accordion ---------- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-group { margin-bottom: 2rem; }
.faq-group-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}
.faq-item {
    background: linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.005)) padding-box,
                linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) border-box;
    border: 1px solid transparent;
    border-radius: 14px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.faq-item:hover {
    box-shadow: 0 4px 20px rgba(94, 173, 184, 0.04);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
}
.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--accent-cyan);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}
.faq-question.active::after {
    content: '\2212';
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
}
.faq-answer.active {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}
.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ---------- 24. Responsive ---------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 1.25rem; }

    /* Nav */
    .nav-menu { display: none; }
    .nav-ctas { display: none; }
    .hamburger { display: flex; }
    .nav-logo img { height: 40px; }

    /* Hero */
    .hero { min-height: auto; padding: 7rem 0 3rem; }
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content { text-align: center; }
    .hero-visual { display: none; }
    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.15;
    }
    .hero h1 br { display: none; }
    .hero-tag { font-size: 0.65rem; padding: 0.3rem 0.8rem; }
    .hero-sub { font-size: 0.9rem; margin-bottom: 1.5rem; max-width: 100%; }
    .hero-bullets { text-align: left; display: inline-block; }
    .hero-ctas {
        flex-direction: column;
        gap: 0.75rem;
    }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    /* Sections */
    .section { padding: 5rem 0; }
    .section-header { margin-bottom: 3rem; }
    .section-title { font-size: 2rem; }
    .section-sub { font-size: 0.95rem; }

    /* Grids */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 4rem;
    }
    .grid-2.reversed .text-col { order: 0; }
    .text-col h3 { font-size: 1.5rem; }
    .text-col p { font-size: 0.9rem; }
    .feature-list li { font-size: 0.9rem; }

    .screenshot-placeholder { aspect-ratio: 4 / 3; }

    /* Connected */
    .connected-section { padding: 3rem 0; }
    .connected-section h3 { font-size: 1.2rem; }

    /* Edge */
    .edge-section { padding: 4rem 0; background-attachment: scroll; }
    .edge-grid { gap: 1rem; }
    .edge-card { padding: 1.5rem; }
    .edge-icon { width: 40px; height: 40px; border-radius: 10px; }
    .edge-icon svg { width: 20px; height: 20px; }

    /* AI */
    .ai-section { padding: 4rem 0; }
    .ai-message { font-size: 1.5rem; margin-bottom: 2rem; }
    .insight-grid { gap: 0.75rem; }
    .insight-pill {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
    }

    /* Steps */
    .how-section { padding: 4rem 0; }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .steps-grid::before { display: none; }

    /* Pricing */
    .pricing-cards {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .price-card {
        width: 100%;
        max-width: 360px;
        padding: 2rem;
    }
    .price-card.featured { transform: none; }
    .price { font-size: 2.5rem; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .site-footer { padding: 3rem 0 6rem; }

    /* Trust */
    .trust-flex {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }

    /* Ticker */
    .live-ticker-wrapper { padding: 0.6rem 0; }
    .ticker-item {
        font-size: 0.75rem;
        margin-right: 1rem;
    }
    .ticker-item::after { margin-left: 1rem; }

    /* Page header (sub-pages) */
    .page-header { padding: 7rem 0 3rem; }

    /* Content body */
    .content-body {
        padding: 6rem 1.25rem 3rem;
    }
    .content-body h1 { font-size: 1.8rem; }

    /* Stats bar */
    .stats-grid { gap: 2rem; flex-wrap: wrap; }
    .stat-number { font-size: 2rem; }
    .stat-suffix { font-size: 1.5rem; }

    /* Product tabs */
    .product-tab-buttons { gap: 0.35rem; }
    .product-tab { font-size: 0.8rem; padding: 0.5rem 1rem; }

    /* Ticker collapse */
    .live-ticker-wrapper.ticker-collapsed {
        transform: translateY(calc(100% - 4px));
    }
}

@media (max-width: 380px) {
    .hero h1 { font-size: 1.6rem; }
    .section-title { font-size: 1.75rem; }
    .ai-message { font-size: 1.3rem; }
}

/* ---------- 25. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.15s !important;
    }
    .reveal, .reveal-scale, .reveal-fan-left, .reveal-fan-right {
        opacity: 1 !important;
        transform: none !important;
    }
    .live-ticker-track { animation: none !important; }
    .ambient-bg { animation: none !important; }
    .ambient-bg::before,
    .ambient-bg::after { animation: none !important; }
    .card-journal, .card-whale, .card-insight {
        animation: none !important;
        opacity: 1 !important;
    }
    .ai-section::after { animation: none !important; }
    .spotlight-blob { display: none !important; }
    .live-ticker-wrapper { transition: none !important; }
    .product-panel { transition: none !important; }
    .steps-grid::before { animation: none !important; clip-path: none !important; }
    body { opacity: 1 !important; }
    html { scroll-behavior: auto; }
}
