:root {
    /* Color Palette - Cyber Luxury */
    --black: #050505;
    --dark-grey: #0A0A0A;
    --gold: #E6AF2E;
    --gold-glow: rgba(230, 175, 46, 0.4);
    --purple: #8A2BE2;
    --purple-glow: rgba(138, 43, 226, 0.3);
    --white: #F0F0F0;
    --text-muted: #A0A0A0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing */
    --container: 1400px;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 3D Background Fix */
#canvas-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
    pointer-events: none !important;
}

/* Global Interaction Priority */
main, header, footer {
    position: relative;
    z-index: 10;
}

input, select, textarea, button, a {
    position: relative;
    z-index: 20;
    pointer-events: auto !important;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 10px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--gold), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--gold);
    transition: width 0.3s ease;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    padding: 30px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    padding: 15px 0;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--white);
}

.logo span {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    opacity: 0.6;
    transition: var(--transition);
}

.nav-menu a:hover {
    opacity: 1;
    color: var(--gold);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Language Switcher */
.lang-switcher-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 5px 8px;
}

.lang-btn.active {
    color: var(--gold);
}

.lang-sep {
    width: 1px;
    height: 10px;
    background: var(--glass-border);
    margin: 0 5px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 160px; /* Definitive overlap fix */
    z-index: 100;
}

.hero-tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
}

.hero p {
    max-width: 600px;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Philosophy Enhancements */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.subtitle {
    display: block;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.philosophy-features {
    margin-top: 50px;
    display: grid;
    gap: 30px;
}

.feat-item {
    display: flex;
    gap: 20px;
}

.feat-icon {
    color: var(--gold);
    font-size: 1.5rem;
}

.feat-item h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.feat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.visual-blob {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(45deg, var(--gold), var(--purple));
    filter: blur(80px);
    opacity: 0.2;
    border-radius: 50%;
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(0.8) rotate(0deg); }
    to { transform: scale(1.1) rotate(90deg); }
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    position: relative;
    padding-top: 60px;
}

.step-num {
    position: absolute;
    top: 30px;
    right: 30px;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

/* Hero Scroll Down */
.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

/* Container */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

/* Section */
.section {
    padding: 150px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 60px;
    text-transform: uppercase;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 30px;
}

.bento-item {
    grid-column: span 1;
}

.bento-item.large {
    grid-column: span 2;
}

/* Glass Card */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(230, 175, 46, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-glow);
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.price {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-glow {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 10px 30px var(--gold-glow);
}

.btn-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px var(--gold-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--white);
    margin-left: 20px;
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
    padding: 100px 0 50px;
    border-top: 1px solid var(--glass-border);
    background: var(--dark-grey);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    margin-bottom: 60px;
}

.footer-info .logo {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

.footer-contact {
    font-size: 1.5rem;
    margin-top: 20px;
    color: var(--gold);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Mobile */
.burger {
    display: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 25px;
    height: 1px;
    background: var(--white);
    margin: 6px 0;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    .burger {
        display: block;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-item.large {
        grid-column: span 1;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .stats-grid, .philosophy-grid, .process-steps {
        grid-template-columns: 1fr;
    }
}
