/**
 * Landing Page Styles - STANDARD BLUE Variant
 * High-conversion dark mode design with professional blue accents
 * Perfect for real-time, cutting-edge developer tools
 */

/* ============================================
   COLOR SYSTEM - STANDARD BLUE
   ============================================ */

:root {
    /* Primary Accents - Standard Blue */
    --accent-primary: #3b82f6;
    --accent-secondary: #60a5fa;
    --accent-tertiary: #2563eb;

    /* Backgrounds */
    --bg-page: #0A0E14;
    --bg-surface: #0F1419;
    --bg-elevated: #151A21;
    --bg-input: #1A2028;

    /* Text - High Contrast */
    --text-primary: #F0F6FC;
    --text-secondary: #C9D1D9;
    --text-muted: #8B949E;
    --text-inverse: #0A0E14;

    /* Borders & Dividers */
    --border-default: #21262D;
    --border-bright: #30363D;
    --border-accent: #3b82f6;

    /* Gradients */
    --gradient-accent: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    --gradient-soft: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(37,99,235,0.1) 100%);

    /* Glow Effects */
    --glow-sm: 0 0 10px rgba(59, 130, 246, 0.3);
    --glow-md: 0 0 20px rgba(59, 130, 246, 0.4), 0 0 40px rgba(96, 165, 250, 0.2);
    --glow-lg: 0 0 30px rgba(59, 130, 246, 0.5), 0 0 60px rgba(96, 165, 250, 0.3);

    /* Design System Tokens */
    --gap: 8px;
    --gap-xs: 4px;
    --gap-sm: 8px;
    --gap-md: 12px;
    --gap-lg: 16px;
    --gap-xl: 24px;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Consolas', 'Monaco', 'JetBrains Mono', monospace;

    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-black: 800;

    --transition: 150ms ease-in-out;
    --transition-fast: 100ms ease-in-out;
    --transition-slow: 300ms ease-in-out;
}

/* ============================================
   GLOBAL RESETS & BASE
   ============================================ */

* {
    box-sizing: border-box;
}

body {
    background: var(--bg-page);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   CONTAINER SYSTEM
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
    width: 100%;
}

.container-small {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
    width: 100%;
}

/* ============================================
   TYPOGRAPHY - High Contrast
   ============================================ */

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: var(--font-black);
    text-align: center;
    margin-bottom: clamp(16px, 3vw, 24px);
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(14px, 2.5vw, 18px);
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: clamp(24px, 5vw, 40px);
    line-height: 1.6;
}

.section-subtitle strong {
    color: var(--text-primary);
    font-weight: var(--font-semibold);
}

.highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BUTTONS - Neon Style
   ============================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-accent);
    color: var(--text-inverse);
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: var(--font-semibold);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-slow);
    box-shadow: var(--glow-md);
    text-decoration: none;
    font-family: var(--font-sans);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-primary.btn-xl {
    padding: 20px 48px;
    font-size: 20px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-bright);
    padding: 16px 28px;
    font-size: 18px;
    font-weight: var(--font-semibold);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-slow);
    text-decoration: none;
    font-family: var(--font-sans);
}

.btn-ghost:hover {
    border-color: var(--border-accent);
    background: rgba(0, 217, 255, 0.05);
    box-shadow: var(--glow-sm);
}

.btn-ghost.btn-large {
    padding: 16px 28px;
    font-size: 18px;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: white;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: var(--font-medium);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.btn-google:hover {
    background: #f9fafb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ============================================
   HERO SECTION - Electric
   ============================================ */

.hero-section {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--bg-page) 0%, #0E1218 100%);
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 15vw, 120px) 0 clamp(60px, 10vw, 80px);
    display: flex;
    align-items: center;
}

.hero-bg-gradient {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
    display: grid;
    grid-template-columns: minmax(400px, 1fr) minmax(auto, 960px);
    gap: clamp(32px, 6vw, 60px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideUp 0.8s ease-out;
}

.badge {
    display: inline-block;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--accent-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: var(--font-semibold);
    margin-bottom: var(--gap-xl);
    animation: slideDown 0.6s ease-out;
}

.hero-title {
    font-size: clamp(32px, 8vw, 56px);
    font-weight: var(--font-black);
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--gap-xl);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: clamp(24px, 5vw, 40px);
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: var(--font-semibold);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-subtext {
    display: flex;
    gap: 32px;
    color: var(--text-muted);
    font-size: 14px;
}

.hero-subtext span {
    display: flex;
    align-items: center;
}

.hero-visual {
    position: relative;
    animation: slideLeft 1s ease-out;
}

.video-container {
    position: relative;
    width: 960px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.15);
    background: var(--bg-surface);
}

.hero-demo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.video-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   FEATURE PREVIEW
   ============================================ */

.feature-preview {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--bg-page);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 4vw, 32px);
    margin-top: clamp(40px, 8vw, 60px);
}

.preview-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all var(--transition-slow);
}

.preview-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: var(--glow-md);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    border-radius: 50%;
    font-size: 24px;
    font-weight: var(--font-bold);
    color: var(--text-inverse);
    margin-bottom: 24px;
    box-shadow: var(--glow-sm);
}

.preview-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
}

.preview-image {
    width: 100%;
    display: block;
}

.preview-card h3 {
    font-size: 20px;
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: 12px;
}

.preview-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   PAIN POINTS
   ============================================ */

.pain-points {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--bg-surface);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 3vw, 24px);
    margin-top: clamp(40px, 8vw, 60px);
}

.pain-card {
    background: var(--bg-page);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 32px;
    transition: all var(--transition-slow);
}

.pain-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--glow-sm);
}

.pain-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.pain-title {
    font-size: 20px;
    color: #FF6B6B;
    font-weight: var(--font-semibold);
    margin-bottom: 20px;
    font-style: italic;
}

.solution {
    display: flex;
    gap: 12px;
    align-items: start;
    background: rgba(0, 217, 255, 0.08);
    border-left: 3px solid var(--accent-primary);
    padding: 16px;
    border-radius: 8px;
}

.solution-icon {
    color: var(--accent-primary);
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.solution p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.solution strong {
    color: var(--text-primary);
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-it-works {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--bg-surface);
}

.workflow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    margin-top: clamp(40px, 8vw, 60px);
    flex-wrap: wrap;
}

.workflow-step {
    background: var(--bg-page);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 24px;
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    transition: all var(--transition-slow);
}

.workflow-step:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--glow-sm);
}

.workflow-step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gradient-accent);
    border-radius: 50%;
    font-size: 16px;
    font-weight: var(--font-bold);
    color: var(--text-inverse);
    margin-bottom: 16px;
    box-shadow: var(--glow-sm);
}

.workflow-step .step-content h3 {
    font-size: 18px;
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.workflow-step .step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.workflow-step .step-content code {
    background: var(--bg-elevated);
    color: var(--accent-secondary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 13px;
}

.workflow-arrow {
    font-size: 24px;
    color: var(--accent-primary);
    font-weight: var(--font-bold);
    align-self: center;
    opacity: 0.7;
}

/* ============================================
   KILLER FEATURE
   ============================================ */

.killer-feature {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--bg-page);
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 8vw, 60px);
    align-items: center;
    margin-top: clamp(40px, 8vw, 60px);
}

.feature-visual {
    position: relative;
}

.feature-diagram {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0, 217, 255, 0.3);
    box-shadow: var(--glow-md);
}

.latency-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 217, 255, 0.95);
    color: var(--text-inverse);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: var(--font-semibold);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    box-shadow: var(--glow-sm);
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--text-inverse);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: start;
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */

.comparison {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--bg-surface);
}

.comparison-table-wrapper {
    margin-top: clamp(40px, 8vw, 60px);
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-page);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-default);
}

.comparison-table thead {
    background: var(--bg-elevated);
}

.comparison-table th {
    padding: 20px;
    text-align: left;
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-default);
}

.comparison-table td {
    padding: 16px 20px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-default);
}

.comparison-table tbody tr:hover {
    background: rgba(0, 217, 255, 0.03);
}

.comparison-table .highlight-col {
    background: rgba(0, 217, 255, 0.08);
    color: var(--text-primary);
    font-weight: var(--font-semibold);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */

.social-proof {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--bg-page);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 4vw, 32px);
    margin-top: clamp(40px, 8vw, 60px);
}

.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 32px;
    transition: all var(--transition-slow);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: var(--glow-md);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    color: var(--text-inverse);
    flex-shrink: 0;
}

.author-name {
    font-size: 15px;
    font-weight: var(--font-semibold);
    color: var(--text-primary);
}

.author-title {
    font-size: 13px;
    color: var(--text-muted);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 4vw, 32px);
    margin-top: clamp(60px, 10vw, 80px);
}

.stat {
    text-align: center;
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.stat-number {
    font-size: 36px;
    font-weight: var(--font-black);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================
   USE CASES
   ============================================ */

.use-cases {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--bg-page);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 4vw, 32px);
    margin-top: clamp(40px, 8vw, 60px);
}

.use-case-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 32px;
    transition: all var(--transition-slow);
}

.use-case-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--glow-sm);
}

.use-case-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.use-case-card h3 {
    font-size: 20px;
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: 12px;
}

.use-case-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.use-case-example {
    display: inline-block;
    background: var(--bg-elevated);
    color: var(--accent-secondary);
    padding: 8px 12px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 13px;
    border: 1px solid var(--border-default);
}

/* ============================================
   PRICING TEASER
   ============================================ */

.pricing-teaser {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--bg-surface);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 4vw, 32px);
    max-width: 900px;
    margin: clamp(40px, 8vw, 60px) auto 0;
}

.pricing-card {
    background: var(--bg-page);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 40px;
    transition: all var(--transition-slow);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: var(--glow-md);
}

.pricing-card--featured {
    border-color: var(--border-accent);
    box-shadow: var(--glow-sm);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-accent);
    color: var(--text-inverse);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: var(--font-semibold);
}

.pricing-header h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.price {
    font-size: 48px;
    font-weight: var(--font-black);
    color: var(--text-primary);
    margin-bottom: 32px;
}

.price span {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: var(--font-normal);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-default);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--bg-page);
    text-align: center;
}

.cta-title {
    font-size: clamp(28px, 6vw, 48px);
    font-weight: var(--font-black);
    color: var(--text-primary);
    margin-bottom: clamp(12px, 2vw, 16px);
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    color: var(--text-secondary);
    margin-bottom: clamp(24px, 5vw, 40px);
}

.cta-subtext {
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   LOGIN/SIGNUP SECTION
   ============================================ */

.login-section {
    padding: clamp(60px, 10vw, 80px) 0;
    background: var(--bg-surface);
}

.login-title {
    font-size: 28px;
    font-weight: var(--font-bold);
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 12px;
}

.login-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
}

.login-options {
    max-width: 400px;
    margin: 0 auto;
}

.divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-default);
}

.divider span {
    position: relative;
    background: var(--bg-surface);
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.form-switch-text {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
}

.form-switch-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: var(--font-medium);
}

.form-switch-link:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

.landing-footer {
    padding: 40px 0;
    background: var(--bg-page);
    border-top: 1px solid var(--border-default);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-left {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-right {
    display: flex;
    gap: 24px;
}

.footer-right a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition);
}

.footer-right a:hover {
    color: var(--accent-primary);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN - Mobile First
   ============================================ */

/* Small Mobile: 320px - 479px */
@media (max-width: 479px) {
    /* Hero Section */
    .hero-section {
        min-height: auto;
        padding: 80px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 16px;
    }

    /* Responsive video for mobile */
    .video-container {
        max-width: 100%;
        width: 100%;
    }

    .hero-demo {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .feature-diagram {
        display: block;
        max-height: 350px;
        object-fit: contain;
    }

    /* Make SVG text more readable on mobile */
    .hero-demo svg,
    .feature-diagram svg,
    .preview-image svg {
        font-size: 14px;
    }

    /* Buttons - Full width + Touch friendly */
    .btn-primary,
    .btn-ghost {
        width: 100%;
        min-height: 48px;
        padding: 14px 24px;
        font-size: 16px;
        text-align: center;
    }

    .btn-primary.btn-large,
    .btn-primary.btn-xl {
        width: 100%;
        min-height: 48px;
        padding: 14px 24px;
        font-size: 16px;
    }

    .btn-ghost.btn-large {
        width: 100%;
        min-height: 48px;
        padding: 14px 24px;
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    /* Sections - Reduce padding */
    .feature-preview,
    .pain-points,
    .killer-feature,
    .comparison,
    .social-proof,
    .pricing-teaser,
    .final-cta,
    .how-it-works {
        padding: 60px 0;
    }

    /* Workflow steps - stack vertically on mobile */
    .workflow-steps {
        flex-direction: column;
        align-items: center;
    }

    .workflow-step {
        max-width: 100%;
        width: 100%;
    }

    .workflow-arrow {
        transform: rotate(90deg);
        margin: 8px 0;
    }

    /* Grids - Single column */
    .preview-grid,
    .pain-grid,
    .testimonials-grid,
    .stats-row,
    .pricing-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Cards - Reduce padding */
    .preview-card,
    .pain-card,
    .testimonial-card,
    .pricing-card,
    .use-case-card {
        padding: 24px;
    }

    /* Comparison Table - Minimal columns */
    .comparison-table {
        font-size: 13px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }

    /* Hide all columns except first two */
    .comparison-table th:nth-child(n+3),
    .comparison-table td:nth-child(n+3) {
        display: none;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-right {
        flex-direction: column;
        gap: 12px;
    }
}

/* Large Mobile: 480px - 639px */
@media (min-width: 480px) and (max-width: 639px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 70px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Responsive video for mobile */
    .video-container {
        max-width: 100%;
        width: 100%;
    }

    .hero-demo {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .feature-diagram {
        display: block;
        max-height: 300px;
        object-fit: contain;
    }

    /* Buttons - Still full width for better hierarchy */
    .btn-primary,
    .btn-ghost,
    .btn-primary.btn-large,
    .btn-primary.btn-xl,
    .btn-ghost.btn-large {
        width: 100%;
        min-height: 48px;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    /* Grids - Still single column */
    .preview-grid,
    .pain-grid,
    .testimonials-grid,
    .pricing-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Stats can be 2 columns */
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Comparison Table - Show 3 columns */
    .comparison-table th:nth-child(n+4),
    .comparison-table td:nth-child(n+4) {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Tablet: 640px - 767px */
@media (min-width: 640px) and (max-width: 767px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    /* Responsive video for tablet */
    .video-container {
        max-width: 100%;
        width: 100%;
    }

    .hero-demo {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .feature-diagram {
        display: block;
    }

    /* Buttons - Back to inline */
    .hero-cta {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .btn-primary,
    .btn-ghost {
        width: auto;
        min-height: 44px;
    }

    /* Grids - 2 columns */
    .preview-grid,
    .pain-grid,
    .testimonials-grid,
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .pricing-grid,
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    /* Feature showcase - still single column */
    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Comparison Table - Show 3 columns */
    .comparison-table th:nth-child(n+4),
    .comparison-table td:nth-child(n+4) {
        display: none;
    }
}

/* Desktop: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .preview-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .pain-grid,
    .pricing-grid,
    .feature-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Show all comparison columns */
    .comparison-table th,
    .comparison-table td {
        display: table-cell;
    }
}

/* Large Desktop: 1024px+ */
@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }

    .preview-grid,
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pain-grid,
    .pricing-grid,
    .feature-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus states for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
