/* ═══════════════════════════════════════════════════════════════════
   CLARY — Premium Design System
   A luxurious, distinctive, immersive aesthetic
   ═══════════════════════════════════════════════════════════════════ */

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

/* ═══════════════════════════════════════════════════════════════════
   CSS VARIABLES — Design Tokens
   ═══════════════════════════════════════════════════════════════════ */
:root {
    /* Brand Colors — Teal/Cyan Gradient */
    --brand-primary: #2DD4BF;
    --brand-secondary: #14B8A6;
    --brand-accent: #06B6D4;
    --brand-glow: rgba(45, 212, 191, 0.4);
    --brand-gradient: linear-gradient(135deg, #5EEAD4 0%, #2DD4BF 25%, #14B8A6 50%, #06B6D4 75%, #0891B2 100%);
    --brand-gradient-text: linear-gradient(135deg, #5EEAD4 0%, #2DD4BF 50%, #06B6D4 100%);

    /* Dark Theme */
    --bg-deep: #050508;
    --bg-primary: #0A0A0F;
    --bg-secondary: #12121A;
    --bg-elevated: #1A1A24;
    --bg-card: rgba(20, 20, 30, 0.7);

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --text-tertiary: #6B7280;
    --text-muted: #4B5563;

    /* Borders & Effects */
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-visible: rgba(255, 255, 255, 0.1);
    --border-active: rgba(45, 212, 191, 0.4);

    /* Semantic */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Typography */
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-base: 300ms;
    --duration-slow: 500ms;
}

/* ═══════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

::selection {
    background: var(--brand-primary);
    color: var(--bg-deep);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ═══════════════════════════════════════════════════════════════════
   IMMERSIVE BACKGROUND SYSTEM
   ═══════════════════════════════════════════════════════════════════ */
.bg-pattern {
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(45, 212, 191, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
        var(--bg-deep);
    pointer-events: none;
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    z-index: -1;
    pointer-events: none;
}

.bg-glow-1 {
    width: 800px;
    height: 800px;
    top: -400px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, var(--brand-glow) 0%, transparent 60%);
    filter: blur(80px);
    opacity: 0.5;
    animation: pulse-glow 8s ease-in-out infinite;
}

.bg-glow-2 {
    width: 600px;
    height: 600px;
    bottom: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
    filter: blur(100px);
    opacity: 0.3;
    animation: float 15s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1.1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(-30px, 20px);
    }

    66% {
        transform: translate(20px, -30px);
    }
}

/* ═══════════════════════════════════════════════════════════════════
   TYPOGRAPHY SYSTEM
   ═══════════════════════════════════════════════════════════════════ */
.text-display {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.text-display-lg {
    font-size: clamp(3rem, 8vw, 5.5rem);
}

.text-display-md {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.text-display-sm {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

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

.text-body-lg {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
}

.text-body {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
}

.text-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-primary);
}

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT SYSTEM
   ═══════════════════════════════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: 900px;
}

.section {
    padding: var(--space-24) 0;
    position: relative;
}

.section-lg {
    padding: var(--space-32) 0;
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-4) 0;
    transition: all var(--duration-base) var(--ease-out);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-out);
}

.header.scrolled::before {
    opacity: 1;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: var(--space-2) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: width var(--duration-base) var(--ease-out);
}

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

.nav-link:hover::after {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--brand-gradient);
    color: var(--bg-deep);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 4px 20px rgba(45, 212, 191, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 8px 40px rgba(45, 212, 191, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

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

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-visible);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--border-active);
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--space-5) var(--space-8);
    font-size: 1rem;
    border-radius: var(--radius-xl);
}

.btn-icon {
    font-size: 1.1em;
}

.btn-nav {
    padding: var(--space-3) var(--space-5);
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO SECTION — Immersive & Bold
   ═══════════════════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s var(--ease-out) both;
}

.hero-eyebrow i {
    font-size: 0.9em;
}

.hero-title {
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

.hero-subtitle {
    max-width: 480px;
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
    animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

/* Hero Stats — Minimal & Bold */
.hero-proof {
    display: flex;
    gap: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-subtle);
    animation: fadeInUp 0.6s var(--ease-out) 0.4s both;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* Hero Visual — Phone Mockup Stack */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    animation: fadeIn 1s var(--ease-out) 0.3s both;
}

.phone-stack {
    position: relative;
    width: 280px;
    height: 580px;
    perspective: 1200px;
}

.phone-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    background: var(--bg-elevated);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.7),
        0 30px 60px -30px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: all 0.6s var(--ease-spring);
    cursor: pointer;
}

.phone-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-card:nth-child(1) {
    transform: translateX(-60%) rotate(-12deg) scale(0.9);
    z-index: 1;
}

.phone-card:nth-child(2) {
    transform: translateX(0) rotate(0deg) scale(1);
    z-index: 3;
}

.phone-card:nth-child(3) {
    transform: translateX(60%) rotate(12deg) scale(0.9);
    z-index: 2;
}

.phone-stack:hover .phone-card:nth-child(1) {
    transform: translateX(-80%) rotate(-15deg) scale(0.92);
}

.phone-stack:hover .phone-card:nth-child(2) {
    transform: translateX(0) rotate(0deg) scale(1.02);
    box-shadow:
        0 60px 120px -20px rgba(0, 0, 0, 0.8),
        0 40px 80px -30px rgba(0, 0, 0, 0.9),
        0 0 80px rgba(45, 212, 191, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.phone-stack:hover .phone-card:nth-child(3) {
    transform: translateX(80%) rotate(15deg) scale(0.92);
}

/* Floating glow behind hero visual */
.hero-visual::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--brand-glow) 0%, transparent 60%);
    filter: blur(60px);
    opacity: 0.4;
    animation: pulse-glow 6s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════
   PAIN POINTS — Dramatic Cards
   ═══════════════════════════════════════════════════════════════════ */
.pain-section {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-primary) 50%, var(--bg-deep) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-label {
    margin-bottom: var(--space-4);
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    backdrop-filter: blur(20px);
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--error), transparent);
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-out);
}

.pain-card:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(45, 212, 191, 0.2);
}

.pain-card:hover::before {
    opacity: 1;
    background: var(--brand-gradient);
}

.pain-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
    font-size: 1.4rem;
    color: var(--error);
    transition: all var(--duration-base) var(--ease-out);
}

.pain-card:hover .pain-icon {
    background: rgba(45, 212, 191, 0.1);
    color: var(--brand-primary);
}

.pain-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.pain-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   AI DEMO — Interactive Showcase
   ═══════════════════════════════════════════════════════════════════ */
.demo-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.demo-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-6);
    align-items: stretch;
}

.demo-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.demo-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
    opacity: 0.5;
}

.demo-panel-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-panel-header i {
    color: var(--brand-primary);
}

.demo-quote {
    font-family: 'SF Mono', 'Menlo', monospace;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: var(--space-5);
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--brand-primary);
    border-radius: var(--radius-sm);
}

.demo-result-list {
    list-style: none;
}

.demo-result-item {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.95rem;
}

.demo-result-item:last-child {
    border-bottom: none;
}

.demo-result-item i {
    color: var(--brand-primary);
    font-size: 0.85em;
    flex-shrink: 0;
}

.demo-result-label {
    font-weight: 600;
    color: var(--text-primary);
}

.demo-result-value {
    color: var(--text-secondary);
}

.demo-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.badge-brand {
    background: rgba(45, 212, 191, 0.15);
    color: var(--brand-primary);
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURES — Bento Grid
   ═══════════════════════════════════════════════════════════════════ */
.features-section {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: var(--space-5);
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    backdrop-filter: blur(20px);
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-out);
}

.bento-card:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
}

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

.bento-card-lg {
    grid-column: span 2;
}

.bento-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
    font-size: 1.3rem;
    color: var(--bg-deep);
    position: relative;
    z-index: 1;
}

.bento-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
    position: relative;
    z-index: 1;
}

.bento-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════════════════════════════════ */
.comparison-table {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: var(--space-5) var(--space-6);
    background: var(--bg-elevated);
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-header>div:not(:first-child) {
    text-align: center;
}

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

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
    align-items: center;
    transition: background var(--duration-fast) var(--ease-out);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:hover {
    background: rgba(45, 212, 191, 0.03);
}

.comparison-row>div:not(:first-child) {
    text-align: center;
}

.comparison-feature {
    font-weight: 500;
}

.check-icon {
    color: var(--success);
    font-size: 1.2rem;
}

.cross-icon {
    color: var(--error);
    font-size: 1.2rem;
}

.limited-text {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════════
   PRICING CARDS
   ═══════════════════════════════════════════════════════════════════ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--duration-base) var(--ease-out);
}

.pricing-card.featured {
    border-color: var(--brand-primary);
    box-shadow:
        0 0 0 1px var(--brand-primary),
        0 20px 60px -20px rgba(45, 212, 191, 0.3);
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-gradient);
    color: var(--bg-deep);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--space-1);
    letter-spacing: -0.02em;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: var(--space-6);
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: var(--space-8);
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    font-size: 0.95rem;
}

.pricing-feature i {
    color: var(--success);
    font-size: 0.9em;
}

.pricing-feature.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-feature.disabled i {
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   TESTIMONIALS — Infinite Scroll
   ═══════════════════════════════════════════════════════════════════ */
.testimonials-section {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    width: max-content;
    animation: scroll-testimonials 45s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex: 0 0 420px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin: 0 var(--space-4);
    border-left: 3px solid var(--brand-primary);
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-5);
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════════════════════ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out);
}

.faq-item:hover {
    border-color: var(--border-active);
}

.faq-question {
    padding: var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.05rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--text-muted);
    transition: transform var(--duration-base) var(--ease-out);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--brand-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-out);
}

.faq-answer-content {
    padding: 0 var(--space-6) var(--space-6);
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-answer a {
    color: var(--brand-primary);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════ */
.cta-section {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--brand-glow) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    margin-bottom: var(--space-4);
}

.cta-subtitle {
    max-width: 500px;
    margin: 0 auto var(--space-8);
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer-logo img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

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

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-5);
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--duration-fast) var(--ease-out);
}

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

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

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

.footer-copyright a {
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* Staggered delays */
.fade-in:nth-child(1) {
    transition-delay: 0s;
}

.fade-in:nth-child(2) {
    transition-delay: 0.1s;
}

.fade-in:nth-child(3) {
    transition-delay: 0.2s;
}

.fade-in:nth-child(4) {
    transition-delay: 0.3s;
}

.fade-in:nth-child(5) {
    transition-delay: 0.4s;
}

.fade-in:nth-child(6) {
    transition-delay: 0.5s;
}

/* ═══════════════════════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════════════════════ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 140px;
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-3);
}

.legal-date {
    color: var(--text-secondary);
    margin-bottom: var(--space-10);
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--border-subtle);
}

.legal-content p,
.legal-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.legal-content ul {
    list-style-position: inside;
    padding-left: var(--space-4);
}

.legal-content a {
    color: var(--brand-primary);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════════ */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    backdrop-filter: blur(20px);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-4);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--duration-fast) var(--ease-out);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        min-height: 450px;
        margin-bottom: var(--space-8);
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-proof {
        justify-content: center;
    }

    .phone-stack {
        transform: scale(0.85);
    }

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

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card-lg {
        grid-column: span 1;
    }

    .demo-card {
        grid-template-columns: 1fr;
    }

    .demo-arrow {
        transform: rotate(90deg);
        padding: var(--space-4) 0;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .section {
        padding: var(--space-16) 0;
    }

    .hero {
        padding-top: 80px;
    }

    .phone-stack {
        transform: scale(0.7);
    }

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

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        padding: var(--space-3) var(--space-4);
        font-size: 0.85rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 15px;
    }

    .container {
        padding: 0 var(--space-4);
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-proof {
        flex-direction: column;
        align-items: center;
        gap: var(--space-6);
    }

    .testimonial-card {
        flex: 0 0 300px;
    }
}