/* ============================================
   Autoshorts Landing Page - Linear-Inspired Design
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Neutral near-black backgrounds */
    --bg-primary: #0A0A0B;
    --bg-secondary: #111113;
    --bg-tertiary: #161618;
    --bg-elevated: #1C1C1E;

    /* Coral Accent — used sparingly */
    --accent: #F97316;
    --accent-hover: #EA580C;
    --accent-subtle: rgba(249, 115, 22, 0.06);

    /* Warm Amber Accent (Voice models) */
    --accent-warm: #F59E0B;
    --accent-warm-subtle: rgba(245, 158, 11, 0.08);
    --border-warm: rgba(245, 158, 11, 0.15);

    /* Text — slightly softer */
    --text-primary: #F1F1F3;
    --text-secondary: #8E8E93;
    --text-muted: #5C5C66;

    /* Borders — neutral white */
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.10);

    /* Shadows — neutral, barely visible */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.25);

    /* Legacy variables for compatibility */
    --charcoal: var(--text-primary);
    --sage: var(--accent);
    --sage-dark: var(--accent-hover);
    --white: #FFFFFF;
    --warm-gray: var(--text-secondary);
    --light-gray: var(--border-color);
    --cream: var(--bg-primary);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --container-max: 1200px;
    --section-spacing: 120px;
    --section-spacing-mobile: 80px;
    --section-spacing-tight: 80px;
    --section-spacing-loose: 160px;

    /* Border Radius — tighter */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Transitions — faster */
    --transition-fast: 120ms ease;
    --transition-base: 150ms ease;
    --transition-slow: 250ms ease;
}

/* 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;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    position: relative;
    overflow-x: hidden;
}

/* ============================================
   Global Background Effects — HIDDEN
   ============================================ */

.page-grid {
    display: none;
}

.orb-container {
    display: none;
}

/* ============================================
   Base Elements
   ============================================ */
a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* Typography — all headings sans-serif */
h1, h2, h3 {
    font-family: var(--font-sans);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: none;
}

.btn-primary::before {
    display: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: none;
    box-shadow: none;
}

.btn-primary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    box-shadow: none;
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-hover);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-white {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    box-shadow: none;
}

.btn-white:hover {
    background: var(--accent-hover);
    transform: none;
    box-shadow: none;
}

.btn-ghost-white {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-hover);
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--border-color);
    box-shadow: none;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    display: none;
}

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

.nav-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.hamburger {
    position: relative;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero::before {
    display: none;
}

.hero::after {
    display: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: none;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-title .highlight {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: var(--text-primary);
}

.hero-title .accent-bar {
    display: none;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
}

/* Product Screenshots */
.hero-screenshot {
    max-width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-screenshot-img {
    width: 100%;
    height: auto;
    display: block;
}

.step-screenshot {
    margin-top: 20px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.step-screenshot-img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-screenshot {
    margin-top: 16px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.feature-screenshot-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Stats Section
   ============================================ */
.stats {
    background: var(--bg-secondary);
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

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

.stat-item {
    padding: 24px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.stat-number .accent {
    color: var(--text-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ============================================
   Section Styles
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header--left {
    text-align: left;
}

.section-title {
    font-family: var(--font-sans);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    letter-spacing: -1px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: none;
}

.section-title--bar::after {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-title--sm {
    font-size: clamp(26px, 3vw, 36px);
}

/* ============================================
   How It Works
   ============================================ */
.how-it-works {
    padding: var(--section-spacing-tight) 0;
    background: var(--bg-primary);
    position: relative;
}

.steps-container {
    position: relative;
}

.steps-line {
    display: none;
    position: absolute;
    top: 70px;
    left: calc(16.67% + 40px);
    right: calc(16.67% + 40px);
    height: 2px;
    background: linear-gradient(90deg, var(--border-color), var(--border-hover), var(--border-color));
}

@media (min-width: 769px) {
    .steps-line {
        display: block;
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    position: relative;
    text-align: center;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-base);
}

.step-card:hover {
    transform: none;
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border-radius: 50%;
    z-index: 1;
    box-shadow: var(--shadow-sm);
}

.step-icon {
    width: 48px;
    height: 48px;
    margin: 24px auto 20px;
    color: var(--text-secondary);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-title {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--section-spacing) 0;
    background: var(--bg-tertiary);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    position: relative;
}

.feature-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-base);
    position: relative;
    overflow: hidden;
    grid-column: span 2;
}

.feature-card:nth-child(1),
.feature-card:nth-child(2) {
    grid-column: span 3;
}

.feature-card:hover {
    transform: none;
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    color: var(--text-secondary);
}

.feature-title {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   AI Models Section
   ============================================ */
.ai-models {
    padding: var(--section-spacing-tight) 0;
    background: var(--bg-primary);
    position: relative;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.model-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: border-color var(--transition-base);
    position: relative;
    overflow: hidden;
}

.model-card:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-hover);
    transform: none;
    box-shadow: none;
}

.model-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    position: relative;
}

.model-badge--voice {
    color: var(--accent-warm);
    background: var(--accent-warm-subtle);
    border-color: var(--border-warm);
}

.model-name {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
}

.model-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    padding: var(--section-spacing) 0;
    background: var(--bg-tertiary);
    position: relative;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    position: relative;
}

.toggle-label {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: var(--bg-elevated);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.toggle-switch.active {
    background: var(--accent);
    border-color: var(--accent);
}

.toggle-switch:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.toggle-handle {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--text-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.toggle-switch.active .toggle-handle {
    transform: translateX(24px);
    background: var(--bg-primary);
}

.toggle-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 6px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
    position: relative;
}

.pricing-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: border-color var(--transition-base);
}

.pricing-card:hover {
    box-shadow: none;
    border-color: var(--border-hover);
    transform: none;
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: none;
    transform: none;
}

.pricing-card.featured::after {
    display: none;
}

.pricing-card.featured:hover {
    box-shadow: none;
    transform: none;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-name {
    font-family: var(--font-sans);
    font-size: 26px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pricing-description {
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-price {
    margin-bottom: 32px;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    vertical-align: top;
}

.price-amount {
    font-family: var(--font-sans);
    font-size: 56px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -2px;
    line-height: 1;
}

.price-amount.custom {
    font-size: 36px;
}

.price-period {
    font-size: 16px;
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.pricing-card .btn-outline {
    color: var(--text-secondary);
    border-color: var(--border-hover);
    background: transparent;
}

.pricing-card .btn-outline:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    padding: var(--section-spacing-tight) 0;
    background: var(--bg-primary);
    position: relative;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    transition: border-color var(--transition-base);
}

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--text-primary);
}

.faq-question:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.faq-item.active .faq-question {
    color: var(--text-primary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--text-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: 24px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    position: relative;
    padding: var(--section-spacing-loose) 0;
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta::before {
    display: none;
}

.cta-content {
    position: relative;
    text-align: center;
    color: var(--text-primary);
}

.cta-title {
    font-family: var(--font-sans);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-shadow: none;
}

.cta-subtitle {
    font-size: 18px;
    opacity: 1;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta .btn-white {
    background: var(--accent);
    color: #fff;
}

.cta .btn-white:hover {
    background: var(--accent-hover);
    box-shadow: none;
    transform: none;
}

.cta .btn-ghost-white {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-hover);
}

.cta .btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer::before {
    display: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo .logo-text {
    color: var(--text-primary);
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: transparent;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: transparent;
}

.social-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-links a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   Animations — subtler
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-text {
        max-width: none;
        text-align: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtitle {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .stat-item:nth-child(2)::after {
        display: none;
    }

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

    .feature-card,
    .feature-card:nth-child(1),
    .feature-card:nth-child(2) {
        grid-column: span 1;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: none;
    }

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

    .section-header--left {
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: var(--section-spacing-mobile);
        --section-spacing-tight: 60px;
        --section-spacing-loose: 100px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        transition: right var(--transition-base);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 24px;
    }

    .nav-actions .btn {
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .step-screenshot {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-item {
        padding: 16px;
    }

    .stat-item::after {
        display: none;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .steps-line {
        display: none;
    }

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

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

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

    .footer-brand {
        text-align: center;
    }

    .footer-tagline {
        max-width: none;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links ul {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

    .cta-actions .btn {
        width: 100%;
    }
}
