/* ========================================
   OnTonite Landing Page — Styles
   Matched to dashboard theme: Inter, indigo brand, dark grays
   ======================================== */

/* --- Custom Properties --- */
:root {
    --bg-primary: #030712;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --text-primary: #e5e7eb;
    --text-secondary: #d1d5db;
    --text-muted: #6b7280;
    --accent: #667eea;
    --accent-hover: #818cf8;
    --accent-light: #a5b4fc;
    --accent-glow: rgba(102, 126, 234, 0.3);
    --accent-subtle: rgba(102, 126, 234, 0.08);
    --accent-border: rgba(102, 126, 234, 0.15);
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-bg-hover: rgba(255, 255, 255, 0.06);
    --radius: 8px;
    --radius-lg: 16px;
    --container: 1120px;
    --nav-height: 72px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

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

.section {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.section-alt {
    background-color: var(--bg-secondary);
}

.section-heading {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subheading {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 640px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
}

.section-closing {
    text-align: center;
    color: var(--accent-light);
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #5a67d8 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
    box-shadow: 0 4px 24px rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 10px;
}

.btn-full {
    width: 100%;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background-color: transparent;
    transition: background-color var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background-color: rgba(3, 7, 18, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}

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

.nav-logo {
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}

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

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(3, 7, 18, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 1000;
}

.nav-menu.open {
    display: flex;
}

.nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}

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

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

.nav-login {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition);
}

.nav-login:hover {
    color: var(--accent-light);
}

/* Desktop nav */
@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        position: static;
        background: none;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .nav-links {
        flex-direction: row;
        gap: 2rem;
    }

    .nav-links a {
        font-size: 0.9375rem;
    }

    .nav-actions {
        flex-direction: row;
        gap: 1.5rem;
    }
}

/* ========================================
   SECTION 1: HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-primary);
}

/* Animated orb background */
.hero-bg-magic {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

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

.hero-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.35) 0%, transparent 70%);
    top: -10%; left: -5%;
    animation-duration: 14s;
}

.hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.3) 0%, transparent 70%);
    bottom: -5%; right: -5%;
    animation-duration: 10s;
    animation-delay: -4s;
}

.hero-orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    top: 40%; left: 50%;
    animation-duration: 16s;
    animation-delay: -8s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content-centered {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-top: var(--nav-height);
}

.icon-inline {
    display: inline-block;
    vertical-align: -3px;
    margin-right: 2px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
}

.hero-title-centered {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #a78bfa 50%, #667eea 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-sub-centered {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-note {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* Magic Animation */
.demo-magic-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    position: relative;
}

.demo-magic-center {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-magic-icon {
    font-size: 2.5rem;
    z-index: 2;
    animation: magicPulse 0.8s ease-in-out infinite;
}

@keyframes magicPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.demo-magic-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(102, 126, 234, 0.3);
    animation: magicRing 2s ease-out infinite;
}

.demo-magic-ring-1 { width: 60px; height: 60px; animation-delay: 0s; }
.demo-magic-ring-2 { width: 60px; height: 60px; animation-delay: 0.5s; }
.demo-magic-ring-3 { width: 60px; height: 60px; animation-delay: 1s; }

@keyframes magicRing {
    0% { transform: scale(1); opacity: 0.6; border-color: rgba(102, 126, 234, 0.5); }
    100% { transform: scale(3); opacity: 0; border-color: rgba(102, 126, 234, 0); }
}

.demo-magic-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

.demo-particle {
    position: absolute;
    font-size: 1.5rem;
    animation: particleShoot 2s ease-out infinite;
    animation-delay: var(--delay);
}

@keyframes particleShoot {
    0% {
        transform: rotate(var(--angle)) translateX(0) scale(0.5);
        opacity: 0;
    }
    30% {
        opacity: 1;
        transform: rotate(var(--angle)) translateX(60px) scale(1.2);
    }
    100% {
        transform: rotate(var(--angle)) translateX(120px) scale(0.6);
        opacity: 0;
    }
}

/* Hero input bigger and more prominent */
.demo-input-hero {
    padding: 18px 24px !important;
    font-size: 1.15rem !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.08);
}

.demo-input-hero:focus {
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.15) !important;
}

/* Panel shoot-in animation */
.demo-panel {
    animation: panelShootIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.demo-panel:nth-child(1) { animation-delay: 0s; }
.demo-panel:nth-child(2) { animation-delay: 0.15s; }
.demo-panel:nth-child(3) { animation-delay: 0.3s; }
.demo-panel:nth-child(4) { animation-delay: 0.45s; }

@keyframes panelShootIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(40px);
        filter: blur(10px);
    }
    60% {
        transform: scale(1.03) translateY(-5px);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

/* ========================================
   SECTION 2: THE PROBLEM
   ======================================== */
.pain-points {
    max-width: 720px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pain-point {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.pain-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-subtle);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.pain-icon svg {
    width: 22px;
    height: 22px;
}

.pain-point p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.6;
    padding-top: 0.25rem;
}

/* ========================================
   SECTION 3: HOW IT WORKS
   ======================================== */
.steps {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step {
    display: grid;
    gap: 1.5rem;
}

.step-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    letter-spacing: -0.04em;
}

.step-content h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
}

.step-screenshot {
    margin-top: 0.5rem;
}

.screenshot-placeholder {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .step {
        grid-template-columns: auto 1fr 1fr;
        grid-template-rows: auto;
        align-items: start;
        gap: 2rem;
    }

    .step-number {
        font-size: 4.5rem;
        padding-top: 0.25rem;
    }

    .step-screenshot {
        margin-top: 0;
    }

    .screenshot-placeholder {
        min-height: 280px;
    }
}

/* ========================================
   SECTION 4: ROI
   ======================================== */
.roi-points {
    max-width: 720px;
    margin: 3.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.roi-point {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.roi-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-subtle);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.roi-icon svg {
    width: 20px;
    height: 20px;
}

.roi-point p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
    padding-top: 0.25rem;
}

/* ========================================
   SECTION 5: FEATURES
   ======================================== */
.features-grid {
    margin-top: 3.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
}

.feature-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--border-light);
    transform: translateY(-2px);
}

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

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

.feature-title {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.65;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Center orphan cards in last row */
    .features-grid > .feature-card:last-child:nth-child(3n + 1) {
        grid-column: 2;
    }

    .features-grid > .feature-card:nth-last-child(2):nth-child(3n + 1) {
        grid-column: 2;
    }

    .features-grid > .feature-card:nth-last-child(2):nth-child(3n + 1) ~ .feature-card {
        grid-column: 3;
    }
}

/* ========================================
   SECTION 6: SCREENSHOTS
   ======================================== */
.screenshot-grid {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.screenshot-large {
    min-height: 360px;
}

.screenshot-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .screenshot-row {
        grid-template-columns: 1fr 1fr;
    }

    .screenshot-large {
        min-height: 420px;
    }
}

/* ========================================
   SECTION 7: PRICING
   ======================================== */
#pricing .section-heading {
    margin-bottom: 1rem;
}

.pricing-wrapper {
    display: flex;
    justify-content: center;
}

.pricing-card {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    box-shadow: 0 0 60px -20px var(--accent-glow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pricing-price {
    margin-bottom: 0.5rem;
}

.pricing-amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.pricing-period {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.pricing-tagline {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
}

.pricing-features {
    text-align: left;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

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

.pricing-note {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.pricing-kicker {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    font-style: italic;
    margin-top: 3rem;
}

/* ========================================
   SECTION 8: COMPARISON
   ======================================== */
.comparison-stack {
    max-width: 560px;
    margin: 3.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.comparison-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border);
    border-bottom: none;
    gap: 1rem;
    flex-wrap: wrap;
}

.comparison-item:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.comparison-item.old .comparison-name {
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(107, 114, 128, 0.5);
}

.comparison-item.old .comparison-price {
    color: var(--text-muted);
}

.comparison-item.priceless .comparison-price {
    font-style: italic;
}

.comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    background: var(--bg-primary);
}

.comparison-divider span {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.comparison-item.highlight {
    background: var(--accent-subtle);
    border: 2px solid var(--accent);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 1.5rem;
}

.comparison-item.highlight .comparison-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.comparison-item.highlight .comparison-price {
    color: var(--accent-light);
    font-weight: 700;
    font-size: 1.125rem;
}

.comparison-name {
    font-weight: 500;
    color: var(--text-secondary);
}

.comparison-price {
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.comparison-note {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 400;
    width: 100%;
}

/* ========================================
   SECTION 9: TRUST
   ======================================== */
.trust-content {
    max-width: 720px;
    margin: 3.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.trust-quote {
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent);
}

.trust-quote p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.75;
}

.trust-quote em {
    color: var(--accent-light);
    font-style: italic;
}

/* ========================================
   SECTION 10: FAQ
   ======================================== */
.faq-list {
    max-width: 720px;
    margin: 3.5rem auto 0;
}

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

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    text-align: left;
    gap: 1rem;
}

.faq-question span {
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--text-primary);
}

.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform var(--transition);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    padding-bottom: 1.25rem;
}

/* ========================================
   SECTION 11: FINAL CTA
   ======================================== */
.final-cta {
    padding: 8rem 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 60%),
        var(--bg-primary);
    text-align: center;
}

.final-cta-content h2 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    margin-bottom: 1rem;
}

.final-cta-content > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-img {
    height: 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color var(--transition);
}

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

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

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

.footer-bottom a {
    color: var(--text-muted);
    transition: color var(--transition);
}

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

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.pain-point.fade-in:nth-child(2) { transition-delay: 0.1s; }
.pain-point.fade-in:nth-child(3) { transition-delay: 0.2s; }
.pain-point.fade-in:nth-child(4) { transition-delay: 0.3s; }

.step.fade-in:nth-child(2) { transition-delay: 0.15s; }
.step.fade-in:nth-child(3) { transition-delay: 0.3s; }

.roi-point.fade-in:nth-child(2) { transition-delay: 0.1s; }
.roi-point.fade-in:nth-child(3) { transition-delay: 0.2s; }
.roi-point.fade-in:nth-child(4) { transition-delay: 0.3s; }

.feature-card.fade-in:nth-child(2) { transition-delay: 0.08s; }
.feature-card.fade-in:nth-child(3) { transition-delay: 0.16s; }
.feature-card.fade-in:nth-child(4) { transition-delay: 0.24s; }
.feature-card.fade-in:nth-child(5) { transition-delay: 0.32s; }
.feature-card.fade-in:nth-child(6) { transition-delay: 0.4s; }
.feature-card.fade-in:nth-child(7) { transition-delay: 0.48s; }
.feature-card.fade-in:nth-child(8) { transition-delay: 0.56s; }

/* Coming Soon badge */
.badge-coming-soon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, #5a67d8 100%);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    line-height: 1;
}

.feature-card {
    position: relative;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 640px) {
    .section {
        padding: 7rem 0;
    }

    .hero-content {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    .section {
        padding: 8rem 0;
    }

    .hero-content {
        max-width: 720px;
    }

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 8rem 0;
    }
}

/* ========================================
   BROWSER MOCKUP FRAMES
   ======================================== */
.browser-mockup {
    background: #0d1117;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.browser-mockup-large {
    max-width: 100%;
}

.browser-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.browser-dot:first-child {
    background: rgba(255, 99, 71, 0.6);
}

.browser-dot:nth-child(2) {
    background: rgba(255, 193, 7, 0.6);
}

.browser-dot:nth-child(3) {
    background: rgba(76, 175, 80, 0.6);
}

.browser-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

/* Step screenshots in browser mockups */
.step-screenshot .browser-mockup {
    border-radius: 10px;
}

.step-screenshot .browser-toolbar {
    padding: 8px 12px;
}

.step-screenshot .browser-dot {
    width: 8px;
    height: 8px;
}

/* ========================================
   PHONE MOCKUP FRAME
   ======================================== */
.phone-mockup {
    background: #0d1117;
    border-radius: 32px;
    padding: 10px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    max-width: 300px;
    margin: 0 auto;
    position: relative;
}

.phone-notch {
    width: 80px;
    height: 6px;
    background: #0d1117;
    border-radius: 3px;
    margin: 0 auto 8px;
    position: relative;
    z-index: 1;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
}

/* ========================================
   PHONE PREVIEW (no frame)
   ======================================== */
.phone-preview {
    max-width: 300px;
    margin: 0 auto;
}

.phone-preview img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ========================================
   PRICING ANCHOR & URGENCY
   ======================================== */
.pricing-anchor {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.pricing-urgency {
    margin-top: 1.25rem;
    color: var(--accent-light);
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.85;
}

.cta-urgency {
    margin-top: 0.75rem;
    color: var(--accent-light);
    font-size: 0.9375rem;
    font-weight: 500;
    opacity: 0.85;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-grid {
    margin-top: 3.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
}

.testimonial-quote-mark {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-attribution {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.testimonial-card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.testimonial-card.fade-in:nth-child(3) { transition-delay: 0.2s; }

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   FOUNDER SECTION
   ======================================== */
.founder-section {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 720px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.founder-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-border);
    flex-shrink: 0;
}

.founder-attribution {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    font-weight: 600;
}

/* ========================================
   SCREENSHOT SECTION — RESPONSIVE PHONE
   ======================================== */
@media (min-width: 640px) {
    .screenshot-row {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

@media (max-width: 639px) {
    .phone-mockup {
        max-width: 240px;
    }
}

/* ========== INTERACTIVE DEMO ========== */
.demo-container {
    margin-top: 2.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    transition: max-width 0.4s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(12px);
}

.demo-heading {
    font-size: 1.4rem;
    font-weight: 800;
    color: #e2e8f0;
    margin-bottom: 0.25rem;
    text-align: center;
}

.demo-sub {
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 1.5rem;
}

.demo-step { transition: all 0.3s ease; }
.demo-step.hidden { display: none; }

.demo-search-wrapper {
    position: relative;
    width: 100%;
}

.demo-input {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 12px;
    color: #e2e8f0;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.demo-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.demo-input::placeholder { color: #475569; }

.demo-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e293b;
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 12px;
    margin-top: 4px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.demo-autocomplete.hidden { display: none; }

.demo-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.demo-autocomplete-item:last-child { border-bottom: none; }
.demo-autocomplete-item:hover { background: rgba(102, 126, 234, 0.1); }

.demo-autocomplete-item img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.demo-autocomplete-item .demo-ac-fallback {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.demo-ac-name { font-size: 14px; font-weight: 600; color: #e5e7eb; }
.demo-ac-genre { font-size: 12px; color: #9ca3af; margin-top: 2px; }

/* Artist selected card */
.demo-artist-selected {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.demo-artist-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
}

.demo-artist-name-text { font-size: 1rem; font-weight: 700; color: #e2e8f0; }
.demo-artist-genre-text { font-size: 0.8rem; color: #667eea; margin-top: 2px; text-transform: uppercase; letter-spacing: 1px; }

/* Event detail fields */
.demo-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.demo-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.demo-field .demo-input {
    padding: 10px 12px;
    font-size: 0.9rem;
}

.demo-field select.demo-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.demo-magic-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

/* Loading animation */
.demo-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
}

.demo-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(102, 126, 234, 0.15);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: demo-spin 0.8s linear infinite;
}

@keyframes demo-spin { to { transform: rotate(360deg); } }

.demo-loading-text {
    margin-top: 1rem;
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
}

/* Results grid (Stage 2) */
.demo-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Mobile */
@media (max-width: 639px) {
    .demo-container { padding: 1.25rem; margin-top: 1.5rem; }
    .demo-fields { grid-template-columns: 1fr; }
    .demo-results-grid { grid-template-columns: 1fr; }
    .demo-heading { font-size: 1.2rem; }
}

/* ========== DEMO RESULTS ========== */
.demo-results-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.demo-results-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #e2e8f0;
    margin-bottom: 0.25rem;
}
.demo-results-header p {
    font-size: 0.9rem;
    color: #64748b;
}

.demo-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.12);
    border-radius: 12px;
    overflow: hidden;
}

.demo-panel-label {
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

/* Event Poster */
.demo-poster {
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    position: relative;
}
.demo-poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
    text-align: center;
}
.demo-poster-venue { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; opacity: 0.7; margin-bottom: 4px; }
.demo-poster-genre { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 3px; opacity: 0.8; color: #667eea; margin-bottom: 8px; }
.demo-poster-band { font-size: 1.4rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.demo-poster-date { font-size: 0.75rem; font-weight: 500; opacity: 0.9; }
.demo-poster-time { font-size: 0.7rem; font-weight: 500; opacity: 0.8; }

/* Monthly Schedule */
.demo-schedule {
    padding: 16px;
    background: #0a0f1a;
}
.demo-schedule-header { font-size: 0.75rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 2px; text-align: center; }
.demo-schedule-month { font-size: 1.3rem; font-weight: 900; color: #e2e8f0; text-align: center; margin-bottom: 12px; }
.demo-schedule-events { display: flex; flex-direction: column; gap: 0; }
.demo-schedule-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.78rem;
}
.demo-schedule-day { width: 55px; flex-shrink: 0; color: #64748b; font-weight: 600; font-size: 0.7rem; }
.demo-schedule-band { flex: 1; color: #e2e8f0; font-weight: 600; }
.demo-schedule-time { flex-shrink: 0; color: #64748b; font-size: 0.7rem; }
.demo-schedule-highlight {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 6px;
    padding: 8px 6px;
    border-bottom: none;
}
.demo-schedule-highlight .demo-schedule-band { color: #667eea; }
.demo-schedule-highlight .demo-schedule-day,
.demo-schedule-highlight .demo-schedule-time { color: #8b9fea; }

/* Website Widget */
.demo-widget {
    padding: 14px;
    background: #ffffff;
}
.demo-widget-header { font-size: 0.85rem; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.demo-widget-event {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}
.demo-widget-faded { opacity: 0.5; }
.demo-widget-img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; }
.demo-widget-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.demo-widget-band { font-size: 0.85rem; font-weight: 600; color: #1e293b; }
.demo-widget-meta { font-size: 0.72rem; color: #64748b; margin-top: 2px; }
.demo-widget-genre { font-size: 0.65rem; color: #667eea; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.demo-widget-embed-note {
    text-align: center;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
    font-style: italic;
}

/* Email Blast */
.demo-email { background: #f8fafc; }
.demo-email-subject {
    padding: 10px 14px;
    font-size: 0.78rem;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
}
.demo-email-label { font-weight: 700; color: #94a3b8; }
.demo-email-body { padding: 0; }
.demo-email-hero {
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.demo-email-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 12px;
}
.demo-email-hero-text { color: white; font-size: 1rem; font-weight: 800; }
.demo-email-content {
    padding: 14px;
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.6;
}
.demo-email-content p { margin: 4px 0; }
.demo-email-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 16px;
    background: #667eea;
    color: white;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}
.demo-email-send {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid #e2e8f0;
    background: #f1f5f9;
}

.demo-results-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
}
.demo-results-cta p { color: #94a3b8; font-size: 1rem; margin-bottom: 1rem; }
.demo-results-cta strong { color: #e2e8f0; }

@media (max-width: 639px) {
    .demo-poster-band { font-size: 1.1rem; }
    .demo-email-send { flex-direction: column; }
}

/* ========== DEMO SECTIONS LAYOUT ========== */
.demo-results-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.demo-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.12);
    border-radius: 12px;
    overflow: hidden;
}

.demo-section-full { grid-column: 1 / -1; }

.demo-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.demo-section-tag {
    font-size: 0.7rem;
    color: #64748b;
    font-style: italic;
}

/* ========== CAROUSEL ========== */
.demo-carousel {
    position: relative;
    overflow: hidden;
}

.demo-carousel-slide {
    display: none;
    animation: fadeSlide 0.4s ease;
}

.demo-carousel-slide.active { display: block; }

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

.demo-carousel-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-nav-btn {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    color: #667eea;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}

.demo-nav-btn:hover { background: rgba(102, 126, 234, 0.2); }

.demo-nav-count {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
    min-width: 36px;
    text-align: center;
}

.demo-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: rgba(102, 126, 234, 0.08);
    border: none;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    color: #667eea;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s;
}

.demo-download-btn:hover { background: rgba(102, 126, 234, 0.15); }

/* ========== POSTER STYLE 2: SPLIT ========== */
.demo-poster-style-2 {
    display: flex;
    flex-direction: column;
    aspect-ratio: 4/5;
}

.demo-poster-img-half {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.demo-poster-text-half {
    padding: 16px 20px;
    background: #111;
    color: white;
    text-align: center;
}

.demo-poster-divider {
    width: 40px;
    height: 3px;
    background: #667eea;
    margin: 8px auto;
}

/* ========== POSTER STYLE 3: EDITORIAL ========== */
.demo-poster-style-3 {
    aspect-ratio: 4/5;
    background: #f8f5f0;
    display: flex;
    flex-direction: column;
}

.demo-poster-editorial-label {
    padding: 12px 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #999;
}

.demo-poster-img-full {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.demo-poster-editorial-bar {
    height: 3px;
    background: #d4af37;
}

.demo-poster-editorial-text {
    padding: 14px 20px;
}

/* ========== BAR WEBSITE MOCK ========== */
.demo-bar-website {
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    background: #f9fafb;
}

.demo-browser-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #e5e7eb;
}

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

.demo-browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
}

.demo-browser-dots span:first-child { background: #fca5a5; }
.demo-browser-dots span:nth-child(2) { background: #fcd34d; }
.demo-browser-dots span:last-child { background: #86efac; }

.demo-browser-url {
    flex: 1;
    background: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.72rem;
    color: #6b7280;
    font-family: 'Inter', monospace;
}

.demo-bar-page { background: #1a1a2e; }

.demo-bar-hero {
    height: 100px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.demo-bar-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.demo-bar-name {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.demo-bar-tagline {
    font-size: 0.7rem;
    color: #d1d5db;
    margin-top: 4px;
}

.demo-bar-nav {
    display: flex;
    gap: 0;
    background: #111;
    border-bottom: 1px solid #333;
}

.demo-bar-nav span {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 0.7rem;
    color: #9ca3af;
    font-weight: 500;
    cursor: pointer;
}

.demo-bar-nav span.active {
    color: #667eea;
    border-bottom: 2px solid #667eea;
}

.demo-bar-widget-section {
    padding: 16px;
    background: #1a1a2e;
}

.demo-bar-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e5e7eb;
    margin-bottom: 12px;
}

.demo-widget-embedded {
    background: white;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.demo-widget-powered {
    text-align: center;
    font-size: 0.6rem;
    color: #64748b;
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@media (max-width: 639px) {
    .demo-section-header { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* ================================================================
   POSTER TEMPLATES — Off-screen rendering divs
   ================================================================ */

.poster-template {
    position: fixed;
    top: 0;
    left: -9999px;
    width: 1080px;
    height: 1350px;
    overflow: hidden;
    z-index: 999;
    pointer-events: none;
}
.poster-canvas {
    width: 1080px;
    height: 1350px;
    position: relative;
    font-family: 'Inter', sans-serif;
}
.poster-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.poster-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 60px;
    color: white;
}
.poster-band-name {
    font-size: 86px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    max-width: 100%;
}
.poster-genre {
    font-size: 32px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 48px;
    text-transform: uppercase;
    letter-spacing: 4px;
}
.poster-venue { font-size: 52px; font-weight: 700; margin-bottom: 20px; }
.poster-datetime { font-size: 40px; font-weight: 500; opacity: 0.95; }

/* Template 2: Bold Type */
#posterTemplate2 .poster-canvas {
    background: #111; color: #fff; display: flex; flex-direction: column;
}
#posterTemplate2 .poster-top { padding: 60px 60px 0; text-align: left; }
#posterTemplate2 .poster-live-tag {
    display: inline-block; padding: 8px 24px; background: #667eea;
    font-size: 18px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 4px; margin-bottom: 20px;
}
#posterTemplate2 .poster-band-name {
    font-size: 110px; font-weight: 900; text-transform: uppercase;
    letter-spacing: -3px; line-height: 0.9; margin-bottom: 16px;
}
#posterTemplate2 .poster-genre {
    font-size: 26px; font-weight: 400; text-transform: uppercase;
    letter-spacing: 6px; color: #888; margin-bottom: 0;
}
#posterTemplate2 .poster-bg { flex: 1; margin: 30px 60px; background-size: cover; background-position: center; }
#posterTemplate2 .poster-bottom {
    padding: 0 60px 50px; display: flex; justify-content: space-between; align-items: flex-end;
}
#posterTemplate2 .poster-datetime { font-size: 40px; font-weight: 700; line-height: 1.2; }
#posterTemplate2 .poster-venue {
    font-size: 28px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 2px; text-align: right; opacity: 0.7;
}

/* Template 3: Editorial */
#posterTemplate3 .poster-canvas {
    background: #ffffff; color: #111;
    font-family: 'Playfair Display', serif; display: flex; flex-direction: column;
}
#posterTemplate3 .poster-label {
    padding: 40px 60px 20px; font-family: 'Inter', sans-serif;
    font-size: 24px; font-weight: 400; text-transform: uppercase;
    letter-spacing: 4px; color: #999;
}
#posterTemplate3 .poster-bg { flex: 1; width: 100%; background-size: cover; background-position: center; }
#posterTemplate3 .poster-divider { width: calc(100% - 120px); height: 2px; background: #d4af37; margin: 0 60px; }
#posterTemplate3 .poster-text-panel { padding: 32px 60px 40px; text-align: left; display: flex; flex-direction: column; }
#posterTemplate3 .poster-band-name { font-size: 72px; font-weight: 900; line-height: 1; margin-bottom: 16px; }
#posterTemplate3 .poster-detail-line {
    font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 300;
    color: #555; margin-bottom: 8px;
}
#posterTemplate3 .poster-genre {
    font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 500;
    color: #d4af37; letter-spacing: 3px; text-transform: uppercase;
    order: -1; margin-bottom: 12px; padding-left: 12px;
    border-left: 3px solid #d4af37;
}

/* Template 4: Concert Flyer */
#posterTemplate4 .poster-canvas { background: #1a0a00; color: #fff; font-family: 'Oswald', sans-serif; }
#posterTemplate4 .poster-bg { width: 100%; height: 100%; background-size: cover; background-position: center; }
#posterTemplate4 .poster-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 40%, rgba(20,5,0,0.95) 75%, #1a0a00 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 60px; color: white;
}
#posterTemplate4 .poster-live-tag {
    font-size: 20px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 8px; color: #ff6b35; margin-bottom: 12px;
}
#posterTemplate4 .poster-band-name {
    font-size: 100px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; line-height: 0.9; margin-bottom: 24px;
}
#posterTemplate4 .poster-accent-line { width: 120px; height: 4px; background: #ff6b35; margin-bottom: 28px; }
#posterTemplate4 .poster-datetime { font-size: 42px; font-weight: 500; margin-bottom: 8px; }
#posterTemplate4 .poster-venue {
    font-size: 30px; font-weight: 400; text-transform: uppercase;
    letter-spacing: 3px; opacity: 0.7; margin-bottom: 12px;
}
#posterTemplate4 .poster-genre {
    display: inline-block; padding: 6px 20px;
    border: 2px solid #ff6b35; color: #ff6b35;
    font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: 4px;
}

/* Template 5: Zine / Collage */
#posterTemplate5 .poster-canvas {
    background: #f5f1e8; color: #222; font-family: 'Oswald', sans-serif;
    display: flex; flex-direction: column; align-items: center; padding: 50px;
}
#posterTemplate5 .poster-top-deco {
    font-size: 22px; letter-spacing: 6px; text-transform: uppercase;
    font-weight: 600; margin-bottom: 30px; color: #c0392b;
}
#posterTemplate5 .poster-polaroid {
    background: white; padding: 20px 20px 50px; transform: rotate(-2deg);
    box-shadow: 4px 6px 20px rgba(0,0,0,0.2); margin-bottom: 24px;
}
#posterTemplate5 .poster-bg { width: 700px; height: 520px; background-size: cover; background-position: center; }
#posterTemplate5 .poster-band-name {
    font-size: 80px; font-weight: 700; text-transform: uppercase;
    line-height: 0.95; margin-bottom: 16px; text-align: center; letter-spacing: 2px;
}
#posterTemplate5 .poster-tape { width: 200px; height: 28px; margin: 0 auto 24px; background: rgba(255,200,50,0.5); transform: rotate(1deg); }
#posterTemplate5 .poster-details { text-align: center; font-size: 28px; line-height: 1.8; }
#posterTemplate5 .poster-datetime { font-weight: 600; }
#posterTemplate5 .poster-venue { font-weight: 400; color: #555; }
#posterTemplate5 .poster-genre {
    display: inline-block; padding: 6px 20px; border: 2px dashed #c0392b;
    font-size: 20px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 3px; color: #c0392b; margin-top: 12px;
}
#posterTemplate5 .poster-bottom-deco { margin-top: auto; font-size: 28px; letter-spacing: 4px; color: #999; }

/* Template 6: Gallery */
#posterTemplate6 .poster-canvas {
    background-color: #f2f2f2; color: #111;
    font-family: 'Space Grotesk', sans-serif;
    display: flex; flex-direction: column; position: relative; overflow: hidden;
}
#posterTemplate6 .poster-bg {
    position: absolute; top: 40px; left: 40px;
    width: calc(100% - 80px); height: 55%;
    background-size: cover; background-position: center;
    z-index: 1; border: 4px solid #111;
}
#posterTemplate6 .poster-genre {
    position: absolute; top: 20px; right: 40px;
    background: #FF4D00; color: #fff;
    font-size: 24px; font-weight: 700; text-transform: uppercase;
    padding: 12px 30px; z-index: 5; border: 4px solid #111;
    transform: rotate(-3deg); transform-origin: center;
}
#posterTemplate6 .poster-text-container {
    position: absolute; bottom: 40px; left: 40px;
    width: calc(100% - 80px); height: 38%;
    display: flex; flex-direction: column; justify-content: space-between; z-index: 2;
}
#posterTemplate6 .poster-band-name {
    font-size: 110px; line-height: 0.9; font-weight: 700; text-transform: uppercase;
    margin: 0; padding-top: 20px; color: #111; letter-spacing: -3px;
}
#posterTemplate6 .poster-divider { width: 100%; height: 4px; background: #111; margin: 20px 0; }
#posterTemplate6 .poster-details-grid { display: flex; justify-content: space-between; align-items: flex-end; }
#posterTemplate6 .poster-venue { font-size: 36px; font-weight: 700; text-transform: uppercase; margin: 0; max-width: 60%; line-height: 1.05; }
#posterTemplate6 .poster-datetime { font-size: 32px; font-weight: 400; margin: 0; text-align: right; color: #444; }

/* Monthly Template CSS */
.monthly-canvas { width: 1080px; height: 1350px; }

/* Monthly Template 2: Marquee */
#monthlyTemplate2 .monthly-canvas {
    background: #1a0a00; color: #fff; padding: 60px;
    display: flex; flex-direction: column;
    font-family: 'Oswald', sans-serif;
    border: 8px solid #c8952e; box-sizing: border-box;
}
#monthlyTemplate2 .monthly-header {
    text-align: center; margin-bottom: 36px; padding-bottom: 20px;
    border-bottom: 3px solid #c8952e;
}
#monthlyTemplate2 .monthly-label {
    font-size: 22px; font-weight: 400; text-transform: uppercase;
    letter-spacing: 10px; color: #c8952e; margin-bottom: 4px;
}
#monthlyTemplate2 .monthly-month { font-size: 72px; font-weight: 700; text-transform: uppercase; line-height: 1; color: #f5e6c8; }
#monthlyTemplate2 .monthly-venue {
    font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 400;
    color: #c8952e; margin-top: 8px; text-transform: uppercase; letter-spacing: 4px;
}
#monthlyTemplate2 .monthly-events { flex: 1; display: flex; flex-direction: column; gap: 0; }
#monthlyTemplate2 .monthly-event-row { display: flex; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(200,149,46,0.2); }
#monthlyTemplate2 .monthly-event-date { width: 220px; font-size: 24px; font-weight: 400; color: #c8952e; text-transform: uppercase; }
#monthlyTemplate2 .monthly-event-band { flex: 1; font-size: 44px; font-weight: 700; text-transform: uppercase; line-height: 1; color: #f5e6c8; }
#monthlyTemplate2 .monthly-event-time { font-size: 22px; font-weight: 400; color: #8a6b2e; }

/* Monthly Template 3: Bold Stacked */
#monthlyTemplate3 .monthly-canvas {
    background: #000; color: #fff; padding: 60px;
    display: flex; flex-direction: column;
    font-family: 'Oswald', sans-serif;
}
#monthlyTemplate3 .monthly-header { margin-bottom: 40px; }
#monthlyTemplate3 .monthly-label {
    font-size: 22px; font-weight: 400; text-transform: uppercase;
    letter-spacing: 8px; color: #ff6b35; margin-bottom: 8px;
}
#monthlyTemplate3 .monthly-month { font-size: 72px; font-weight: 700; text-transform: uppercase; line-height: 1; }
#monthlyTemplate3 .monthly-venue { font-size: 24px; font-weight: 400; color: #888; text-transform: uppercase; letter-spacing: 3px; margin-top: 8px; }
#monthlyTemplate3 .monthly-events { flex: 1; display: flex; flex-direction: column; gap: 0; }
#monthlyTemplate3 .monthly-event-row { display: flex; align-items: baseline; padding: 16px 0; border-bottom: 1px solid #222; }
#monthlyTemplate3 .monthly-event-date { width: 200px; font-size: 24px; font-weight: 400; color: #ff6b35; text-transform: uppercase; }
#monthlyTemplate3 .monthly-event-band { flex: 1; font-size: 48px; font-weight: 700; text-transform: uppercase; line-height: 1; }
#monthlyTemplate3 .monthly-event-time { font-size: 22px; font-weight: 400; color: #666; }


/* ================================================================
   PROGRESSIVE DISCLOSURE — "Add more details" expansion
   ================================================================ */

.demo-expand-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid rgba(102,126,234,0.3);
    border-radius: 8px;
    color: #667eea;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
    letter-spacing: 0.02em;
}
.demo-expand-btn:hover {
    background: rgba(102,126,234,0.1);
    border-color: rgba(102,126,234,0.5);
}
.demo-expand-btn svg {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.demo-expand-btn.open svg {
    transform: rotate(45deg);
}

.demo-expanded-fields {
    overflow: hidden;
    transition: opacity 0.3s ease;
}
.demo-expanded-fields.hidden {
    display: none;
}
.demo-expanded-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
    padding: 16px 0 8px;
}
.demo-field-full {
    grid-column: 1 / -1;
}
.demo-band-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
}
.demo-links-hint {
    font-size: 0.8rem;
    color: #4b5563;
    font-style: italic;
}
.demo-band-link-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.15s ease;
}
.demo-band-link-item:hover {
    border-color: #667eea;
    color: #667eea;
    background: rgba(102,126,234,0.08);
}


/* ================================================================
   FULL-BLEED OUTPUT SECTIONS
   ================================================================ */

.demo-output-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    background: #0d0d0d;
    border-top: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    position: relative;
}
.demo-output-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(102,126,234,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.demo-output-section-alt {
    background: #0a0a0f;
}
.demo-output-section-alt::before {
    background: radial-gradient(ellipse at 80% 50%, rgba(167,139,250,0.04) 0%, transparent 60%);
}

.demo-output-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    gap: 80px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
.demo-output-inner-reverse {
    flex-direction: row-reverse;
}

.demo-output-left {
    flex: 0 0 360px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.demo-output-right {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Badge number */
.demo-output-badge {
    font-size: 80px;
    font-weight: 900;
    color: rgba(102,126,234,0.12);
    line-height: 1;
    letter-spacing: -4px;
    font-family: 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
    margin-bottom: -10px;
}

/* Section title */
.demo-output-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #f3f4f6;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0;
}

/* Description */
.demo-output-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
}

/* Template navigation */
.demo-template-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}
.demo-tpl-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: #9ca3af;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.demo-tpl-btn:hover {
    background: rgba(102,126,234,0.15);
    border-color: #667eea;
    color: #e5e7eb;
}
.demo-tpl-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    min-width: 36px;
    text-align: center;
}
.demo-tpl-label {
    font-size: 0.8rem;
    color: #4b5563;
    font-style: italic;
}

/* CTA Button */
.demo-output-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: transparent;
    border: 1px solid rgba(102,126,234,0.4);
    border-radius: 8px;
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    align-self: flex-start;
    letter-spacing: 0.02em;
}
.demo-output-cta:hover {
    background: rgba(102,126,234,0.12);
    border-color: #667eea;
    color: #a5b4fc;
}

/* Poster output image */
.demo-poster-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}
.demo-poster-output {
    max-height: 80vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    transition: opacity 0.4s ease;
}
.demo-poster-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #6b7280;
    font-size: 0.9rem;
}
.demo-render-spinner {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(102,126,234,0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Embed code */
.demo-embed-code-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}
.demo-embed-code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.72rem;
    color: #9ca3af;
    background: rgba(255,255,255,0.04);
    padding: 10px 12px;
    display: block;
    word-break: break-all;
    line-height: 1.5;
}
.demo-copy-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: rgba(102,126,234,0.15);
    border: none;
    border-left: 1px solid rgba(255,255,255,0.1);
    color: #667eea;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
}
.demo-copy-btn:hover { background: rgba(102,126,234,0.25); }
.demo-copy-btn.copied { color: #34d399; }

/* Website Widget Section */
.demo-browser-mockup {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    max-width: 560px;
    width: 100%;
}
.demo-browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.demo-browser-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}
.demo-browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}
.demo-browser-dots span:nth-child(1) { background: #ff5f57; }
.demo-browser-dots span:nth-child(2) { background: #febc2e; }
.demo-browser-dots span:nth-child(3) { background: #28c840; }
.demo-browser-url {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.75rem;
    color: #6b7280;
    font-family: monospace;
}
.demo-browser-content { background: #0d0d12; }
.demo-site-hero {
    height: 120px;
    background-size: cover;
    background-position: center;
    background-color: #1a1a2e;
    position: relative;
}
.demo-site-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px 16px;
}
.demo-site-name { font-size: 1.1rem; font-weight: 800; color: white; }
.demo-site-tagline { font-size: 0.65rem; color: rgba(255,255,255,0.6); margin-top: 2px; }
.demo-site-nav {
    display: flex;
    background: #111;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.demo-site-nav span {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 0.65rem;
    color: #6b7280;
    font-weight: 500;
}
.demo-site-nav span.active {
    color: #667eea;
    border-bottom: 2px solid #667eea;
}
.demo-widget-section { padding: 14px 16px; }
.demo-widget-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e5e7eb;
    margin-bottom: 10px;
}
.demo-widget-list {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.demo-widget-event {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
}
.demo-widget-event:last-child { border-bottom: none; }
.demo-widget-event-img {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e5e7eb;
}
.demo-widget-event-info { min-width: 0; flex: 1; }
.demo-widget-event-band { font-size: 0.8rem; font-weight: 700; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-widget-event-meta { font-size: 0.68rem; color: #6b7280; margin-top: 1px; }
.demo-widget-event-badge { font-size: 0.65rem; font-weight: 600; color: white; background: #667eea; border-radius: 3px; padding: 1px 5px; flex-shrink: 0; }
.demo-widget-powered {
    text-align: center;
    font-size: 0.6rem;
    color: #94a3b8;
    margin-top: 8px;
    font-weight: 500;
}
.demo-widget-powered strong { color: #667eea; }

/* Email Mockup */
.demo-email-mockup {
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    max-width: 480px;
    width: 100%;
}
.demo-email-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 16px;
}
.demo-email-dot-row {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}
.demo-email-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e5e7eb;
}
.demo-email-dot:nth-child(1) { background: #ff5f57; }
.demo-email-dot:nth-child(2) { background: #febc2e; }
.demo-email-dot:nth-child(3) { background: #28c840; }
.demo-email-subject-line {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 3px;
}
.demo-email-from { font-size: 0.7rem; color: #9ca3af; }
.demo-email-body { background: white; }
.demo-email-hero-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #1a1a2e;
}
.demo-email-content { padding: 20px; }
.demo-email-band {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}
.demo-email-details {
    display: flex;
    gap: 14px;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 8px;
}
.demo-email-details span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.demo-email-genre {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(102,126,234,0.1);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 16px;
}
.demo-email-cta-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #667eea;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
}

/* Email send input area */
.demo-email-send-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.demo-email-input {
    width: 100%;
    box-sizing: border-box;
}

/* Final CTA */
.demo-final-cta {
    background: #0a0a0f;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 100px 0;
    text-align: center;
}
.demo-final-cta-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.demo-final-cta-line {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e5e7eb;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.02em;
}
.demo-final-cta-line strong {
    background: linear-gradient(135deg, #667eea 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ================================================================
   SCROLL REVEAL ANIMATION
   ================================================================ */

.slide-in-left {
    opacity: 0;
    transform: translateX(-80px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide-in-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Demo results container hidden state */
#demo-results-container.hidden {
    display: none;
}


/* ================================================================
   MOBILE RESPONSIVE — output sections
   ================================================================ */

@media (max-width: 900px) {
    .demo-output-section {
        padding: 70px 0;
    }
    .demo-output-inner,
    .demo-output-inner-reverse {
        flex-direction: column !important;
        gap: 48px;
        padding: 0 24px;
    }
    .demo-output-left {
        flex: none;
        width: 100%;
        order: 2;
    }
    .demo-output-right {
        order: 1;
    }
    .demo-output-badge {
        font-size: 56px;
    }
    .demo-output-title {
        font-size: 1.9rem;
    }
    .demo-poster-output {
        max-height: 60vh;
    }
    .demo-browser-mockup,
    .demo-email-mockup {
        max-width: 100%;
    }
    .demo-final-cta-line {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .demo-output-inner,
    .demo-output-inner-reverse {
        padding: 0 16px;
    }
    .demo-output-badge {
        font-size: 44px;
    }
    .demo-output-title {
        font-size: 1.6rem;
    }
    .demo-expanded-grid {
        grid-template-columns: 1fr;
    }
}
