:root {
    --bg-dark: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a1a1a6;
    --accent: #2997ff; /* Apple-esque blue */
    --accent-hover: #0077ed;
    
    --glass-bg: rgba(28, 28, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.05);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Stars/Noise */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, var(--text-secondary), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, var(--text-secondary), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 160px, var(--text-secondary), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 40px, var(--text-secondary), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 130px 80px, var(--text-secondary), rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.cta-button {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-dark);
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s ease, background 0.2s ease;
    margin-top: 30px;
}

.cta-button:hover {
    transform: scale(1.05);
    background: #e0e0e0;
}

.cta-button-small {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

.cta-button-small:hover {
    background: rgba(255,255,255,0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 5% 60px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    max-width: 600px;
    margin: 0 auto;
}

.hero-image {
    margin-top: 60px;
    width: 100%;
    max-width: 800px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.glass-tv {
    width: 80%;
    height: 80%;
    background: var(--glass-bg);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateX(10deg) rotateY(-10deg);
    transition: transform 0.5s ease-out;
}

.hero-image:hover .glass-tv {
    transform: rotateX(0) rotateY(0);
}

.glass-screen {
    width: 95%;
    height: 90%;
    background: #050505;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.channel-text {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    letter-spacing: 5px;
}

.static-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.05;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Features */
.features {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 150px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-visual {
    flex: 1;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Specific Feature Visuals */
.timeline-ui {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.show-block {
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 500;
}
.show-block.playing {
    background: rgba(41, 151, 255, 0.2);
    border: 1px solid rgba(41, 151, 255, 0.5);
    color: white;
}
.show-block.upcoming {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.channel-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.channel-item {
    padding: 12px 20px;
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.2s;
}
.channel-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 500;
    transform: scale(1.02);
}

/* Platforms Section */
.platforms {
    padding: 100px 5%;
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.02));
}

.platforms h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.platform-card {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.platform-icon {
    width: 48px;
    height: 48px;
    color: white;
    margin-bottom: 10px;
}

/* Footer */
footer {
    padding: 60px 5%;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        gap: 40px;
    }
    
    .feature-text {
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
