:root {
    --bg-color: #f8f9fb;
    --acc-color: #ffffff;
    --text-main: #1d1d1f;
    --text-sub: #86868b;
    --halo-size: 500px;
    --chip-width: 150px;
    --chip-height: 52px;
    --transition-smooth: cubic-bezier(0.23, 1, 0.32, 1);
    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(255, 255, 255, 0.7);
    --accent-glow: rgba(255, 255, 255, 0.8);
}

/* Cleaned up duplicate rule */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    overflow-y: auto;
}

/* Luxury Background */
.luxury-bg {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, #ffffff 0%, #e0e7f0 100%);
    z-index: -2;
}

.light-beams {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.6) 0%, transparent 40%);
    filter: blur(60px);
    opacity: 0.5;
    z-index: -2;
}

.noise {
    position: fixed;
    inset: 0;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.04;
    pointer-events: none;
    z-index: -1;
}

/* 3D Core */
.scene-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--bg-color);
}

.perspective-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.halo-system {
    position: relative;
    width: var(--halo-size);
    height: var(--halo-size);
    transform-style: preserve-3d;
    will-change: transform;
}

/* Benefit Chips */
.chips-container {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.chip-wrapper {
    margin-top: calc(var(--chip-height) / -2);
    margin-left: calc(var(--chip-width) / -2);
    perspective: 1000px;
}

.benefit-chip {
    width: var(--chip-width);
    height: var(--chip-height);
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        transform 0.5s var(--transition-smooth),
        background 0.5s var(--transition-smooth),
        box-shadow 0.5s var(--transition-smooth),
        border-color 0.5s var(--transition-smooth);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.benefit-chip:hover,
.benefit-chip.active {
    transform: translate3d(0, 0, 50px) scale(1.08);
    background: rgba(255, 255, 255, 0.85);
    border-color: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 25px rgba(255, 255, 255, 0.9);
}

.chip-content {
    color: var(--text-main);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transform: translateZ(1px);
    /* Force layer */
    pointer-events: none;
}

/* Fixed List Left */
.benefits-list-fixed {
    position: absolute;
    top: 40px;
    left: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.fixed-benefit-item {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-sub);
    text-transform: uppercase;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.4s var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 15px;
}

.fixed-benefit-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-sub);
    transition: all 0.4s var(--transition-smooth);
    opacity: 0.3;
}

.fixed-benefit-item:hover,
.fixed-benefit-item.active {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    transform: translateX(10px);
}

.fixed-benefit-item:hover::before,
.fixed-benefit-item.active::before {
    background: #000;
    opacity: 1;
    transform: scale(1.5);
}

/* Benefit Details Panel */
.benefit-details {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 320px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.6s var(--transition-smooth);
    z-index: 100;
}

.benefit-details.visible {
    transform: translateX(0);
    opacity: 1;
}

.details-footer {
    margin-top: 15px;
}

.details-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.details-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-sub);
}

.details-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.details-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-sub);
}

/* Typography Overlay */
.content-overlay {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(to top, transparent 0%, transparent 100%);
    pointer-events: none;
}

.premium-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(32px, 8vw, 84px);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #1d1d1f;
    margin-bottom: 4px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: revealMean 1.8s var(--transition-smooth) forwards;
}

.premium-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(10px, 2vw, 13px);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #86868b;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: revealSubtitle 1.8s var(--transition-smooth) 0.4s forwards;
}

.hero-cta-group {
    margin-top: 25px;
    opacity: 0;
    transform: translateY(20px);
    animation: revealSubtitle 1.8s var(--transition-smooth) 0.8s forwards;
    pointer-events: auto;
}

.hero-app-btn {
    background: #1d1d1f;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-app-btn i {
    font-size: 11px;
    transition: transform 0.4s var(--transition-smooth);
}

.hero-app-btn:hover {
    background: #000;
    transform: scale(1.05);
    /* Stable scale instead of vertical lift */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hero-app-btn:hover i {
    transform: translateX(4px);
}

@keyframes revealMean {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        letter-spacing: 0.1em;
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: 0.2em;
    }
}

@keyframes revealSubtitle {
    0% {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 0.2em;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0.4em;
    }
}

.instruction-hint {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-sub);
    opacity: 0.6;
}

/* Mobile Responsiveness Extra Polish */
@media (max-width: 768px) {

    .perspective-wrapper,
    .halo-system,
    .instruction-hint {
        display: none !important;
    }

    .details-inner {
        gap: 5px;
    }

    .benefits-list-fixed {
        display: flex !important;
        position: fixed !important;
        top: 17px;
        left: 14px;
        width: calc(100% - 33px);
        max-height: 56vh;
        padding-bottom: 20px;
        z-index: 110;
    }

    .fixed-benefit-item {
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        margin-bottom: -6px;
        font-size: 11px;
    }

    .benefit-details {
        top: 250px;
        right: 20px;
        left: 20px;
        width: auto;
        padding: 24px;
        border-radius: 24px;
        transform: translateY(0);
        opacity: 1;
        /* Always visible or managed by JS */
        background: white;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
    }

    .benefit-details.visible {
        transform: translateY(0);
    }

    .details-title {
        font-size: 20px;
    }

    .details-desc {
        font-size: 13px;
    }

    .premium-title {
        letter-spacing: 0.15em;
    }

    .premium-subtitle {
        letter-spacing: 0.3em;
    }

    .instruction-hint {
        top: auto;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --halo-size: 240px;
    }

    .premium-title {
        font-size: 28px;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .content-overlay {
        display: none;
        /* Hide header in landscape to save space */
    }

    .benefit-details {
        top: 20px;
        bottom: auto;
        right: 20px;
        width: 250px;
        padding: 15px;
    }

    :root {
        --halo-size: 200px;
    }
}

/* Integrated Benefits Grid */
.benefits-grid {
    max-width: 1200px;
    margin: 10vh auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 40px;
    transition: all 0.5s var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.benefit-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.benefit-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.benefit-card p {
    color: var(--text-sub);
    line-height: 1.6;
    font-size: 15px;
}

.benefits-section-header {
    text-align: center;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.05);
}

.explore-more-link {
    display: inline-block;
    font-size: 11px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 2px;
    width: fit-content;
}

.explore-more-link.visible {
    opacity: 1;
    pointer-events: auto;
}

.explore-more-link:hover {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        margin-top: 50px;
    }

    .benefit-card {
        padding: 30px;
        border-radius: 24px;
    }
}

/* Slide Section Styling */
html {
    scroll-behavior: smooth;
}

.slide-section {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    position: sticky;
    top: 0;
    overflow: hidden;
}

#ai-orchestration {
    z-index: 3;
    background: #f8f9fb;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.05);
}

#verified-origin {
    z-index: 4;
    background: #ffffff;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.05);
}

#scientific-standard {
    z-index: 5;
    background: #f8f9fb;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.05);
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    opacity: 0;
    transform: perspective(1000px) translateY(100px) rotateX(5deg);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-content.revealed {
    opacity: 1;
    transform: perspective(1000px) translateY(0) rotateX(0deg);
}

.slide-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s var(--transition-smooth) 0.3s;
}

.slide-content.revealed .slide-text {
    opacity: 1;
    transform: translateX(0);
}

.slide-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--text-sub);
    display: block;
    margin-bottom: 24px;
    font-weight: 600;
}

.slide-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-main);
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.slide-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-sub);
    margin-bottom: 48px;
    max-width: 540px;
}

/* AI Orchestration Visual Enhancements */
.neural-core {
    width: 320px;
    height: 320px;
    position: relative;
    margin: 0 auto;
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.03));
}

.core-pulse {
    position: absolute;
    inset: 15%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.8) 0%, transparent 75%);
    border-radius: 50%;
    animation: pulseCore 4s infinite cubic-bezier(0.4, 0, 0.2, 1) alternate;
}

.orbit-path {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.orbit-path:nth-child(2) {
    transform: rotateX(65deg) rotateY(15deg);
    border-style: dashed;
}

.orbit-path:nth-child(3) {
    transform: rotateX(-45deg) rotateY(45deg);
}

.orbit-path:nth-child(4) {
    transform: rotateZ(30deg) rotateX(80deg);
    opacity: 0.5;
}

.node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.n1 {
    top: 10%;
    left: 50%;
    animation: orbitNode 5s infinite linear;
}

.n2 {
    bottom: 20%;
    left: 10%;
    animation: orbitNode 7s infinite linear reverse;
}

.n3 {
    top: 50%;
    right: 5%;
    animation: orbitNode 4s infinite linear;
}

@keyframes pulseCore {
    0% {
        transform: scale(0.9) opacity(0.3);
    }

    100% {
        transform: scale(1.2) opacity(0.6);
    }
}

@keyframes orbitNode {
    from {
        transform: rotate(0deg) translateX(150px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(150px) rotate(-360deg);
    }
}

/* Verified Origin Visual Enhancements */
.origin-map {
    width: 100%;
    height: 440px;
    background: rgba(0, 0, 0, 0.015);
    backdrop-filter: blur(5px);
    border-radius: 48px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.02);
}

.map-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}

.loc-pin {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.loc-pin::before {
    content: '';
    position: absolute;
    inset: -6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.loc-pin::after {
    content: '';
    position: absolute;
    inset: -15px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    animation: ripple 2.5s infinite cubic-bezier(0.23, 1, 0.32, 1);
}

.p1 {
    top: 35%;
    left: 45%;
}

.p2 {
    top: 65%;
    left: 75%;
}

.p3 {
    top: 55%;
    left: 25%;
}

@keyframes ripple {
    0% {
        transform: scale(0.6);
        opacity: 1;
        border-width: 2px;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
        border-width: 1px;
    }
}

/* Scientific Standard Visual Enhancements */
.lab-visual {
    position: relative;
    width: 100%;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.01);
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.scanning-beam {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.03), transparent);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    animation: scan 5s infinite ease-in-out;
    pointer-events: none;
}

.spec-circles {
    display: flex;
    gap: 30px;
}

.circle {
    width: 100px;
    height: 100px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle::before {
    content: '';
    position: absolute;
    inset: 10%;
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: rotateCircle 3s infinite linear;
}

@keyframes scan {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(400px);
        opacity: 0;
    }
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.slide-metrics,
.slide-list {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.m-val {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.m-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-sub);
    margin-top: 4px;
}

.slide-list {
    flex-direction: column;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.slide-list li {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
    color: var(--text-main);
    font-weight: 500;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.slide-list li:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: translateX(10px);
}

.slide-list i {
    color: #4CAF50;
    font-size: 16px;
}

@media (max-width: 968px) {
    .slide-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .slide-section {
        height: auto;
        padding: 80px 20px;
    }

    .slide-visual {
        order: -1;
    }

    .slide-metrics,
    .slide-list {
        justify-content: center;
    }
}