/* ==========================================================================
   Design System & Variables (V3.0 Cinematic Ultra-Premium)
   ========================================================================== */
:root {
    /* Deep Obsidian Core Theme */
    --bg-base: #030305;
    --bg-surface: rgba(255, 255, 255, 0.02);
    --bg-surface-hover: rgba(255, 255, 255, 0.04);

    /* AeroLube Branding */
    --brand-primary: #F59E0B;
    /* Racing Gold */
    --brand-secondary: #EA580C;
    /* Burnout Orange */
    --brand-accent: #fbbf24;

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-tertiary: rgba(255, 255, 255, 0.4);

    --border-light: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(245, 158, 11, 0.3);

    /* Gradients */
    --grad-brand: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%);
    --grad-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
    --grad-hero-text: linear-gradient(180deg, #FFFFFF 20%, rgba(255, 255, 255, 0.6) 100%);

    /* Typography */
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-tech: 'Syncopate', system-ui, sans-serif;

    /* Spacing & Utilities */
    --section-gap: 8vw;
    --container-max: 1600px;
    --border-rad-xl: 32px;
    --border-rad-lg: 24px;

    /* Trans timings */
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --trans-fast: 0.2s var(--ease-out);
    --trans-base: 0.4s var(--ease-out);
}

/* ==========================================================================
   Reset & Global Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
.display-title,
.brand {
    font-family: var(--font-display);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.custom-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5vw;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--trans-fast);
}

.text-gold {
    color: var(--brand-primary);
}

/* ==========================================================================
   Advanced Aesthetics (Noise, Mesh Gradients, Glass)
   ========================================================================== */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    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;
    mix-blend-mode: overlay;
}

.mesh-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: var(--bg-base);
}

.mesh-bg .blob {
    position: absolute;
    filter: blur(140px);
    border-radius: 50%;
    opacity: 0.35;
    animation: floating 25s infinite ease-in-out alternate;
}

.mesh-bg .color-1 {
    top: -10%;
    left: -10%;
    width: 70vw;
    height: 70vw;
    background: rgba(245, 158, 11, 0.12);
    /* Gold */
}

.mesh-bg .color-2 {
    bottom: -10%;
    right: -10%;
    width: 80vw;
    height: 80vw;
    background: rgba(234, 88, 12, 0.08);
    /* Orange */
    animation-delay: -5s;
}

.mesh-bg .color-3 {
    top: 30%;
    left: 40%;
    width: 60vw;
    height: 60vw;
    background: rgba(255, 255, 255, 0.02);
    animation-delay: -10s;
}

@keyframes floating {
    0% {
        transform: translate(0, 0) scale(1);
    }

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

.glass-panel {
    background: var(--grad-glass);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid var(--border-light);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 4px 24px -1px rgba(0, 0, 0, 0.5);
}

.interactive-card {
    position: relative;
    overflow: hidden;
    transition: transform var(--trans-base), border-color var(--trans-base);
}

.card-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle closest-side, rgba(255, 255, 255, 0.08), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--trans-fast);
    z-index: 0;
}

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

.text-hero-gradient {
    background: var(--grad-hero-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: padding var(--trans-base), background var(--trans-base);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-family: var(--font-tech);
    font-weight: 700;
    letter-spacing: 2px;
}

.brand-icon {
    stroke: url(#brand-gradient);
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.5));
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--brand-primary);
    transition: width var(--trans-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* ==========================================================================
   Buttons (Magnetic Modern)
   ========================================================================== */
.btn-magnetic {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    background: transparent;
    color: var(--text-primary);
    z-index: 1;
}

.btn-magnetic .btn-text,
.btn-magnetic .btn-arrow {
    pointer-events: none;
    transition: transform 0.2s ease;
}

.outline-pill {
    border-radius: 100px;
    border: 1px solid var(--border-light);
}

.outline-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0);
    transition: var(--trans-base);
    z-index: -1;
}

.outline-pill:hover::before {
    background: rgba(255, 255, 255, 0.05);
}

.primary-solid {
    border-radius: 100px;
    background: var(--text-primary);
    color: var(--bg-base);
    font-weight: 600;
}

.primary-solid.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.glass-btn {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

/* Play/Watch Film Button */
.btn-play {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--trans-base);
}

.play-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    transition: var(--trans-base);
    position: relative;
}

.play-icon-wrap::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid var(--brand-primary);
    opacity: 0;
    transform: scale(0.8);
    transition: var(--trans-base);
}

.btn-play:hover .play-icon-wrap::before {
    opacity: 1;
    transform: scale(1);
    animation: ping 2s infinite;
}

.btn-play:hover {
    color: var(--brand-primary);
}

/* ==========================================================================
   Section 1: Cinematic Split Hero
   ========================================================================== */
.hero-cinematic {
    position: relative;
    min-height: 110vh;
    /* Extremely tall hero */
    display: flex;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
    z-index: -1;
}

.hero-cinematic-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
    align-items: center;
}

.hero-cinematic-content {
    max-width: 700px;
    position: relative;
    z-index: 10;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.pulsing-record {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    /* Red rec dot */
    box-shadow: 0 0 12px #ef4444;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-massive {
    font-size: clamp(4rem, 7vw, 7.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-cinematic-desc {
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    max-width: 90%;
    line-height: 1.6;
}

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

/* Right Visual */
.hero-cinematic-visual {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 700px;
}

.spline-showcase {
    width: 100%;
    height: 100%;
    border-radius: var(--border-rad-xl);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 40px 80px -20px rgba(0, 0, 0, 0.9);
}

.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.15);
    filter: blur(100px);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.data-chip {
    position: absolute;
    background: rgba(3, 3, 5, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.chip-1 {
    top: 15%;
    right: 5%;
}

.chip-2 {
    bottom: 20%;
    left: 5%;
}

.chip-val {
    font-family: var(--font-tech);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.chip-lbl {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 5vw;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-tertiary);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--text-primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* ==========================================================================
   Section 2: Marquee
   ========================================================================== */
.marquee-section {
    padding: 3rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.01);
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    font-family: var(--font-tech);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    color: var(--brand-primary);
    -webkit-text-stroke: 0;
    margin: 0 2rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Requires duplicated content in JS, or we just loop 50% width */
}

/* ==========================================================================
   Section 3: Metrics Grid
   ========================================================================== */
/* ==========================================================================
   Section 3: Metrics Glass Bar (V4 Redesign)
   ========================================================================== */
.stats-section {
    padding: var(--section-gap) 0;
}

.stats-glass-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 100px;
    padding: 2rem 4rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    position: relative;
    flex: 1;
}

.stat-item-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-item:hover .stat-item-glow {
    opacity: 1;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.stat-num,
.stat-percent,
.stat-plus {
    font-family: var(--font-tech);
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    display: inline-block;
    line-height: 1;
}

.stat-percent,
.stat-plus {
    color: var(--brand-primary);
}

.stat-label {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Section 4: Bento Technology Layout
   ========================================================================== */
.bento-section {
    padding: var(--section-gap) 0;
}

.section-header {
    margin-bottom: 5rem;
}

.tech-overline {
    font-family: var(--font-tech);
    color: var(--brand-primary);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.display-title-md {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 350px;
    gap: 1.5rem;
}

.bento-card {
    border-radius: var(--border-rad-xl);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    position: relative;
}

.bento-square {
    grid-column: span 1;
    grid-row: span 1;
}

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

.bento-bg-image {
    position: absolute;
    inset: 0;
    /* Simulate a sick dark engine macro shot */
    background: radial-gradient(circle at 70% 30%, rgba(20, 20, 20, 0.2) 0%, rgba(3, 3, 5, 0.9) 100%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.02) 10px, rgba(255, 255, 255, 0.02) 20px);
    z-index: 1;
    border-radius: var(--border-rad-xl);
}

.bento-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bento-large .bento-content {
    justify-content: flex-end;
}

.icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.icon-wrap.var-gold {
    color: #f59e0b;
}

.icon-wrap.var-red {
    color: #ef4444;
}

.bento-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.bento-large h3 {
    font-size: 2.5rem;
}

.bento-large p {
    font-size: 1.15rem;
    max-width: 85%;
    margin-bottom: 2rem;
}

.btn-text-link {
    background: none;
    border: none;
    color: var(--brand-primary);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Custom Visuals inside Bento */
.abstract-visual {
    width: 100%;
    height: 120px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
}

.hotspot {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #ef4444 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.8;
    top: 30%;
    left: 20%;
    animation: pulse-heat 3s infinite alternate;
}

.hotspot.h2 {
    top: 60%;
    left: 60%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
    animation-delay: -1s;
}

.hotspot.h3 {
    top: 20%;
    left: 80%;
    width: 30px;
    height: 30px;
    animation-delay: -2s;
}

@keyframes pulse-heat {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0.9;
    }
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

.bento-layout-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 2rem;
}

.bento-layout-row .bento-content {
    max-width: 45%;
    justify-content: center;
}

.bento-chart-container {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.dyno-chart {
    width: 100%;
    height: auto;
    overflow: visible;
}

.chart-line-active {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw-line 3s forwards ease-in-out;
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 1rem;
    color: var(--text-tertiary);
}

/* ==========================================================================
   Section 5: Arsenal Products Update
   ========================================================================== */
.dark-bg-section {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-light);
    padding: var(--section-gap) 0;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.premium-product-card {
    border-radius: var(--border-rad-xl);
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.premium-product-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.highlight-card {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.05);
}

.product-specs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.badge-tech {
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    font-family: var(--font-tech);
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid var(--border-light);
}

.product-3d-wrapper {
    height: 350px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: var(--border-rad-lg);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    overflow: hidden;
}

.halo-light {
    position: absolute;
    width: 200px;
    height: 200px;
    filter: blur(70px);
    opacity: 0.4;
}

.var-gold {
    background: #f59e0b;
}

.var-red {
    background: #ea580c;
}

.var-blue {
    background: #3b82f6;
}

.bottle-silhouette {
    width: 140px;
    height: 220px;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 20px 20px 10px 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 10px 0 20px rgba(255, 255, 255, 0.05);
}

.gold-accent {
    border-bottom: 6px solid #f59e0b;
}

.red-accent {
    border-bottom: 6px solid #ef4444;
}

.blue-accent {
    border-bottom: 6px solid #3b82f6;
}

.bottle-name {
    font-family: var(--font-tech);
    font-size: 1.5rem;
    font-weight: 700;
    transform: rotate(-90deg);
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.8);
}

.product-data h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.product-data p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.full-width {
    width: 100%;
    border-radius: 12px;
}

/* ==========================================================================
   Section 6: Epic Quote
   ========================================================================== */
.quote-section {
    padding: var(--section-gap) 0;
    position: relative;
    overflow: hidden;
}

.massive-quote {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    max-width: 1200px;
    margin: 2rem auto 3rem;
    font-family: var(--font-display);
}

.quote-author {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.author-name {
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--brand-primary);
    letter-spacing: 2px;
}

.author-title {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.racing-lines {
    position: absolute;
    bottom: -50px;
    left: -10%;
    width: 120%;
    height: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transform: rotate(-3deg);
    background: repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(255, 255, 255, 0.02) 100px, rgba(255, 255, 255, 0.02) 200px);
    z-index: -1;
}

/* ==========================================================================
   Section 7: Grand CTA
   ========================================================================== */
.cta-grand {
    padding-bottom: calc(var(--section-gap) * 1.5);
}

.cta-banner-epic {
    border-radius: 40px;
    padding: 8vw;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
}

.cta-epic-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.15) 0%, transparent 80%);
    z-index: 0;
}

.cta-epic-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-epic-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
}

.cta-btn-group {
    display: flex;
    gap: 1.5rem;
}

/* ==========================================================================
   Footer Epic
   ========================================================================== */
.epic-footer {
    border-top: 1px solid var(--border-light);
    padding: 8vw 0 2rem;
    background: #000;
    position: relative;
    overflow: hidden;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6vw;
}

.footer-brand-huge h2 {
    font-family: var(--font-tech);
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-brand-huge p {
    color: var(--brand-primary);
    font-family: var(--font-tech);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.footer-nav {
    display: flex;
    gap: 6vw;
}

.f-col h4 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.f-col a {
    display: block;
    color: var(--text-tertiary);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.f-col a:hover {
    color: var(--brand-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.footer-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   Reveal Animations
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active,
.reveal-scale.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bento-large {
        grid-column: span 3;
    }

    .bento-wide {
        grid-column: span 3;
    }

    .product-gallery {
        gap: 1.5rem;
    }
}

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

    .hero-cinematic-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-cinematic-desc {
        text-align: center;
    }

    .hero-cinematic-visual {
        height: 60vh;
        min-height: 400px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        flex-direction: column;
        gap: 4rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .hero-massive {
        font-size: 3rem;
    }

    .hero-cinematic-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-cinematic-actions button {
        width: 100%;
        justify-content: center;
    }

    .stats-cards {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(300px, auto);
    }

    .bento-large,
    .bento-wide,
    .bento-square {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-layout-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .bento-layout-row .bento-content {
        max-width: 100%;
    }

    .bento-chart-container {
        width: 100%;
        height: 150px;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .cta-btn-group {
        flex-direction: column;
        width: 100%;
    }

    .footer-nav {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ==========================================================================
   Section 2.5: About the Vision
   ========================================================================== */
.about-section {
    padding: var(--section-gap) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    align-items: center;
}

.about-visual {
    height: 500px;
    border-radius: var(--border-rad-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-abstract {
    position: relative;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.r1 {
    width: 300px;
    height: 300px;
    border-color: rgba(245, 158, 11, 0.2);
    animation: spin 20s linear infinite;
    border-left-color: var(--brand-primary);
}

.r2 {
    width: 400px;
    height: 400px;
    border-color: rgba(255, 255, 255, 0.1);
    animation: spin-rev 30s linear infinite;
}

.r3 {
    width: 500px;
    height: 500px;
    border-color: rgba(234, 88, 12, 0.1);
    border-right-color: var(--brand-secondary);
    animation: spin 40s linear infinite;
}

.core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--brand-primary), transparent);
    filter: blur(20px);
    opacity: 0.5;
    animation: pulse-core 4s infinite alternate;
}

.scanner-sweep {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
    transform-origin: 0 0;
    animation: radar 4s linear infinite;
    opacity: 0.5;
}

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

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

@keyframes pulse-core {
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.8;
    }
}

@keyframes radar {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.about-p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.a-stat {
    display: flex;
    flex-direction: column;
}

.a-stat strong {
    font-family: var(--font-tech);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.a-stat span {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Section 6.5: Gallery Grid / Marquee
   ========================================================================== */
.gallery-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.gallery-track {
    display: inline-flex;
    gap: 2rem;
    animation: gallery-scroll 40s linear infinite;
    padding: 2rem 0;
}

.gallery-wrapper:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-item {
    width: 400px;
    height: 300px;
    border-radius: var(--border-rad-xl);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}

.gallery-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(80%) contrast(120%);
    transition: var(--trans-base);
}

.gallery-item:hover .gallery-img {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.05);
}

/* Using stylized gradients since we don't have images easily available locally */
.gallery-img.g1 {
    background: radial-gradient(circle at top right, #111 0%, #000 100%), repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(245, 158, 11, 0.05) 10px, rgba(245, 158, 11, 0.05) 20px);
}

.gallery-img.g2 {
    background: radial-gradient(circle at bottom left, #1a1a2e 0%, #000 100%), repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.02) 20px, rgba(255, 255, 255, 0.02) 40px);
}

.gallery-img.g3 {
    background: radial-gradient(circle at center, #2d0a0a 0%, #000 100%), radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 20px 20px;
}

.gallery-img.g4 {
    background: linear-gradient(180deg, #111 0%, #000 100%), repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 40px);
}

.gallery-cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--trans-base);
}

.gallery-item:hover .gallery-cap {
    transform: translateY(0);
    opacity: 1;
}

@keyframes gallery-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 1024px) {
    .stats-glass-bar {
        flex-direction: column;
        gap: 2rem;
        border-radius: var(--border-rad-xl);
        padding: 3rem 2rem;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    }
    .about-visual {
        height: 400px;
    }
}

.gallery-wrapper:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-item {
    width: 400px;
    height: 300px;
    border-radius: var(--border-rad-xl);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}

.gallery-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(80%) contrast(120%);
    transition: var(--trans-base);
}

.gallery-item:hover .gallery-img {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.05);
}

/* Using stylized gradients since we don't have images easily available locally */
.gallery-img.g1 {
    background: radial-gradient(circle at top right, #111 0%, #000 100%), repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(245, 158, 11, 0.05) 10px, rgba(245, 158, 11, 0.05) 20px);
}

.gallery-img.g2 {
    background: radial-gradient(circle at bottom left, #1a1a2e 0%, #000 100%), repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.02) 20px, rgba(255, 255, 255, 0.02) 40px);
}

.gallery-img.g3 {
    background: radial-gradient(circle at center, #2d0a0a 0%, #000 100%), radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 20px 20px;
}

.gallery-img.g4 {
    background: linear-gradient(180deg, #111 0%, #000 100%), repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.05) 2px, rgba(59, 130, 246, 0.05) 40px);
}

.gallery-cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--trans-base);
}

.gallery-item:hover .gallery-cap {
    transform: translateY(0);
    opacity: 1;
}

@keyframes gallery-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 1024px) {
    .stats-glass-bar {
        flex-direction: column;
        gap: 2rem;
        border-radius: var(--border-rad-xl);
        padding: 3rem 2rem;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    }

    .about-visual {
        height: 400px;
    }
}

/* ==========================================================================
   Bento Gallery Section
   ========================================================================== */
.bento-gallery-section {
    padding: var(--section-gap) 0;
}

.gallery-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.gallery-bento-item {
    position: relative;
    border-radius: var(--border-rad-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.gallery-bento-item:hover img {
    transform: scale(1.1);
}

.gallery-bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3, 3, 5, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.gallery-bento-item:hover .gallery-bento-overlay {
    opacity: 1;
}

.gallery-bento-overlay h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.gallery-bento-overlay p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Bento Item Spans */
.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.item-tall {
    grid-column: span 1;
    grid-row: span 2;
}

@media (max-width: 768px) {
    .gallery-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
    
    .item-large, .item-wide, .item-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ==========================================================================
   Testimonials Section (Premium V4)
   ========================================================================== */
.testimonials-section {
    padding: var(--section-gap) 0;
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    padding: 3.5rem 2.5rem;
    position: relative;
    border-radius: var(--border-rad-xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    transition: var(--trans-base);
}

.testimonial-card:nth-child(even) {
    margin-top: 4rem;
}

.quote-icon-bg {
    position: absolute;
    top: 2rem;
    right: 2rem;
    opacity: 0.05;
    color: var(--brand-primary);
    pointer-events: none;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    color: var(--brand-primary);
}

.testimonial-content {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: auto;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-surface-hover);
    border: 1px solid var(--border-highlight);
    overflow: hidden;
    position: relative;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.user-info p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card:nth-child(even) {
        margin-top: 0;
    }
}

/* ==========================================================================
   Ripple Text Animation (Scroll Triggered)
   ========================================================================== */
.ripple-text {
    display: block;
}

.ripple-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* The index will be set via inline style in JS */
    transition-delay: calc(var(--char-index) * 0.03s);
}

.ripple-text.active .ripple-char {
    opacity: 1;
    transform: translateY(0);
}

/* Fix for transparent/black text when gradient is split */
.text-hero-gradient .ripple-char, .text-hero-gradient span {
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   INNER PAGES: Shared Styles
   ========================================================================== */

/* Active Nav Link */
.nav-link.active {
    color: var(--brand-primary);
}

.nav-link.active::after {
    width: 100%;
}

/* Page Hero Banner */
.page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    padding: 180px 0 6rem;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(234, 88, 12, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.page-hero-content {
    max-width: 800px;
}

.page-hero-title {
    font-size: clamp(3.5rem, 6vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.page-hero-desc {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color var(--trans-fast);
}

.breadcrumb a:hover {
    color: var(--brand-primary);
}

.breadcrumb-sep {
    color: var(--text-tertiary);
    opacity: 0.5;
}

/* Inner Section Spacing */
.inner-section {
    padding: var(--section-gap) 0;
}

.inner-p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.inner-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    margin-top: 2rem;
}

/* Split Grid Layout */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    align-items: center;
}

.split-grid.reverse {
    direction: rtl;
}

.split-grid.reverse > * {
    direction: ltr;
}

.split-visual {
    height: 500px;
    border-radius: var(--border-rad-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-visual-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.abstract-rings {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.profile-card {
    padding: 2.5rem 2rem;
    border-radius: var(--border-rad-lg);
    text-align: center;
}

.profile-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin: 0 auto 1.5rem;
    color: var(--brand-primary);
}

.profile-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.profile-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Vision/Mission Cards */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
    margin-bottom: 5rem;
}

.vm-card {
    padding: 3rem;
    border-radius: var(--border-rad-xl);
}

.vm-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.vm-icon.var-gold { color: var(--brand-primary); }
.vm-icon.var-red { color: #ea580c; }

.vm-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.vm-statement {
    font-size: 1.2rem;
    color: var(--brand-primary);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.vm-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Values Grid (V-I-I-O-N) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.value-card {
    padding: 2.5rem 2rem;
    border-radius: var(--border-rad-lg);
    text-align: center;
    transition: transform var(--trans-base), border-color var(--trans-base);
}

.value-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-5px);
}

.value-letter {
    font-family: var(--font-tech);
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand-primary);
    display: block;
    margin-bottom: 1rem;
    line-height: 1;
}

.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* MD Message */
.md-message-container {
    max-width: 900px;
    margin: 0 auto;
}

.md-message {
    padding: 4rem;
    border-radius: var(--border-rad-xl);
    position: relative;
}

.md-quote-mark {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: var(--brand-primary);
}

.md-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.md-signature {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.md-line {
    width: 60px;
    height: 2px;
    background: var(--brand-primary);
}

.md-signature strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.md-signature span {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--border-light) 10%, var(--brand-primary) 50%, var(--border-light) 90%, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 45%;
    margin-bottom: 4rem;
}

.timeline-item.right {
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--brand-primary);
    border: 3px solid var(--bg-base);
    border-radius: 50%;
    top: 2rem;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
    z-index: 2;
}

.timeline-item:not(.right) .timeline-dot {
    right: -8%;
    transform: translateX(50%);
}

.timeline-item.right .timeline-dot {
    left: -8%;
    transform: translateX(-50%);
}

.timeline-card {
    padding: 2.5rem;
    border-radius: var(--border-rad-lg);
}

.timeline-year {
    font-family: var(--font-tech);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    display: block;
    margin-bottom: 0.75rem;
}

.timeline-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.timeline-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   SERVICES PAGE: Product Bento Grid
   ========================================================================== */
.product-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.product-bento-card {
    padding: 2.5rem;
    border-radius: var(--border-rad-xl);
    transition: transform var(--trans-base), border-color var(--trans-base);
}

.product-bento-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.product-bento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.product-badge-wrap {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-bento-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.product-specs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-specs-list span {
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    font-family: var(--font-tech);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand-primary);
}

/* R&D Grid */
.rd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.rd-card {
    padding: 2.5rem;
    border-radius: var(--border-rad-xl);
    transition: transform var(--trans-base), border-color var(--trans-base);
}

.rd-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.rd-number {
    font-family: var(--font-tech);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(245, 158, 11, 0.15);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.rd-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.rd-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Carbon Cleaning Visual */
.carbon-visual {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carbon-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}

.ring-outer {
    width: 350px;
    height: 350px;
    border-color: rgba(245, 158, 11, 0.15);
    animation: spin 30s linear infinite;
}

.ring-middle {
    width: 250px;
    height: 250px;
    border-color: rgba(234, 88, 12, 0.2);
    animation: spin-rev 20s linear infinite;
}

.ring-inner {
    width: 150px;
    height: 150px;
    border-color: rgba(245, 158, 11, 0.3);
    border-left-color: var(--brand-primary);
    animation: spin 12s linear infinite;
}

.carbon-core-glow {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--brand-primary), transparent);
    filter: blur(20px);
    border-radius: 50%;
    animation: pulse-core 3s infinite alternate;
}

.carbon-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--brand-primary);
    border-radius: 50%;
    animation: float-particle 6s infinite ease-in-out;
}

.carbon-particles span:nth-child(1) { top: 20%; left: 30%; animation-delay: 0s; }
.carbon-particles span:nth-child(2) { top: 40%; left: 70%; animation-delay: 1s; }
.carbon-particles span:nth-child(3) { top: 60%; left: 25%; animation-delay: 2s; }
.carbon-particles span:nth-child(4) { top: 70%; left: 65%; animation-delay: 3s; }
.carbon-particles span:nth-child(5) { top: 30%; left: 80%; animation-delay: 4s; }
.carbon-particles span:nth-child(6) { top: 80%; left: 45%; animation-delay: 5s; }

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(10px, -20px); opacity: 1; }
}

/* Carbon Benefits */
.carbon-benefits {
    margin-top: 2rem;
}

.carbon-benefit {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.benefit-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-primary);
    margin-top: 8px;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.carbon-benefit strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.carbon-benefit p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Approach Grid */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.approach-card {
    padding: 2.5rem 2rem;
    border-radius: var(--border-rad-lg);
    transition: transform var(--trans-base), border-color var(--trans-base);
}

.approach-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.approach-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.approach-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   CONTACT PAGE: Form & Grid Styles
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-wrap {
    padding: 3rem;
    border-radius: var(--border-rad-xl);
}

.contact-form-wrap h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color var(--trans-fast), background var(--trans-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand-primary);
    background: rgba(245, 158, 11, 0.03);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.4)' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group select option {
    background: #111;
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Office Card */
.office-card {
    padding: 2.5rem;
    border-radius: var(--border-rad-xl);
    margin-bottom: 1.5rem;
}

.office-card h4 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.office-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.office-detail svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--brand-primary);
}

.office-detail p {
    margin: 0;
    line-height: 1.5;
}

.office-cin {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.office-cin span {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    letter-spacing: 1px;
}

/* Quick Contact */
.quick-contact {
    padding: 1.5rem 2rem;
    border-radius: 16px;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1rem;
    transition: border-color var(--trans-base);
}

.quick-contact:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

.quick-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-icon.var-gold {
    background: rgba(245, 158, 11, 0.1);
    color: var(--brand-primary);
}

.quick-icon.var-red {
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

.quick-contact strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.quick-contact a {
    color: var(--brand-primary);
    font-size: 0.9rem;
}

/* Department Grid */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.dept-card {
    padding: 2rem;
    border-radius: var(--border-rad-lg);
    text-align: center;
    transition: border-color var(--trans-base), transform var(--trans-base);
}

.dept-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-5px);
}

.dept-card h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.dept-email {
    display: block;
    color: var(--brand-primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.dept-hours {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Map */
.map-container {
    border-radius: var(--border-rad-xl);
    overflow: hidden;
    margin-top: 4rem;
}

/* ==========================================================================
   WHY VIION: Reasons, Differentiators, Strengths, Partnerships
   ========================================================================== */

/* Reasons Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.reason-card {
    padding: 2.5rem 2rem;
    border-radius: var(--border-rad-xl);
    transition: transform var(--trans-base), border-color var(--trans-base);
}

.reason-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-8px);
}

.reason-number {
    font-family: var(--font-tech);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(245, 158, 11, 0.2);
    margin-bottom: 1.25rem;
    line-height: 1;
}

.reason-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.reason-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Differentiators */
.diff-list {
    max-width: 900px;
    margin: 4rem auto 0;
}

.diff-item {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem 3rem;
    border-radius: var(--border-rad-lg);
    margin-bottom: 1.5rem;
    transition: border-color var(--trans-base);
}

.diff-item:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

.diff-number {
    font-family: var(--font-tech);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    flex-shrink: 0;
    line-height: 1;
}

.diff-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.diff-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Strengths Grid */
.strengths-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.strength-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: border-color var(--trans-base), background var(--trans-base);
}

.strength-item:hover {
    border-color: var(--border-light);
    background: rgba(255, 255, 255, 0.02);
}

.strength-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-primary);
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.strength-item span {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Partner Grid */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.partner-card {
    padding: 2.5rem;
    border-radius: var(--border-rad-xl);
    transition: transform var(--trans-base), border-color var(--trans-base);
}

.partner-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.partner-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
}

.partner-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.partner-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   New Reveal Animations (Left/Right)
   ========================================================================== */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Inner Pages: Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .profile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dept-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .split-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .split-grid.reverse {
        direction: ltr;
    }
    .split-visual {
        height: 350px;
    }
    .vm-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rd-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline-line {
        left: 30px;
    }
    .timeline-item,
    .timeline-item.right {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
    .timeline-item .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: -38px;
        right: auto;
        transform: none;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 50vh;
        padding: 140px 0 4rem;
    }
    .page-hero-title {
        font-size: 2.5rem;
    }
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
    .profile-grid {
        grid-template-columns: 1fr;
    }
    .product-bento-grid {
        grid-template-columns: 1fr;
    }
    .rd-grid,
    .dept-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }
    .partner-grid {
        grid-template-columns: 1fr;
    }
    .strengths-grid {
        grid-template-columns: 1fr;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .diff-item {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
        text-align: center;
    }
    .md-message {
        padding: 2.5rem;
    }
    .inner-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   GALLERY PAGE: Masonry Grid, Filter Bar, Lightbox
   ========================================================================== */

.page-hero-compact {
    min-height: 50vh;
    padding: 160px 0 4rem;
}

/* Gallery Filter Bar */
.gallery-filter-bar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--trans-fast);
}

.gallery-filter-btn:hover {
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--text-primary);
}

.gallery-filter-btn.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #000;
    font-weight: 600;
}

/* Masonry Gallery Grid */
.masonry-gallery {
    columns: 3;
    column-gap: 1.5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: var(--border-rad-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    transition: border-color var(--trans-base), opacity 0.4s, transform 0.4s;
}

.masonry-item:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

.masonry-item.masonry-wide {
    break-inside: avoid;
}

.masonry-item.masonry-tall .masonry-placeholder {
    height: 400px;
}

/* Placeholder Image Slots */
.masonry-placeholder {
    width: 100%;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(245, 158, 11, 0.03) 100%);
    color: var(--text-tertiary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.placeholder-icon {
    opacity: 0.2;
    color: var(--brand-primary);
}

/* Masonry overlay */
.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(0deg, rgba(3, 3, 5, 0.9) 0%, transparent 100%);
    transform: translateY(10px);
    opacity: 0;
    transition: all var(--trans-base);
}

.masonry-item:hover .masonry-overlay {
    transform: translateY(0);
    opacity: 1;
}

.masonry-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.masonry-overlay p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Filter Hide Animation */
.masonry-item.hidden {
    display: none;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--trans-fast);
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.lightbox-img-wrap {
    width: 100%;
    height: 500px;
    border-radius: var(--border-rad-xl);
    overflow: hidden;
    margin-bottom: 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
}

.lightbox-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--trans-fast);
}

.lightbox-nav:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--brand-primary);
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

/* ==========================================================================
   PRODUCTS PAGE: Toolbar, Sidebar, Product Cards
   ========================================================================== */

/* Toolbar */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
}

.products-search-wrap {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    pointer-events: none;
}

.products-search {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 3.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--trans-fast);
}

.products-search:focus {
    border-color: var(--brand-primary);
}

.products-search::placeholder {
    color: var(--text-tertiary);
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--trans-fast);
}

.view-btn:hover {
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--text-primary);
}

.view-btn.active {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* Products Layout */
.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar Filters */
.products-sidebar {
    position: sticky;
    top: 120px;
}

.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.filter-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color var(--trans-fast);
}

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

.filter-check input {
    display: none;
}

.check-custom {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid var(--border-light);
    flex-shrink: 0;
    position: relative;
    transition: all var(--trans-fast);
}

.filter-check input:checked + .check-custom {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

.filter-check input:checked + .check-custom::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-reset-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--trans-fast);
    width: 100%;
    justify-content: center;
}

.filter-reset-btn:hover {
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--brand-primary);
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Product Card */
.product-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--border-rad-xl);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--trans-base), border-color var(--trans-base);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.3);
}

.product-card-img {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(245, 158, 11, 0.04) 100%);
    color: rgba(245, 158, 11, 0.15);
}

.product-card-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.badge-accent {
    background: rgba(245, 158, 11, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
}

.badge-semi {
    background: rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    color: #60a5fa !important;
}

.badge-mineral {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #34d399 !important;
}

.product-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category-tag {
    font-family: var(--font-tech);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.product-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-card-body > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.product-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.product-card-specs span {
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    font-family: var(--font-tech);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-tertiary);
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.product-sizes {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.view-details-link {
    font-size: 0.85rem;
    color: var(--brand-primary);
    font-weight: 600;
    transition: letter-spacing var(--trans-fast);
}

.product-card:hover .view-details-link {
    letter-spacing: 1px;
}

/* List View */
.products-grid.list-view {
    grid-template-columns: 1fr;
}

.products-grid.list-view .product-card {
    flex-direction: row;
}

.products-grid.list-view .product-card-img {
    width: 220px;
    flex-shrink: 0;
}

.products-grid.list-view .product-placeholder {
    height: 100%;
    min-height: 180px;
}

/* No Results */
.no-results-msg {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-tertiary);
}

.no-results-msg svg {
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.no-results-msg h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */

/* PD Layout */
.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.pd-image-main {
    border-radius: var(--border-rad-xl);
    overflow: hidden;
    position: relative;
}

.product-placeholder-lg {
    width: 100%;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(245, 158, 11, 0.04) 100%);
    color: rgba(245, 158, 11, 0.15);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-placeholder-lg span {
    color: var(--text-tertiary);
}

.pd-badge-row {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    display: flex;
    gap: 0.5rem;
}

.pd-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.pd-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--trans-fast);
}

.pd-thumb.active {
    border-color: var(--brand-primary);
}

.pd-thumb:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

.product-placeholder-sm {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(245, 158, 11, 0.03) 100%);
    color: rgba(245, 158, 11, 0.1);
}

/* PD Info */
.pd-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.pd-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pd-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* PD Specs Grid */
.pd-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.pd-spec {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    text-align: center;
}

.pd-spec-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-tertiary);
    margin-bottom: 0.35rem;
}

.pd-spec-value {
    display: block;
    font-family: var(--font-tech);
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-primary);
}

/* PD Sizes */
.pd-sizes {
    margin-bottom: 2rem;
}

.pd-sizes-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-tertiary);
    margin-bottom: 0.75rem;
}

.pd-size-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pd-size-btn {
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--trans-fast);
}

.pd-size-btn:hover {
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--text-primary);
}

.pd-size-btn.active {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    font-weight: 600;
}

/* PD Actions */
.pd-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* PD Tabs */
.pd-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0;
    overflow-x: auto;
}

.pd-tab {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-tertiary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--trans-fast);
    white-space: nowrap;
}

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

.pd-tab.active {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
}

/* Tab Content */
.pd-tab-content {
    display: none;
}

.pd-tab-content.active {
    display: block;
}

/* Features List */
.features-list {
    max-width: 800px;
}

.feature-row {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.feature-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-primary);
    margin-top: 6px;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.feature-row strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.feature-row p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Specs Table */
.specs-table-wrap {
    border-radius: var(--border-rad-xl);
    overflow: hidden;
    padding: 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-tertiary);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-light);
}

.specs-table td {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
}

.specs-table tr:hover td {
    background: rgba(245, 158, 11, 0.02);
}

.specs-table td:first-child {
    color: var(--text-primary);
    font-weight: 500;
}

.specs-table td:nth-child(2) {
    font-family: var(--font-tech);
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 0.85rem;
}

/* Application Grid */
.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.app-card {
    padding: 2rem;
    border-radius: var(--border-rad-lg);
    text-align: center;
    transition: transform var(--trans-base), border-color var(--trans-base);
}

.app-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-5px);
}

.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    color: var(--brand-primary);
    margin: 0 auto 1.25rem;
}

.app-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.app-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    padding: 2.5rem 2rem;
    border-radius: var(--border-rad-lg);
}

.benefit-num {
    font-family: var(--font-tech);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(245, 158, 11, 0.15);
    margin-bottom: 1rem;
    line-height: 1;
}

.benefit-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Related Products */
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

/* ==========================================================================
   Gallery + Products + PD: Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .masonry-gallery {
        columns: 2;
    }
    .products-layout {
        grid-template-columns: 1fr;
    }
    .products-sidebar {
        position: static;
        display: flex;
        gap: 2rem;
        flex-wrap: wrap;
        padding-bottom: 2rem;
        border-bottom: 1px solid var(--border-light);
        margin-bottom: 2rem;
    }
    .filter-section {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        min-width: 180px;
    }
    .pd-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .masonry-gallery {
        columns: 1;
    }
    .products-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .products-search-wrap {
        max-width: none;
    }
    .view-toggle {
        justify-content: flex-end;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .products-grid.list-view .product-card {
        flex-direction: column;
    }
    .products-grid.list-view .product-card-img {
        width: 100%;
    }
    .pd-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pd-tabs {
        gap: 0;
    }
    .pd-tab {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
    .app-grid,
    .benefits-grid,
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    .lightbox-img-wrap {
        height: 300px;
    }
    .lightbox-nav {
        display: none;
    }
}       position: absolute;
        left: 15px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: var(--brand-primary);
        z-index: 0;
    }
    .timeline-line {
        display: none;
    }
    .timeline-item {
        padding-left: 3rem;
    }
    .timeline-item .timeline-dot {
        left: 15px !important;
        transform: translateX(-50%) !important;
    }

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

    .cta-epic-content h2 {
        font-size: 2rem;
    }
    .cta-btn-group a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .bento-grid, .values-grid {
        grid-template-columns: 1fr;
    }
    .stats-card h3 {
        font-size: 2.5rem;
    }
    .product-bento-header {
        flex-direction: column;
        gap: 1rem;
    }
}