/* ============================================
   ChatShift — Redesign v6
   Font: DM Sans (headlines) + Outfit (body)
   Background: Teal/cyan gradient mesh (no purple)
   Features: Auto-cycling card glow, expanded vault,
             before/after, privacy, how-it-works
   ============================================ */

/* Audrey font faces */
@font-face {
    font-family: 'Audrey';
    font-weight: 700;
    font-style: normal;
    src: url('./fonts/Audrey-Bold.woff2') format('woff2'),
         url('./fonts/Audrey-Bold.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'Audrey';
    font-weight: 700;
    font-style: italic;
    src: url('./fonts/Audrey-BoldOblique.woff2') format('woff2'),
         url('./fonts/Audrey-BoldOblique.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'Audrey';
    font-weight: 500;
    font-style: normal;
    src: url('./fonts/Audrey-Medium.woff2') format('woff2'),
         url('./fonts/Audrey-Medium.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'Audrey';
    font-weight: 400;
    font-style: normal;
    src: url('./fonts/Audrey-Normal.woff2') format('woff2'),
         url('./fonts/Audrey-Normal.woff') format('woff');
    font-display: swap;
}

@property --card-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

:root {
    --bg: #06080f;
    --surface: #0e1219;
    --surface-bright: #141a24;
    --text: #e8ecf2;
    --text-muted: #7b889e;
    --accent: #6CC8E4;
    --accent-bright: #90ddf5;
    --accent-glow: rgba(108, 200, 228, 0.3);
    --accent-dim: rgba(108, 200, 228, 0.1);
    --teal-deep: rgba(30, 120, 160, 0.25);
    --teal-mid: rgba(60, 180, 210, 0.18);
    --teal-light: rgba(100, 210, 240, 0.12);
    --cyan-warm: rgba(80, 200, 200, 0.1);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --negative: #e05252;
    --negative-dim: rgba(224, 82, 82, 0.1);
    --positive: #4ade80;
    --positive-dim: rgba(74, 222, 128, 0.1);
    --radius: 20px;
    --radius-sm: 12px;
    --font-display: 'DM Sans', sans-serif;
    --font-accent: 'Kaushan Script', cursive;
    --font-body: 'Outfit', sans-serif;
    --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Accent font class */
.accent-font {
    font-family: var(--font-accent);
    font-weight: 400;
    font-size: 130%;
    font-style: normal;
    letter-spacing: 0.01em;
    margin-right: 0.15em;
}

/* Cursor glow */
.cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 200, 228, 0.12) 0%, rgba(108, 200, 228, 0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, opacity 0.3s ease;
    opacity: 0;
    will-change: transform;
}

.cursor-glow.active {
    opacity: 1;
}

/* Cursor outer halo */
.cursor-halo {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 200, 228, 0.04) 0%, rgba(108, 200, 228, 0.015) 40%, transparent 70%);
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    opacity: 0;
    will-change: transform;
}

.cursor-halo.active {
    opacity: 1;
}

/* Text reveal on scroll */
.text-reveal {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.8s cubic-bezier(0.65, 0.05, 0, 1);
}

.text-reveal.visible {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Hero fade-in using CSS keyframes (no JS needed) */
.hero-fade {
    opacity: 0;
    transform: translateY(25px);
    animation: heroFadeIn 0.7s var(--ease) forwards;
    animation-delay: var(--hero-delay, 0s);
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ============================================
   Background — teal/cyan gradient mesh
   ============================================ */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.bg-glow--1 {
    width: 70vw;
    height: 65vh;
    top: -15%;
    left: -5%;
    background: radial-gradient(ellipse at center, var(--teal-deep) 0%, transparent 65%);
    filter: blur(80px);
    animation: glow-drift-1 24s ease-in-out infinite;
}

.bg-glow--2 {
    width: 55vw;
    height: 55vh;
    top: 5%;
    right: -12%;
    background: radial-gradient(ellipse at center, var(--teal-mid) 0%, transparent 60%);
    filter: blur(90px);
    animation: glow-drift-2 20s ease-in-out infinite;
}

.bg-glow--3 {
    width: 50vw;
    height: 40vh;
    bottom: 0%;
    left: 15%;
    background: radial-gradient(ellipse at center, var(--cyan-warm) 0%, transparent 60%);
    filter: blur(100px);
    animation: glow-drift-3 28s ease-in-out infinite;
}

@keyframes glow-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, 20px) scale(1.05); }
    66% { transform: translate(-30px, -10px) scale(0.97); }
}
@keyframes glow-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-35px, 25px) scale(1.03); }
}
@keyframes glow-drift-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(25px, -20px) scale(1.06); }
    80% { transform: translate(-15px, 15px) scale(0.96); }
}

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

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(6, 8, 15, 0.7);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.nav-logo-img { height: 40px; width: auto; }

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links { display: flex; align-items: center; gap: 2.5rem; }

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s var(--ease);
}

.nav-link:hover { color: var(--text); }

.nav-link--cta {
    color: var(--bg);
    background: var(--accent);
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-link--cta:hover {
    color: var(--bg);
    background: var(--accent-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 4rem;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border: 1px solid var(--border-hover);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.03);
}

.hero-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 4.8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title-accent {
    color: var(--accent);
    font-size: 150%;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions { margin-bottom: 2rem; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.btn-primary:hover {
    background: var(--accent-bright);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--accent-glow);
}

.btn-primary:active { transform: translateY(-1px); }

.btn-primary--large {
    padding: 20px 44px;
    font-size: 1.1rem;
}

.hero-pricing {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.pricing-pill { font-size: 0.95rem; color: var(--text-muted); font-weight: 300; }
.pricing-free { font-weight: 600; color: var(--text); }
.pricing-paid { font-weight: 600; color: var(--accent); }
.pricing-divider { width: 1px; height: 20px; background: var(--border-hover); }

/* ============================================
   Hero Visual — Expanded Vault Mockup
   ============================================ */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.vault-panel {
    background: var(--surface);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    overflow: hidden;
    transform: rotateY(-8deg) rotateX(4deg);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.vault-panel:hover {
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6), 0 0 60px var(--accent-dim), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.vault-header {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.4);
}

.vault-dots { display: flex; gap: 6px; }
.vault-dots span { width: 10px; height: 10px; border-radius: 50%; }
.vault-dots span:nth-child(1) { background: #ff5f57; }
.vault-dots span:nth-child(2) { background: #febc2e; }
.vault-dots span:nth-child(3) { background: #28c840; }

.vault-label {
    margin-left: auto; margin-right: auto;
    font-size: 0.8rem; color: var(--text-muted);
    font-weight: 500; letter-spacing: 0.02em;
}

.vault-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 360px;
}

/* Search bar in vault */
.vault-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.vault-search svg {
    opacity: 0.5;
    flex-shrink: 0;
}

/* Source items */
.vault-sources {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vault-source {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.vault-source--gpt { animation: source-pulse 4s ease-in-out infinite; }
.vault-source--claude { animation: source-pulse 4s ease-in-out 1.3s infinite; }
.vault-source--gemini { animation: source-pulse 4s ease-in-out 2.6s infinite; }

@keyframes source-pulse {
    0%, 100% { border-color: var(--border); }
    50% { border-color: var(--border-hover); }
}

.vault-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.vault-icon--gpt { background: #10a37f; }
.vault-icon--claude { background: #cc785c; }
.vault-icon--gemini { background: #4285f4; }

.vault-source-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.vault-source-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}

.vault-source-count {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.vault-source-arrow {
    color: var(--accent);
    opacity: 0.5;
    animation: arrow-bounce 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

/* Vault destination */
.vault-destination {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--accent-dim);
    border: 1px solid rgba(108, 200, 228, 0.15);
    margin-top: 4px;
}

.vault-dest-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vault-dest-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.vault-dest-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-bright);
}

.vault-dest-status {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.vault-dest-lock {
    color: var(--accent);
    opacity: 0.6;
    flex-shrink: 0;
}

.vault-progress {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}
.vault-progress span { font-size: 0.7rem; color: var(--text-muted); }

.vault-progress-bar {
    height: 3px; border-radius: 2px; background: var(--border);
    overflow: hidden; position: relative;
}

.vault-progress-bar::after {
    content: '';
    position: absolute; left: 0; top: 0; height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright));
    border-radius: 2px;
    animation: progress-fill 3s ease-in-out infinite;
}

@keyframes progress-fill {
    0% { width: 0; opacity: 0.6; }
    50% { width: 80%; opacity: 1; }
    100% { width: 100%; opacity: 0.6; }
}

/* Floating orbs */
.floating-orb {
    position: absolute; border-radius: 50%;
    filter: blur(1px); opacity: 0.5; pointer-events: none;
    --parallax-x: 0px;
    --parallax-y: 0px;
}

.floating-orb--1 {
    width: 44px; height: 44px; top: 5%; right: -14px;
    background: var(--accent);
    animation: float 6s ease-in-out infinite;
}

.floating-orb--2 {
    width: 26px; height: 26px; bottom: 15%; left: -10px;
    background: var(--accent-bright);
    animation: float 4s ease-in-out infinite reverse;
}

.floating-orb--3 {
    width: 18px; height: 18px; top: 50%; right: -20px;
    background: var(--accent);
    opacity: 0.3;
    animation: float 5s ease-in-out 1s infinite;
}

@keyframes float {
    0% { transform: translate(var(--parallax-x), var(--parallax-y)) translateY(0); }
    50% { transform: translate(var(--parallax-x), var(--parallax-y)) translateY(-16px); }
    100% { transform: translate(var(--parallax-x), var(--parallax-y)) translateY(0); }
}

/* ============================================
   Platform Logo Strip
   ============================================ */
.platforms {
    position: relative;
    z-index: 1;
    padding: 3rem 0 4rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.platforms-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.platforms-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.platforms-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.platform-dot--gpt { background: #10a37f; box-shadow: 0 0 8px rgba(16, 163, 127, 0.4); }
.platform-dot--claude { background: #cc785c; box-shadow: 0 0 8px rgba(204, 120, 92, 0.4); }
.platform-dot--gemini { background: #4285f4; box-shadow: 0 0 8px rgba(66, 133, 244, 0.4); }
.platform-dot--copilot { background: #8b5cf6; box-shadow: 0 0 8px rgba(139, 92, 246, 0.4); }

.platform-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: -0.01em;
}

/* ============================================
   Problem Statement
   ============================================ */
.problem {
    position: relative;
    z-index: 1;
    padding: 7rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.problem-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.problem-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 4rem;
}

.problem-heading-accent { color: var(--accent); }

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.problem-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color 0.3s var(--ease), transform 0.4s var(--ease-spring), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

/* Cursor-reactive card glow on problem cards (uses ::before) */
.problem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(
        300px circle at var(--local-x, 50%) var(--local-y, 50%),
        rgba(108, 200, 228, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 1;
}

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

/* Sliding bottom border on hover */
.problem-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.problem-card:hover::after {
    transform: scaleX(1);
}

.problem-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    background: var(--surface-bright);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.problem-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--accent-dim);
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease);
}

.problem-card:hover .problem-icon {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 0 24px var(--accent-glow);
}

.problem-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    transition: color 0.3s var(--ease);
}

.problem-card:hover .problem-title {
    color: var(--accent);
}

.problem-desc {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ============================================
   How It Works
   ============================================ */
.how-it-works {
    position: relative;
    z-index: 1;
    padding: 7rem 0;
}

.how-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.how-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 5rem;
}

.how-heading-accent { color: var(--accent); }

.how-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.how-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 260px;
    padding: 0 1rem;
}

.how-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px var(--accent-glow);
}

.how-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--accent-dim);
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.how-step-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.how-step-desc {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.7;
}

.how-connector {
    display: flex;
    align-items: center;
    padding-top: 18px;
    color: var(--text-muted);
    opacity: 0.3;
    flex-shrink: 0;
}

/* How-it-works step animation */
.anim-step {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.anim-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Features — Auto-cycling card glow
   ============================================ */
.features {
    position: relative;
    z-index: 1;
    padding: 6rem 0 8rem;
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.features-heading {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
    text-align: center;
}

.features-heading-accent {
    color: var(--accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Feature card */
.feature-card {
    padding: 2.5rem 2rem;
    background: var(--surface);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}

/* Animated gradient border — controlled by JS cycling */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: conic-gradient(
        from var(--card-angle, 0deg),
        transparent 0%,
        var(--accent) 10%,
        var(--accent-bright) 15%,
        transparent 25%
    );
    -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.5s var(--ease);
    animation: border-spin 4s linear infinite;
}

/* Active state — set by JS auto-cycling */
.feature-card.card-active::before {
    opacity: 1;
}

.feature-card.card-active {
    transform: scale(1.02);
    background: var(--surface-bright);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px var(--accent-dim);
}

@keyframes border-spin {
    to { --card-angle: 360deg; }
}

/* Cursor-reactive card glow on feature cards (uses ::after) */
.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(
        300px circle at var(--local-x, 50%) var(--local-y, 50%),
        rgba(108, 200, 228, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 2;
}

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

/* Staggered fan-in animation for cards */
.feature-card.anim-reveal {
    opacity: 0;
    transform: translateY(60px) rotate(3deg) scale(0.95);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease-spring);
}

.feature-card.anim-reveal:nth-child(2) {
    transform: translateY(80px) rotate(-2deg) scale(0.95);
    transition-delay: 0.15s;
}

.feature-card.anim-reveal:nth-child(3) {
    transform: translateY(70px) rotate(4deg) scale(0.95);
    transition-delay: 0.3s;
}

.feature-card.anim-reveal.visible {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
}

.feature-card.anim-reveal.visible.card-active {
    transform: scale(1.02);
}

/* Feature number */
.feature-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1.5rem;
    opacity: 0.15;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease-spring);
}

.feature-card.card-active .feature-number {
    opacity: 0.4;
    transform: scale(1.1);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    transition: color 0.3s var(--ease);
}

.feature-card.card-active .feature-title {
    color: var(--accent-bright);
}

.feature-desc {
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   Before / After Comparison
   ============================================ */
.comparison {
    position: relative;
    z-index: 1;
    padding: 7rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.comparison-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.comparison-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 4rem;
}

.comparison-heading-accent { color: var(--accent); }

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comparison-col {
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
}

.comparison-col--before {
    background: var(--negative-dim);
    border-color: rgba(224, 82, 82, 0.15);
}

.comparison-col--after {
    background: var(--positive-dim);
    border-color: rgba(74, 222, 128, 0.15);
}

.comparison-col-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.comparison-col-header--before {
    color: var(--negative);
}

.comparison-col-header--after {
    color: var(--positive);
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-muted);
}

.comparison-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.comparison-item--negative svg { color: var(--negative); opacity: 0.7; }
.comparison-item--positive svg { color: var(--positive); opacity: 0.7; }

/* Slide-in animations */
.anim-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.anim-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.anim-slide-left.visible,
.anim-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Privacy / Trust
   ============================================ */
.privacy {
    position: relative;
    z-index: 1;
    padding: 7rem 0;
    text-align: center;
}

.privacy-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.privacy-shield {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: var(--accent-dim);
    color: var(--accent);
    margin-bottom: 2rem;
}

.privacy-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.privacy-heading-accent {
    color: var(--accent);
    font-style: italic;
}

.privacy-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.privacy-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--accent);
}

.privacy-node span {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
}

.privacy-arrow {
    color: var(--accent);
    opacity: 0.6;
    flex-shrink: 0;
}

.privacy-tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
}

/* ============================================
   Final CTA
   ============================================ */
.cta {
    position: relative;
    z-index: 1;
    padding: 7rem 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}

.cta-heading-accent { color: var(--accent); }

.cta-actions {
    margin-bottom: 1.5rem;
}

.cta-pricing {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
}

.cta-pricing-accent {
    color: var(--accent);
    font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    position: relative; z-index: 1;
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.footer-top {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--text);
}

.footer-logo-img { height: 36px; width: auto; border-radius: 4px; }

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem; font-weight: 700;
}

.footer-links { display: flex; gap: 2rem; }

.footer-links a {
    color: var(--text-muted); text-decoration: none;
    font-size: 0.875rem; transition: color 0.3s var(--ease);
}

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

.footer-bottom {
    text-align: center; padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted); font-size: 0.8rem;
}

/* ============================================
   3D Tilt on problem cards & comparison columns
   ============================================ */
.problem-grid {
    perspective: 800px;
}

.problem-card {
    transform-style: preserve-3d;
}

.comparison-grid {
    perspective: 800px;
}

.comparison-col {
    transform-style: preserve-3d;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.comparison-col:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Reveal Animations
   ============================================ */
.anim-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: calc(var(--delay, 0) * 0.12s);
}

.anim-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { display: flex; justify-content: center; }
    .hero-pricing { justify-content: center; }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .vault-panel { transform: rotateY(0) rotateX(0); }
    .features-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .problem-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .how-steps { flex-direction: column; align-items: center; gap: 2rem; }
    .how-connector { transform: rotate(90deg); }
    .comparison-grid { grid-template-columns: 1fr; }
    .nav-links .nav-link:not(.nav-link--cta) { display: none; }
}

@media (max-width: 768px) {
    .hero { min-height: auto; padding-top: 120px; padding-bottom: 2rem; }
    .hero-sub { font-size: 1.05rem; }
    .hero-pricing { flex-direction: column; gap: 0.5rem; }
    .pricing-divider { display: none; }
    .platforms-logos { gap: 1.5rem; }
    .platform-name { font-size: 0.9rem; }
    .privacy-diagram { flex-direction: column; gap: 1.5rem; }
    .privacy-arrow { transform: rotate(90deg); }
    .footer-top { flex-direction: column; gap: 2rem; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .comparison-grid { gap: 1.5rem; }
    .anim-slide-left { transform: translateY(40px); }
    .anim-slide-right { transform: translateY(40px); }
    .cursor-glow { display: none; }
    .cursor-halo { display: none; }
    .problem-grid { perspective: none; }
    .comparison-grid { perspective: none; }
}

@media (max-width: 480px) {
    .how-step { max-width: 100%; }
    .btn-primary--large { padding: 16px 32px; font-size: 1rem; }
}
