@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─── Design Tokens ──────────────────────────────────────────────── */
:root {
    --bg-color:         #03030a;
    --bg-surface:       rgba(255,255,255,0.035);
    --bg-surface-hover: rgba(255,255,255,0.07);
    --bg-glass:         rgba(10,10,25,0.7);
    --text-primary:     #f8fafc;
    --text-secondary:   #94a3b8;
    --text-muted:       #3d4f67;
    --accent:           #8b5cf6;
    --accent-light:     #a78bfa;
    --accent-2:         #3b82f6;
    --accent-3:         #06b6d4;
    --accent-pink:      #ec4899;
    --green:            #22c55e;
    --gradient-main:    linear-gradient(135deg, #8b5cf6 0%, #3b82f6 55%, #06b6d4 100%);
    --gradient-warm:    linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #3b82f6 100%);
    --gradient-glow:    linear-gradient(135deg, rgba(139,92,246,0.55) 0%, rgba(59,130,246,0.35) 100%);
    --border:           rgba(255,255,255,0.07);
    --border-accent:    rgba(139,92,246,0.4);
    --border-subtle:    rgba(255,255,255,0.05);
    --shadow-card:      0 8px 40px rgba(0,0,0,0.5);
    --shadow-glow:      0 0 80px rgba(139,92,246,0.2);
    --shadow-glow-lg:   0 0 120px rgba(139,92,246,0.3);
    --radius-card:      28px;
    --radius-lg:        20px;
    --radius-pill:      999px;
    --font-body:        'Inter', sans-serif;
    --font-display:     'Space Grotesk', sans-serif;
    --font-mono:        'JetBrains Mono', monospace;
    --ease:             cubic-bezier(0.25, 0.8, 0.25, 1);
    --ease-spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out:         cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base:  0.3s var(--ease);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Custom Cursor ──────────────────────────────────────────────── */
.cursor-dot,
.cursor-ring {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--accent-light);
    box-shadow: 0 0 12px var(--accent);
}
.cursor-ring {
    width: 40px; height: 40px;
    border: 1.5px solid rgba(139,92,246,0.5);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s;
    backdrop-filter: blur(2px);
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
    width: 60px; height: 60px;
    border-color: rgba(139,92,246,0.8);
}

/* ─── Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--accent), var(--accent-2));
    border-radius: 99px;
}

/* ─── Noise Texture ──────────────────────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.7;
}

/* ─── Canvas particles ───────────────────────────────────────────── */
#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* ─── Background Blobs ───────────────────────────────────────────── */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(130px);
    z-index: 0;
    pointer-events: none;
    will-change: transform;
    animation: blobDrift 22s ease-in-out infinite alternate;
}
.blob-1 {
    width: 750px; height: 750px;
    background: radial-gradient(circle, rgba(139,92,246,0.32), transparent 68%);
    top: -250px; left: -250px;
    animation-duration: 26s;
}
.blob-2 {
    width: 650px; height: 650px;
    background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 68%);
    top: 35%; right: -280px;
    animation-duration: 20s;
    animation-delay: -7s;
}
.blob-3 {
    width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(6,182,212,0.18), transparent 68%);
    bottom: -180px; left: 25%;
    animation-duration: 24s;
    animation-delay: -12s;
}
.blob-4 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(236,72,153,0.12), transparent 68%);
    top: 60%; left: 10%;
    animation-duration: 30s;
    animation-delay: -4s;
}

@keyframes blobDrift {
    0%   { transform: translate(0,0) scale(1); }
    33%  { transform: translate(70px,-50px) scale(1.06); }
    66%  { transform: translate(-40px,60px) scale(0.97); }
    100% { transform: translate(20px,-20px) scale(1.02); }
}

/* ─── Layout ─────────────────────────────────────────────────────── */
.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* ─── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }

p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-warm {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Navigation ─────────────────────────────────────────────────── */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.1rem 0;
    transition: all 0.5s var(--ease);
}

header.scrolled {
    background: rgba(3,3,10,0.8);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03);
    padding: 0.7rem 0;
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo img {
    border-radius: 10px;
    box-shadow: 0 0 24px rgba(139,92,246,0.55);
    transition: transform 0.35s var(--ease-spring), box-shadow 0.3s;
}
.logo:hover img {
    transform: rotate(-10deg) scale(1.12);
    box-shadow: 0 0 36px rgba(139,92,246,0.85);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.93rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    transition: all 0.25s var(--ease);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-surface-hover);
}

.nav-cta {
    background: var(--gradient-main) !important;
    color: white !important;
    padding: 0.5rem 1.3rem !important;
    box-shadow: 0 4px 18px rgba(139,92,246,0.35);
    transition: all 0.3s var(--ease) !important;
}
.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(139,92,246,0.55) !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    transition: background var(--transition-base);
}
.nav-toggle:hover { background: var(--bg-surface-hover); }
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text-primary);
    border-radius: 99px;
    transition: all 0.3s var(--ease);
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.9rem 2.1rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-body);
    text-decoration: none;
    transition: all 0.35s var(--ease);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.25s;
    border-radius: inherit;
}
.btn:hover::after { background: rgba(255,255,255,0.06); }

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 28px rgba(139,92,246,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(139,92,246,0.6), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

/* ─── Badge ──────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(139,92,246,0.4);
    background: rgba(139,92,246,0.1);
    color: #c4b5fd;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

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

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

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 5rem;
    align-items: center;
    padding: 11rem 0 9rem;
    position: relative;
}

/* Animated grid lines background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139,92,246,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139,92,246,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    pointer-events: none;
}

.hero-content { z-index: 2; }
.hero h1 { margin-bottom: 1.5rem; }
.hero > .hero-content > p {
    font-size: 1.18rem;
    max-width: 520px;
    margin-bottom: 2.75rem;
    line-height: 1.8;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 0; }

/* Typing cursor */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent-light);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
    border-radius: 2px;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Store Badges */
.store-badges {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s var(--ease);
}
.store-badge:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
    background: var(--bg-surface-hover);
    transform: translateY(-1px);
}

/* Hero image */
.hero-image-wrapper {
    position: relative;
    z-index: 2;
    perspective: 1400px;
}

.hero-image-inner {
    position: relative;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}
.hero-image-wrapper:hover .hero-image-inner {
    transform: rotateY(0deg) rotateX(0deg);
}

.hero-image {
    width: 100%;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
        0 50px 100px -20px rgba(0,0,0,0.75),
        0 0 80px rgba(139,92,246,0.2),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Image frame overlay */
.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 33px;
    background: var(--gradient-main);
    opacity: 0.12;
    z-index: -1;
    filter: blur(20px);
}

/* Glow ring */
.hero-glow-ring {
    position: absolute;
    inset: -40px;
    border-radius: 48px;
    background: var(--gradient-glow);
    filter: blur(70px);
    opacity: 0.45;
    z-index: -1;
    animation: ringPulse 5s ease-in-out infinite;
}

@keyframes ringPulse {
    0%,100% { opacity:0.35; transform:scale(1); }
    50%      { opacity:0.6; transform:scale(1.05); }
}

/* Floating chips */
.hero-chip {
    position: absolute;
    background: rgba(5,5,15,0.88);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 0.7rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
    white-space: nowrap;
    z-index: 3;
    animation: floatChip 6s ease-in-out infinite;
}

.chip-1 { top: 8%; left: -70px; animation-delay: 0s; }
.chip-2 { bottom: 18%; right: -70px; animation-delay: -2.5s; }
.chip-3 { top: 52%; left: -80px; animation-delay: -1.2s; }

.chip-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.chip-dot.green  { background: #22c55e; box-shadow: 0 0 10px rgba(34,197,94,0.7); }
.chip-dot.purple { background: var(--accent-light); box-shadow: 0 0 10px rgba(167,139,250,0.7); }
.chip-dot.blue   { background: var(--accent-3); box-shadow: 0 0 10px rgba(6,182,212,0.7); }

@keyframes floatChip {
    0%,100% { transform: translateY(0px) rotate(0deg); }
    33%     { transform: translateY(-8px) rotate(0.5deg); }
    66%     { transform: translateY(4px) rotate(-0.5deg); }
}

/* ─── Stats Strip ────────────────────────────────────────────────── */
.stats-strip {
    padding: 4.5rem 0;
    position: relative;
    z-index: 2;
}

.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(139,92,246,0.05) 30%,
        rgba(59,130,246,0.05) 70%,
        transparent);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    text-align: center;
    position: relative;
}

.stat-item {
    padding: 1.5rem 2rem;
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* ─── Section Titles ─────────────────────────────────────────────── */
.section-title {
    text-align: center;
    margin-bottom: 5rem;
}
.section-title h2 { margin-bottom: 1.2rem; }
.section-title p {
    margin: 0 auto;
    max-width: 560px;
    font-size: 1.1rem;
}

.section-divider {
    width: 56px; height: 3px;
    background: var(--gradient-main);
    border-radius: 99px;
    margin: 0 auto 1.25rem;
    position: relative;
}
.section-divider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-main);
    border-radius: 99px;
    filter: blur(6px);
    opacity: 0.6;
}

/* ─── Features ───────────────────────────────────────────────────── */
.features { padding: 8rem 0; position: relative; }

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

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 2.75rem;
    transition: all 0.45s var(--ease);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    cursor: default;
}

/* Mouse-follow spotlight */
.feature-card::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: calc(var(--mouse-y, 50%) - 150px);
    left: calc(var(--mouse-x, 50%) - 150px);
    transition: opacity 0.4s;
    opacity: 0;
    pointer-events: none;
}

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

/* Top-border accent glow */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.45s var(--ease);
}

.feature-card:hover {
    transform: translateY(-14px);
    border-color: rgba(139,92,246,0.35);
    box-shadow: 0 28px 70px rgba(0,0,0,0.4), var(--shadow-glow);
    background: rgba(255,255,255,0.045);
}
.feature-card:hover::after { opacity: 1; }

.feature-icon {
    width: 64px; height: 64px;
    border-radius: 20px;
    background: var(--gradient-main);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 2rem;
    color: white;
    box-shadow: 0 8px 28px rgba(139,92,246,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: transform 0.45s var(--ease-spring);
    flex-shrink: 0;
}

.feature-card:hover .feature-icon {
    transform: scale(1.12) rotate(-6deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
}

.feature-card p {
    font-size: 0.97rem;
    line-height: 1.75;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.71rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--accent-light);
    margin-bottom: 0.6rem;
    opacity: 0.85;
    font-family: var(--font-mono);
}

/* Highlighted feature (first card — spans larger) */
.feature-card.feature-highlight {
    grid-column: span 1;
}

/* ─── Tech Stack Strip ───────────────────────────────────────────── */
.tech-strip {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.tech-strip-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.tech-scroll-wrapper {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.tech-scroll {
    display: flex;
    gap: 1.5rem;
    animation: techScroll 30s linear infinite;
    width: max-content;
}

.tech-scroll:hover { animation-play-state: paused; }

.tech-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.4rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.25s;
}

.tech-pill:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
    background: var(--bg-surface-hover);
}

.tech-pill-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

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

/* ─── How It Works ───────────────────────────────────────────────── */
.how-it-works { padding: 8rem 0; position: relative; }

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

/* Connector line */
.steps-grid::after {
    content: '';
    position: absolute;
    top: 44px;
    left: calc(16.66% + 1.5rem);
    right: calc(16.66% + 1.5rem);
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
    opacity: 0.25;
}

.step-card {
    text-align: center;
    padding: 2.75rem 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    backdrop-filter: blur(12px);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
    border-radius: 0 0 var(--radius-card) var(--radius-card);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-accent);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35), var(--shadow-glow);
    background: rgba(255,255,255,0.045);
}
.step-card:hover::before { transform: scaleX(1); }

.step-number {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: white;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.75rem;
    box-shadow: 0 8px 24px rgba(139,92,246,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: transform 0.4s var(--ease-spring);
}
.step-card:hover .step-number { transform: scale(1.1); }

.step-card h3 { margin-bottom: 0.85rem; }
.step-card p { font-size: 0.97rem; margin: 0; }

/* ─── Testimonials ───────────────────────────────────────────────── */
.testimonials { padding: 8rem 0; position: relative; }

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

.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 2.25rem;
    backdrop-filter: blur(14px);
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem; right: 1.5rem;
    font-size: 5rem;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--accent);
    opacity: 0.08;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), var(--shadow-glow);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
}
.testimonial-stars svg {
    color: #fbbf24;
    fill: #fbbf24;
}

.testimonial-text {
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--text-secondary);
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
    font-family: var(--font-display);
}
.avatar-1 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.avatar-2 { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.avatar-3 { background: linear-gradient(135deg, #22c55e, #3b82f6); }
.avatar-4 { background: linear-gradient(135deg, #f59e0b, #ec4899); }
.avatar-5 { background: linear-gradient(135deg, #06b6d4, #8b5cf6); }
.avatar-6 { background: linear-gradient(135deg, #ec4899, #f59e0b); }

.author-info { flex: 1; }
.author-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
}
.author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ─── CTA Banner ─────────────────────────────────────────────────── */
.cta-section { padding: 8rem 0; }

.cta-card {
    background: var(--bg-glass);
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 36px;
    padding: 6rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

/* Animated gradient border */
.cta-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 37px;
    background: var(--gradient-main);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s;
}

.cta-card:hover::before { opacity: 0.15; }

.cta-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at var(--glow-x, 50%) var(--glow-y, 100%), rgba(139,92,246,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 20% 0%, rgba(59,130,246,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-card h2 { margin-bottom: 1.2rem; }
.cta-card p  { margin: 0 auto 3rem; max-width: 500px; font-size: 1.1rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Download info chips */
.download-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.download-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.download-meta-item svg { color: var(--green); }

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

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color var(--transition-base);
}
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-copy {
    font-size: 0.83rem;
    color: var(--text-muted);
}

.footer-tech-badges {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.7rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

/* ─── Privacy page ───────────────────────────────────────────────── */
.privacy-container {
    max-width: 800px;
    padding: 9rem 2rem 6rem;
}

.privacy-content h2 {
    font-size: 1.3rem;
    margin: 2.75rem 0 0.85rem;
    color: var(--text-primary);
    padding-left: 1rem;
    border-left: 3px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.privacy-content p, .privacy-content li {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.privacy-content ul {
    margin-bottom: 1.75rem;
    padding-left: 1.75rem;
}

.privacy-content ul li { list-style: disc; }
.privacy-content a { color: var(--accent-light); text-decoration: none; }
.privacy-content a:hover { color: #c4b5fd; text-decoration: underline; }

/* ─── Scroll Reveal ──────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9) translateY(24px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-scale.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid .testimonial-card:last-child { display: none; }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4.5rem;
        padding: 9rem 0 7rem;
    }
    .hero > .hero-content > p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .store-badges { justify-content: center; }
    .hero-image-inner { transform: none !important; }
    .chip-1, .chip-2, .chip-3 { display: none; }
    .steps-grid::after { display: none; }
}

@media (max-width: 768px) {
    .cursor-dot, .cursor-ring { display: none; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        top: 60px;
        bottom: auto;
        height: calc(100vh - 60px);
        height: calc(100dvh - 60px);
        background: rgba(3,3,10,0.97);
        backdrop-filter: blur(28px);
        padding: 2.5rem 2rem;
        gap: 0.5rem;
        z-index: 99;
        border-top: 1px solid var(--border);
    }
    .nav-links.open a { font-size: 1.25rem; padding: 1rem 1.25rem; border-radius: 16px; }
    .nav-toggle { display: flex; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); }
    .stat-item:not(:last-child)::after { display: none; }
    .stat-item:last-child { border-bottom: none; }
    .steps-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid .testimonial-card:last-child { display: flex; }
    .cta-card { padding: 3.5rem 1.75rem; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    .cta-buttons { flex-direction: column; align-items: stretch; }
    .download-meta { gap: 1rem; flex-direction: column; }
}
