/* =============================================================================
   Blue Mango - Premium Water Filtration Design System
   Based on DESIGN-BRAIN v3.0 principles
   Style: Dark Premium Tech + Nature Trust (Mode/Appwrite inspired)
   ============================================================================= */
/* =============================================================================
   CSS Variables - Design Tokens
   ============================================================================= */
:root {
    /* Primary Colors - Deep Ocean Blue */
    --blue-deep: #0A1628;
    --blue-primary: #1492E4;
    --blue-light: #1FACEE;
    --blue-bright: #38BDF8;
    --blue-glow: rgba(20, 146, 228, 0.4);

    /* Accent Colors - Fresh Cyan/Teal */
    --accent-cyan: #22D3EE;
    --accent-teal: #14B8A6;
    --accent-glow: rgba(34, 211, 238, 0.3);

    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Background Colors */
    --bg-dark: #0A1628;
    --bg-dark-secondary: #0F1D32;
    --bg-dark-card: rgba(255, 255, 255, 0.03);
    --bg-light: #F0F9FF;
    --bg-light-secondary: #E0F2FE;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-dark: #0F172A;

    /* Semantic Colors */
    --success: #10B981;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --danger: #EF4444;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    --border-light: rgba(0, 0, 0, 0.08);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-blue: 0 10px 40px -10px rgba(20, 146, 228, 0.4);
    --shadow-cyan: 0 10px 40px -10px rgba(34, 211, 238, 0.3);

    /* Typography - Premium font pairing */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', var(--font-sans);

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =============================================================================
   Reset & Base Styles
   ============================================================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-dark);
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 100%;
}

/* Subtle floating dots scattered throughout background */
.floating-bg-dots {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-bg-dots::before,
.floating-bg-dots::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 146, 228, 0.4), transparent);
    filter: blur(1px);
}

.floating-bg-dots::before {
    top: 20%;
    left: 15%;
    animation: floatDot1 8s ease-in-out infinite;
}

.floating-bg-dots::after {
    top: 70%;
    right: 20%;
    animation: floatDot2 10s ease-in-out infinite;
}

@keyframes floatDot1 {
    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }

    50% {
        transform: translate(20px, -30px);
        opacity: 0.6;
    }
}

@keyframes floatDot2 {
    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.2;
    }

    50% {
        transform: translate(-25px, 20px);
        opacity: 0.5;
    }
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* =============================================================================
   Container
   ============================================================================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--space-4);
    }
}

/* =============================================================================
   Typography
   ============================================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h4 {
    font-size: 1.125rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--blue-bright) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--accent-cyan);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: var(--space-4) auto 0;
}

/* =============================================================================
   Buttons
   ============================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-spring);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-light) 100%);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px -10px rgba(20, 146, 228, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--border-hover);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-teal) 100%);
    color: var(--bg-dark);
    box-shadow: var(--shadow-cyan);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px -10px rgba(34, 211, 238, 0.5);
}

.btn-large {
    padding: var(--space-2) var(--space-4);
    font-size: 1.05rem;
}

/* Mango CTA Button */
.mango-cta-button {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 150px;
    text-decoration: none;
    cursor: pointer;
    animation: underwaterFloat 6s ease-in-out infinite;
}

.mango-cta-button::before,
.mango-cta-button::after {
    content: '';
    position: absolute;
    bottom: -5px;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.9), rgba(20, 146, 228, 0.7));
    border-radius: 50%;
    animation: waterDrip 2.5s ease-in infinite;
    opacity: 0;
    box-shadow: 0 2px 6px rgba(34, 211, 238, 0.5);
    z-index: 1;
}

.mango-cta-button::before {
    left: 45%;
    animation-delay: 0s;
}

.mango-cta-button::after {
    left: 55%;
    animation-delay: 1.2s;
}

.mango-cta-button .mango-shape {
    width: 150px;
    height: auto;
    display: block;
    transition: filter 0.3s ease;
    transform: rotate(-5deg);
    filter: drop-shadow(0 2px 8px rgba(34, 211, 238, 0.3))
            drop-shadow(0 4px 12px rgba(20, 146, 228, 0.2));
    position: relative;
    z-index: 2;
}

.mango-cta-button:hover .mango-shape {
    filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.3))
            drop-shadow(0 0 20px rgba(20, 146, 228, 0.25))
            drop-shadow(0 4px 16px rgba(31, 172, 238, 0.2))
            brightness(1.05);
}

.mango-button-text {
    position: absolute;
    top: calc(52% + 12px);
    left: 48%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 800;
    text-align: center;
    z-index: 20;
    width: 130px;
    line-height: 1.2;
    pointer-events: none;
    letter-spacing: 0.02em;
}

.mango-cta-button:hover .mango-button-text {
    transform: translate(-50%, -50%) scale(1.05);
}

.mango-cta-button:hover {
    animation-play-state: paused;
}

@keyframes mangoFloat {
    0%,
    100% {
        transform: translateY(0px) rotate(-5deg);
    }

    25% {
        transform: translateY(-6px) rotate(-5deg);
    }

    50% {
        transform: translateY(-10px) rotate(-5deg);
    }

    75% {
        transform: translateY(-6px) rotate(-5deg);
    }
}

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

    30% {
        transform: translate(-50%, -50%) translateY(-5px);
    }

    60% {
        transform: translate(-50%, -50%) translateY(-8px);
    }

    85% {
        transform: translate(-50%, -50%) translateY(-3px);
    }
}

@keyframes underwaterFloat {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-8px) translateX(3px) rotate(1deg);
    }

    50% {
        transform: translateY(-12px) translateX(0px) rotate(0deg);
    }

    75% {
        transform: translateY(-8px) translateX(-3px) rotate(-1deg);
    }
}

@keyframes waterDrip {
    0% {
        opacity: 0;
        bottom: -5px;
        transform: scale(0.8);
    }

    10% {
        opacity: 1;
        bottom: -5px;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        bottom: -60px;
        transform: scale(0.3);
    }
}

@keyframes waterDrop1 {
    0% {
        opacity: 0;
        top: -30px;
        transform: translateX(-50%) scale(1);
    }

    10% {
        opacity: 1;
    }

    70% {
        opacity: 0.8;
        top: 40%;
        transform: translateX(-50%) scale(0.7);
    }

    100% {
        opacity: 0;
        top: 50%;
        transform: translateX(-50%) scale(0.4);
    }
}

@keyframes waterDrop2 {
    0% {
        opacity: 0;
        top: -25px;
        transform: scale(1);
    }

    15% {
        opacity: 0.9;
    }

    75% {
        opacity: 0.7;
        top: 30px;
        transform: scale(0.6);
    }

    100% {
        opacity: 0;
        top: 40px;
        transform: scale(0.3);
    }
}

@keyframes waterRipple {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0;
        border-width: 2px;
    }

    20% {
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
        border-width: 0px;
    }
}

@keyframes bubble {
    0% {
        opacity: 0;
        bottom: -10px;
        transform: translateX(0) scale(1);
    }

    20% {
        opacity: 0.6;
    }

    80% {
        opacity: 0.4;
        bottom: 100%;
        transform: translateX(10px) scale(0.5);
    }

    100% {
        opacity: 0;
        bottom: 110%;
        transform: translateX(15px) scale(0.3);
    }
}

@keyframes waterShimmer {
    0%,
    100% {
        filter: drop-shadow(0 4px 16px rgba(20, 146, 228, 0.3)) brightness(1);
    }

    50% {
        filter: drop-shadow(0 4px 18px rgba(34, 211, 238, 0.35)) brightness(1.02);
    }
}

@keyframes liquidWave {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes buttonGlow {
    0%,
    100% {
        box-shadow: 0 4px 16px rgba(34, 211, 238, 0.4),
            0 2px 8px rgba(20, 146, 228, 0.3),
            0 0 20px rgba(34, 211, 238, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }

    50% {
        box-shadow: 0 4px 20px rgba(34, 211, 238, 0.5),
            0 2px 10px rgba(20, 146, 228, 0.4),
            0 0 28px rgba(34, 211, 238, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.5),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
    .mango-btn {
        width: 105px;
    }

    .mango-btn-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .mango-btn {
        width: 95px;
    }

    .mango-btn-text {
        font-size: 0.7rem;
    }
}

.btn-full {
    width: 100%;
}

/* Pulse animation for primary CTA */
.pulse {
    animation: pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%,
    100% {
        box-shadow: var(--shadow-blue);
    }

    50% {
        box-shadow: 0 10px 60px -10px rgba(20, 146, 228, 0.7);
    }
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* =============================================================================
   Floating Pill Header - Desktop Top / Mobile Bottom
   ============================================================================= */
.header-pill {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: auto;
    max-width: calc(100% - 16px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-pill-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1vw, 8px);
    padding: clamp(6px, 1.5vw, 10px) clamp(12px, 2vw, 16px);
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    width: auto;
    flex-wrap: nowrap;
}

.logo-pill {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: clamp(4px, 1vw, 12px);
}

.logo-pill img {
    height: clamp(28px, 4vw, 36px);
    width: auto;
    transition: transform var(--transition);
}

.logo-pill:hover img {
    transform: scale(1.05);
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1vw, 8px);
    flex-shrink: 1;
    min-width: 0;
    margin-right: 0;
}

.nav-pill-link {
    padding: clamp(6px, 1vw, 8px) clamp(8px, 1.2vw, 12px);
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-pill-link:hover:not(.shop-systems-btn) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Shop Systems Button - Match Get Started Style */
.shop-systems-btn {
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--blue-primary), var(--accent-cyan)) !important;
    box-shadow: 0 2px 10px rgba(20, 146, 228, 0.3);
    transition: all var(--transition-spring);
}

.shop-systems-btn:hover {
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--blue-primary), var(--accent-cyan)) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(20, 146, 228, 0.4);
}

.header-pill-actions {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1vw, 8px);
    flex-shrink: 0;
}

.language-toggle-pill {
    display: flex;
    align-items: center;
    gap: 1px;
    padding: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
}

.lang-pill-btn {
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    padding: clamp(4px, 0.5vw, 6px) clamp(6px, 1vw, 10px);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.lang-pill-btn.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.15);
}

.lang-pill-btn:hover:not(.active) {
    color: var(--text-secondary);
}

.phone-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: var(--accent-cyan);
    border-radius: var(--radius-full);
    transition: all var(--transition-spring);
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
}

.phone-pill:hover {
    color: var(--white);
    background: rgba(34, 211, 238, 0.2);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.4);
    transform: translateY(-2px);
}

.phone-pill svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.phone-pill .phone-text {
    display: none;
}

.cta-pill {
    padding: clamp(7px, 1vw, 11px) clamp(12px, 1.5vw, 18px);
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-primary), var(--accent-cyan));
    border-radius: var(--radius-full);
    transition: all var(--transition-spring);
    box-shadow: 0 3px 15px rgba(20, 146, 228, 0.5),
                0 0 20px rgba(34, 211, 238, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.cta-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(20, 146, 228, 0.6),
                0 0 30px rgba(34, 211, 238, 0.4);
}

/* Tablet landscape and below */
@media (max-width: 1024px) {
    .header-pill-inner {
        gap: 6px;
        padding: 7px 12px;
    }

    .logo-pill img {
        height: 30px;
    }

    .nav-pill-link {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .cta-pill {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
}

/* Tablet portrait and below */
@media (max-width: 768px) {
    .header-pill {
        top: 8px;
        max-width: calc(100% - 12px);
    }

    .header-pill-inner {
        gap: 5px;
        padding: 6px 10px;
    }

    .logo-pill {
        margin-right: 6px;
    }

    .logo-pill img {
        height: 26px;
    }

    .nav-pill-link {
        padding: 6px 9px;
        font-size: 0.75rem;
    }

    .lang-pill-btn {
        padding: 4px 7px;
        font-size: 0.72rem;
    }

    .cta-pill {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
}

/* Large mobile */
@media (max-width: 600px) {
    .header-pill {
        top: 6px;
    }

    .header-pill-inner {
        gap: 4px;
        padding: 5px 8px;
    }

    .logo-pill {
        margin-right: 4px;
    }

    .logo-pill img {
        height: 24px;
    }

    .nav-pill-link {
        padding: 5px 8px;
        font-size: 0.72rem;
    }

    .lang-pill-btn {
        padding: 3px 6px;
        font-size: 0.7rem;
    }

    .cta-pill {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .phone-pill {
        padding: 5px 7px;
    }
}

/* Extra small screens - tighten everything up */
@media (max-width: 400px) {
    .header-pill {
        top: 4px;
        max-width: calc(100% - 8px);
    }

    .header-pill-inner {
        gap: 3px;
        padding: 4px 6px;
    }

    .logo-pill {
        margin-right: 3px;
    }

    .logo-pill img {
        height: 22px;
    }

    .nav-pill-link {
        padding: 5px 7px;
        font-size: 0.7rem;
    }

    .lang-pill-btn {
        padding: 3px 5px;
        font-size: 0.65rem;
    }

    .cta-pill {
        padding: 5px 8px;
        font-size: 0.7rem;
    }

    .phone-pill {
        padding: 8px;
    }

    .phone-pill svg {
        width: 16px;
        height: 16px;
    }
}

/* Mobile header adjustments - header hidden on mobile, replaced by bottom nav */
/* See .mobile-bottom-nav section at end of file for mobile navigation */
/* =============================================================================
   Header Reviews Extension - Connected Ticker Below Header Pill
   ============================================================================= */
.header-reviews-extension {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px;
    margin-top: -4px;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: none;
    border-radius: 0 0 24px 24px;
    text-decoration: none;
    color: inherit;
    max-width: 600px;
    width: max-content;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.header-reviews-extension::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 146, 228, 0.3), transparent);
}

.header-reviews-extension:hover {
    background: rgba(10, 22, 40, 0.95);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* Collapsed state when scrolling */
.header-pill.scrolled .header-reviews-extension {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    opacity: 0;
    pointer-events: none;
    border-width: 0;
}

.reviews-badge-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.reviews-badge-mini .google-g {
    flex-shrink: 0;
}

.reviews-badge-mini .stars-mini {
    color: #FBBC05;
    font-size: 0.7rem;
    letter-spacing: -1px;
    line-height: 1;
}

@media (max-width: 768px) {
    .header-reviews-extension {
        display: none;
    }
}

/* Legacy support - keep for other pages that might use old markup */
.reviews-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
    padding-right: var(--space-4);
    border-right: 1px solid var(--border-subtle);
}

.google-g {
    flex-shrink: 0;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.stars-mini {
    color: #FBBC05;
    font-size: 0.85rem;
    letter-spacing: -1px;
    line-height: 1;
}

.rating-number {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.reviews-ticker-wrapper {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    max-width: 380px;
}

/* Ticker in header extension - more compact */
.header-reviews-extension .reviews-ticker-wrapper {
    max-width: 320px;
}

.reviews-ticker {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    animation: ticker-scroll 25s linear infinite;
    white-space: nowrap;
    width: fit-content;
}

.reviews-ticker:hover {
    animation-play-state: paused;
}

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

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

.ticker-item {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Ticker items in header extension */
.header-reviews-extension .ticker-item {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.ticker-divider {
    color: var(--border-default);
    font-size: 0.6rem;
    opacity: 0.5;
}

.view-reviews-hint {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
    opacity: 0.7;
    transition: opacity var(--transition);
    padding-left: var(--space-4);
    border-left: 1px solid var(--border-subtle);
}

.reviews-strip-inner:hover .view-reviews-hint {
    opacity: 1;
}

/* Mobile responsive for reviews strip */
@media (max-width: 768px) {
    .reviews-strip-inner {
        padding: var(--space-2) var(--space-4);
    }

    .reviews-badge {
        padding-right: var(--space-3);
    }

    .view-reviews-hint {
        display: none;
    }

    .reviews-ticker {
        animation-duration: 20s;
    }
}

@media (max-width: 480px) {
    .rating-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .stars-mini {
        font-size: 0.75rem;
    }

    .rating-number {
        font-size: 0.8rem;
    }

    .ticker-item {
        font-size: 0.8rem;
    }
}

/* =============================================================================
   Hero Section - Bold Typography Focus
   ============================================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 84dvh;

    /* Dynamic viewport height for mobile browsers */
    display: flex;
    align-items: center;
    padding: 140px 0 80px;

    /* Increased top padding to avoid header overlap */
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
    overflow: visible;
}

/* Tablet - more padding as content stacks */
@media (max-width: 1024px) {
    .hero {
        padding-top: 150px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;

        /* Allow content to determine height */
        padding: 120px 0 100px;

        /* Top padding for header, bottom for nav */
        align-items: flex-start;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Gradient orbs */
.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(20, 146, 228, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

/* Grid pattern overlay */
.hero-bg .grid-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

/* Water wave effects */
.water-wave {
    position: absolute;
    bottom: 0;
    left: -10%;
    right: -10%;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%231492E4' fill-opacity='0.08' d='M0,192L48,176C96,160,192,128,288,133.3C384,139,480,181,576,186.7C672,192,768,160,864,149.3C960,139,1056,149,1152,170.7C1248,192,1344,224,1392,240L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    animation: wave 12s ease-in-out infinite;
}

.wave-2 {
    animation-delay: -3s;
    opacity: 0.5;
}

.wave-3 {
    animation-delay: -6s;
    opacity: 0.3;
}

@keyframes wave {
    0%,
    100% {
        transform: translateX(0);
    }

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

/* Light rays */
.light-rays {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: conic-gradient(
        from 180deg at 50% 0%,
        transparent 0deg,
        rgba(20, 146, 228, 0.03) 30deg,
        transparent 60deg,
        rgba(34, 211, 238, 0.02) 90deg,
        transparent 120deg,
        rgba(20, 146, 228, 0.03) 150deg,
        transparent 180deg
    );
    opacity: 0.6;
}

/* Floating elements - Hidden */
.floating-droplets,
.sparkles,
.bubbles-container,
.float-droplet,
.sparkle {
    display: none;
}

.sparkle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    left: 25%;
    top: 45%;
    animation-delay: 1s;
}

.sparkle:nth-child(3) {
    left: 75%;
    top: 15%;
    animation-delay: 2s;
}

.sparkle:nth-child(4) {
    left: 85%;
    top: 40%;
    animation-delay: 0.5s;
}

.sparkle:nth-child(5) {
    left: 15%;
    top: 70%;
    animation-delay: 1.5s;
}

.sparkle:nth-child(6) {
    left: 60%;
    top: 65%;
    animation-delay: 2.5s;
}

@keyframes twinkle {
    0%,
    100% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

.bubble-float {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(34, 211, 238, 0.2) 100%);
    animation: bubbleRise 20s infinite ease-in;
}

.bubble-float:nth-child(1) {
    left: 8%;
    bottom: -50px;
    width: 30px;
    height: 30px;
    animation-delay: 0s;
}

.bubble-float:nth-child(2) {
    left: 25%;
    bottom: -50px;
    width: 20px;
    height: 20px;
    animation-delay: 5s;
}

.bubble-float:nth-child(3) {
    left: 70%;
    bottom: -50px;
    width: 35px;
    height: 35px;
    animation-delay: 10s;
}

.bubble-float:nth-child(4) {
    left: 88%;
    bottom: -50px;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
}

@keyframes bubbleRise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.2;
    }

    100% {
        transform: translateY(-120vh) scale(0.5);
        opacity: 0;
    }
}

/* Hero Content Layout */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Hero Text */
.hero-text {
    max-width: 680px;
}

.hero-title {
    margin-bottom: var(--space-6);
}

.hero-title-line {
    display: block;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-title-line.highlight {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--blue-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    max-width: 540px;
}

/* Trust Badges */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--bg-dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.badge:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.badge-icon {
    font-size: 1rem;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* Hiring Badge */
.hiring-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
    padding: var(--space-3) var(--space-5);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(20, 184, 166, 0.15));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-spring);
    animation: pulse-subtle 2s ease-in-out infinite;
}

.hiring-badge:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(20, 184, 166, 0.25));
    border-color: var(--success);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

@keyframes pulse-subtle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* =============================================================================
   Systems Showcase - Large Logo with Systems Row Below
   ============================================================================= */
.systems-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 800px;
}

/* Hero Logo Container - Compact with Animation */
.hero-logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 420px;
    height: 420px;
    margin-bottom: -40px;
    margin-top: -20px;
    z-index: 1;
}

/* Logo Emphasis Animation */
.hero-main-logo {
    width: 480px;
    height: auto;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    animation: logoBreathing 6s ease-in-out infinite;
}

@keyframes logoBreathing {
    0%,
    100% {
        transform: scale(1) translateY(0px) rotate(0deg);
    }

    25% {
        transform: scale(1.01) translateY(-8px) rotate(-0.5deg);
    }

    50% {
        transform: scale(1.02) translateY(-12px) rotate(0deg);
    }

    75% {
        transform: scale(1.01) translateY(-8px) rotate(0.5deg);
    }
}

/* Logo Background Glow - Oval Blue Glow */
.logo-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 450px;
    background: radial-gradient(
        ellipse,
        rgba(20, 146, 228, 0.25) 0%,
        rgba(34, 211, 238, 0.18) 15%,
        rgba(20, 146, 228, 0.12) 30%,
        rgba(34, 211, 238, 0.08) 45%,
        rgba(20, 146, 228, 0.04) 60%,
        rgba(34, 211, 238, 0.02) 75%,
        transparent 100%
    );
    border-radius: 50%;
    z-index: 1;
    animation: glowPulse 6s ease-in-out infinite;
    pointer-events: none;
    filter: blur(30px);
}

@keyframes glowPulse {
    0%,
    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

/* Glowing Ring Around Logo - DISABLED */
.hero-logo-container::before {
    display: none;
}

@keyframes ringPulse {
    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 15px rgba(20, 146, 228, 0.2),
            inset 0 0 15px rgba(20, 146, 228, 0.05);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.03);
        box-shadow: 0 0 25px rgba(20, 146, 228, 0.4),
            0 0 40px rgba(34, 211, 238, 0.2),
            inset 0 0 20px rgba(20, 146, 228, 0.1);
    }
}

/* Shimmer Effect Rotating Around Ring - DISABLED */
.hero-logo-container::after {
    display: none;
}

@keyframes shimmerRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Logo Aura - Hidden, replaced by water droplet */
.logo-aura {
    display: none;
}

/* =============================================================================
   Water Purification Background Animation - Hidden
   ============================================================================= */
.purification-bg,
.dirty-water-zone,
.dirty-drop,
.clean-water-zone,
.clean-drop,
.purify-particles,
.purify-particle,
.filter-ring,
.filter-glow {
    display: none;
}

/* Systems Row */
.systems-row {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-6);
    width: 100%;
    z-index: 10;
}

/* Water Flow Line - Horizontal animated line */
.water-flow-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(34, 211, 238, 0.3) 20%,
        rgba(34, 211, 238, 0.3) 80%,
        transparent 100%
    );
    transform: translateY(-50%);
    z-index: 0;
}

.flow-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 15px var(--accent-cyan), 0 0 30px rgba(34, 211, 238, 0.5);
    animation: flowMove 3s ease-in-out infinite;
}

.flow-particle:nth-child(1) {
    animation-delay: 0s;
}

.flow-particle:nth-child(2) {
    animation-delay: 1s;
}

.flow-particle:nth-child(3) {
    animation-delay: 2s;
}

@keyframes flowMove {
    0% {
        left: 0%;
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }

    10% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    90% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    100% {
        left: 100%;
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }
}

/* System Item */
.system-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-5);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    cursor: pointer;
}

.system-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(34, 211, 238, 0.15);
}

/* Featured System (Pro) */
.system-item.featured {
    transform: scale(1.08);
    border-color: rgba(34, 211, 238, 0.25);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(20, 40, 70, 0.85) 100%);
}

.system-item.featured:hover {
    transform: translateY(-8px) scale(1.12);
}

.featured-glow {
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.4), rgba(20, 146, 228, 0.2), rgba(34, 211, 238, 0.4));
    border-radius: 22px;
    z-index: -1;
    opacity: 0.6;
    filter: blur(8px);
    animation: featuredGlowPulse 3s ease-in-out infinite;
}

@keyframes featuredGlowPulse {
    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.7;
    }
}

/* Premium System */
.system-item.premium {
    background: linear-gradient(180deg, rgba(20, 20, 35, 0.95) 0%, rgba(30, 30, 50, 0.9) 100%);
    border-color: rgba(139, 92, 246, 0.2);
}

.system-item.premium:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(139, 92, 246, 0.2);
}

/* System Glow */
.system-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

/* Floating Badge */
.system-badge-float {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--blue-bright));
    color: var(--bg-dark);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.4);
    animation: badgeFloat 3s ease-in-out infinite;
}

.system-badge-float.premium-badge-float {
    background: linear-gradient(135deg, #8B5CF6, #6366F1);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

@keyframes badgeFloat {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-3px);
    }
}

/* System Icon */
.system-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.system-icon .system-svg {
    height: 130px;
    width: auto;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.system-item:hover .system-icon .system-svg {
    transform: scale(1.05);
}

.system-icon .system-svg.promax {
    height: 125px;
}

/* System Info */
.system-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.system-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.system-tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.system-item.premium .system-tag {
    color: #A78BFA;
}

/* Ambient Particles */
.ambient-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.amb-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: ambientFloat 8s ease-in-out infinite;
}

.amb-particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.amb-particle:nth-child(2) {
    left: 85%;
    top: 30%;
    animation-delay: 1.5s;
}

.amb-particle:nth-child(3) {
    left: 25%;
    top: 70%;
    animation-delay: 3s;
}

.amb-particle:nth-child(4) {
    left: 75%;
    top: 60%;
    animation-delay: 4.5s;
}

.amb-particle:nth-child(5) {
    left: 50%;
    top: 85%;
    animation-delay: 6s;
}

.amb-particle:nth-child(6) {
    left: 15%;
    top: 50%;
    animation-delay: 7s;
}

@keyframes ambientFloat {
    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    20% {
        opacity: 0.6;
        transform: translateY(-10px) scale(1);
    }

    80% {
        opacity: 0.4;
        transform: translateY(-30px) scale(0.8);
    }
}

/* Responsive - Systems Showcase */
@media (max-width: 1024px) {
    .hero-logo-container {
        width: 280px;
        height: 280px;
    }

    .hero-main-logo {
        width: 400px;
    }

    .hero-logo-container::before {
        width: 190px;
        height: 190px;
    }

    .hero-logo-container::after {
        width: 210px;
        height: 210px;
    }

    .systems-row {
        gap: var(--space-4);
    }

    .system-item {
        padding: var(--space-4);
    }

    .system-icon .system-svg {
        height: 85px;
    }

    .system-icon .system-svg.promax {
        height: 80px;
    }

    .system-item.featured {
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .systems-showcase {
        gap: var(--space-6);
    }

    .hero-logo-container {
        width: 240px;
        height: 240px;
        margin-top: -10px;
        margin-bottom: -30px;
    }

    .hero-main-logo {
        width: 360px;
    }

    .hero-logo-container::before {
        width: 160px;
        height: 160px;
    }

    .hero-logo-container::after {
        width: 180px;
        height: 180px;
    }

    .logo-aura {
        inset: -20px;
    }

    .filter-ring {
        width: 90%;
        height: 90%;
    }

    .systems-row {
        gap: var(--space-3);
    }

    .system-item {
        padding: var(--space-3);
        border-radius: 16px;
    }

    .system-icon .system-svg {
        height: 70px;
    }

    .system-icon .system-svg.promax {
        height: 65px;
    }

    .system-name {
        font-size: 0.8rem;
    }

    .system-tag {
        font-size: 0.55rem;
    }

    .system-badge-float {
        font-size: 0.5rem;
        padding: 3px 8px;
        top: -8px;
    }

    .system-item.featured {
        transform: scale(1.03);
    }

    .water-flow-line {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-logo-container {
        width: 240px;
        height: 240px;
    }

    .hero-main-logo {
        width: 320px;
    }

    .purification-bg {
        inset: -40px;
    }

    .dirty-water-zone,
    .clean-water-zone {
        width: 120px;
    }

    .purify-particle {
        width: 4px;
        height: 4px;
    }

    .systems-row {
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    .system-item {
        flex: 0 0 calc(50% - var(--space-2));
        max-width: calc(50% - var(--space-2));
    }

    .system-item.featured {
        order: -1;
        flex: 0 0 100%;
        max-width: 100%;
        transform: none;
    }

    .system-icon .system-svg {
        height: 60px;
    }

    .system-icon .system-svg.promax {
        height: 55px;
    }

    .amb-particle {
        display: none;
    }
}

/* =============================================================================
   Gallery Showcase - Animated Scrolling Gallery
   ============================================================================= */
.gallery-showcase {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-bottom: var(--space-16);
    overflow: hidden;
    padding: var(--space-8) 0;
}

.gallery-showcase::before,
.gallery-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.gallery-showcase::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 0%, transparent 100%);
}

.gallery-showcase::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 0%, transparent 100%);
}

.gallery-track {
    display: flex;
    gap: var(--space-6);
    animation: galleryScroll 40s linear infinite;
    width: max-content;
}

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

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

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

.gallery-item {
    flex-shrink: 0;
    width: 400px;
    height: 250px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(20, 146, 228, 0.3);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    background: linear-gradient(135deg, var(--bg-dark-card) 0%, rgba(20, 146, 228, 0.1) 100%);
    border: 2px dashed var(--border-subtle);
    border-radius: var(--radius-xl);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-placeholder {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: linear-gradient(135deg, var(--bg-dark-card) 0%, rgba(20, 146, 228, 0.2) 100%);
}

.gallery-placeholder svg {
    opacity: 0.6;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-placeholder svg {
    opacity: 1;
    transform: scale(1.1);
}

.gallery-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Gallery with real images - replace placeholder with this */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Responsive Gallery */
@media (max-width: 1024px) {
    .gallery-item {
        width: 350px;
        height: 220px;
    }

    .gallery-showcase::before,
    .gallery-showcase::after {
        width: 100px;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        width: 300px;
        height: 190px;
    }

    .gallery-showcase {
        margin-bottom: var(--space-12);
    }

    .gallery-showcase::before,
    .gallery-showcase::after {
        width: 60px;
    }

    .gallery-track {
        gap: var(--space-4);
        animation-duration: 30s;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: 260px;
        height: 160px;
    }

    .gallery-placeholder svg {
        width: 36px;
        height: 36px;
    }

    .gallery-placeholder span {
        font-size: 0.8rem;
    }
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 50px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    opacity: 0.7;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 10px;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
    color: var(--accent-cyan);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: default;
    animation: lightboxZoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lightboxZoomIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

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

.gallery-lightbox.closing .lightbox-content {
    animation: lightboxZoomOut 0.3s ease forwards;
}

@keyframes lightboxZoomOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }

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

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-content .gallery-placeholder {
    width: 70vw;
    max-width: 900px;
    height: 50vh;
    max-height: 600px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--bg-dark-card) 0%, rgba(20, 146, 228, 0.15) 100%);
    border: 2px dashed var(--accent-cyan);
}

.lightbox-content .gallery-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.8;
}

.lightbox-content .gallery-placeholder span {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.lightbox-caption {
    margin-top: var(--space-4);
    color: white;
    font-size: 1.1rem;
    text-align: center;
    opacity: 0.9;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }

    .lightbox-content .gallery-placeholder {
        width: 90vw;
        height: 60vh;
    }

    .lightbox-content .gallery-placeholder svg {
        width: 60px;
        height: 60px;
    }

    .lightbox-content .gallery-placeholder span {
        font-size: 1.2rem;
    }
}

/* =============================================================================
   Stats Section
   ============================================================================= */
.stats {
    position: relative;
    padding: var(--space-16) 0;
    background: var(--bg-dark-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.stat-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--bg-dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
}

.stat-card:hover {
    border-color: var(--blue-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--blue-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--accent-cyan);
}

.stat-label {
    display: block;
    margin-top: var(--space-2);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* =============================================================================
   Why Us / Features Section
   ============================================================================= */
.why-us {
    padding: var(--space-24) 0;
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.feature-card {
    position: relative;
    padding: var(--space-8);
    background: var(--bg-dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--transition-spring);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-primary), var(--accent-cyan));
    transform: scaleX(0);
    transition: transform var(--transition-spring);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(20, 146, 228, 0.1) 0%, rgba(34, 211, 238, 0.1) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--accent-cyan) 100%);
    border-color: transparent;
    box-shadow: var(--shadow-blue);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent-cyan);
    transition: color var(--transition);
}

.feature-card:hover .feature-icon svg {
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

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

/* =============================================================================
   Problem / Solution Section
   ============================================================================= */
.problem-solution {
    padding: var(--space-24) 0;
    background: linear-gradient(180deg, var(--bg-dark-secondary) 0%, var(--bg-dark) 100%);
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

.problem-side,
.solution-side {
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
}

.problem-side {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.solution-side {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.problem-side h2 {
    color: #F87171;
    margin-bottom: var(--space-8);
}

.solution-side h2 {
    color: var(--success);
    margin-bottom: var(--space-8);
}

.problem-list,
.solution-list {
    list-style: none;
}

.problem-list li,
.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 1rem;
    color: var(--text-secondary);
}

.problem-list li:last-child,
.solution-list li:last-child {
    border-bottom: none;
}

.x-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(239, 68, 68, 0.2);
    color: #F87171;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* =============================================================================
   Shop Section
   ============================================================================= */
.shop-section {
    padding: var(--space-24) 0;
    background: var(--bg-dark);
}

.shop-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.shop-title {
    margin-bottom: var(--space-2);
}

.shop-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.shop-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-8);
    align-items: start;
}

.shop-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
}

/* Popular Packages */
.popular-packages {
    margin-bottom: var(--space-6);
}

.category-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
}

.package-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.package-card {
    position: relative;
    padding: var(--space-8);
    background: var(--bg-dark-card);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-spring);
}

.package-card:hover,
.package-card.selected {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 4px rgba(20, 146, 228, 0.15);
}

.package-card.featured {
    border-color: var(--accent-cyan);
}

.package-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: var(--space-1) var(--space-4);
    background: var(--blue-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.package-badge.premium {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-teal) 100%);
    color: var(--bg-dark);
}

.package-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.package-includes {
    list-style: none;
    margin-bottom: var(--space-4);
}

.package-includes li {
    position: relative;
    padding-left: var(--space-6);
    padding-bottom: var(--space-2);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.package-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

.package-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

.package-select-btn {
    width: 100%;
    padding: var(--space-3) var(--space-6);
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-light) 100%);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.package-select-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.or-divider {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin: var(--space-8) 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

/* Step Indicators */
.step-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--accent-cyan) 100%);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
}

/* System Cards */
.system-cards {
    display: grid;
    gap: var(--space-4);
}

.system-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-5);
    padding: var(--space-6);
    background: var(--bg-dark-card);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition);
}

.system-card:hover {
    border-color: var(--border-hover);
}

.system-card.selected {
    border-color: var(--blue-primary);
    background: rgba(20, 146, 228, 0.05);
}

.system-icon {
    width: 80px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.system-icon svg {
    width: 100%;
    height: 100%;
}

.system-info {
    padding-top: var(--space-2);
}

.system-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.system-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

.system-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.system-features li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: var(--space-1) var(--space-3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
}

.system-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-top: var(--space-3);
}

.system-badge.value {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.system-badge.popular {
    background: rgba(20, 146, 228, 0.2);
    color: var(--blue-bright);
}

.system-badge.premium {
    background: rgba(34, 211, 238, 0.2);
    color: var(--accent-cyan);
}

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

.select-circle {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-default);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.system-card.selected .select-circle {
    border-color: var(--blue-primary);
    background: var(--blue-primary);
    box-shadow: inset 0 0 0 4px var(--bg-dark);
}

/* RO System Cards */
.ro-cards {
    grid-template-columns: repeat(3, 1fr);
}

.system-card.compact {
    grid-template-columns: auto 1fr auto;
    gap: var(--space-4);
    padding: var(--space-5);
}

.system-card.compact .system-icon {
    width: 60px;
    height: 70px;
}

/* Upgrade Cards */
.upgrade-cards,
.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.upgrade-card,
.service-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--bg-dark-card);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition);
}

.upgrade-card:hover,
.service-card:hover {
    border-color: var(--border-hover);
}

.upgrade-card.selected,
.service-card.selected {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.05);
}

.upgrade-icon,
.service-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.upgrade-icon svg,
.service-icon svg {
    width: 100%;
    height: 100%;
}

.upgrade-info,
.service-info {
    flex: 1;
}

.upgrade-name,
.service-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.upgrade-desc,
.service-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.upgrade-toggle,
.service-toggle {
    display: flex;
    align-items: center;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    position: relative;
    transition: all var(--transition);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.upgrade-card.selected .toggle-switch,
.service-card.selected .toggle-switch {
    background: var(--success);
}

.upgrade-card.selected .toggle-switch::after,
.service-card.selected .toggle-switch::after {
    left: 22px;
}

/* Cart Sidebar */
.shop-cart {
    position: sticky;
    top: 100px;
}

.cart-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

.cart-title {
    font-size: 1.125rem;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
}

.cart-items {
    min-height: 150px;
    margin-bottom: var(--space-6);
}

.cart-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.cart-item-status {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.cart-item.package-item .cart-item-status {
    background: rgba(20, 146, 228, 0.2);
    color: var(--blue-bright);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) 0;
    border-top: 1px solid var(--border-subtle);
    margin-bottom: var(--space-6);
}

.total-label {
    font-weight: 600;
}

.total-value {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cart-continue-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-light) 100%);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.cart-continue-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-continue-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.cart-continue-btn svg {
    width: 18px;
    height: 18px;
}

.cart-trust {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-subtle);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--success);
}

/* Modals */
.customer-modal,
.thankyou-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.customer-modal.active,
.thankyou-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    transform: scale(0.9);
    transition: transform var(--transition);
}

.customer-modal.active .modal-content,
.thankyou-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: var(--space-2);
}

.modal-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-8);
}

/* Form Styles */
.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    background: var(--bg-dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(20, 146, 228, 0.2);
}

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

.submit-quote-btn {
    width: 100%;
    padding: var(--space-4);
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-light) 100%);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-top: var(--space-4);
    transition: all var(--transition);
}

.submit-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

/* Thank You Modal */
.modal-content.thankyou {
    text-align: center;
}

.thankyou-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    background: linear-gradient(135deg, var(--success) 0%, #34D399 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.thankyou-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.close-thankyou-btn {
    padding: var(--space-4) var(--space-8);
    background: transparent;
    border: 2px solid var(--border-default);
    color: var(--text-primary);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-top: var(--space-6);
    transition: all var(--transition);
}

.close-thankyou-btn:hover {
    border-color: var(--blue-primary);
    color: var(--blue-primary);
}

/* =============================================================================
   Mid-Page CTA Strip - Dark Premium Style
   ============================================================================= */
.mid-cta-strip {
    background: var(--bg-dark);
    padding: var(--space-12) 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.mid-cta-strip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 146, 228, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.mid-cta-strip::after {
    content: '';
    position: absolute;
    top: 0;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.mid-cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: var(--space-8) var(--space-10);
    backdrop-filter: blur(10px);
    max-width: 900px;
    margin: 0 auto;
}

.mid-cta-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(20, 146, 228, 0.2), rgba(34, 211, 238, 0.15));
    border: 1px solid rgba(20, 146, 228, 0.3);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(20, 146, 228, 0.15);
}

.mid-cta-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent-cyan);
}

.mid-cta-text {
    flex: 1;
}

.mid-cta-text h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.mid-cta-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.mid-cta-strip .btn-primary {
    background: linear-gradient(135deg, var(--blue-primary), var(--accent-cyan));
    color: var(--white);
    border: none;
    font-weight: 600;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(20, 146, 228, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.mid-cta-strip .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(20, 146, 228, 0.4);
}

.mid-cta-strip .btn-glow {
    animation: cta-glow 2.5s ease-in-out infinite;
}

@keyframes cta-glow {
    0%,
    100% {
        box-shadow: 0 4px 20px rgba(20, 146, 228, 0.3), 0 0 0 0 rgba(20, 146, 228, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(20, 146, 228, 0.3), 0 0 0 10px rgba(20, 146, 228, 0);
    }
}

@media (max-width: 900px) {
    .mid-cta-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-6);
        padding: var(--space-8) var(--space-6);
    }

    .mid-cta-icon {
        width: 56px;
        height: 56px;
    }

    .mid-cta-icon svg {
        width: 28px;
        height: 28px;
    }

    .mid-cta-text h3 {
        font-size: 1.2rem;
    }

    .mid-cta-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .mid-cta-strip {
        padding: var(--space-10) 0;
    }

    .mid-cta-content {
        padding: var(--space-6) var(--space-5);
        gap: var(--space-5);
    }

    .mid-cta-icon {
        width: 48px;
        height: 48px;
    }

    .mid-cta-icon svg {
        width: 24px;
        height: 24px;
    }

    .mid-cta-text h3 {
        font-size: 1.1rem;
    }

    .mid-cta-strip .btn-primary {
        padding: var(--space-3) var(--space-6);
        font-size: 0.9rem;
    }
}

/* =============================================================================
   Google Reviews Section (Full)
   ============================================================================= */
.google-reviews-section {
    padding: var(--space-20) 0;
    background: var(--bg-dark-secondary);
    position: relative;
}

.reviews-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.google-badge-large {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-6);
    margin-bottom: var(--space-6);
}

.google-badge-large .google-logo {
    flex-shrink: 0;
}

.rating-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stars-large {
    font-size: 1.5rem;
    color: #FBBC05;
    letter-spacing: 2px;
}

.rating-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.reviews-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.reviews-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all var(--transition);
}

.review-card:hover {
    border-color: var(--border-default);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.review-stars {
    font-size: 1.25rem;
    color: #FBBC05;
    letter-spacing: 2px;
    margin-bottom: var(--space-4);
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-primary), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.reviews-cta {
    display: inline-flex;
    margin: 0 auto;
}

.google-reviews-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =============================================================================
   CTA Banner
   ============================================================================= */
.cta-banner {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 146, 228, 0.1) 0%, transparent 60%);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 60%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    margin-bottom: var(--space-4);
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--space-8);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Glowing Dots Animation */
.cta-glowing-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.glow-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    filter: drop-shadow(0 0 2px rgba(34, 211, 238, 0.6))
            drop-shadow(0 0 4px rgba(34, 211, 238, 0.3));
    animation: rain-fall 4s linear infinite;
    opacity: 0;
}

.glow-dot:nth-child(1) {
    left: 12%;
    animation-delay: 0s;
    animation-duration: 4s;
    animation-name: rain-fall-1;
}

.glow-dot:nth-child(2) {
    left: 25%;
    animation-delay: 1.2s;
    animation-duration: 4.3s;
    animation-name: rain-fall-2;
}

.glow-dot:nth-child(3) {
    left: 38%;
    animation-delay: 2.4s;
    animation-duration: 3.8s;
    animation-name: rain-fall-3;
}

.glow-dot:nth-child(4) {
    left: 51%;
    animation-delay: 0.6s;
    animation-duration: 4.2s;
    animation-name: rain-fall-4;
}

.glow-dot:nth-child(5) {
    left: 64%;
    animation-delay: 1.8s;
    animation-duration: 4s;
    animation-name: rain-fall-5;
}

.glow-dot:nth-child(6) {
    left: 77%;
    animation-delay: 3s;
    animation-duration: 4.4s;
    animation-name: rain-fall-6;
}

.glow-dot:nth-child(7) {
    left: 33%;
    animation-delay: 3.6s;
    animation-duration: 3.7s;
    animation-name: rain-fall-7;
}

.glow-dot:nth-child(8) {
    left: 88%;
    animation-delay: 0.8s;
    animation-duration: 4.1s;
    animation-name: rain-fall-8;
}

@keyframes rain-fall-1 {
    0% { top: -10%; opacity: 0; transform: translateX(0); }
    5% { opacity: 0.9; }
    50% { transform: translateX(-8px); }
    95% { opacity: 0.9; }
    100% { top: 110%; opacity: 0; transform: translateX(-15px); }
}

@keyframes rain-fall-2 {
    0% { top: -10%; opacity: 0; transform: translateX(0); }
    5% { opacity: 0.9; }
    50% { transform: translateX(12px); }
    95% { opacity: 0.9; }
    100% { top: 110%; opacity: 0; transform: translateX(20px); }
}

@keyframes rain-fall-3 {
    0% { top: -10%; opacity: 0; transform: translateX(0); }
    5% { opacity: 0.9; }
    50% { transform: translateX(-5px); }
    95% { opacity: 0.9; }
    100% { top: 110%; opacity: 0; transform: translateX(-10px); }
}

@keyframes rain-fall-4 {
    0% { top: -10%; opacity: 0; transform: translateX(0); }
    5% { opacity: 0.9; }
    50% { transform: translateX(15px); }
    95% { opacity: 0.9; }
    100% { top: 110%; opacity: 0; transform: translateX(25px); }
}

@keyframes rain-fall-5 {
    0% { top: -10%; opacity: 0; transform: translateX(0); }
    5% { opacity: 0.9; }
    50% { transform: translateX(-10px); }
    95% { opacity: 0.9; }
    100% { top: 110%; opacity: 0; transform: translateX(-18px); }
}

@keyframes rain-fall-6 {
    0% { top: -10%; opacity: 0; transform: translateX(0); }
    5% { opacity: 0.9; }
    50% { transform: translateX(8px); }
    95% { opacity: 0.9; }
    100% { top: 110%; opacity: 0; transform: translateX(12px); }
}

@keyframes rain-fall-7 {
    0% { top: -10%; opacity: 0; transform: translateX(0); }
    5% { opacity: 0.9; }
    50% { transform: translateX(-12px); }
    95% { opacity: 0.9; }
    100% { top: 110%; opacity: 0; transform: translateX(-22px); }
}

@keyframes rain-fall-8 {
    0% { top: -10%; opacity: 0; transform: translateX(0); }
    5% { opacity: 0.9; }
    50% { transform: translateX(10px); }
    95% { opacity: 0.9; }
    100% { top: 110%; opacity: 0; transform: translateX(16px); }
}

/* =============================================================================
   Contact Section
   ============================================================================= */
.contact {
    padding: var(--space-24) 0;
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
}

.contact-info h2 {
    margin-bottom: var(--space-4);
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-cyan);
}

.contact-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.contact-item p,
.contact-item a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-item a:hover {
    color: var(--accent-cyan);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
}

.contact-form h3 {
    margin-bottom: var(--space-6);
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    background: rgba(0, 0, 0, 0.3);
}

.contact-form .btn {
    margin-top: var(--space-4);
}

/* =============================================================================
   Footer
   ============================================================================= */
.footer {
    position: relative;
    padding: var(--space-12) 0 var(--space-8);
    background: linear-gradient(180deg, var(--bg-dark-secondary) 0%, rgba(10, 14, 20, 0.98) 100%);
    overflow: hidden;
}

/* Gradient accent line at top */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--blue-primary), var(--accent-cyan), transparent);
}

/* Subtle glow effect */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 150px;
    background: radial-gradient(ellipse at center top, rgba(20, 146, 228, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-6);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.footer-logo img {
    height: 44px;
    filter: drop-shadow(0 0 20px rgba(20, 146, 228, 0.3));
    transition: filter 0.3s ease;
}

.footer-logo:hover img {
    filter: drop-shadow(0 0 25px rgba(20, 146, 228, 0.5));
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-links .divider {
    color: var(--border-default);
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.02);
    padding: var(--space-2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-nav a {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: var(--space-2) var(--space-4);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-nav a:hover {
    color: var(--white);
    background: linear-gradient(135deg, rgba(20, 146, 228, 0.2) 0%, rgba(34, 211, 238, 0.1) 100%);
    box-shadow: 0 2px 12px rgba(20, 146, 228, 0.2);
}

.footer-nav a:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    padding-top: var(--space-6);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal-links {
    margin-top: var(--space-3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--accent-cyan);
}

.footer-legal-links .divider {
    color: var(--text-muted);
    opacity: 0.5;
}

/* =============================================================================
   Responsive Design
   ============================================================================= */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-12);
    }

    .hero-text {
        max-width: 100%;
        order: 2;
    }

    .purification-showcase {
        order: 1;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

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

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-cart {
        position: static;
        order: -1;
    }

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

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

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

    .upgrade-cards,
    .service-cards {
        grid-template-columns: 1fr;
    }

    .hero-logo img {
        width: 280px;
    }

    /* Ensure hero content is fully visible on mobile */
    .hero-content {
        padding: var(--space-4);
        gap: var(--space-8);
    }

    .hero-text {
        padding: 0 var(--space-2);
    }

    .hero-cta {
        flex-wrap: wrap;
        gap: var(--space-3);
    }

    .hero-cta .btn {
        flex: 1 1 auto;
        min-width: 140px;
    }

    .purification-showcase {
        max-width: 280px;
        margin: 0 auto;
    }

    .nav {
        padding: var(--space-1) var(--space-2);
    }

    .phone-link {
        padding: var(--space-2) var(--space-3);
        font-size: 0.8rem;
    }

    .phone-link span:not(.phone-icon) {
        display: none;
    }

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

    .footer-logo {
        flex-direction: column;
        gap: var(--space-2);
    }

    .footer-logo p {
        white-space: normal;
    }

    .footer-nav {
        justify-content: center;
    }

    .footer-nav a:not(:last-child)::after {
        display: none;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title-line {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .badge {
        padding: var(--space-1) var(--space-3);
        font-size: 0.75rem;
    }

    .btn-large {
        padding: var(--space-3) var(--space-6);
        font-size: 0.95rem;
    }

    .system-card {
        grid-template-columns: 1fr auto;
    }

    .system-icon {
        display: none;
    }

    .modal-content {
        padding: var(--space-6);
    }
}

/* =============================================================================
   Accessibility
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: rgba(34, 211, 238, 0.3);
    color: var(--text-primary);
}

/* =============================================================================
   Enhanced Visual Effects - Premium Polish
   ============================================================================= */
/* Noise texture overlay for depth */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Smooth page load animation */
@keyframes pageLoad {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body {
    animation: pageLoad 0.6s ease-out;
}

/* Enhanced hover states for cards */
.feature-card,
.stat-card,
.package-card,
.system-card,
.upgrade-card,
.service-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Staggered animation for feature cards */
.feature-card:nth-child(1) {
    animation: fadeSlideUp 0.6s ease-out 0.1s both;
}

.feature-card:nth-child(2) {
    animation: fadeSlideUp 0.6s ease-out 0.2s both;
}

.feature-card:nth-child(3) {
    animation: fadeSlideUp 0.6s ease-out 0.3s both;
}

.feature-card:nth-child(4) {
    animation: fadeSlideUp 0.6s ease-out 0.4s both;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Staggered animation for stats */
.stat-card:nth-child(1) {
    animation: fadeSlideUp 0.6s ease-out 0.15s both;
}

.stat-card:nth-child(2) {
    animation: fadeSlideUp 0.6s ease-out 0.25s both;
}

.stat-card:nth-child(3) {
    animation: fadeSlideUp 0.6s ease-out 0.35s both;
}

/* Hero entrance animations */
.hero-title-line {
    animation: heroTitleSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-title-line:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes heroTitleSlide {
    from {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-subtitle {
    animation: fadeSlideUp 0.8s ease-out 0.5s both;
}

.hero-badges {
    animation: fadeSlideUp 0.8s ease-out 0.6s both;
}

.hero-cta {
    animation: fadeSlideUp 0.8s ease-out 0.7s both;
}

.purification-showcase {
    animation: logoReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes logoReveal {
    from {
        opacity: 0;
        transform: scale(0.8);
        filter: blur(20px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* Button micro-interactions */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    transition: opacity 0.3s ease;
}

.btn:hover::after {
    opacity: 1;
}

/* Enhanced glow effects */
.btn-primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--accent-cyan) 100%);
    border-radius: inherit;
    z-index: -1;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover::before {
    opacity: 0.5;
}

/* Card glow on hover */
.feature-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--accent-cyan) 100%);
    z-index: -1;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s ease;
}

.feature-card:hover::after {
    opacity: 0.15;
}

/* Smooth underline for links */
.footer-links a {
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Enhanced scroll-triggered animations using intersection observer classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glass morphism enhancement */
.nav,
.card,
.modal-content {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* Refined shadows with layering */
.feature-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.15),
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(20, 146, 228, 0.1);
}

/* Gradient text shimmer effect for highlights */
.highlight {
    position: relative;
    background: linear-gradient(
        135deg,
        var(--accent-cyan) 0%,
        var(--blue-bright) 50%,
        var(--accent-cyan) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

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

    100% {
        background-position: 200% center;
    }
}

/* Refined border gradients */
.package-card.featured {
    position: relative;
}

.package-card.featured::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--blue-primary) 50%, var(--accent-teal) 100%);
    border-radius: inherit;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--blue-primary) 0%, var(--accent-cyan) 100%);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--blue-light) 0%, var(--accent-teal) 100%);
}

/* Refined typography kerning and spacing */
h1,
h2,
h3 {
    letter-spacing: -0.03em;
}

.hero-title-line {
    letter-spacing: -0.04em;
}

/* Enhanced icon container styling */
.feature-icon {
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--accent-cyan) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(10px);
}

.feature-card:hover .feature-icon::before {
    opacity: 0.4;
}

/* Water ripple effect on CTA hover */
@keyframes rippleEffect {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }

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

/* Stat number counting animation preparation */
.stat-number {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.05em;
}

/* Enhanced problem/solution visual contrast */
.problem-side {
    position: relative;
    overflow: hidden;
}

.problem-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #EF4444 0%, #F87171 100%);
}

.solution-side {
    position: relative;
    overflow: hidden;
}

.solution-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--success) 0%, #34D399 100%);
}

/* Floating label effect for form inputs */
.form-group {
    position: relative;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    transform: translateY(-1.5rem) scale(0.85);
    color: var(--accent-cyan);
}

/* Badge pulse animation refinement */
.badge:hover {
    animation: badgePulse 0.6s ease-out;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Enhanced trust indicators */
.trust-item svg {
    animation: checkPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes checkPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Smooth gradient transitions for backgrounds */
section {
    position: relative;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-subtle) 50%, transparent 100%);
    pointer-events: none;
}

/* =============================================================================
   MOBILE BOTTOM NAVIGATION
   Only shows on actual mobile/touch devices in PORTRAIT mode
   Header shows when device is in LANDSCAPE mode
   ============================================================================= */
/* Hidden by default */
.mobile-bottom-nav {
    display: none !important;
}

/* Hide header on mobile PORTRAIT mode */
@media (max-width: 768px) and (orientation: portrait) {
    .header-pill {
        display: none !important;
    }
}

/* Show header on mobile LANDSCAPE mode */
@media (max-width: 768px) and (orientation: landscape) {
    .mobile-bottom-nav {
        display: none !important;
    }

    .header-pill {
        display: flex !important;
    }
}

/* Show mobile bottom nav ONLY on portrait mode touch devices */
@media (max-width: 768px) and (hover: none) and (pointer: coarse) and (orientation: portrait) {
    /* Language toggle - horizontal bar extending across top of mobile nav */
    .lang-toggle-mobile {
        position: fixed;
        bottom: 68px;
        left: 0;
        right: 0;
        z-index: 9998;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 6px 8px;
        background: rgba(10, 22, 40, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(34, 211, 238, 0.4);
        border-bottom: 1px solid rgba(34, 211, 238, 0.3);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3),
            0 0 15px rgba(34, 211, 238, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
        animation: langPulse 3s ease-in-out infinite;
    }

    @keyframes langPulse {
        0%, 100% {
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3),
                0 0 15px rgba(34, 211, 238, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
        }
        50% {
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3),
                0 0 25px rgba(34, 211, 238, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
        }
    }

    .lang-toggle-mobile span {
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--text-muted);
        padding: 5px 16px;
        border-radius: var(--radius-full);
        transition: all var(--transition);
        cursor: pointer;
        border: none;
        background: none;
        letter-spacing: 0.5px;
    }

    .lang-toggle-mobile span.active {
        color: var(--white);
        background: linear-gradient(135deg, var(--blue-primary), var(--accent-cyan));
        box-shadow: 0 2px 10px rgba(20, 146, 228, 0.4);
    }

    .lang-toggle-mobile span:hover:not(.active) {
        color: var(--text-primary);
        background: rgba(255, 255, 255, 0.08);
    }

    .mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(20, 146, 228, 0.3);
        padding: 6px 4px;
        padding-bottom: max(6px, env(safe-area-inset-bottom));
        z-index: 9999;
        justify-content: space-between;
        align-items: center;
        gap: 2px;
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5),
            0 -2px 10px rgba(20, 146, 228, 0.15);
    }

    /* Gradient glow line at top */
    .mobile-bottom-nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg,
            rgba(20, 146, 228, 0.3),
            rgba(34, 211, 238, 0.8),
            rgba(20, 146, 228, 0.3)
        );
    }

    /* Regular nav links - compact style */
    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 6px 3px;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 0.65rem;
        font-weight: 500;
        letter-spacing: 0.01em;
        transition: all var(--transition);
        border-radius: 8px;
        flex: 1;
        max-width: 65px;
        min-width: 0;
    }

    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav a.active {
        color: var(--text-primary);
        background: rgba(255, 255, 255, 0.08);
    }

    .mobile-bottom-nav a svg {
        width: 22px;
        height: 22px;
        margin-bottom: 2px;
        transition: all var(--transition);
        flex-shrink: 0;
    }

    .mobile-bottom-nav a span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    /* Shop Systems button & Get Started button - both highlighted CTAs */
    .mobile-bottom-nav a.mobile-nav-shop,
    .mobile-bottom-nav a.mobile-nav-cta {
        color: var(--white) !important;
        background: linear-gradient(135deg, var(--blue-primary), var(--accent-cyan)) !important;
        box-shadow: 0 3px 15px rgba(20, 146, 228, 0.5),
            0 0 20px rgba(34, 211, 238, 0.3);
        font-weight: 700;
        border-radius: 10px;
        padding: 6px 3px;
    }

    .mobile-bottom-nav a.mobile-nav-shop:hover,
    .mobile-bottom-nav a.mobile-nav-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 20px rgba(20, 146, 228, 0.6),
            0 0 25px rgba(34, 211, 238, 0.4);
        background: linear-gradient(135deg, var(--blue-primary), var(--accent-cyan)) !important;
    }

    /* Phone icon */
    .mobile-bottom-nav a.mobile-nav-phone {
        color: var(--accent-cyan);
        background: rgba(34, 211, 238, 0.1);
        border: 1px solid rgba(34, 211, 238, 0.3);
        box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
    }

    .mobile-bottom-nav a.mobile-nav-phone:hover {
        color: var(--white);
        background: rgba(34, 211, 238, 0.2);
        border-color: rgba(34, 211, 238, 0.5);
        box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
    }

    /* Header hidden on mobile portrait */
    .header-reviews-extension {
        display: none;
    }

    /* Add padding to body to account for bottom nav */
    body {
        padding-bottom: 85px;
        padding-top: 0;
    }

    /* Footer margin to not be hidden by nav */
    .footer {
        margin-bottom: 0;
        padding-bottom: 20px;
    }

    /* Ensure hero has proper padding for mobile */
    .hero {
        padding-top: 40px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-content {
        width: 100%;
    }
}

/* Extra small screens - compact spacing */
@media (max-width: 400px) and (orientation: portrait) {
    .mobile-bottom-nav {
        padding: 6px 4px;
        gap: 2px;
    }

    .mobile-bottom-nav a {
        padding: 6px 8px;
        font-size: 0.65rem;
        min-width: 50px;
    }

    .mobile-bottom-nav a svg {
        width: 18px;
        height: 18px;
        margin-bottom: 3px;
    }

    .mobile-bottom-nav a.mobile-nav-cta {
        padding: 8px 10px;
    }
}
