:root {
    /* Absolute Cinematic Black */
    --bg-base: #000000;
    --bg-panel: rgba(10, 10, 12, 0.4);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(6, 182, 212, 0.2);

    /* Sleek Cyan / Electric Blue */
    --cyan: #06b6d4;
    --cyan-dim: rgba(6, 182, 212, 0.15);

    /* Pure White to Slate Typography */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;

    --success: #10b981;

    /* High Fidelity Dual-font setup */
    --font-heading: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100vw;
    min-height: 100vh;
}

/* -------------------------------------- */
/* CINEMATIC EFFECTS & OVERLAYS */
/* -------------------------------------- */

/* Grain Effect */
.cinematic-grain {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    animation: grain-shift 4s steps(10) infinite;
}

@keyframes grain-shift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -10%);
    }

    20% {
        transform: translate(-15%, 5%);
    }

    30% {
        transform: translate(7%, -25%);
    }

    40% {
        transform: translate(-5%, 25%);
    }

    50% {
        transform: translate(-15%, 10%);
    }

    60% {
        transform: translate(15%, 0%);
    }

    70% {
        transform: translate(0%, 15%);
    }

    80% {
        transform: translate(3%, 35%);
    }

    90% {
        transform: translate(-10%, 10%);
    }
}

/* Ambient Deep Lighting */
.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% -20%, rgba(6, 182, 212, 0.05) 0%, rgba(0, 0, 0, 0) 80%),
        radial-gradient(circle at -20% 50%, rgba(20, 20, 30, 0.4) 0%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
    z-index: -1;
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Cinematic Blurring Entrances */
.reveal-blur {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(10px);
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1s cubic-bezier(0.19, 1, 0.22, 1),
        filter 1s ease-out;
}

.reveal-blur.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* -------------------------------------- */
/* TYPOGRAPHY */
/* -------------------------------------- */
.section-spacing {
    padding: 10rem 5%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.cinematic-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 2rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
}

/* -------------------------------------- */
/* NAVIGATION */
/* -------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-icon-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

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

.hover-underline:hover {
    color: var(--text-primary);
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--cyan);
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

/* -------------------------------------- */
/* HERO SECTION & HOLOGRAPHIC VISUAL */
/* -------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    z-index: 10;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    animation: flash 2s infinite;
}

@keyframes flash {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px var(--cyan);
    }

    50% {
        opacity: 0.3;
        box-shadow: 0 0 2px var(--cyan);
    }
}

.text-cyan {
    color: var(--cyan);
}

.text-green {
    color: var(--success);
}

.text-xs {
    font-size: 0.75rem;
}

.font-mono {
    font-family: 'Space Mono', monospace;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.uppercase {
    text-transform: uppercase;
}

.hero-description {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-base);
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

.btn-primary .arrow {
    transition: transform 0.3s;
}

.btn-primary:hover .arrow {
    transform: translateX(5px);
}

.btn-secondary {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.btn-secondary:hover {
    color: var(--text-primary);
}

/* Hologram Visual Container */
.hero-visual {
    flex: 1;
    position: relative;
    height: 600px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hologram-container {
    position: relative;
    width: 400px;
    height: 400px;
    transform-style: preserve-3d;
    transform: rotateX(20deg) rotateY(-20deg);
}

.orbital-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 300px;
    height: 300px;
    border-top: 2px solid var(--cyan);
    animation: spin 10s linear infinite;
}

.ring-2 {
    width: 400px;
    height: 400px;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    animation: spin-reverse 15s linear infinite;
}

.ring-3 {
    width: 500px;
    height: 500px;
    border: 1px dashed rgba(6, 182, 212, 0.1);
    animation: spin 25s linear infinite;
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-reverse {
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

.core-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--cyan), transparent);
}

.glowing-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 50px 20px rgba(6, 182, 212, 0.5);
}

.data-stream {
    position: absolute;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.stream-left {
    right: 40px;
    top: 20px;
    text-align: right;
}

.stream-right {
    left: 40px;
    bottom: 20px;
    text-align: left;
}

/* -------------------------------------- */
/* BENTO ARCHITECTURE */
/* -------------------------------------- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.bento-card {
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.bento-card.span-2 {
    grid-column: span 2;
}

/* Interactive Hover Lift & Glow */
.bento-card.hover-lift:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(6, 182, 212, 0.05);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(6, 182, 212, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.bento-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    margin-bottom: 2rem;
    transition: transform 0.3s, background 0.3s;
}

.bento-card:hover .card-icon {
    transform: scale(1.1);
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--cyan);
}

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 500px;
}

/* -------------------------------------- */
/* HIGH END CONTACT FORM */
/* -------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
}

.high-end-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.input-group {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
}

.high-end-form input,
.high-end-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.75rem 0;
    font-size: 1.1rem;
    font-family: var(--font-body);
    resize: none;
    z-index: 1;
}

.high-end-form label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    z-index: 0;
}

/* Floating Label Animation */
.high-end-form input:focus+label,
.high-end-form textarea:focus+label,
.high-end-form input:not(:placeholder-shown)+label,
.high-end-form textarea:not(:placeholder-shown)+label {
    top: -1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cyan);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.high-end-form input:focus,
.high-end-form textarea:focus {
    outline: none;
}

/* Base border animation */
.input-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cyan);
    transition: width 0.4s ease;
}

.high-end-form input:focus~.input-highlight,
.high-end-form textarea:focus~.input-highlight {
    width: 100%;
    box-shadow: 0 0 10px var(--cyan);
}

.w-full {
    width: 100%;
}

/* -------------------------------------- */
/* FOOTER */
/* -------------------------------------- */
.cinematic-footer {
    border-top: 1px solid var(--border-light);
    padding: 4rem 5% 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(10, 10, 12, 0.4) 100%);
}

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

.font-space {
    font-family: var(--font-heading);
}

.text-secondary {
    color: var(--text-secondary);
}

.footer-links a {
    color: var(--text-secondary);
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    text-decoration: none;
    margin-left: 2rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem;
    }

    .hero-visual {
        display: none;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.span-2 {
        grid-column: span 1;
    }

    /* -------------------------------------- */
    /* SCROLL REVEAL ANIMATIONS */
    /* -------------------------------------- */
    .scroll-fade-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: opacity, transform;
    }

    .scroll-fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .parallax-slow {
        will-change: transform;
    }
}

html {
    width: 100%;
    height: 100%;
}