﻿:root {
    --bg-primary: #070709;
    --bg-secondary: #0e0e13;
    --bg-card: rgba(20, 20, 26, 0.7);
    --bg-card-hover: rgba(28, 28, 36, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(255, 255, 255, 0.2);
    --border-glow: rgba(255, 255, 255, 0.35);
    
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --accent-glow: rgba(255, 255, 255, 0.15);
    --accent-gold: #f4d06f;
    --star-glow: rgba(255, 255, 255, 0.9);
    
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Noise overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox=\"0 0 200 200\" xmlns=\"http://www.w3.org/2000/svg\"><filter id=\"noiseFilter\"><feTurbulence type=\"fractalNoise\" baseFrequency=\"0.8\" numOctaves=\"3\" stitchTiles=\"stitch\"/></filter><rect width=\"100%\" height=\"100%\" filter=\"url(%23noiseFilter)\" opacity=\"0.025\"/></svg>');
    pointer-events: none;
    z-index: 999;
}

/* Ambient Canvas */
#ambient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
    z-index: 9999;
    backdrop-filter: invert(1);
    mix-blend-mode: difference;
}

.custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
}

.custom-cursor.hovered {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Header & Nav */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 6vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(7, 7, 9, 0.6);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.4s var(--transition-smooth);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    transition: transform 0.3s ease;
}

.nav-brand:hover .nav-logo-img {
    transform: scale(1.06) rotate(-2deg);
}

.nav-brand-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
}

.nav-brand-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link-item:hover, .nav-link-item.active {
    color: var(--text-primary);
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

/* Sections Common */
section {
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 6vw;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 6vw 80px;
    position: relative;
}

.hero-tagline {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-tagline::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--text-muted);
}

.hero-heading {
    font-size: clamp(3.2rem, 8vw, 7.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 36px;
    max-width: 1100px;
}

.hero-desc {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 1.6;
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-luxury {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 999px;
    background: #ffffff;
    color: #070709;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    border: 1px solid #ffffff;
    position: relative;
    overflow: hidden;
}

.btn-luxury:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
    background: #f4f4f5;
}

.btn-secondary-luxury {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--transition-smooth);
}

.btn-secondary-luxury:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.hero-scroll-badge {
    position: absolute;
    bottom: 40px;
    right: 6vw;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-scroll-badge .line {
    width: 40px;
    height: 1px;
    background: var(--border-subtle);
}

/* Stacking Cards Section */
.stack-narrative-section {
    padding: 80px 0 120px;
    position: relative;
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    margin-bottom: 60px;
    letter-spacing: -0.03em;
}

.stack-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.stack-card {
    position: sticky;
    top: 120px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    padding: 60px;
    backdrop-filter: blur(24px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease;
    overflow: hidden;
}

.stack-card:hover {
    border-color: var(--border-accent);
}

.stack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.card-chapter-num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.card-headline {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.card-body-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 820px;
    margin-bottom: 36px;
}

.card-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.pillar-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.pillar-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.pillar-icon {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pillar-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.pillar-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Horizontal Stream Section */
.horizontal-scroll-container {
    padding: 120px 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.horizontal-header {
    padding: 0 6vw 50px;
}

.horizontal-track-wrapper {
    display: flex;
    gap: 32px;
    padding: 20px 6vw;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.horizontal-track-wrapper::-webkit-scrollbar {
    display: none;
}

.stream-card {
    flex: 0 0 380px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 44px 36px;
    backdrop-filter: blur(20px);
    transition: all 0.4s var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stream-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-accent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.stream-card-num {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 20px;
}

.stream-card-title {
    font-size: 1.6rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.stream-card-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Manifesto Section */
.manifesto-section {
    padding: 160px 6vw;
    text-align: center;
}

.manifesto-quote {
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    font-weight: 600;
    line-height: 1.25;
    max-width: 1000px;
    margin: 0 auto 40px;
    letter-spacing: -0.03em;
}

.manifesto-author {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Contact & Executive Connect Section */
.contact-section {
    padding: 120px 6vw 160px;
    border-top: 1px solid var(--border-subtle);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-direct-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    padding: 48px;
    backdrop-filter: blur(20px);
}

.email-copy-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 16px 20px;
    margin: 28px 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.email-copy-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-accent);
}

.email-address {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
}

.copy-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-luxury {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 18px 22px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-luxury:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

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

/* Footer */
.footer {
    padding: 40px 6vw;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.social-tray {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-tray a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-tray a:hover {
    color: #ffffff;
}

/* Toast */
.toast-msg {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #ffffff;
    color: #070709;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s var(--transition-smooth);
    pointer-events: none;
}

.toast-msg.show {
    transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stack-card {
        padding: 36px 24px;
        top: 90px;
    }
    .hero-heading {
        font-size: 3rem;
    }
    .nav-links {
        display: none;
    }
    .stream-card {
        flex: 0 0 300px;
    }
}
