:root {
    /* Glass 3.0 Design System */
    --primary: #E50914;
    --secondary: #00D2FF;
    --accent: #FF00E5;
    --background: #020204;
    --glass-blur: blur(40px) saturate(180%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Scale */
    --container-max: 1560px;
    --h1-size: clamp(3.5rem, 10vw, 8.5rem);
    --easing: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--background);
    color: #fff;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Background Atmosphere */
.glass-atmosphere {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.2;
    animation: glowFloat 25s infinite alternate;
}

.glow-1 {
    background: var(--primary);
    top: -20%;
    right: -10%;
}

.glow-2 {
    background: var(--secondary);
    bottom: -10%;
    left: -10%;
    animation-delay: -5s;
}

@keyframes glowFloat {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(10%, 5%) scale(1.1);
    }
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 4rem;
}

/* Glass 3.0 Navigation */
.nav-glass {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2.5rem 0;
    background: linear-gradient(to bottom, rgba(2, 2, 4, 0.8), transparent);
    backdrop-filter: blur(15px);
}

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

.logo-3 {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-box {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--primary);
}

.logo-text {
    font-size: 2rem;
    font-weight: 950;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.btn-glass {
    padding: 0.9rem 2.2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--easing);
}

.btn-glass:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

/* Frame Hero 3.0 */
.hero-glass {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1.4rem;
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 8px;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: holographicShimmer 3s infinite;
}

@keyframes holographicShimmer {

    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 5px var(--primary));
    }

    50% {
        filter: brightness(1.5) drop-shadow(0 0 15px var(--primary));
    }
}

.headline-3 {
    font-size: var(--h1-size);
    font-weight: 950;
    line-height: 0.9;
    letter-spacing: -5px;
    margin-bottom: 2.5rem;
}

.subtext-3 {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 4rem;
    max-width: 600px;
}

.btn-download-3 {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.6rem 3.5rem;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 950;
    font-size: 1.3rem;
    box-shadow: 0 20px 50px rgba(229, 9, 20, 0.4);
    transition: var(--easing);
}

.btn-download-3:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 70px rgba(229, 9, 20, 0.6);
}

/* Custom Visual Image Integration */
.hero-visual-frame {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 100px 200px rgba(0, 0, 0, 0.8);
    background: #000;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: transform 10s linear;
}

.hero-visual-frame:hover .hero-img {
    transform: scale(1.1);
}

.glass-reflection {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

/* Holographic Feature Tiles */
.section-3 {
    padding: 120px 0;
}

.title-3 {
    font-size: 3.5rem;
    font-weight: 950;
    text-align: center;
    margin-bottom: 6rem;
    letter-spacing: -2px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.tile-3 {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 4.5rem;
    border-radius: 48px;
    transition: var(--easing);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tile-3:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-15px);
}

.tile-3::before {
    /* Refraction side-glow */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--secondary), transparent);
    opacity: 0;
    transition: 0.3s;
}

.tile-3:hover::before {
    opacity: 0.6;
}

.icon-3 {
    width: 80px;
    height: 80px;
    margin: 0 auto 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.2);
}

.tile-3 h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.tile-3 p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Download 3.0 Panel */
.download-3 {
    padding-bottom: 120px;
}

.panel-3 {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 8rem;
    border-radius: 64px;
    text-align: center;
    position: relative;
}

.panel-3 h2 {
    font-size: 4rem;
    font-weight: 950;
    margin-bottom: 1rem;
}

/* Motion */
.reveal-3 {
    opacity: 0;
    transform: perspective(1000px) rotateX(10deg) translateY(40px);
    transition: all 1.2s var(--easing);
}

.reveal-3.active {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0);
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual-frame {
        max-width: 600px;
        margin: 0 auto;
    }

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