/* Liquid Glass Design System - V3 (Hyper-Real Refraction) */
:root {
    /* Colors */
    --liquid-bg: #030305;
    --liquid-text: #ffffff;
    --liquid-accent: #00ffd5;
    --liquid-secondary: #7000ff;

    /* Advanced Variables */
    --glass-blur: blur(40px);
    --glass-surface: rgba(255, 255, 255, 0.02);
    --glass-border-light: rgba(255, 255, 255, 0.4);
    --glass-border-dark: rgba(255, 255, 255, 0.05);

    --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    background-color: var(--liquid-bg);
    color: var(--liquid-text);
    font-family: 'Space Grotesk', sans-serif;
    /* Readable UI Text */
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    position: relative;
}

/* --- Typography System (Strict) --- */
h1,
h2,
.huge-number {
    font-family: 'Doto', sans-serif;
    font-weight: 800;
    /* Bold pixel look */
    letter-spacing: -0.04em;
    /* Tight tracking for impact */
    text-transform: uppercase;
}

/* Background Noise Texture (The "Resin" Feel) */
body::after {
    content: "";
    position: fixed;
    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='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 100;
    /* Overlay everything */
    opacity: 0.6;
    /* Increased grain visibility */
}

/* --- The Liquid Engine (Refraction) --- */

/* Distorted Blobs (Background) */
/* --- Cosmic Mesh Gradient (Background) --- */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* --- "Super-Res" Procedural Aura (Infinite Quality) --- */
    background:
        radial-gradient(circle at 50% 60%, rgba(255, 100, 50, 0.4), transparent 50%),
        radial-gradient(circle at 10% 20%, rgba(80, 0, 255, 0.3), transparent 60%),
        radial-gradient(circle at 90% 10%, rgba(0, 255, 213, 0.25), transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(255, 0, 128, 0.15), transparent 50%),
        linear-gradient(180deg, #0a0a12 0%, #1a1a2e 100%);

    background-size: 150% 150%;
    filter: contrast(1.1) saturate(1.3);

    opacity: 1;
    animation: aura-breathe 20s infinite alternate ease-in-out;
}

@keyframes aura-breathe {
    0% {
        background-position: 50% 50%;
        filter: contrast(1.1) saturate(1.3) hue-rotate(0deg);
    }

    100% {
        background-position: 55% 45%;
        filter: contrast(1.2) saturate(1.4) hue-rotate(5deg);
    }
}

/* Hide old blob elements as the image replaces them */
/* Hide old blob elements as the image replaces them */
.blob {
    display: none;
}

/* --- Glass Components --- */

/* The "Hyper-Glass" Card */
.liquid-card {
    /* 1. The Base Surface */
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.03) 0%,
            rgba(255, 255, 255, 0.00) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    /* Safari support */

    /* 2. The Physical Border (Light hitting edges) */
    box-shadow:
        inset 0 1px 0 0 var(--glass-border-light),
        inset 1px 0 0 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.05),
        0 20px 50px -10px rgba(0, 0, 0, 0.5);
    /* Deep shadow */

    border-radius: 40px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.4s var(--ease-elastic), box-shadow 0.4s ease;
    z-index: 10;
}

/* 3. The Specular Highlight (Reflection) */
.liquid-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 40px;
    background: radial-gradient(800px circle at top left,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 40%);
    pointer-events: none;
    z-index: 2;
}

/* 4. The "Caustic" Bottom Glow */
.liquid-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 100%);
    pointer-events: none;
    opacity: 0.5;
}

.liquid-card:hover {
    transform: translateY(-5px) scale(1.01);
}

/* --- Typography --- */
h1 {
    font-weight: 400;
    /* DotGothic is naturally bold/pixelated */
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* --- Buttons --- */
.btn-prism {
    position: relative;
    padding: 1.2rem 3rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Rainbow rim effect on hover */
.btn-prism:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 0 20px rgba(0, 255, 213, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Layout */
.center-stage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    text-align: center;
    padding-top: 100px;
    /* Space for fixed nav */
    padding-bottom: 2rem;
}

.nav-glass {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 2rem;
    border-radius: 100px;
    z-index: 50;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* --- Status Badge --- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 213, 0.1);
    border: 1px solid rgba(0, 255, 213, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--liquid-accent);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--liquid-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* --- Hero Subtitle --- */
.hero-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
}

/* --- CTA Group --- */
.cta-group {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* --- Products Preview --- */
.products-preview {
    margin-top: 3.5rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-item {
    text-align: center;
    padding: 1rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    min-width: 140px;
}

a.product-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.product-title {
    font-family: 'Doto', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    /* Increased size to match weight */
    margin-bottom: 0.5rem;
    color: #fff;
    /* Pure White as requested */
    opacity: 0.9;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.product-title.active {
    opacity: 1;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.product-desc {
    font-size: 0.85rem;
    margin: 0 0 0.5rem 0;
    opacity: 0.6;
}

/* --- High-End Liquid Glass Button (Refractive Pill) --- */
/* --- Apple-Style "Super Liquid" Glass Button --- */
.product-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 1.1rem 2.8rem;
    border-radius: 999px;
    /* Perfect Pill */

    /* The "Super Glass" Material */
    background: rgba(255, 255, 255, 0.02);
    /* Ultra-transparent */
    backdrop-filter: blur(16px) saturate(200%);
    /* Heavy refraction */
    -webkit-backdrop-filter: blur(16px) saturate(200%);

    /* The Physical "Lens" Look */
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Base border */
    box-shadow:
        /* The "Rim Light" (Top/Left White Hit) */
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 1px 0 0 rgba(255, 255, 255, 0.4),
        /* The "Density" (Bottom/Inner Shadows) */
        inset 0 -2px 10px rgba(0, 0, 0, 0.1),
        /* The "Cast Shadow" */
        0 10px 40px -10px rgba(0, 0, 0, 0.3);

    color: #ffffff;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    z-index: 10;
}

/* Glass Sheen Animation */
.product-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(255, 255, 255, 0.0) 40%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0.0) 60%);
    transform: rotate(25deg) translate(-100%, 0);
    transition: transform 0.6s;
    opacity: 0.3;
}

.product-badge:hover {
    transform: translateY(-4px) scale(1.02);
    /* Brighter Glass on Hover */
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 15px 50px -5px rgba(255, 255, 255, 0.15),
        /* White Glow */
        0 0 20px rgba(255, 255, 255, 0.2);
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.product-badge:hover::after {
    transform: rotate(25deg) translate(100%, 0);
    /* Sheen passes across */
}

/* Neutralized Brand Wrappers (Classes kept for future use if needed) */

.product-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
    align-self: stretch;
}

/* --- Footer --- */
.site-footer {
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 32px;
    opacity: 0.8;
}

.footer-tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--liquid-accent);
}

.footer-link svg {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-link:hover svg {
    opacity: 1;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

/* --- System Status Badge --- */
.system-status {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    pointer-events: none;
    /* Let clicks pass through */
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .liquid-card {
        padding: 2rem;
        border-radius: 24px;
        margin: 1rem;
    }

    .nav-glass {
        top: 1rem;
        padding: 0.6rem 1.5rem;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn-prism {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .products-preview {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .product-divider {
        width: 60%;
        height: 1px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .status-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .blob {
        opacity: 0.4;
    }
}