/* ==========================================================================
   Woo Event Tickets — Landing Page Styles
   Hand-coded, zero dependencies, 60fps animations
   ========================================================================== */

:root {
    /* Colors */
    --bg: #0a0a0f;
    --bg-elevated: #11111a;
    --bg-card: #16161f;
    --fg: #f5f5f7;
    --fg-muted: #8b8b9a;
    --fg-subtle: #5a5a6e;
    --accent: #0066cc;
    --accent-light: #0088ff;
    --accent-dark: #004499;
    --accent-glow: rgba(0, 102, 204, 0.4);
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.4);
    --warning: #f59e0b;
    --danger: #ef4444;
    --danger-glow: rgba(239, 68, 68, 0.4);
    --border: #2a2a3a;
    --border-light: #3a3a4a;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
    
    /* 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;
    
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
    --shadow-xl: 0 24px 48px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 32px var(--accent-glow);
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-base: 250ms;
    --duration-slow: 400ms;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
    
    /* Nav */
    --nav-height: 72px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; }
ul { list-style: none; }

/* Focus visible */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Selection */
::selection {
    background: var(--accent-glow);
    color: var(--fg);
}

/* ==========================================================================
   Container
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--duration-base), border-color var(--duration-base);
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    border-bottom-color: var(--border-light);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--fg);
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fg-muted);
    transition: color var(--duration-fast);
    position: relative;
}

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

.nav-link:hover,
.nav-link:focus {
    color: var(--fg);
}

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

.nav-link--ghost {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    transition: all var(--duration-fast);
}

.nav-link--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    padding: 0;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--fg);
    border-radius: 2px;
    transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-fast);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) var(--ease-out);
    white-space: nowrap;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn--primary {
    background: var(--accent);
    color: white;
    border: 2px solid var(--accent);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn--primary:hover:not(:disabled) {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn--primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px var(--accent-glow);
}

.btn--secondary {
    background: transparent;
    color: var(--fg);
    border: 2px solid var(--border-light);
}

.btn--secondary:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

.btn--ghost {
    background: transparent;
    color: var(--fg-muted);
    border: 2px solid transparent;
    padding: 0.5rem 1rem;
}

.btn--ghost:hover:not(:disabled) {
    color: var(--fg);
    background: var(--bg-card);
}

.btn--outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn--outline:hover:not(:disabled) {
    background: var(--accent);
    color: white;
}

.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn--full { width: 100%; }

.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn--scanner { gap: 0.5rem; }
.btn--cta { position: relative; overflow: hidden; }
.btn-sub { font-size: 0.75rem; font-weight: 400; opacity: 0.8; display: block; margin-top: 0.125rem; line-height: 1.2; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 102, 204, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 30% at 0% 50%, rgba(245, 158, 11, 0.06) 0%, transparent 50%),
        var(--bg);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 0%, transparent 70%);
}

.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 { width: 400px; height: 400px; top: -100px; right: -100px; background: var(--accent); animation-delay: 0s; }
.orb-2 { width: 300px; height: 300px; bottom: 20%; left: -50px; background: var(--success); animation-delay: -7s; }
.orb-3 { width: 200px; height: 200px; top: 30%; left: 10%; background: var(--warning); animation-delay: -14s; }

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(20px, 20px) scale(1.02); }
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--container-padding);
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--fg-muted);
    margin-bottom: var(--space-xl);
}

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

.badge-tag {
    padding: 0.125rem 0.5rem;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.9); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
    color: var(--fg);
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-small {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--fg-muted);
    display: block;
    margin-top: var(--space-sm);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--fg-muted);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--space-3xl);
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.trust-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--fg);
    line-height: 1;
}

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

.trust-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--fg-subtle);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: scrollBounce 3s ease-in-out infinite;
}

.hero-scroll svg { width: 24px; height: 24px; }

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(8px); }
    60% { transform: translateX(-50%) translateY(4px); }
}

/* ==========================================================================
   Reveal Animations
   ========================================================================== */

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="slide-right"] { transform: translateX(-40px); }
[data-reveal="slide-right"].revealed { transform: translateX(0); }
[data-reveal="slide-left"] { transform: translateX(40px); }
[data-reveal="slide-left"].revealed { transform: translateX(0); }
[data-reveal="fade-in"] { transform: none; }
[data-reveal="fade-in"].revealed { opacity: 1; }

[data-delay="50"] { transition-delay: 50ms; }
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="150"] { transition-delay: 150ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="250"] { transition-delay: 250ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="600"] { transition-delay: 600ms; }

/* ==========================================================================
   Section Header
   ========================================================================== */

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

.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

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

/* ==========================================================================
   Demo / Live Scanner
   ========================================================================== */

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

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

.scanner-frame {
    position: relative;
    aspect-ratio: 4/3;
    background: #000;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), inset 0 0 0 1px var(--border);
}

.scanner-video,
.scanner-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scanner-canvas { display: none; }

.scanner-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.scanner-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid var(--accent);
    transition: border-color var(--duration-base);
}

.scanner-corner.tl { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.scanner-corner.tr { top: 16px; right: 16px; border-left: none; border-bottom: none; }
.scanner-corner.bl { bottom: 16px; left: 16px; border-right: none; border-top: none; }
.scanner-corner.br { bottom: 16px; right: 16px; border-left: none; border-top: none; }

.scanner-line {
    position: absolute;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 16px var(--accent);
    animation: scanLine 2.5s ease-in-out infinite;
}

@keyframes scanLine {
    0% { top: 16px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: calc(100% - 16px); opacity: 0; }
}

.scanner-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--fg-muted);
    transition: opacity var(--duration-base), visibility var(--duration-base);
}

.scanner-placeholder.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.scanner-icon { width: 64px; height: 64px; opacity: 0.3; }

.scanner-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.btn--scanner { min-width: 140px; }

.scanner-result {
    margin-top: var(--space-lg);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    min-height: 120px;
    transition: all var(--duration-base) var(--ease-out);
}

.scanner-result.valid {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 24px var(--success-glow);
}

.scanner-result.invalid {
    border-color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
    box-shadow: 0 0 24px var(--danger-glow);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
}

.result-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.scanner-result.valid .result-icon {
    background: var(--success);
    color: white;
}

.scanner-result.invalid .result-icon {
    background: var(--danger);
    color: white;
}

.result-title {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scanner-result.valid .result-title { color: var(--success); }
.scanner-result.invalid .result-title { color: var(--danger); }

.result-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
}

.result-label { color: var(--fg-subtle); }
.result-value { font-weight: 600; color: var(--fg); }

/* QR Demo */

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

.qr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.qr-badge {
    padding: 0.25rem 0.75rem;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.qr-status {
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.qr-status.status-valid { background: var(--success); color: white; }
.qr-status.status-used { background: var(--warning); color: #1a1a1a; }
.qr-status.status-invalid { background: var(--danger); color: white; }
.qr-status.status-cancelled { background: var(--fg-subtle); color: var(--fg); }

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--space-lg);
    background: white;
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

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

.qr-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm) var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.qr-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

.qr-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--fg);
    font-family: var(--font-mono);
}

.qr-note {
    text-align: center;
    margin-top: var(--space-lg);
    font-size: 0.8125rem;
    color: var(--fg-subtle);
}

.qr-scenarios {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.qr-scenarios h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fg-muted);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scenario-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.scenario-btn {
    padding: 0.5rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--fg-muted);
    transition: all var(--duration-fast);
}

.scenario-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.scenario-btn[aria-pressed="true"] {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* ==========================================================================
   Features
   ========================================================================== */

.features { padding: var(--space-4xl) 0; background: var(--bg-elevated); }

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

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

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-glow);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: var(--accent);
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--fg);
}

.feature-desc {
    color: var(--fg-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.feature-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--fg-subtle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Showcase
   ========================================================================== */

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

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fg-muted);
    transition: all var(--duration-fast);
}

.tab-btn:hover { border-color: var(--accent); color: var(--accent); }

.tab-btn.active,
.tab-btn[aria-selected="true"] {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.showcase-panels { position: relative; }

.tab-panel {
    display: none;
    animation: panelFade 0.3s var(--ease-out);
}

.tab-panel.active { display: block; }

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

.showcase-frame {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    margin: 0 auto;
}

.frame-chrome {
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.frame-chrome.mobile { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }

.chrome-dots {
    display: flex;
    gap: 0.5rem;
}

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

.chrome-dots span:nth-child(1) { background: #ff5f57; }
.chrome-dots span:nth-child(2) { background: #ffbd2e; }
.chrome-dots span:nth-child(3) { background: #28ca42; }

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

/* Dashboard Preview */

.dashboard-preview { min-height: 400px; }

.preview-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.preview-stats .stat {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--duration-fast);
}

.preview-stats .stat:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.preview-stats .stat.highlight {
    border-color: var(--accent);
    background: var(--accent-glow);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--fg);
    line-height: 1;
}

.preview-stats .stat.highlight .stat-value { color: var(--accent); }

.stat-label {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--fg-subtle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-chart {
    height: 200px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    position: relative;
}

.chart-canvas { width: 100%; height: 100%; }

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

.recent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

.recent-time { color: var(--fg-subtle); font-family: var(--font-mono); min-width: 60px; }
.recent-ticket { font-weight: 500; font-family: var(--font-mono); flex: 1; }

.recent-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
}

.recent-badge.valid { background: var(--success); color: white; }
.recent-badge.used { background: var(--warning); color: #1a1a1a; }
.recent-badge.cancelled { background: var(--fg-subtle); color: var(--fg); }

/* Scanner Preview */

.scanner-preview { min-height: 500px; }

.scanner-viewfinder {
    position: relative;
    aspect-ratio: 4/3;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.vf-corners {
    position: absolute;
    inset: 24px;
}

.vf-corners span {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 3px solid var(--accent);
}

.vf-corners span:nth-child(1) { top: 0; left: 0; border-right: none; border-bottom: none; }
.vf-corners span:nth-child(2) { top: 0; right: 0; border-left: none; border-bottom: none; }
.vf-corners span:nth-child(3) { bottom: 0; left: 0; border-right: none; border-top: none; }
.vf-corners span:nth-child(4) { bottom: 0; right: 0; border-left: none; border-top: none; }

.vf-line {
    position: absolute;
    left: 32px;
    right: 32px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    top: 50%;
    animation: scanLine 2s ease-in-out infinite;
}

.scanner-result-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    padding: var(--space-xl);
    text-align: center;
    color: white;
}

.result-icon {
    width: 64px;
    height: 64px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.scanner-result-overlay h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.05em;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    font-size: 1rem;
    opacity: 0.9;
}

/* Tickets Preview */

.tickets-preview { min-height: 400px; }

.ticket-row {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    align-items: center;
}

.ticket-row.header {
    background: var(--bg);
    font-weight: 600;
    color: var(--fg-subtle);
    text-transform: uppercase;
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
}

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

.ticket-row:hover { background: var(--bg-elevated); }

/* Reports Preview */

.reports-preview { min-height: 400px; }

.report-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.report-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
}

.report-card h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fg-muted);
    margin-bottom: var(--space-sm);
}

.report-card p {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--fg);
}

.report-chart {
    height: 200px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   Social Proof / Marquee
   ========================================================================== */

.social-proof { padding: var(--space-4xl) 0; background: var(--bg-elevated); }

.proof-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
    margin-bottom: var(--space-3xl);
}

.marquee-track {
    display: flex;
    gap: var(--space-3xl);
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    padding: var(--space-md) var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--fg);
    white-space: nowrap;
    flex-shrink: 0;
}

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

.proof-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--duration-base) var(--ease-out);
}

.proof-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.proof-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--space-lg);
    border: 2px solid var(--accent);
}

.proof-avatar img { width: 100%; height: 100%; object-fit: cover; }

.proof-quote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--fg);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.proof-footer cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 0.125rem;
}

.proof-footer span {
    font-size: 0.8125rem;
    color: var(--fg-subtle);
}

/* ==========================================================================
   Pricing
   ========================================================================== */

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

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--space-3xl);
}

.toggle-label {
    font-size: 0.875rem;
    color: var(--fg-muted);
}

.save-badge {
    background: var(--accent);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
    background: var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--duration-fast);
}

.toggle-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: transform var(--duration-base) var(--ease-spring);
}

#billingToggle:checked + .toggle-slider {
    background: var(--accent);
}

#billingToggle:checked + .toggle-slider::before {
    transform: translateX(28px);
}

#billingToggle { position: absolute; opacity: 0; pointer-events: none; }

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

.price-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    transition: all var(--duration-base) var(--ease-out);
}

.price-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.price-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), 0 0 48px var(--accent-glow);
    transform: scale(1.02);
}

.price-card.featured:hover { transform: scale(1.02) translateY(-4px); }

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.price-header { margin-bottom: var(--space-lg); text-align: center; }

.price-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.price-desc { font-size: 0.875rem; color: var(--fg-subtle); }

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--fg-muted);
}

.price-amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--fg);
    line-height: 1;
}

.price-period { font-size: 1rem; color: var(--fg-subtle); margin-top: 0.5rem; }

.price-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex: 1;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--fg);
    line-height: 1.5;
}

.price-features svg {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* ==========================================================================
   Docs / Steps
   ========================================================================== */

.docs { padding: var(--space-4xl) 0; background: var(--bg-elevated); }

.docs-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.doc-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.step-desc {
    color: var(--fg-muted);
    margin-bottom: var(--space-lg);
    font-size: 0.875rem;
}

.step-code {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--accent-light);
    overflow-x: auto;
}

.docs-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fg-muted);
    transition: all var(--duration-fast);
}

.doc-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

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

/* ==========================================================================
   CTA
   ========================================================================== */

.cta {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.cta-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.cta-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0, 102, 204, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 100% 0%, rgba(16, 185, 129, 0.1) 0%, transparent 60%),
        var(--bg-elevated);
}

.cta-particles { position: absolute; inset: 0; }

.cta-particles::before,
.cta-particles::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: particleFloat 15s ease-in-out infinite;
}

.cta-particles::before {
    top: 10%; right: 10%;
    background: var(--accent);
    animation-delay: 0s;
}

.cta-particles::after {
    bottom: 10%; left: 10%;
    background: var(--success);
    animation-delay: -7.5s;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(40px, -30px) scale(1.2); opacity: 0.5; }
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--container-padding);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--fg-muted);
    max-width: 500px;
    margin: 0 auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: var(--space-2xl);
}

.btn--cta { flex-direction: column; gap: 0.25rem; text-align: center; min-width: 200px; }

.cta-trust {
    margin-top: var(--space-2xl);
    font-size: 0.875rem;
    color: var(--fg-subtle);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding: var(--space-4xl) 0 var(--space-2xl);
    border-top: 1px solid var(--border);
    background: var(--bg);
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.footer-logo-icon { width: 32px; height: 32px; color: var(--accent); }

.footer-tagline {
    color: var(--fg-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg-muted);
    transition: all var(--duration-fast);
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

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

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fg-subtle);
    margin-bottom: var(--space-lg);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }

.footer-col a {
    font-size: 0.875rem;
    color: var(--fg-muted);
    transition: color var(--duration-fast);
}

.footer-col a:hover { color: var(--accent); }

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

.copyright {
    font-size: 0.8125rem;
    color: var(--fg-subtle);
}

.copyright a { color: var(--accent); font-weight: 500; }

.footer-note {
    font-size: 0.75rem;
    color: var(--fg-subtle);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .features-grid,
    .proof-cards,
    .pricing-grid,
    .docs-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .demo-grid { grid-template-columns: 1fr; }
    
    .demo-scanner { order: 2; }
    .demo-qr { order: 1; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
        --space-3xl: 3rem;
        --space-4xl: 4rem;
    }
    
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--duration-base) var(--ease-out);
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle { display: flex; }
    
    .nav-actions .nav-link:not(.nav-btn) { display: none; }
    
    .hero-trust { gap: var(--space-md); }
    .trust-divider { display: none; }
    
    .features-grid,
    .proof-cards,
    .pricing-grid,
    .docs-steps {
        grid-template-columns: 1fr;
    }
    
    .price-card.featured { transform: none; }
    .price-card.featured:hover { transform: translateY(-4px); }
    
    .footer-nav { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    
    .preview-stats { grid-template-columns: repeat(2, 1fr); }
    .report-cards { grid-template-columns: repeat(2, 1fr); }
    .ticket-row { grid-template-columns: 1fr; gap: var(--space-xs); text-align: left; }
    .ticket-row.header { display: none; }
    .ticket-row::before { content: attr(data-label); font-weight: 600; color: var(--fg-subtle); font-size: 0.6875rem; }
    
    .result-details { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    :root { --container-padding: 1rem; }
    
    .btn--lg { padding: 0.875rem 1.5rem; }
    .btn-sub { display: none; }
    
    .hero-badge { font-size: 0.75rem; }
    .section-tag { font-size: 0.6875rem; }
    
    .trust-number { font-size: 1.5rem; }
    .qr-code { width: 160px; height: 160px; }
    
    .marquee-track { animation-duration: 20s; }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
    .nav, .hero-scroll, .demo, .cta, .footer-social { display: none !important; }
    .hero { min-height: auto; padding-top: 0; }
    body { background: white; color: black; }
    .btn { border: 1px solid #ccc !important; }
}

/* ==========================================================================
   High Contrast
   ========================================================================== */

@media (prefers-contrast: high) {
    :root {
        --border: #444;
        --border-light: #666;
        --fg-muted: #bbb;
    }
}

/* ==========================================================================
   Reduced Motion - Additional
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .orb, .hero-scroll, .marquee-track,
    .cta-particles::before, .cta-particles::after,
    .scanner-line, .vf-line, .badge-dot {
        animation: none !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
}