:root {
    --bg-dark: #050507;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-yellow: #eab308;
    --glass-surface: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Ambient Background FX --- */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cmVjdCB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgZmlsbD0iIzA1MDUwNyIvPjxmaWx0ZXIgaWQ9Im4iPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjciIG51bU9jdGF2ZXM9IjMiIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgZmlsbD0idHJhbnNwYXJlbnQiIG9wYWNpdHk9IjAuMDUiIGZpbHRlcj0idXJsKCNuKSIvPjwvc3ZnPg==');
    opacity: 0.4; z-index: -1; pointer-events: none;
}

.aurora-gradient {
    position: fixed; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08), transparent 50%);
    animation: rotate 60s linear infinite;
    z-index: -2;
    pointer-events: none;
}

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* --- Typography & Structure --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: white; margin: 0; }
a { text-decoration: none; transition: 0.3s ease; }
ul { list-style: none; padding: 0; margin: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }

/* --- Navigation --- */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 20px 0;
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 36px; display: block; }

/* Desktop Navigation */
.nav-links { display: flex; gap: 32px; }
.nav-links a { 
    color: var(--text-secondary); font-size: 0.95rem; font-weight: 500; 
}
.nav-links a:hover { color: white; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* Buttons */
.btn-glass {
    padding: 10px 24px; border-radius: 50px;
    background: var(--glass-surface); border: 1px solid var(--glass-border);
    color: white; font-weight: 600; font-size: 0.9rem;
}
.btn-glass:hover { background: var(--glass-highlight); border-color: rgba(255,255,255,0.3); }

/* Mobile Menu Button */
.mobile-toggle { 
    display: none; 
    background: none; border: none; color: white; 
    font-size: 1.5rem; cursor: pointer; padding: 5px;
}

/* Mobile Menu Container */
.mobile-menu {
    position: fixed; top: 76px; left: 0; width: 100%; height: 0; 
    background: var(--bg-dark); overflow: hidden; 
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    z-index: 999; border-bottom: 1px solid var(--glass-border);
}
.mobile-menu.active { height: 100vh; padding-top: 40px; }

.mobile-link { font-size: 1.25rem; margin-bottom: 24px; color: var(--text-secondary); font-weight: 600; }
.mobile-link:hover { color: white; }
.mobile-cta { margin-top: 20px; width: 80%; text-align: center; }

/* --- Hero Section --- */
.hero { padding-top: 160px; text-align: center; position: relative; overflow: hidden; padding-bottom: 80px; }

/* Meta Store Badge */
.meta-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-transform: uppercase; font-size: 0.8rem; font-weight: 600;
    padding: 10px 24px; border-radius: 50px;
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 30px; transition: 0.3s;
}
.meta-badge i { color: #1877F2; font-size: 1.2rem; }
.meta-badge:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

.hero h1 {
    font-size: 4.5rem; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em;
    background: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero p { font-size: 1.25rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto 40px; }

.hero-actions { display: flex; justify-content: center; gap: 20px; align-items: center; margin-bottom: 80px; }

.btn-primary {
    padding: 16px 32px; background: var(--accent-blue); color: white;
    border-radius: 8px; font-weight: 600; font-size: 1rem; border: none; cursor: pointer;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}
.btn-primary:hover { background: #2563eb; transform: translateY(-2px); }

.btn-text { color: white; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.btn-text:hover { color: var(--accent-blue); }

/* --- Cinematic Slider (Carousel) --- */
.cinema-slider {
    width: 100%; max-width: 1100px; margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px; overflow: hidden; position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 100px -30px rgba(0,0,0,0.8);
    margin-top: -20px;
}
.slider-track { display: flex; height: 100%; transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.slide { min-width: 100%; height: 100%; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

/* Slide Captions */
.slide-caption {
    position: absolute; bottom: 40px; left: 40px;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px);
    padding: 20px; border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
    max-width: 400px; z-index: 10;
}
.slide-caption h3 { margin-bottom: 4px; font-size: 1.25rem; color: white; }
.slide-caption p { margin: 0; font-size: 0.9rem; color: #cbd5e1; }

.overlay-gradient {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 40%;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    pointer-events: none; z-index: 5;
}

/* Slider Buttons */
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5); color: white; 
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 48px; height: 48px; border-radius: 50%;
    cursor: pointer; z-index: 20;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s; font-size: 1.2rem;
}
.slider-btn:hover { background: var(--accent-blue); border-color: var(--accent-blue); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* --- Video Section --- */
.video-section {
    position: relative; padding: 100px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
}
.video-container {
    width: 100%; max-width: 1000px; margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px; overflow: hidden; position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 100px -30px rgba(0,0,0,0.8);
    background: black;
}
.video-container iframe { width: 100%; height: 100%; }

/* --- Bento Grid --- */
.bento-section { padding: 120px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 12px; }
.section-title p { color: var(--text-secondary); }

.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; grid-auto-rows: 320px; }
.bento-card {
    background: var(--glass-surface); border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 32px; position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    transition: 0.4s ease;
}
.bento-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-5px); }
.bento-card.large { grid-column: span 2; }

/* Fix for inline bg images */
.bento-card[style*="background-image"] { position: relative; z-index: 1; }
.bento-card[style*="background-image"]::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: -1;
}
.card-bg-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.3; transition: 0.5s; z-index: 0;
}
.bento-card:hover .card-bg-img { opacity: 0.5; transform: scale(1.05); }
.card-content { position: relative; z-index: 2; }
.bento-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.bento-card p { color: var(--text-secondary); font-size: 0.95rem; }
.icon-glow { font-size: 2rem; color: var(--accent-blue); margin-bottom: auto; text-shadow: 0 0 20px rgba(59, 130, 246, 0.6); }

/* --- Safety Strategy Section --- */
.safety-section { padding: 100px 0; background: rgba(255,255,255,0.02); }
.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.safety-card {
    background: var(--bg-dark); border: 1px solid var(--glass-border);
    padding: 32px; border-radius: 16px; transition: 0.3s;
    display: flex; flex-direction: column;
}
.safety-card:hover { border-color: var(--accent-blue); transform: translateY(-5px); }
.icon-box { 
    width: 50px; height: 50px; background: rgba(59, 130, 246, 0.1); 
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: var(--accent-blue); font-size: 1.2rem; margin-bottom: 20px;
}
.safety-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.safety-card p { color: var(--text-secondary); font-size: 0.95rem; }
.safety-card.highlight { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.03); }

/* --- Team Section --- */
.team-section { padding: 100px 0; }
.team-wrapper { display: flex; gap: 80px; align-items: flex-start; }
.team-text { flex: 1; }
.label { color: var(--accent-blue); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 16px; }
.team-text h2 { font-size: 3rem; line-height: 1.1; margin-bottom: 24px; }

.pedigree-list { margin-top: 40px; display: flex; flex-direction: column; gap: 30px; }
.pedigree-item { display: flex; gap: 20px; align-items: flex-start; }
.pedigree-item i { 
    color: var(--accent-yellow); font-size: 1.2rem; margin-top: 4px; 
    background: rgba(234, 179, 8, 0.1); padding: 12px; border-radius: 12px;
}
.pedigree-item strong { color: white; display: block; margin-bottom: 4px; font-size: 1.1rem; }
.pedigree-item p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; }

.team-visual { flex: 1; display: flex; justify-content: center; align-items: center; }
.glass-panel {
    background: var(--glass-surface); border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 40px; backdrop-filter: blur(20px); width: 100%;
}
.logos-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.partner-text { 
    display: inline-block; padding: 8px 16px; background: rgba(255,255,255,0.05); 
    border-radius: 8px; font-weight: 600; color: #cbd5e1;
    border: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem;
}

/* --- Contact Form --- */
.contact-section { padding: 120px 0; }
.form-card {
    max-width: 540px; margin: 0 auto; text-align: center;
    background: var(--glass-surface); border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 48px;
}
.form-card h2 { margin-bottom: 12px; }
.form-card p { margin-bottom: 32px; color: var(--text-secondary); }

.input-group { display: flex; gap: 16px; margin-bottom: 16px; }
input, select {
    width: 100%; padding: 14px 16px; border-radius: 8px;
    background: rgba(0,0,0,0.3); border: 1px solid var(--glass-border);
    color: white; font-family: inherit; font-size: 1rem; outline: none;
    transition: 0.3s; margin-bottom: 16px; appearance: none;
}
select option { background-color: #1a1a1a; color: white; }
.input-group input { margin-bottom: 0; }
input:focus, select:focus { border-color: var(--accent-blue); background: rgba(0,0,0,0.5); }
.full-width { width: 100%; }

/* --- Footer --- */
footer {
    border-top: 1px solid var(--glass-border); padding: 60px 0;
    background: #020202; margin-top: auto;
}
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.brand img { 
    height: 45px; 
    opacity: 1; 
    margin-bottom: 12px; 
}
.brand p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }

.social-links { display: flex; gap: 24px; }
.social-links a { color: var(--text-secondary); font-size: 1.25rem; transition: 0.3s; }
.social-links a:hover { color: white; transform: translateY(-2px); }

.links a { margin-left: 32px; color: var(--text-secondary); font-size: 0.9rem; }
.links a:hover { color: white; }

/* --- Support/Privacy Page Styles --- */
.support-container, .privacy-container { padding-top: 140px; padding-bottom: 100px; max-width: 1000px; }
.support-header, .privacy-header { text-align: center; margin-bottom: 60px; }
.support-header h1, .privacy-header h1 { 
    font-size: 3.5rem; margin-bottom: 16px; 
    background: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%); 
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; 
}
.support-grid, .privacy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-bottom: 60px; }
.support-card, .privacy-card {
    background: var(--glass-surface); border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 40px; transition: 0.3s; text-align: center;
}
.support-card:hover, .privacy-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-5px); }
.support-icon, .icon-large { font-size: 2.5rem; color: var(--accent-blue); margin-bottom: 24px; display:block; }
.btn-support, .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 16px; margin-top: 24px; border-radius: 12px; font-weight: 600; transition: 0.3s;
}
.btn-support { background: var(--accent-blue); color: white; }
.btn-support:hover { background: #2563eb; transform: translateY(-2px); }
.btn-secondary { background: rgba(255,255,255,0.05); color: white; border: 1px solid var(--glass-border); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.faq-section, .legal-text { 
    background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border); 
    border-radius: 24px; padding: 48px; color: var(--text-secondary);
}
.faq-item { border-bottom: 1px solid var(--glass-border); padding-bottom: 24px; margin-bottom: 24px; }
.faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.faq-question { font-size: 1.1rem; font-weight: 600; color: white; margin-bottom: 8px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary); font-weight: 500; transition: 0.3s; }
.back-link:hover { color: white; transform: translateX(-4px); }
.contact-box { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--glass-border); }
.email-link { color: var(--accent-blue); font-weight: 600; }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .nav-links, .desktop-only { display: none; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 2.75rem; }
    .hero-actions { flex-direction: column; }
    .bento-grid, .safety-grid, .support-grid, .privacy-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-card.large { grid-column: auto; height: 300px; }
    .team-wrapper { flex-direction: column; text-align: center; }
    .footer-content { flex-direction: column; gap: 40px; text-align: center; }
    .links a { margin: 0 10px; }
    .input-group { flex-direction: column; gap: 0; }
    .input-group input { margin-bottom: 16px; }
    .support-header h1, .privacy-header h1 { font-size: 2.5rem; }
}