/* Aqua Pro Montage - XXL Masterclass Web 2030 */
:root {
    /* Colors - Abysses & Electric */
    --void-black: #030305;
    --abyss-blue: #001220;
    --neon-cyan: #00F0FF;
    --neon-blue: #0066FF;
    --text-pure: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(0, 240, 255, 0.1);
    
    /* Layout */
    --max-width: 1400px;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Physics */
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] {
    --void-black: #F5F7FA;
    --abyss-blue: #E2E8F0;
    --text-pure: #0A0F1A;
    --text-muted: rgba(10, 15, 26, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 102, 255, 0.2);
    --neon-cyan: #0066FF;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important; /* Custom Cursor only */
}

body {
    font-family: var(--font-body);
    background-color: var(--void-black);
    color: var(--text-pure);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.8s ease, color 0.8s ease;
}

/* Abstract Background Pattern (Organic Noise + Mesh) */
.bg-tech {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -2;
    pointer-events: none;
    background: radial-gradient(circle at 15% 50%, rgba(0, 240, 255, 0.05), transparent 50%),
                radial-gradient(circle at 85% 30%, rgba(0, 102, 255, 0.08), transparent 50%);
}
.bg-tech::after {
    content: '';
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noise)" opacity="0.04"/%3E%3C/svg%3E');
}

/* Premium Cursor Blend Mode */
.custom-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 12px; height: 12px;
    background: #FFF;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width 0.3s var(--spring), height 0.3s var(--spring), border-radius 0.3s var(--spring);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0px;
    color: #000;
    overflow: hidden;
}
.custom-cursor.hovering {
    width: 120px; height: 120px;
    background: var(--neon-cyan);
    font-size: 14px;
    letter-spacing: 2px;
    mix-blend-mode: normal;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(3, 3, 5, 0.4);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
[data-theme="light"] .navbar { background: rgba(255,255,255,0.6); }

.logo-container { height: 110px; }
.site-logo {
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s var(--spring), filter 0.4s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 240, 255, 0.2));
}
.site-logo:hover { 
    transform: scale(1.05) rotate(-2deg); 
    filter: drop-shadow(0 10px 25px rgba(0, 240, 255, 0.5));
}

.logo-light { display: none; }
[data-theme="light"] .logo-dark { display: none; }
[data-theme="light"] .logo-light { display: block; }
[data-theme="light"] .site-logo { filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.15)); }
[data-theme="light"] .site-logo:hover { filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3)); }

.theme-toggle {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-pure);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}
.theme-toggle:hover {
    background: var(--text-pure);
    color: var(--void-black);
}

/* Hero Section (Awwwards Style) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    width: 80vw; height: 80vh;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(0,0,0,0) 60%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}
.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 1200px;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 0.9;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: -3px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 20px 40px rgba(0, 240, 255, 0.1));
}
[data-theme="light"] .hero h1 {
    background: linear-gradient(180deg, #0A0F1A 0%, rgba(10,15,26,0.4) 100%);
    -webkit-background-clip: text;
}
.hero h1 .text-accent {
    background: linear-gradient(90deg, var(--neon-cyan) 0%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}
.btn-primary {
    display: inline-block;
    background: var(--text-pure);
    color: var(--void-black);
    padding: 1.5rem 4rem;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.5s var(--spring);
}
[data-theme="light"] .btn-primary { background: var(--neon-cyan); color: #FFF; }
.btn-primary:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.3);
}

/* Immersive Marquee */
.marquee-wrapper {
    position: absolute;
    bottom: -50px;
    left: -10vw;
    width: 120vw;
    transform: rotate(-3deg);
    z-index: 5;
    pointer-events: none;
    opacity: 0.1;
}
[data-theme="light"] .marquee-wrapper { opacity: 0.05; }
.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
    font-family: var(--font-heading);
    font-size: 15rem;
    font-weight: 800;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 2px var(--text-pure);
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Bento Grid 2.0 (Glass & Image Backgrounds) */
.grid-section {
    padding: var(--space-xl) 5%;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}
.bento-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.6s var(--spring), box-shadow 0.6s ease, border-color 0.6s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
}
.bento-large { grid-column: span 8; }
.bento-medium { grid-column: span 4; }
.bento-full { grid-column: span 12; align-items: center; text-align: center; justify-content: center; min-height: 500px; }

@media (max-width: 1024px) {
    .bento-large, .bento-medium { grid-column: span 12; }
}

.bento-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4;
    transition: transform 1s ease, opacity 0.6s ease;
    filter: grayscale(100%) contrast(1.2);
}
.bento-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 0 40px rgba(0, 240, 255, 0.1);
}
[data-theme="light"] .bento-card:hover {
    box-shadow: 0 40px 80px rgba(0, 102, 255, 0.15), inset 0 0 40px rgba(0, 102, 255, 0.05);
}
.bento-card:hover .bento-bg {
    transform: scale(1.1);
    opacity: 0.7;
    filter: grayscale(0%) contrast(1.1);
}

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}
.bento-card p {
    font-size: 1.2rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Contact Creator */
.contact-section {
    padding: var(--space-xl) 5%;
}
.contact-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 5rem;
    backdrop-filter: blur(30px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transition: transform 0.6s var(--spring);
}
.contact-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 50px 100px rgba(0,0,0,0.5), 0 0 30px rgba(0, 240, 255, 0.1);
}
[data-theme="light"] .contact-container:hover { box-shadow: 0 50px 100px rgba(0,102,255,0.1); }

.contact-container h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.form-group {
    margin-bottom: 2rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form-control {
    width: 100%;
    padding: 1.5rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    color: var(--text-pure);
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: all 0.4s ease;
}
[data-theme="light"] .form-control {
    background: rgba(255,255,255,0.5);
    border-color: rgba(0,0,0,0.1);
}
.form-control:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    background: rgba(255,255,255,0.05);
}
.btn-submit {
    width: 100%;
    background: var(--text-pure);
    color: var(--void-black);
    border: none;
    padding: 1.5rem;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.5s var(--spring);
}
[data-theme="light"] .btn-submit { background: var(--neon-cyan); color: #FFF; }
.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.3);
}

/* Reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1.2s ease, transform 1.2s var(--spring);
}
.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .contact-container {
        padding: 2.5rem 1.5rem;
    }
    .bento-card {
        padding: 2.5rem;
    }
    .contact-container h2 {
        font-size: clamp(2rem, 8vw, 4rem);
    }
}
