/* ==========================================================================
   CONTECPARK - PREMIUM WATER TECH DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Colors - Premium Apple-like Light Theme */
    --bg-main: #FBFBFD;
    --bg-surface: #FFFFFF;
    --bg-card: #FFFFFF;
    --primary: #0071E3; /* Apple Blue */
    --primary-glow: rgba(0, 113, 227, 0.15);
    --primary-alt: #0077ED;
    --text-primary: #1D1D1F;
    --text-secondary: #737373; /* Improved contrast over 4.5:1 */
    --text-muted: #86868B;
    --text-body: #424245;
    --gold: #AB8651;
    --border-subtle: #d2d2d7;
    --border-glow: rgba(29, 29, 31, 0.08);

    /* Typography */
    --font-display: 'Manrope', -apple-system, sans-serif;
    --font-body: 'Manrope', -apple-system, sans-serif;
    
    /* Layout */
    --header-h: 64px; /* Slimmer header */
    --container-max: 1200px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-pill: 100px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* Apple-like precise ease */
    --transition: 0.6s var(--ease-out);
    --transition-fast: 0.25s var(--ease-out);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* cursor:none only for mouse users — keeps default cursor on touch/mobile/keyboard */
}

/* Custom Premium Bottle Cursor — only on real pointer devices */
.custom-cursor,
.custom-cursor-ripple {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    body { cursor: none; }

    .custom-cursor {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 36px;
        height: 54px;
        background: url('cursor-bottle.png') no-repeat center / contain;
        pointer-events: none;
        z-index: 99999;
        /* hotspot: top-center of bottle aligns with mouse pointer */
        transform: translate(-50%, -8%);
        transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
        filter: drop-shadow(0 3px 8px rgba(0, 50, 150, 0.45));
    }

    .custom-cursor.active {
        transform: translate(-50%, -8%) scale(1.35) rotate(12deg);
    }

    .custom-cursor-ripple {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 54px;
        height: 54px;
        border: 1.5px solid rgba(0, 113, 227, 0.5);
        border-radius: 50%;
        pointer-events: none;
        z-index: 99998;
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
        transition: transform 0.35s ease-out, opacity 0.35s ease-out, left 0.12s linear, top 0.12s linear;
    }

    .custom-cursor-ripple.active {
        transform: translate(-50%, -50%) scale(0.45);
        background: rgba(0, 113, 227, 0.12);
        border-color: transparent;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

::selection {
    background: var(--primary);
    color: #ffffff;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem); font-weight: 700; letter-spacing: -0.04em;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; letter-spacing: -0.03em;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0066CC, #0EA5E9, #48CAE4);
    background-size: 200% 100%;
    margin-top: 10px;
    border-radius: var(--radius-pill); box-shadow: 0 4px 14px 0 rgba(0,113,227,0.39);
    animation: wave-shimmer 4s linear infinite;
}

.text-center .section-title::after {
    margin: 10px auto 0;
}

p {
    max-width: 65ch;
}

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

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
}

.center-text {
    text-align: center;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes liquid-fill {
    0% { transform: translateY(100%) rotate(0deg); }
    100% { transform: translateY(0%) rotate(360deg); }
}

@keyframes ripple-wave {
    0% { transform: scale(0.5); opacity: 0; }
    30% { opacity: 0.5; }
    100% { transform: scale(3.5); opacity: 0; }
}

@keyframes water-oscillate {
    0%, 100% { transform: translateY(0) scaleY(1); }
    50% { transform: translateY(-8px) scaleY(1.05); }
}

@keyframes wave-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: 0 0; }
}

@keyframes bubble-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
    50% { transform: translateY(-12px) scale(1.3); opacity: 0.8; }
}

@keyframes glass-sweep {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes drop-bounce {
    0%, 100% { transform: scaleY(1) translateY(0); border-radius: 50%; }
    50% { transform: scaleY(0.6) translateY(8px); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
}

/* ==========================================================================
   ANIMATION CLASSES (Utility)
   ========================================================================== */
.page-transition-bubbles {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10000;
    overflow: hidden;
}

.transition-bubble {
    position: absolute;
    bottom: -60px;
    border-radius: 50%;
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(255,255,255,0.4) inset, 0 4px 10px rgba(0,0,0,0.1);
    animation: transitionFloatUp linear forwards;
    will-change: transform, opacity;
}

@keyframes transitionFloatUp {
    0% { 
        transform: translate3d(0, 0, 0) scale(0.8); 
        opacity: 0.8; 
    }
    50% { 
        transform: translate3d(calc(var(--sway-x) / 2), -50vh, 0) scale(1); 
        opacity: 0.9; 
    }
    100% { 
        transform: translate3d(var(--sway-x), -110vh, 0) scale(1.3); 
        opacity: 0; 
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-items > * {
    transition-delay: calc(var(--item-index, 1) * 100ms);
}

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

/* Custom Logo Image & Bubbles */
.header-logo-img {
    height: 38px;
    width: auto;
    display: block;
    position: relative;
    z-index: 2;
}

.bubble-container {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 60px;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.bubble {
    position: absolute;
    bottom: 0;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.4);
    box-shadow: 0 0 4px rgba(14,165,233,0.2) inset;
    animation: bounceUp 3.5s ease-in-out infinite;
    opacity: 0;
}

.bubble-1 { left: 15%; width: 6px; height: 6px; animation-duration: 4s; animation-delay: 0s; }
.bubble-2 { left: 35%; width: 4px; height: 4px; animation-duration: 3s; animation-delay: 1.2s; }
.bubble-3 { left: 75%; width: 8px; height: 8px; animation-duration: 5s; animation-delay: 2.5s; }
.bubble-4 { left: 88%; width: 5px; height: 5px; animation-duration: 3.5s; animation-delay: 0.8s; }

@keyframes bounceUp {
    0% { transform: translateY(0) scale(0.8); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 0.8; }
    100% { transform: translateY(-40px) scale(1.2); opacity: 0; }
}

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--border-glow);
    transition: box-shadow var(--transition);
}

#site-header.scrolled {
    box-shadow: 0 1px 0 rgba(14, 165, 233, 0.3);
}

.header-inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    max-width: 1600px;
    margin: 0 auto;
}

#header-logo {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em;
    letter-spacing: -0.01em; font-weight: 600;
    background: linear-gradient(135deg, #1D1D1F, #86868B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
}

#main-nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.78rem;
    
    letter-spacing: -0.01em; font-weight: 600;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: center;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

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

#header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

#lang-toggle {
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    letter-spacing: -0.01em; font-weight: 600;
    color: var(--text-muted);
}

.lang-btn {
    padding: 4px 8px;
    color: inherit;
}

.lang-btn.active {
    color: var(--primary);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border-radius: var(--radius-pill); box-shadow: 0 4px 14px 0 rgba(0,113,227,0.39);
    font-weight: 700;
    font-size: 0.88rem;
    
    letter-spacing: -0.01em;
    background: var(--primary);
    color: #ffffff;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 40%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    pointer-events: none;
}

.cta-btn:hover::before {
    transform: translateY(-85%) rotate(360deg);
}

.cta-btn:hover {
    box-shadow: 0 10px 25px var(--primary-glow);
    transform: translateY(-2px);
}

.cta-btn:active {
    transform: scale(0.95) translateY(0);
    box-shadow: 0 5px 10px rgba(14, 165, 233, 0.2);
}

.cta-btn.outline {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid var(--border-subtle);
    color: var(--primary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
}

.cta-btn.outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    transition: none;
    border-radius: 0;
    animation: glass-sweep 3s infinite linear;
}

.cta-btn.outline:hover {
    background: rgba(14, 165, 233, 0.2);
    border-color: var(--primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    min-height: 100svh;
    width: 100%;
    position: relative;
    background: radial-gradient(circle at center, rgba(14,165,233,0.06) 0%, var(--bg-main) 70%);
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1;
    pointer-events: none;
}

.hero-waves svg {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-waves .wave-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 1;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: wave-dash 10s linear infinite;
    opacity: 0.3;
}

.hero-waves .wave-path:nth-child(2) {
    animation-delay: -5s;
    opacity: 0.15;
}

@keyframes wave-dash {
    to { stroke-dashoffset: 0; }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

.hero-intro-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    position: relative;
    padding-bottom: 5vh;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10vh; /* Shift down slightly */
}

.hero-content > * {
    pointer-events: auto;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    max-width: 800px;
    margin: 0 auto 24px;
}

.hero-accent {
    background: linear-gradient(135deg, #0EA5E9, #48CAE4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 520px;
    margin-bottom: 24px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

/* Trio Bottles & Main Product */
.hero-product-wrapper {
    position: relative;
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-main-bottle {
    width: 320px; /* Reduced from 380px */
    max-width: 80%;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 50px rgba(14, 165, 233, 0.15));
    position: relative;
    z-index: 5;
}

.hero-glow-halo {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 40px;
    background: var(--primary);
    filter: blur(40px);
    opacity: 0.3;
    border-radius: 50%;
}

.hero-flag-trio {
    position: absolute;
    bottom: 0px;
    display: flex;
    gap: 0;
    z-index: 4;
}

.hero-flag-trio img + img {
    margin-left: -40px;
}

.hero-flag-trio img {
    height: 180px; /* Reduced from 220px */
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    transition: transform 0.1s linear;
    transform: translate(var(--bx, 0), var(--by, 0));
}

.bottle-blue-tint { filter: hue-rotate(0deg) saturate(1.5) contrast(1.1); }
.bottle-yellow-tint { filter: hue-rotate(45deg) saturate(2) brightness(1.2); }
.bottle-red-tint { filter: hue-rotate(-50deg) saturate(2.5) contrast(1.2); }

/* float keyframes defined at line 166 */

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    padding: 60px 0;
    align-items: stretch;
}

.product-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    justify-content: flex-start;
}

.product-card::after, .product-card::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.product-card::before {
    width: 300px;
    height: 300px;
    bottom: -100px;
    right: -100px;
}

.product-card.is-visible::after {
    animation: ripple-wave 3s infinite;
}

.product-card.is-visible::before {
    animation: ripple-wave 3s 0.8s infinite;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-img {
    width: 100%;
    height: 300px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .product-img img {
    transform: scale(1.04);
}

.product-info h3 {
    margin-bottom: 12px;
    font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em;
}

.product-info p {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.badge-b2b {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--radius-pill); box-shadow: 0 4px 14px 0 rgba(0,113,227,0.39);
    font-size: 0.75rem;
    font-weight: 700;
    
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    position: relative;
}

.badge-b2b::after, .badge-b2b::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    opacity: 0;
}

.badge-b2b::before {
    right: 4px;
    bottom: -4px;
    animation: bubble-float 2.5s infinite ease-in-out;
}

.badge-b2b::after {
    right: 10px;
    bottom: -6px;
    animation: bubble-float 3s 0.5s infinite ease-in-out;
}

.product-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.section-stats {
    background-color: var(--bg-main);
    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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-blend-mode: overlay;
    opacity: 1; /* Background opacity handled by blend/color */
    position: relative;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

/* Overlay to control noise opacity */
.section-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-main);
    opacity: 0.97;
    z-index: 0;
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    border-right: 1px solid var(--border-subtle);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -50%;
    width: 200%;
    height: 160px;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 40%;
    animation: liquid-fill 20s linear infinite, water-oscillate 4s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    
    letter-spacing: -0.01em; font-weight: 600;
    color: var(--text-muted);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.feature-section {
    background: var(--bg-main);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-row:nth-child(even) {
    direction: rtl;
}

.feature-row:nth-child(even) .feature-text {
    direction: ltr;
}

.feature-image {
    background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card {
    border-left: 3px solid transparent;
    border-image: linear-gradient(to bottom, var(--primary), transparent) 1;
    padding-left: 32px;
}

.feature-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

/* ==========================================================================
   INTRO OVERLAY
   ========================================================================== */

#intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

#intro-overlay.zoom-out {
    transform: scale(1.15);
    opacity: 0.6;
}

#intro-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

#intro-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#intro-bottles {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 24px;
}

.intro-bottle-wrap {
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: bottlePop 0.5s forwards;
}

.intro-bottle-wrap img {
  height: 180px;
  width: auto;
  display: block;
}

/* Specific colors via masked overlays for maximum precision (Romanian flag palette) */
.intro-bottle-wrap::after, .hf-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask: url('img/products/classic/yandan.webp') no-repeat center / contain;
  mask: url('img/products/classic/yandan.webp') no-repeat center / contain;
  mix-blend-mode: color;
  opacity: 0.85;
}

.bottle-blue-wrap  { animation-delay: 0.3s; }
.bottle-yellow-wrap { animation-delay: 0.6s; }
.bottle-red-wrap    { animation-delay: 0.9s; }

.bottle-blue-wrap::after, .hf-blue::after { background: #002B7F; }
.bottle-yellow-wrap::after, .hf-yellow::after { background: #FCD116; }
.bottle-red-wrap::after, .hf-red::after { background: #CE1126; }

/* Keep shadows subtle and colored */
.bottle-blue-wrap img, .hf-blue .hf-bottle { filter: drop-shadow(0 0 20px rgba(0, 43, 127, 0.4)); }
.bottle-yellow-wrap img, .hf-yellow .hf-bottle { filter: drop-shadow(0 0 20px rgba(252, 209, 22, 0.3)); }
.bottle-red-wrap img, .hf-red .hf-bottle { filter: drop-shadow(0 0 20px rgba(206, 17, 38, 0.3)); }

/* Header flag size correction */
.hf-bottle {
  height: 44px !important;
  opacity: 1 !important;
  transform: none !important;
  animation: hfFloat 3s infinite ease-in-out !important;
}

.hf-wrap:nth-child(2) .hf-bottle { animation-delay: 0.3s !important; }
.hf-wrap:nth-child(3) .hf-bottle { animation-delay: 0.6s !important; }

@keyframes bottlePop {
  to { opacity: 1; transform: translateY(0); }
}

#intro-text {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 0.2em;
  color: #FFFFFF;
  opacity: 0;
  animation: letterGroupIn 0.6s 1.0s ease forwards;
}

#intro-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
  opacity: 0;
  animation: letterGroupIn 0.6s 1.3s ease forwards;
}

@keyframes letterGroupIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

#skip-intro {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill); box-shadow: 0 4px 14px 0 rgba(0,113,227,0.39);
    padding: 8px 24px;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: -0.01em; font-weight: 600;
    cursor: pointer;
    z-index: 10000;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

#site-footer {
    background: var(--bg-main);
    border-top: 1px solid var(--border-glow);
    padding: 100px 0 40px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 2rem;
    background: linear-gradient(135deg, #1D1D1F, #86868B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 24px;
    font-size: 1.2rem;
    letter-spacing: -0.01em; font-weight: 600;
}

.footer-col a, .footer-col p {
    display: block;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 40px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   FLOATING BUTTONS & BANNER
   ========================================================================== */

.floating-call {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-alt));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

.floating-call::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--primary);
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.floating-call:hover::after {
    animation: none;
}

.floating-call:hover {
    transform: scale(1.08);
    background: linear-gradient(135deg, #0fb4ff, #0077ee);
}

.cookie-banner {
    background: rgba(4, 8, 15, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 16px;
    padding: 24px;
}

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

.product-detail-header {
    text-align: center;
    margin-bottom: 60px;
}

.product-detail-header h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-top: 10px;
}

.product-detail-img {
    background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 60px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.main-img-container {
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.viewer-img {
    position: absolute;
    inset: 0;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.viewer-img.active {
    opacity: 1;
}

.viewer-360-overlay {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    padding: 10px 20px;
    border-radius: var(--radius-pill); box-shadow: 0 4px 14px 0 rgba(0,113,227,0.39);
    border: 1px solid var(--border-subtle);
}

/* ── Viewer Benefit Overlay ── */
.viewer-benefit-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    max-width: 320px;
    background: rgba(10, 18, 32, 0.72);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 20px 24px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.viewer-benefit-overlay.visible {
    opacity: 1;
    transform: translateY(0);
}

.viewer-benefit-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg,
        rgba(0, 113, 227, 0.12) 0%,
        rgba(0, 113, 227, 0.04) 100%);
    pointer-events: none;
}

.viewer-benefit-overlay h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.viewer-benefit-overlay p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* Mobile: move to top so fingers don't block it */
@media (max-width: 640px) {
    .viewer-benefit-overlay {
        bottom: auto;
        top: 12px;
        left: 12px;
        right: 12px;
        max-width: 100%;
        padding: 14px 18px;
        border-radius: 14px;
    }
    .viewer-benefit-overlay h4 { font-size: 0.95rem; }
    .viewer-benefit-overlay p  { font-size: 0.78rem; }
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.specs-table th {
    text-align: left;
    padding: 16px 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.specs-table td {
    text-align: right;
    padding: 16px 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
    font-weight: 500;
}

.product-extra-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.product-info-extra h3, .use-cases h3, .faq-section h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.product-info-extra ul, .use-cases ul {
    list-style: none;
}

.product-info-extra li, .use-cases li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.product-info-extra li::before, .use-cases li::before {
    content: 'â†’';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.faq-grid {
    display: grid;
    gap: 16px;
}

.faq-item {
    background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-q {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background: rgba(0,0,0,0.2);
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding: 24px;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.back-link {
    display: inline-block;
    margin-top: 60px;
    color: var(--primary);
    font-weight: 600;
}

/* ==========================================================================
   WATER ELEMENTS
   ========================================================================== */

.wave-divider {
    width: 100%;
    height: 24px;
    overflow: hidden;
    line-height: 0;
    margin: -1px 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 24px;
}

.wave-divider .shape-fill {
    fill: var(--bg-surface);
}

.parallax-water-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.water-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 0.5;
    opacity: 0.08;
}

.drop-loader {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: flex-end;
    height: 60px;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.drop-loader.active {
    opacity: 1;
}

.drop-loader div {
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: drop-bounce 1s infinite ease-in-out;
}

.drop-loader div:nth-child(2) { animation-delay: 0.1s; }
.drop-loader div:nth-child(3) { animation-delay: 0.2s; }
.drop-loader div:nth-child(4) { animation-delay: 0.3s; }
.drop-loader div:nth-child(5) { animation-delay: 0.4s; }


/* ==========================================================================
   HIGHLIGHTS GRID
   ========================================================================== */

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.highlight-inner {
    text-align: center;
}

.highlight-inner .section-title::after {
    margin: 10px auto 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    padding: 40px 0;
}

.highlight-card {
    background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.08);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.highlight-card h3 {
    margin-bottom: 12px;
    font-size: 1.6rem;
}

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

/* ==========================================================================
   SECTION NAVY / WHY CONTECPARK
   ========================================================================== */

.section-navy {
    background: var(--bg-main);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.why-section {
    max-width: 900px;
    margin: 0 auto;
}

.why-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-body);
    border-left: 3px solid var(--primary);
    padding-left: 32px;
    margin-bottom: 60px;
    line-height: 1.8;
}

.why-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.why-point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.why-point:hover {
    border-color: var(--border-glow);
}

.why-point-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 12px;
}

.why-point h4 { font-size: 1.2rem; margin-bottom: 6px; }
.why-point p { color: var(--text-body); font-size: 0.92rem; }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.about-page { max-width: 1000px; margin: 0 auto; }
.about-page h1 { margin-bottom: 32px; }

.about-text {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 20px;
    max-width: 100%;
}

.about-products-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    padding: 40px 0;
}

.mini-card {
    text-decoration: none;
    background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition);
    display: block;
}

.mini-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
}

.mc-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.mc-icon img { max-height: 100%; }
.mini-card h4 { font-size: 1.1rem; }

.address-block h3 { color: var(--primary); margin-bottom: 16px; font-size: 1.4rem; }
.address-block p { margin-bottom: 8px; color: var(--text-body); }
.address-block a { color: var(--primary); }

.map-placeholder {
    background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
}

.map-icon { font-size: 2rem; margin-bottom: 8px; }

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */

.contact-form h3 { color: var(--primary); margin-bottom: 24px; font-size: 1.4rem; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; position: relative; padding-bottom: 20px;}
.form-group.full { grid-column: 1 / -1; }

.error-msg {
    color: var(--error, #e63946);
    font-size: 0.8rem;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}
.form-group.has-error .error-msg {
    opacity: 1;
}
.form-group.has-error input, .form-group.has-error textarea {
    border-color: var(--error, #e63946);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group label {
    font-size: 0.85rem;
    
    letter-spacing: -0.01em;
    color: var(--text-muted);
}

input, textarea {
    background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px 20px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    width: 100%;
    transition: var(--transition-fast);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-submit { grid-column: 1 / -1; padding-top: 8px; }

/* ==========================================================================
   MOBILE MENU & HAMBURGER
   ========================================================================== */

#hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

#hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
    display: block;
}

#hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

#header-left { display: flex; align-items: center; gap: 40px; }

#mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(4, 8, 15, 0.96);
    backdrop-filter: blur(20px);
    padding: 32px 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    border-bottom: 1px solid var(--border-subtle);
}

#mobile-menu.open { display: flex; }

.mobile-link {
    font-size: 1.1rem;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    padding: 12px 0;
    color: var(--text-body);
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-link:hover, .mobile-link.active { color: var(--primary); }

/* ==========================================================================
   HEADER FLAG BOTTLES
   ========================================================================== */

#header-flag-bottles {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100%;
  padding-bottom: 6px;
  pointer-events: none;
}

.hf-wrap {
  position: relative;
  display: inline-block;
  isolation: isolate;
}


.hf-bottle {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.hf-wrap:nth-child(1) .hf-bottle { animation: hfFloat 3s 0.0s ease-in-out infinite; }
.hf-wrap:nth-child(2) .hf-bottle { animation: hfFloat 3s 0.3s ease-in-out infinite; }
.hf-wrap:nth-child(3) .hf-bottle { animation: hfFloat 3s 0.6s ease-in-out infinite; }

@keyframes hfFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-5px); }
}

/* On dark hero (on-hero class), keep bottles visible */
#site-header.on-hero:not(.scrolled) #header-flag-bottles {
  opacity: 1;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */

@media (max-width: 992px) {
    .header-inner { padding: 0 16px; }
    #header-left { gap: 16px; }
    .header-logo-img { height: 42px; }
    #main-nav { display: none; }
    #hamburger { display: flex; }
    #header-flag-bottles { display: none; }
    .feature-row { grid-template-columns: 1fr; gap: 40px; }
    .feature-row:nth-child(even) { direction: ltr; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border-subtle); }
    .stat-item:last-child { border-bottom: none; }
    .form-grid { grid-template-columns: 1fr; }
    .modal-content { grid-template-columns: 1fr; gap: 30px; text-align: center; }
}

@media (max-width: 640px) {
    .header-inner { padding: 0 12px; }
    #header-left { gap: 10px; }
    .header-logo-img { height: 40px; }
    .header-cta { padding: 10px 16px; font-size: 0.82rem; }
    #header-right { gap: 8px; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero { padding: 120px 16px 60px; min-height: auto; }
    .hero h1 { font-size: 2.2rem; }
    .hero-sub { font-size: 0.95rem; margin-bottom: 32px; }
    .hero-btns { flex-direction: column; width: 100%; gap: 12px; margin-bottom: 30px; }
    .cta-btn { width: 100%; text-align: center; padding: 14px 24px; }
    .hero-main-bottle { width: 180px; }
    .hero-flag-trio { display: none; }
    .hero-content { padding-top: 0; }
    .hero-product-wrapper { margin-top: 20px; }
    .section-padding { padding: 50px 0; }
    .section-title { font-size: clamp(1.8rem, 5vw, 2.5rem); }
    
    .highlights-grid { grid-template-columns: 1fr; gap: 20px; }
    .highlight-card { padding: 24px; }
    
    .products-grid { grid-template-columns: 1fr; gap: 20px; grid-auto-rows: auto; }
    .product-card { padding: 24px 20px; min-height: 350px; }
    .product-card:nth-child(1) { grid-column: span 1; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; padding: 20px 0; }
    .stat-item { padding: 30px 12px; }
    .stat-number { font-size: 2.4rem; }
    
    .about-products-mini { grid-template-columns: 1fr; }
    .wave-divider { height: 16px; }
    .wave-divider svg { height: 16px; }
    .feature-row { gap: 24px; margin-bottom: 50px; }
    .feature-image { aspect-ratio: 16/9; }
    .why-quote { font-size: 1.05rem; padding-left: 20px; margin-bottom: 40px; }
    .why-point { padding: 16px; gap: 14px; }
    .container { padding: 0 16px; }
    
    /* Events mobile layout fix */
    .events-list > div {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 20px !important;
    }
    
    .tritan-highlight-wrap .section-title { font-size: 2rem !important; }
    .modal-tech-specs { grid-template-columns: 1fr; gap: 15px; }
    .tech-spec { padding: 16px; }
    .tech-spec .value { font-size: 1.1rem; }
}

/* ==========================================================================
   PREMIUM UPGRADES: CURSOR, CAUSTICS, MODALS
   ========================================================================== */

/* 1. CUSTOM CURSOR */
.custom-cursor {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 100002; /* Higher than sticky nav */
    mix-blend-mode: screen;
    transition: transform 0.15s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s ease;
    opacity: 0;
}

.custom-cursor-ripple {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 100001;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s ease;
    opacity: 0;
}

body:hover .custom-cursor, 
body:hover .custom-cursor-ripple { opacity: 1; }

.custom-cursor.active { transform: scale(3.5); opacity: 0.25; }
.custom-cursor-ripple.active { transform: scale(3.5); opacity: 0; border-color: transparent; }

/* 2. BACKGROUND CAUSTICS (Light Refraction) */
.bg-caustic-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.caustic {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background-image: 
        radial-gradient(ellipse at 50% 50%, rgba(14, 165, 233, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse at 20% 30%, rgba(14, 165, 233, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(14, 165, 233, 0.03) 0%, transparent 50%);
    filter: blur(80px);
    animation: causticDrift 20s infinite alternate ease-in-out;
}

@keyframes causticDrift {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-5%, -5%) rotate(5deg); }
}

/* 3. LIQUID FILL BUTTONS */
.cta-btn {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1;
}

.cta-btn::before {
    content: '';
    position: absolute;
    bottom: -150%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: var(--primary);
    border-radius: 42%;
    z-index: -1;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), bottom 0.8s ease;
    animation: waveRotate 5s infinite linear;
    animation-play-state: paused;
}

.cta-btn:hover::before {
    bottom: -30%;
    animation-play-state: running;
}

.cta-btn:hover {
    color: #fff !important;
    box-shadow: 0 0 30px var(--accent-glow);
}

.cta-btn.outline:hover {
    border-color: var(--primary);
}

@keyframes waveRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 4. IMMERSIVE PRODUCT MODAL */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #04080F; /* Near black */
    z-index: 10000;
    display: none;
    overflow-y: auto;
    padding: 60px 20px;
    opacity: 0;
}

.product-modal.active {
    display: block;
    animation: modalReveal 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes modalReveal {
    from { clip-path: circle(0% at center); opacity: 0; }
    to { clip-path: circle(150% at center); opacity: 1; }
}

.modal-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.4s ease;
    z-index: 10001;
}

.modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
    box-shadow: 0 0 30px var(--accent-glow);
}

.modal-content {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.modal-image-side {
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh;
}

.modal-image-side img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 50px var(--accent-glow));
    position: relative;
    z-index: 1;
}

.modal-info-side h2 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 0.9;
    margin-bottom: 24px;
    font-family: var(--font-display);
    
    font-weight: 900;
    background: linear-gradient(180deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-desc {
    font-size: 1.2rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

.modal-tech-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.tech-spec {
    padding: 24px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: background 0.3s ease;
}

.tech-spec:hover {
    background: rgba(255,255,255,0.04);
}

.tech-spec .label {
    font-size: 0.7rem;
    color: var(--primary);
    
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 8px;
}

.tech-spec .value {
    font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em;
    font-weight: 900;
    font-family: var(--font-display);
    color: #ffffff;
}

@media (max-width: 992px) {
    .modal-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .modal-image-side { height: 40vh; }
    .modal-image-side img { height: 40vh; }
    .modal-desc { margin-left: auto; margin-right: auto; }
}

/* ==========================================================================
   APPLE PREMIUM OVERRIDES (Bento & Aurora)
   ========================================================================== */

/* Aurora Background */
.aurora-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
.aurora-blob {
    position: absolute;
    filter: blur(140px);
    opacity: 0.6;
    border-radius: 50%;
    mix-blend-mode: multiply;
}
.aurora-1 { width: 600px; height: 600px; background: rgba(0, 113, 227, 0.15); top: -100px; left: -100px; animation: drift1 20s infinite alternate linear; }
.aurora-2 { width: 500px; height: 500px; background: rgba(72, 202, 228, 0.15); top: 20%; right: -50px; animation: drift2 25s infinite alternate linear; }

@keyframes drift1 { 100% { transform: translate(100px, 150px) scale(1.2); } }
@keyframes drift2 { 100% { transform: translate(-100px, 100px) scale(1.1); } }

/* Bento Box Layout revert to standard grid for better B2B clarity */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-auto-rows: 1fr;
    gap: 32px;
}
.product-card {
    will-change: transform;
    transform-style: preserve-3d;
}

/* 3D and magnetic utilities */
.nav-link, .cta-btn {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, color 0.3s, box-shadow 0.3s;
}



/* ==========================================================================
   SCROLL SEQUENCE SCRUB
   ========================================================================== */
.scroll-sequence {
    position: relative;
    width: min(500px, 90vw);
    height: 60vh; /* Beautiful large bottle in its own section! */
    max-height: 800px;
    min-height: 300px;
    z-index: 5;
    margin: 0 auto;
    filter: drop-shadow(0 40px 60px rgba(0, 113, 227, 0.3)); /* Cinematic depth */
}

/* Add a sleek oval "Apple-like" podium shadow beneath the bottle */
.scroll-sequence::after {
    content: '';
    position: absolute;
    bottom: -5%;
    left: 50%;
    transform: translate(-50%, 0) scaleY(0.3);
    width: 60%;
    height: 100px;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
    filter: blur(15px);
}

.scroll-sequence .seq-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    opacity: 0;
    will-change: opacity, transform, filter;
    /* Apply photographic enhancements directly to the asset: boost contrast and saturation for premium glass look */
    filter: contrast(1.15) saturate(1.15) brightness(1.05) drop-shadow(0 0 10px rgba(255,255,255,0.2));
    transition: opacity 0.1s linear, transform 0.1s linear; /* smooth crossfade */
}
.scroll-sequence .seq-img:first-child {
    opacity: 1; /* first image visible on load */
}
/* Override old float animation */
.hero-main-bottle {
    animation: none;
}


/* ==========================================================================
   HERO STICKY PIN SECTION — PREMIUM
   ========================================================================== */
.hero-pin-section {
    height: 250vh;
    width: 100%;
    max-width: 100vw;
    /* NO overflow:clip/hidden here — it breaks position:sticky on children */
}

/* Dark premium background for the premium variant */
.pin-premium { background: #04080F; }

.hero-sticky-inner {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    /* pure sticky shell — no flex/grid here */
    background: transparent;
}

/* 3-column stage — child of sticky, fills it fully */
.pin-stage {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #060D1A 0%, #0A1628 50%, #060D1A 100%);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr auto;
    align-items: center;
    gap: 0 40px;
    padding: 80px 60px 60px;
    position: relative;  /* safe: this div is NOT the sticky element */
    overflow: hidden;
}

/* Subtle dot-grid overlay */
.pin-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Ambient colour blobs */
.pin-bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.pin-glow-left  { background: rgba(0, 113, 227, 0.12); left: -120px;  top: 50%; transform: translateY(-50%); }
.pin-glow-right { background: rgba(72, 202, 228, 0.10); right: -120px; top: 50%; transform: translateY(-50%); }

/* Feature columns */
.pin-features-left,
.pin-features-right {
    display: flex;
    flex-direction: column;
    gap: 28px;
    z-index: 2;
}

.pin-feat {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    /* Start dimmed & blurred — revealed by .active class */
    opacity: 0.18;
    filter: blur(4px);
    transform: scale(0.97);
    transition:
        opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        filter  0.55s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.3s ease,
        border-color 0.3s ease;
    cursor: default;
    will-change: opacity, filter, transform;
}

.pin-feat.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) translateY(-3px);
    background: rgba(0, 113, 227, 0.12);
    border-color: rgba(0, 113, 227, 0.35);
    box-shadow: 0 0 30px rgba(0, 113, 227, 0.12);
}

.pin-feat-icon {
    font-size: 1.7rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.pin-feat-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pin-feat-body.right { text-align: right; }

.pin-feat-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--primary);
    opacity: 0.7;
}

.pin-feat-body h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.pin-feat-body p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
    margin: 0;
}

/* CENTER bottle wrapper */
.pin-stage .hero-product-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

/* Glow rings around bottle */
.pin-bottle-glow-ring {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(0, 113, 227, 0.15);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
.ring-2 {
    width: 560px;
    height: 560px;
    border-color: rgba(0, 113, 227, 0.07);
    animation-delay: 1.5s;
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.03); }
}

/* Bottle benefit pill */
.bottle-3d-text {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 24px;
    text-align: center;
    z-index: 10;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 50px;
    padding: 12px 28px;
    min-width: 240px;
    max-width: min(400px, 90vw);
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
}

.bottle-3d-text.text-fade {
    opacity: 0;
    transform: translateY(6px);
}
.bottle-3d-text.text-visible {
    opacity: 1;
    transform: translateY(0);
}

.bottle-3d-text h3 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 3px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bottle-3d-text p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* Scroll progress hint row */
.pin-scroll-hint {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    margin-top: 16px;
}

.pin-scroll-hint span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    font-weight: 700;
}

.pin-scroll-bar {
    width: 100px;
    height: 2px;
    background: rgba(255,255,255,0.10);
    border-radius: 2px;
    overflow: hidden;
}

.pin-scroll-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), #48CAE4);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.gradient-subtle {
    background: radial-gradient(circle at top, rgba(14, 165, 233, 0.05) 0%, transparent 60%);
}

/* Mobile: stack vertically, hide side panels */
@media (max-width: 900px) {
    .pin-stage {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 80px 20px 40px;
        justify-items: center;
    }
    .pin-features-left,
    .pin-features-right {
        display: none;
    }
    .pin-scroll-hint { margin-top: 8px; }
}

/* Adjust layout so legacy hero content still works */
.hero-sticky-inner .hero-content { margin-top: 5vh; }
.hero-sticky-inner .hero-product-wrapper { margin-top: 0; }

/* ==========================================================================
   PRODUCT COLOR SELECTOR & TINTING
   ========================================================================== */

.color-selection-wrap {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.color-selection-wrap h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.color-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px var(--border-subtle);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.15);
}

.color-swatch.active {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px var(--primary);
}

.color-swatch.active::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.product-tint-layer {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: color;
    opacity: 0.7;
    z-index: 5;
    transition: background-color 0.4s ease;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

/* Transparent products (bottles) might need a different blend mode or opacity */
.product-tint-layer.bottle-tint {
    mix-blend-mode: soft-light;
    opacity: 0.9;
}

/* Modal color tweaks */
.modal-color-picker {
    margin-top: 24px;
}
