/* CSS Variables & Reset */
:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --text-muted: #9ca3af;
    /* gray-400 */
    --text-dim: #6b7280;
    /* gray-500 */
    --accent-color: #a855f7;
    /* purple-500 */
    --accent-glow: rgba(168, 85, 247, 0.5);
    --nav-bg: rgba(0, 0, 0, 0.9);
    --font-main: 'Inter', sans-serif;
    --border-color: rgba(255, 255, 255, 0.05);
    /* white/5 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography Utility */
h1,
h2,
h3 {
    font-weight: 500;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
}

.main-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.875rem;
    /* text-sm */
    color: var(--text-muted);
    font-weight: 400;
}

.nav-links a:hover {
    color: var(--text-color);
}

.nav-cta a {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
}

.nav-cta a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0 20px;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

/* Overlays */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient: darker at bottom for text readability */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.noise-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%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)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: overlay;
    /* Blend nicely */
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin-top: 40px;
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards 0.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Identity Strip */
.identity-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    /* ~text-xs/sm */
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
    gap: 0.5rem;
}

.id-item {
    cursor: default;
    transition: all 0.3s ease;
}

.id-item:hover {
    color: #c084fc;
    /* Light purple */
    text-shadow: 0 0 8px var(--accent-glow);
}

.identity-strip .divider {
    color: var(--accent-color);
    padding: 0 0.5rem;
}

/* Headings */
.main-headline {
    font-size: clamp(3rem, 6vw, 5.5rem);
    /* Responsive sizing */
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    color: white;
}

.sub-headline {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: #d1d5db;
    /* gray-300 */
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Anchor Badge */
.anchor-badge {
    display: inline-block;
    position: relative;
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
    /* Subtle purple glow */
}

.supporting-text {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.8;
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 2;
    animation: fadeIn 1s ease-out 2s forwards;
    opacity: 0;
}

/* Logo Carousel Section */
.logo-carousel-section {
    background-color: #000;
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.logo-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.logo-track {
    display: flex;
    width: calc(200px * 20); /* 200px per slide * 20 slides */
    animation: scroll 40s linear infinite;
}

.slide {
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 10)); /* Scroll half the track width */
    }
}

/* Platform Signal Section */
.platform-signal-section {
    background-color: #000;
    padding: 0 20px 8rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4rem;
    padding-bottom: 2rem;
}

.section-header h2 {
    font-size: 0.875rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    /* Border styling handles separation visually */
}

.pillar {
    padding: 2rem;
    border-left: 1px solid var(--border-color);
    transition: border-color 0.5s ease;
    cursor: default;
}

.pillar:hover {
    border-left-color: var(--accent-glow);
}

.pillar-icon {
    margin-bottom: 1.5rem;
    color: #a78bfa;
    /* lighter purple */
    opacity: 0.5;
    transition: opacity 0.3s;
}

.pillar:hover .pillar-icon {
    opacity: 1;
}

.pillar h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: white;
}

.pillar p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

/* Footer */
.main-footer {
    padding: 3rem 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.875rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Proper hamburger menu would go here */
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        margin-top: 80px;
    }
}