/* Custom Properties */
:root {
    --bg-base: #0a0a0f;
    --bg-card: #13131c;
    --bg-card-hover: #1c1c28;
    
    --accent-red: #ff3366;
    --accent-purple: #8c33ff;
    --accent-blue: #33ccff;
    
    --text-main: #fcfcfd;
    --text-muted: #a0a0ab;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Glow Effect */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 10%, rgba(140, 51, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(51, 204, 255, 0.1) 0%, transparent 40%);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

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

.text-accent {
    color: var(--accent-red);
}

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

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

.text-sm {
    font-size: 0.875rem;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.gap-12 { gap: 3rem; }
.align-center { align-items: center; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: padding 0.3s;
}

.navbar.scrolled {
    padding: 1rem 0;
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    color: white;
    letter-spacing: -0.5px;
}

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

.nav-links a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-links a:not(.btn):hover {
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, #ff3366, #ff0040);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 12rem 0 6rem;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    border-radius: 100px;
    background: rgba(140, 51, 255, 0.15);
    border: 1px solid rgba(140, 51, 255, 0.3);
    color: var(--accent-purple);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.badge-accent {
    background: rgba(255, 51, 102, 0.15);
    border: 1px solid rgba(255, 51, 102, 0.3);
    color: var(--accent-red);
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Social Proof */
.social-proof {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(10, 10, 15, 0.5);
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    align-items: center;
    opacity: 0.6;
}

.logo-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: white;
}

/* Cards (How It Works) */
.card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-smooth);
}

.card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.step-card {
    position: relative;
    overflow: hidden;
    padding-top: 3.5rem;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -15px;
    right: 15px;
    line-height: 1;
    z-index: 0;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.step-card p {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Features */
.bg-card {
    background-color: var(--bg-card);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.icon-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(51, 204, 255, 0.15);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

/* TV Mockup */
.tv-mockup {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.tv-screen {
    background: #000;
    border: 8px solid #2a2a35;
    border-radius: 12px;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px #444;
}

.tv-screen::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.ad-playing-ui {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #1a1a2e 0%, #0f0f1a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.05);
}

.ad-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.1);
}

.local-brand-name {
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.tv-stand {
    width: 120px;
    height: 30px;
    background: #2a2a35;
    margin: 0 auto;
    border-radius: 0 0 20px 20px;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.1);
}

/* CTA Section */
.cta-section {
    position: relative;
}

.cta-card {
    background: linear-gradient(135deg, rgba(140, 51, 255, 0.1), rgba(255, 51, 102, 0.1));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 5rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.cta-content h2 {
    font-size: 2.75rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 1.25rem 1rem;
    border-radius: 8px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.2);
}

.success-message {
    text-align: center;
    padding: 3rem;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(51, 204, 255, 0.15);
    color: var(--accent-blue);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.hidden {
    display: none;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsiveness */
@media (max-width: 900px) {
    .cta-card {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .section {
        padding: 4rem 0;
        text-align: center;
    }

    .feature-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
