@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #151b23;
    --bg-darker: #0d1116;
    --bg-card: #212830;
    --accent-neon: #fbbf24;
    --accent-neon-dim: rgba(251, 191, 36, 0.1);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-hero: linear-gradient(135deg, #151b23 0%, #212830 50%, #151b23 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background: rgba(21, 27, 35, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.25rem;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.logo-img {
    height: 32px;
}

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

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

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

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

.nav-signin {
    color: var(--text-main);
    font-weight: 600;
}

.nav-cta-small {
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}

.nav-cta-small:hover {
    background: var(--accent-neon);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-cta-primary {
    background: var(--accent-neon);
    color: var(--bg-darker);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.hero-cta-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.hero-cta-secondary:hover {
    color: var(--accent-neon);
}

/* Hero Visual Animation */
.hero-visual {
    position: relative;
    height: 500px;
}

.visual-layers {
    position: relative;
    width: 100%;
    height: 100%;
}

.visual-layer {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.visual-layer:hover {
    transform: scale(1.05) !important;
    z-index: 10 !important;
    border-color: var(--accent-neon);
}

.layer-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.layer-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-neon);
    border-radius: 50%;
}

.layer-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-layer {
    width: 280px;
    top: 20px;
    left: 20px;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.feed-layer {
    width: 260px;
    top: 60px;
    right: 20px;
    z-index: 2;
    animation: float 5s ease-in-out infinite 1s;
}

.chat-layer {
    width: 300px;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: float 7s ease-in-out infinite 0.5s;
}

.dashboard-stats {
    display: flex;
    justify-content: space-between;
}

.stat-box {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-neon);
}

.feed-item {
    background: rgba(255,255,255,0.05);
    padding: 0.8rem;
    border-radius: 8px;
}

.feed-score {
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.feed-highlight {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.chat-msg {
    background: rgba(255,255,255,0.05);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.chat-msg .user {
    color: var(--accent-neon);
    font-weight: 700;
    margin-right: 0.5rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0); }
    50% { transform: translateY(-10px) translateX(2px) rotate(1deg); }
}

/* Chat layer specific fix for transform */
@keyframes float-center {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}
.chat-layer { animation: float-center 7s ease-in-out infinite 0.5s; }


/* Comparison Section */
.comparison-section {
    padding: 8rem 0;
    background: var(--bg-darker);
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subheading {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.card-header i {
    font-size: 1.5rem;
}

.chaos .card-header i { color: #ef4444; }
.clarity .card-header i { color: var(--accent-neon); }

.chaos-visual, .clarity-visual {
    height: 150px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    overflow: hidden;
}

.chaos-item {
    font-size: 0.8rem;
    color: #ef4444;
    margin-bottom: 0.5rem;
    font-family: monospace;
    opacity: 0.8;
}

.clarity-ui {
    display: flex;
    height: 100%;
    gap: 10px;
}

.ui-sidebar { width: 30px; background: rgba(255,255,255,0.1); border-radius: 4px; }
.ui-main { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.ui-row { height: 20px; background: rgba(251, 191, 36, 0.1); border-radius: 4px; width: 100%; }

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.comparison-vs {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.features-grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-block {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-block:hover {
    border-color: var(--accent-neon);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-neon);
    margin-bottom: 1.5rem;
}

.feature-block h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-block p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Demo Section */
.demo-section {
    padding: 8rem 0;
    background: var(--bg-darker);
    overflow: hidden;
}

.demo-scroller-wrapper {
    margin-top: 4rem;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2rem;
}

.demo-scroller {
    display: flex;
    gap: 2rem;
    width: max-content;
    padding: 0 2rem;
}

.demo-clip {
    width: 400px;
    height: 250px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.demo-clip:hover {
    transform: scale(1.02);
    border-color: var(--text-muted);
}

.clip-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.clip-placeholder i { font-size: 3rem; opacity: 0.5; }

/* Commissioner Section */
.commissioner-section {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.commish-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.pain-points {
    list-style: none;
    margin-top: 2rem;
}

.pain-points li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pain-points li i {
    font-size: 1.5rem;
    color: var(--accent-neon);
    background: var(--accent-neon-dim);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.pain-points strong { display: block; color: var(--text-main); font-size: 1.1rem; }
.pain-points span { color: var(--text-muted); }

.quote-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    border: 1px solid var(--border-color);
}

.quote-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    color: var(--border-color);
    font-family: serif;
    line-height: 0;
}

.quote-card p {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: #475569;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Creators Section */
.creators-section {
    padding: 8rem 0;
    background: var(--bg-darker);
    text-align: center;
}

.creator-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 4rem 0;
    flex-wrap: wrap;
}

.flow-step {
    text-align: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 1px solid var(--accent-neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-neon);
    margin: 0 auto 1rem;
    box-shadow: 0 0 20px var(--accent-neon-dim);
}

.flow-arrow {
    color: var(--text-muted);
    font-size: 1.5rem;
}

.creator-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.c-feat {
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border: 1px solid transparent;
}

.c-feat:hover {
    border-color: var(--text-muted);
}

/* Pricing Section */
.pricing-section {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 3rem 0;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s;
}

.toggle-label.active {
    color: var(--text-main);
}

.toggle-switch {
    width: 60px;
    height: 32px;
    background: var(--bg-card);
    border-radius: 50px;
    border: 1px solid var(--border-color);
    position: relative;
    cursor: pointer;
}

.toggle-circle {
    width: 24px;
    height: 24px;
    background: var(--accent-neon);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.toggle-switch.toggled .toggle-circle {
    transform: translateX(28px);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent-neon);
    background: linear-gradient(145deg, var(--bg-card), rgba(251, 191, 36, 0.05));
}

.plan-name { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.plan-price { font-size: 2.5rem; font-weight: 800; margin-bottom: 2rem; color: var(--text-main); }
.plan-features { list-style: none; margin-bottom: 2rem; }
.plan-features li { margin-bottom: 0.8rem; color: var(--text-muted); display: flex; gap: 0.5rem; }
.plan-features li i { color: var(--accent-neon); }
.plan-btn { width: 100%; padding: 1rem; border-radius: 8px; font-weight: 700; cursor: pointer; border: none; }
.plan-btn.primary { background: var(--accent-neon); color: var(--bg-dark); }
.plan-btn.outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-main); }

/* Join/Start CTA */
.cta-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cta-box {
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.player-cta {
    background: var(--bg-card);
}

.commish-cta {
    background: linear-gradient(135deg, #1e293b, #334155);
    border: 1px solid rgba(255,255,255,0.1);
}

.cta-box h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.cta-box p { color: var(--text-muted); margin-bottom: 1.5rem; }

.btn-solid {
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; }

.social-links { margin-top: 1.5rem; display: flex; gap: 1rem; }
.social-links a { color: var(--text-muted); font-size: 1.2rem; }
.social-links a:hover { color: var(--accent-neon); }

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a { color: var(--text-muted); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--text-main); }

/* Responsive */
@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-cta-group { justify-content: center; }
    .hero-visual { display: none; } /* Hide complex visual on mobile for simplicity, or scale it */
    .comparison-grid { grid-template-columns: 1fr; }
    .comparison-vs { text-align: center; transform: rotate(90deg); margin: 1rem 0; }
    .commish-content { grid-template-columns: 1fr; }
    .cta-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 2rem; }
    .footer-nav { flex-direction: column; gap: 1rem; }
    .nav-links { display: none; }
    
    .hero-visual {
        display: block;
        height: 350px;
        transform: scale(0.8);
        transform-origin: top center;
    }
    .visual-layer {
        position: relative !important;
        margin-bottom: 1rem;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        animation: none !important;
        width: 100% !important;
        max-width: 300px;
        margin: 0 auto 10px;
    }
}
