/* ============================================
   BANDPILOT MARKETING SITE
   Dark, confident, stage-ready
   Mobile-first responsive design
   ============================================ */

/* CSS Variables - Brand Colors */
:root {
    /* Core palette */
    --bg-dark: #1F1F1F;
    --bg-darker: #0F0F0F;
    --bg-surface: #2A2A2A;
    --bg-elevated: #333333;

    --primary: #FF5722;
    --primary-hover: #E64A19;
    --primary-glow: rgba(255, 87, 34, 0.3);

    --secondary: #2196F3;

    --text-primary: #F5F5F5;
    --text-secondary: #B0B0B0;
    --text-muted: #707070;

    --border: #404040;
    --border-subtle: #333333;

    --success: #66BB6A;
    --warning: #FFA726;
    --danger: #EF5350;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Monaco', monospace;

    /* Spacing - mobile default */
    --container-width: 1200px;
    --section-padding: 3rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--bg-dark);
}

/* Container - mobile first */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Typography */
.accent {
    color: var(--primary);
}

/* ============================================
   LOADER
   ============================================ */

.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .loader-inner {
        font-size: 3.5rem;
    }
}

.loader-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background var(--transition-base), backdrop-filter var(--transition-base);
}

.nav.scrolled {
    background: rgba(31, 31, 31, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 640px) {
    .nav-inner {
        padding: 0 1.5rem;
        gap: 2rem;
    }
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .nav-logo {
        font-size: 1.5rem;
    }
}

/* Desktop nav links - hidden on mobile */
.nav-links {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    padding: 0.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Desktop CTA buttons - hidden on mobile */
.nav-cta {
    display: none;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .nav-cta {
        display: flex;
    }
}

/* Mobile nav toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-darker);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-inner a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

/* ============================================
   BUTTONS - Mobile first with 44px touch targets
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 44px;
}

@media (min-width: 640px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: var(--bg-surface);
    border-color: var(--text-secondary);
}

/* Button icons */
.btn svg {
    flex-shrink: 0;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--bg-surface);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.05rem;
    }
}

.btn-block {
    width: 100%;
}

/* ============================================
   HERO SECTION - Mobile first
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5rem 1rem 3rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .hero {
        padding: 6rem 1.5rem 4rem;
    }
}

/* Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, var(--primary-glow), transparent 70%);
    opacity: 0.5;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

@media (min-width: 640px) {
    .hero-grid {
        background-size: 60px 60px;
    }
}

.hero-spotlight {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, var(--primary-glow) 180deg, transparent 360deg);
    opacity: 0.15;
    animation: spotlightRotate 20s linear infinite;
}

@keyframes spotlightRotate {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    opacity: 0;
}

@media (min-width: 640px) {
    .hero-eyebrow {
        gap: 1rem;
    }
}

.eyebrow-line {
    width: 20px;
    height: 1px;
    background: var(--border);
}

@media (min-width: 640px) {
    .eyebrow-line {
        width: 40px;
    }
}

.eyebrow-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}

@media (min-width: 640px) {
    .eyebrow-text {
        font-size: 0.85rem;
    }
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 5.5rem);
    }
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0;
    line-height: 1.7;
}

.hero-subtitle br {
    display: none;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-subtitle br {
        display: block;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    opacity: 0;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.hero-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
}

@media (min-width: 640px) {
    .hero-stats {
        flex-direction: row;
        gap: 2rem;
    }
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-mono);
}

@media (min-width: 640px) {
    .stat-value {
        font-size: 2rem;
    }
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 60px;
    height: 1px;
    background: var(--border);
}

@media (min-width: 640px) {
    .stat-divider {
        width: 1px;
        height: 40px;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
}

@media (min-width: 640px) {
    .scroll-indicator {
        bottom: 2rem;
    }
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.scroll-arrow {
    color: var(--text-muted);
}

.scroll-dot {
    animation: scrollDotBounce 2s ease-in-out infinite;
}

@keyframes scrollDotBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

/* ============================================
   SECTION TITLES - Mobile first
   ============================================ */

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }
}

.section-title.center {
    text-align: center;
}

.title-accent {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .title-accent {
        font-size: 0.9rem;
    }
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ============================================
   PROBLEM/SOLUTION SECTION - Mobile first
   ============================================ */

.problem-section {
    padding: var(--section-padding) 0;
    background: var(--bg-darker);
}

@media (min-width: 768px) {
    :root {
        --section-padding: clamp(4rem, 10vw, 8rem);
    }
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 900px) {
    .problem-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.problem-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .problem-description {
        font-size: 1.1rem;
    }
}

.problem-description.highlight {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

@media (min-width: 640px) {
    .problem-description.highlight {
        font-size: 1.25rem;
    }
}

/* Switch-Up Demo */
.switch-up-demo {
    background: var(--bg-surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
}

@media (min-width: 640px) {
    .switch-up-demo {
        border-radius: 16px;
    }
}

.demo-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
    .demo-header {
        padding: 1rem 1.5rem;
    }
}

.demo-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.demo-content {
    padding: 1rem;
}

@media (min-width: 640px) {
    .demo-content {
        padding: 1.5rem;
    }
}

.demo-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border-radius: 8px;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.typing-text {
    font-family: var(--font-mono);
    border-right: 2px solid var(--primary);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

.demo-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 87, 34, 0.1);
    border: 1px solid rgba(255, 87, 34, 0.3);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.song-title {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
}

.song-artist {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.demo-key {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    border-radius: 8px;
}

.demo-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* ============================================
   FEATURES HORIZONTAL SCROLL - Mobile first
   ============================================ */

.features-section {
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.features-intro {
    text-align: center;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .features-intro {
        padding: 0 1.5rem;
        margin-bottom: 3rem;
    }
}

.features-horizontal {
    overflow: hidden;
}

.features-wrapper {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 1rem;
    width: fit-content;
}

@media (min-width: 640px) {
    .features-wrapper {
        gap: 1.5rem;
        padding: 2rem 5vw;
    }
}

@media (min-width: 900px) {
    .features-wrapper {
        gap: 2rem;
        padding: 2rem 10vw;
    }
}

.feature-card {
    flex-shrink: 0;
    width: 280px;
    padding: 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    transition: transform var(--transition-base), border-color var(--transition-base);
}

@media (min-width: 640px) {
    .feature-card {
        width: 300px;
        padding: 1.5rem;
        border-radius: 16px;
    }
}

@media (min-width: 900px) {
    .feature-card {
        width: 350px;
        padding: 2rem;
    }
}

@media (hover: hover) {
    .feature-card:hover {
        transform: translateY(-4px);
        border-color: var(--primary);
    }
}

.feature-card-highlight {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-surface), rgba(255, 87, 34, 0.05));
}

.feature-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

@media (min-width: 640px) {
    .feature-badge {
        right: 1.5rem;
    }
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border-radius: 12px;
    margin-bottom: 1rem;
    color: var(--primary);
}

@media (min-width: 640px) {
    .feature-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1.5rem;
    }
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

@media (min-width: 640px) {
    .feature-icon svg {
        width: 48px;
        height: 48px;
    }
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .feature-title {
        font-size: 1.25rem;
    }
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .feature-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (min-width: 640px) {
    .feature-list li {
        font-size: 0.9rem;
    }
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.features-progress {
    max-width: 200px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 1.5rem auto 0;
    overflow: hidden;
}

@media (min-width: 640px) {
    .features-progress {
        margin: 2rem auto 0;
    }
}

.features-progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    border-radius: 2px;
}

/* ============================================
   STAGE MODE PREVIEW - Mobile first
   ============================================ */

.stage-preview {
    padding: var(--section-padding) 1rem;
    background: var(--bg-darker);
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 640px) {
    .stage-preview {
        padding: var(--section-padding) 1.5rem;
    }
}

.stage-preview-inner {
    width: 100%;
    max-width: 500px;
    background: #0A0A0A;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
    .stage-preview-inner {
        border-radius: 24px;
    }
}

.stage-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
    .stage-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
        text-align: left;
    }
}

.stage-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
}

.stage-setlist {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stage-content {
    padding: 1.5rem 1rem;
    text-align: center;
}

@media (min-width: 640px) {
    .stage-content {
        padding: 2rem 1.5rem;
    }
}

.stage-prev, .stage-next {
    margin-bottom: 1.5rem;
}

.stage-next {
    margin-bottom: 0;
    margin-top: 1.5rem;
}

.stage-prev-label, .stage-next-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.stage-prev-song, .stage-next-song {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.stage-current {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stage-song-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: white;
}

@media (min-width: 640px) {
    .stage-song-title {
        font-size: 2rem;
    }
}

.stage-song-artist {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .stage-song-artist {
        font-size: 1.1rem;
    }
}

.stage-meta {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (min-width: 640px) {
    .stage-meta {
        gap: 1rem;
    }
}

.stage-key, .stage-bpm, .stage-duration {
    padding: 0.4rem 0.75rem;
    background: var(--bg-surface);
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

@media (min-width: 640px) {
    .stage-key, .stage-bpm, .stage-duration {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

.stage-key {
    background: var(--primary);
    color: white;
    font-weight: 700;
}

.stage-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
    .stage-nav {
        padding: 1rem 1.5rem;
    }
}

.stage-nav-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

@media (min-width: 640px) {
    .stage-nav-btn {
        width: 48px;
        height: 48px;
    }
}

@media (hover: hover) {
    .stage-nav-btn:hover {
        background: var(--primary);
        border-color: var(--primary);
    }
}

.stage-position {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.stage-caption {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .stage-caption {
        margin-top: 2rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   PRICING SECTION - Mobile first
   ============================================ */

.pricing-section {
    padding: var(--section-padding) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: none;
        margin-top: 3rem;
    }
}

.pricing-card {
    padding: 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    position: relative;
    transition: transform var(--transition-base);
}

@media (min-width: 640px) {
    .pricing-card {
        padding: 2rem;
    }
}

/* Featured card first on mobile */
.pricing-card-featured {
    order: -1;
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-surface), rgba(255, 87, 34, 0.08));
}

@media (min-width: 900px) {
    .pricing-card-featured {
        order: 0;
    }
}

@media (hover: hover) {
    .pricing-card:hover {
        transform: translateY(-4px);
    }
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.35rem 1rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

@media (min-width: 640px) {
    .price-amount {
        font-size: 2.5rem;
    }
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.price-monthly {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.pricing-description {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (min-width: 640px) {
    .pricing-features li {
        font-size: 0.95rem;
    }
}

.pricing-features li svg {
    flex-shrink: 0;
    color: var(--success);
    margin-top: 2px;
}

.pricing-features li strong {
    color: var(--text-primary);
}

/* ============================================
   FAQ SECTION - Mobile first
   ============================================ */

.faq-section {
    padding: var(--section-padding) 0;
    background: var(--bg-darker);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 3rem;
    }
}

.faq-item {
    padding: 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color var(--transition-base);
}

@media (min-width: 640px) {
    .faq-item {
        padding: 1.5rem;
    }
}

@media (hover: hover) {
    .faq-item:hover {
        border-color: var(--primary);
    }
}

.faq-question {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

@media (min-width: 640px) {
    .faq-question {
        font-size: 1.05rem;
    }
}

.faq-answer {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (min-width: 640px) {
    .faq-answer {
        font-size: 0.95rem;
    }
}

/* ============================================
   CTA SECTION - Mobile first
   ============================================ */

.cta-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--bg-surface), rgba(255, 87, 34, 0.1));
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
}

.cta-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .cta-subtitle {
        font-size: 1.1rem;
    }
}

/* ============================================
   FOOTER - Mobile first
   ============================================ */

.footer {
    padding: 3rem 0 1.5rem;
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
    .footer {
        padding: 4rem 0 2rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: left;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
        gap: 3rem;
        margin-bottom: 3rem;
    }

    .footer-brand {
        grid-column: auto;
    }
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-links h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .footer-links h4 {
        margin-bottom: 1rem;
    }
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    transition: color var(--transition-fast);
    padding: 0.25rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .footer-links a {
        justify-content: flex-start;
        min-height: auto;
        margin-bottom: 0.5rem;
    }
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        padding-top: 2rem;
    }
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (min-width: 640px) {
    .footer-bottom p {
        font-size: 0.9rem;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }

    .scroll-dot {
        animation: none;
    }

    .hero-spotlight {
        animation: none;
    }

    .typing-text {
        animation: none;
        border-right-color: var(--primary);
    }
}

/* Focus styles for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
