@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg-color: #030408;
    --text-primary: #f0f4f8;
    --text-secondary: #8b9bb4;
    --accent-cyan: #00f3ff;
    --accent-purple: #b537f2;
    --accent-glow-cyan: rgba(0, 243, 255, 0.4);
    --accent-glow-purple: rgba(181, 55, 242, 0.4);
    
    --panel-bg: rgba(10, 12, 20, 0.7);
    --panel-border: rgba(255, 255, 255, 0.05);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

/* Background Grids & Blobs */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: drift 15s infinite alternate ease-in-out;
}

.glow-cyan {
    width: 600px;
    height: 600px;
    background: var(--accent-cyan);
    top: -10%;
    left: -10%;
}

.glow-purple {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    bottom: 20%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 80px) scale(1.1); }
}

/* Typography & Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.cyber-gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Nav */
.cyber-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 4, 8, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--panel-border);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
}

.nav-logo {
    height: 35px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-glow-cyan);
}

/* Buttons */
.btn-cyber {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 1px solid var(--accent-cyan);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: inset 0 0 0 rgba(0, 243, 255, 0.2), 0 0 15px rgba(0, 243, 255, 0.1);
}

.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-cyber:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.4), 0 0 30px rgba(0, 243, 255, 0.3);
    border-color: #fff;
}

.btn-cyber:hover::before {
    left: 100%;
}

.btn-cyber-solid {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border: none;
    color: #000;
}
.btn-cyber-solid:hover {
    box-shadow: 0 0 30px var(--accent-glow-cyan);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #fff, var(--accent-cyan));
}

/* Legacy Announcement Banner */
.legacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(181, 55, 242, 0.1);
    border: 1px solid rgba(181, 55, 242, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.legacy-badge strong {
    color: var(--accent-purple);
}

/* Hero Section */
.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 90vh;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 450px;
}

.hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-animated-logo {
    width: 320px;
    height: auto;
    filter: drop-shadow(0 0 30px var(--accent-glow-cyan)) drop-shadow(0 0 60px var(--accent-glow-purple));
    animation: floatLogo 6s infinite ease-in-out;
    z-index: 2;
}

.hero-logo-container::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 20px;
    background: radial-gradient(ellipse at center, var(--accent-glow-cyan) 0%, transparent 70%);
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    animation: shadowPulse 6s infinite ease-in-out;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-25px) rotate(2deg); filter: drop-shadow(0 0 40px var(--accent-cyan)) drop-shadow(0 0 80px var(--accent-purple)); }
}

@keyframes shadowPulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    50% { transform: translateX(-50%) scale(0.6); opacity: 0.3; }
}

/* Bento Box Layout */
.bento-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-label {
    text-transform: uppercase;
    font-family: var(--font-heading);
    color: var(--accent-cyan);
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 1.5rem;
}

.bento-item {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: border-color 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-item:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-wide {
    grid-column: span 2;
}
.bento-tall {
    grid-row: span 2;
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.bento-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Holographic Gallery */
.gallery-section {
    max-width: 1200px;
    margin: 8rem auto;
    padding: 0 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.holo-panel {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--panel-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.holo-panel img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.1) brightness(0.9);
    transition: filter 0.3s ease;
}

.holo-panel:hover {
    transform: scale(1.05) translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px var(--accent-glow-cyan);
    z-index: 10;
}

.holo-panel:hover img {
    filter: contrast(1) brightness(1.1);
}

/* Command Center CTA */
.cmd-cta {
    max-width: 800px;
    margin: 8rem auto;
    padding: 4rem 2rem;
    text-align: center;
    background: radial-gradient(circle at top, rgba(0, 243, 255, 0.05), transparent 70%);
    border-top: 1px solid rgba(0, 243, 255, 0.1);
}

.cmd-cta h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

/* Trust Badge */
.trust-badge {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 230, 118, 0.05);
    border: 1px solid rgba(0, 230, 118, 0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(0, 230, 118, 0.1);
    border-color: #00e676;
}

.vt-icon { width: 24px; height: 24px; }
.vt-text { text-align: left; }
.vt-text strong { display: block; color: #00e676; font-family: var(--font-heading); font-size: 1.1rem; }
.vt-text span { color: var(--text-secondary); font-size: 0.8rem; }

/* Footer */
footer {
    border-top: 1px solid var(--panel-border);
    padding: 3rem 2rem;
    background: #010102;
    margin-top: 5rem;
}

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

.footer-logo { height: 25px; filter: grayscale(1) brightness(1.5); }
.footer-text { text-align: center; flex: 1; }
.footer-text p { color: var(--text-secondary); font-size: 0.9rem; }
.disclaimer { opacity: 0.5; font-size: 0.8rem !important; margin-top: 0.5rem; }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent-cyan); }

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.fade-in.appear { opacity: 1; transform: translateY(0); }

/* Mobile */
.mobile-toggle {
    display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 2000;
}
.mobile-toggle span { width: 30px; height: 2px; background: white; transition: 0.3s; }

@media (max-width: 900px) {
    .bento-wide, .bento-tall { grid-column: span 1; grid-row: span 1; }
    .bento-grid { grid-template-columns: 1fr; }
    .hero-section { grid-template-columns: 1fr; text-align: center; padding-top: 6rem; }
    .hero-subtitle { margin: 0 auto 2rem; }
    .hero-animated-logo { width: 250px; margin-top: 2rem; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: var(--bg-color); flex-direction: column; align-items: center;
        padding-top: 8rem; transition: 0.4s; z-index: 1000;
    }
    .nav-links.active { right: 0; }
    .mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
