/* ==========================================================================
   Post Beast - BEAST Speed Theme
   A bold, cinematic design that breaks the typical SaaS mold
   ========================================================================== */

/* Import Design System (tokens, base components) */
@import url('design-system.css');

/* --------------------------------------------------------------------------
   CSS Variables - Extended for page-specific needs
   -------------------------------------------------------------------------- */
:root {
    /* Core Colors - Derived from the lion/beast */
    --color-primary: #D97706;
    --color-primary-light: #F59E0B;
    --color-primary-dark: #B45309;
    --color-primary-glow: rgba(217, 119, 6, 0.4);

    /* Backgrounds - Dark savanna night */
    --color-bg: #0A0A0A;
    --color-bg-elevated: #141414;
    --color-bg-card: #1A1A1A;
    --color-bg-hover: #222222;

    /* Text */
    --color-text: #FAFAFA;
    --color-text-muted: #A3A3A3;
    --color-text-subtle: #737373;

    /* Accents */
    --color-border: #2A2A2A;
    --color-border-light: #3A3A3A;
    --color-success: #22C55E;
    --color-error: #EF4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    --gradient-dark: linear-gradient(180deg, var(--color-bg) 0%, #111111 100%);
    --gradient-radial: radial-gradient(ellipse at center, var(--color-bg-elevated) 0%, var(--color-bg) 70%);

    /* Typography */
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Sizing */
    --container-max: 1200px;
    --nav-height: 72px;

    /* Effects */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--color-primary-glow);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms 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-body);
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
}

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

.text-strike {
    text-decoration: line-through;
    color: var(--color-text-subtle);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #000;
    box-shadow: var(--shadow-sm), 0 0 0 0 var(--color-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-ghost {
    color: var(--color-text);
    background: transparent;
}

.btn-ghost:hover {
    background: var(--color-bg-hover);
}

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

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-icon {
    height: 48px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image,
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    opacity: 0.4;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.85) 100%
    );
}

.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: var(--space-xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.875rem;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-subtitle strong {
    color: var(--color-text);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary-light);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-subtle);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-subtle);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: fadeIn 1s ease 1s backwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scrollPulse 2s ease infinite;
}

/* --------------------------------------------------------------------------
   Social Proof
   -------------------------------------------------------------------------- */
.social-proof {
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid var(--color-border);
}

.social-proof .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.proof-label {
    font-size: 0.875rem;
    color: var(--color-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.proof-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2xl);
}

.proof-logo {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-muted);
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

.proof-logo:hover {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Problem Section
   -------------------------------------------------------------------------- */
.problem {
    padding: var(--space-4xl) 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.problem-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.problem-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1.0625rem;
    color: var(--color-text-muted);
}

.problem-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(239, 68, 68, 0.2);
    color: var(--color-error);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

.problem-visual {
    perspective: 1000px;
}

.chaos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    transform: rotateY(-5deg) rotateX(5deg);
}

.chaos-card {
    padding: var(--space-md);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    animation: chaosFloat 3s ease infinite;
}

.chaos-card:nth-child(odd) {
    animation-delay: -1.5s;
}

.chaos-card:nth-child(3n) {
    animation-delay: -0.75s;
}

/* --------------------------------------------------------------------------
   Solution Section
   -------------------------------------------------------------------------- */
.solution {
    padding: var(--space-4xl) 0;
    background: var(--gradient-radial);
}

.solution-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.solution-demo {
    max-width: 800px;
    margin: 0 auto;
}

.demo-window {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
}

.demo-dots {
    display: flex;
    gap: 6px;
}

.demo-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border-light);
}

.demo-dots span:first-child { background: #EF4444; }
.demo-dots span:nth-child(2) { background: #F59E0B; }
.demo-dots span:last-child { background: #22C55E; }

.demo-title {
    font-size: 0.875rem;
    color: var(--color-text-subtle);
}

.demo-content {
    padding: var(--space-2xl);
}

.demo-equation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.demo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.demo-label {
    font-size: 0.75rem;
    color: var(--color-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-value {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
}

.demo-operator {
    font-size: 1.5rem;
    color: var(--color-text-subtle);
}

.demo-equals {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.demo-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-xl);
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
}

.demo-result-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: #000;
}

.demo-result-label {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Features Section
   -------------------------------------------------------------------------- */
.features {
    padding: var(--space-4xl) 0;
}

.features-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

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

.feature-card {
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-large {
    grid-column: span 3;
    text-align: center;
    background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-elevated) 100%);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   How It Works
   -------------------------------------------------------------------------- */
.how-it-works {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-elevated);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

.step {
    display: grid;
    grid-template-columns: auto 1fr 300px;
    gap: var(--space-2xl);
    align-items: center;
}

.step:nth-child(even) {
    direction: rtl;
}

.step:nth-child(even) > * {
    direction: ltr;
}

.step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-border-light);
    line-height: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.step-content p {
    color: var(--color-text-muted);
}

.step-visual {
    display: flex;
    justify-content: center;
}

.upload-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 120px;
    border: 2px dashed var(--color-border-light);
    border-radius: var(--radius-md);
    color: var(--color-text-subtle);
    font-size: 0.9375rem;
}

.hooks-preview {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hooks-preview span {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.generate-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.progress-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(var(--color-primary) 75%, var(--color-border) 0);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.progress-ring span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--color-bg-elevated);
    border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.pricing {
    padding: var(--space-4xl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

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

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

.pricing-featured {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.1) 0%, var(--color-bg-card) 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-xs) var(--space-md);
    background: var(--gradient-primary);
    color: #000;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    margin-bottom: var(--space-lg);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.pricing-header p {
    font-size: 0.875rem;
    color: var(--color-text-subtle);
}

.pricing-price {
    margin-bottom: var(--space-lg);
}

.price-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
}

.price-period {
    color: var(--color-text-subtle);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.pricing-features li {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-elevated);
}

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

.testimonial-card {
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.testimonial-content {
    margin-bottom: var(--space-lg);
}

.testimonial-content p {
    font-size: 1.0625rem;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    color: #000;
    font-weight: 600;
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
}

.author-title {
    font-size: 0.875rem;
    color: var(--color-text-subtle);
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-elevated) 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-md);
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.cta-note {
    display: block;
    margin-top: var(--space-md);
    font-size: 0.875rem;
    color: var(--color-text-subtle);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    padding: 2rem;
    border-top: 1px solid #222222;
}

.footer-content {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin: 0 auto 1.5rem;
    display: block;
}

.footer-links-simple {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links-simple a {
    font-size: 13px;
    color: #A3A3A3;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-simple a:hover {
    color: #FFFFFF;
}

.footer-copyright {
    font-size: 12px;
    color: #666666;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 40px; }
    50% { opacity: 0.5; height: 30px; }
}

@keyframes chaosFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(1deg); }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-large {
        grid-column: span 2;
    }

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

    .step {
        grid-template-columns: auto 1fr;
    }

    .step-visual {
        display: none;
    }

}

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

    .nav-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-bg);
        padding: var(--space-lg);
        border-bottom: 1px solid var(--color-border);
    }

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

    .problem-visual {
        display: none;
    }

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

    .feature-large {
        grid-column: span 1;
    }

    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-number {
        font-size: 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .demo-equation {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn-large {
        width: 100%;
    }
}
