/* ==========================================================================
   Visual Upgrade Styles for index.html
   ========================================================================== */

/* 1. Hero Background Slider */
.hero {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: -99;
    transform: scale(1.05);
    transition: opacity 2s ease-in-out, transform 2s ease-out;
}

.hero-slide-1 { background-image: url('../assets/images/hero-1-horizontal.jpg'); }
.hero-slide-2 { background-image: url('../assets/images/hero-2-horizontal.jpg'); }
.hero-slide-3 { background-image: url('../assets/images/hero-3-horizontal.jpg'); }
.hero-slide-4 { background-image: url('../assets/images/hero-4-horizontal.jpg'); }
.hero-slide-5 { background-image: url('../assets/images/hero-5-horizontal.jpg'); }

/* @media (max-width: 768px) {
    .hero-slide-1 { background-image: url('../assets/images/hero-1-vertical.jpg'); }
    .hero-slide-2 { background-image: url('../assets/images/hero-2-vertical.jpg'); }
    .hero-slide-3 { background-image: url('../assets/images/hero-3-vertical.jpg'); }
    .hero-slide-4 { background-image: url('../assets/images/hero-4-vertical.jpg'); }
    .hero-slide-5 { background-image: url('../assets/images/hero-5-vertical.jpg'); }
} */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0.65;
    z-index: -98;
}


.hero-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero-centered .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-centered .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-centered .hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.hero-centered .trusted-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.hero-centered .trusted-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 15px;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.cta-bg-slide.active {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.hero-inner {
    position: relative;
    z-index: 2;
    /* above background and overlay */
}

/* Force white text and white logo when navbar is transparent at top, in BOTH modes */
.navbar:not(.scrolled) .logo-light {
    display: none !important;
}
.navbar:not(.scrolled) .logo-dark {
    display: block !important;
}
.navbar:not(.scrolled) .nav-links a,
.navbar:not(.scrolled) .btn-ghost,
.navbar:not(.scrolled) .theme-toggle,
.navbar:not(.scrolled) .lang-btn,
.navbar:not(.scrolled) .lang-btn .lang-text {
    color: #ffffff !important;
    transition: transform 0.2s ease, border-color 0.2s ease !important;
}

/* Ensure links can transform */
.navbar:not(.scrolled) .nav-links a {
    display: inline-block;
}

.navbar:not(.scrolled) .lang-btn {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}
.navbar:not(.scrolled) .theme-toggle {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}
.navbar:not(.scrolled) .btn-ghost {
    background: transparent !important;
}
.navbar:not(.scrolled) .nav-toggle span {
    background: #ffffff !important;
}

/* Hover tilt-up effect without color change */
.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .btn-ghost:hover,
.navbar:not(.scrolled) .theme-toggle:hover,
.navbar:not(.scrolled) .lang-btn:hover {
    transform: translateY(-2px) !important;
    color: #ffffff !important;
    background: transparent !important;
}
.navbar:not(.scrolled) .theme-toggle:hover,
.navbar:not(.scrolled) .lang-btn:hover {
    border-color: rgba(255, 255, 255, 0.8) !important;
}

/* 2. Environments Masonry Grid */
.environments-section {
    padding: 80px 0;
    background: var(--surface-1);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    margin-top: 40px;
}

.masonry-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.masonry-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: #fff;
    transform: translateY(20px);
    opacity: 0.9;
    transition: all 0.4s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

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

.masonry-overlay h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.masonry-overlay p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 900px) {
    .masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .masonry-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* 3. Features Visual Upgrade */
.feature-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-visual-image {
    width: 100%;
    height: 240px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Increase text sizes in feature cards by ~3-4px to compensate for scale */
.fv-body .stage-btn {
    font-size: 16px;
}

.fv-body .stage-num {
    font-size: 13px;
}

.fv-body .stage-detail-box h4 {
    font-size: 19px;
}

.fv-body .stage-detail-box p {
    font-size: 16px;
}

.fv-body .stage-removes {
    font-size: 15px;
}

.fv-body .calc-header {
    font-size: 16px;
}

.fv-body .calc-liters {
    font-size: 25px;
}

.fv-body .cbr-label {
    font-size: 15px;
}

.fv-body .cbr-label span {
    font-size: 12px;
}

.fv-body .cbr-val {
    font-size: 14px;
}

.fv-body .cr-text {
    font-size: 14px;
}

.fv-body .cr-amount {
    font-size: 33px;
}

.fv-body .cr-period {
    font-size: 16px;
}

.fv-body .zone-btn {
    font-size: 16px;
}

.fv-body .zpd-label {
    font-size: 14px;
}

.fv-body .zpd-amount {
    font-size: 37px;
}

.fv-body .za-label {
    font-size: 15px;
}

.fv-body .za-tag {
    font-size: 15px;
}

.feature-visual-image .feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-panel.active .feature-visual-image .feature-img {
    animation: zoomInFeature 0.8s forwards;
}

@keyframes zoomInFeature {
    from {
        transform: scale(1.1);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- Premium CTA Upgrade --- */
.cta-carousel-section {
    position: relative;
    overflow: hidden;
    padding: 140px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.cta-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1.5s ease-in-out, transform 10s ease-out;
}

.cta-overlay-premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 10;
}

.cta-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.cta-glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 80px 60px;
    max-width: 850px;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.cta-glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Glass Button for Hero CTA */
.btn-glass {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.cta-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60A5FA;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    margin-bottom: 24px;
}

.cta-premium-title {
    color: #fff;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gradient-text-premium {
    background: linear-gradient(135deg, #60A5FA 0%, #fff 50%, #3B82F6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-premium-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    margin: 0 auto 48px;
    max-width: 600px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-glow {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: #fff;
    border: none;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 100px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-arrow-right {
    transition: transform 0.3s ease;
}

.btn-glow:hover .btn-arrow-right {
    transform: translateX(4px);
}

.btn-glass-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-glass-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-glass-card {
        padding: 50px 30px;
        border-radius: 20px;
    }

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

    .cta-actions a {
        width: 100%;
        justify-content: center;
    }
}

/* --- New Sections: Health, Testimonials, FAQ --- */

/* Health Section */
.health-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.health-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.health-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/5;
}

.health-badge-floating {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateX(-40px);
}

.health-badge-floating svg {
    color: var(--accent);
}

.health-badge-floating span {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 15px;
}

.health-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.health-benefits-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.health-benefits-list li {
    display: flex;
    gap: 16px;
}

.hb-icon {
    width: 48px;
    height: 48px;
    background: var(--surface-2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.hb-text h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-weight: 700;
}

.hb-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .health-split {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: var(--surface-2);
    overflow: hidden;
}

.testimonials-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
    min-width: 100%;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.t-stars {
    color: #F59E0B;
    font-size: 24px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.t-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 30px;
    font-style: italic;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.t-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.t-author h4 {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 4px;
}

.t-author span {
    font-size: 14px;
    color: var(--text-secondary);
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.t-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--surface-1);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.t-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--accent);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
}

/* 3.5 Premium Dashboards (Ultra-Superior Cards) */
.premium-dashboards {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 60px;
}

.dash-card {
    position: relative;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.light-mode .dash-card {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.dash-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.dash-glow-bg {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.dash-glow-bg.green-glow {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
}

.dash-glow-bg.blue-glow {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
}

.dash-content-split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.dash-content-split.reverse .dash-info {
    order: 2;
}

.dash-content-split.reverse .dash-visual {
    order: 1;
}

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

.dash-info h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.dash-info p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Icons */
.feat-icon {
    width: 56px;
    height: 56px;
    background: var(--surface-2);
    border: 1px solid var(--accent-border);
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--accent);
    margin: 0 auto 24px auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feat-icon.green-icon {
    color: #10B981;
    border-color: rgba(16, 185, 129, 0.2);
}

.feat-icon.blue-icon {
    color: #3B82F6;
    border-color: rgba(59, 130, 246, 0.2);
}

/* HUD Stats (Purification) */
.hud-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.hud-stat-box {
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hud-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.hud-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.hud-value.active-pulse {
    color: #10B981;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-value.active-pulse::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { opacity: 0.5; box-shadow: 0 0 5px #10B981; }
    50% { opacity: 1; box-shadow: 0 0 15px #10B981; }
    100% { opacity: 0.5; box-shadow: 0 0 5px #10B981; }
}

/* Tech Panel & Inspector Upgrade */
.dash-tech-panel {
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.2);
}

.tech-panel-header {
    background: var(--surface-3);
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10B981;
}

.premium-inspector {
    padding: 24px;
    gap: 24px;
}

.glass-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.light-mode .glass-box {
    background: rgba(255, 255, 255, 0.5);
}

/* ROI Grid (Savings) */
.roi-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.roi-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface-2);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.roi-icon {
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: bold;
    font-size: 18px;
}

.roi-icon.green-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.roi-data {
    display: flex;
    flex-direction: column;
}

.roi-title {
    font-size: 13px;
    color: var(--text-muted);
}

.roi-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Calculator Visual Upgrade */
.premium-calc {
    background: var(--surface-2);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.calc-title-sm {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.calc-liters-display {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.premium-slider {
    width: 100%;
    margin: 24px 0;
    accent-color: #10B981;
}

.calc-result-box {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px dashed var(--border-subtle);
    text-align: center;
}

.cr-amount-glow {
    font-size: 48px;
    font-weight: 800;
    color: #10B981;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    line-height: 1;
    margin-top: 8px;
}

/* Logistics Tracking */
.live-tracking-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    position: relative;
    padding: 0 10px;
}

.track-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
    position: relative;
}

.track-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--surface-3);
    border: 2px solid var(--border-subtle);
    display: grid;
    place-items: center;
    font-size: 12px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.track-step.completed .track-dot {
    background: #3B82F6;
    border-color: #3B82F6;
    color: white;
}

.track-step.active .track-dot {
    border-color: #3B82F6;
    background: var(--surface-1);
}

.track-dot.pulse-dot {
    position: relative;
}

.track-dot.pulse-dot::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #3B82F6;
    border-radius: 50%;
    box-shadow: 0 0 10px #3B82F6;
    animation: pulse 2s infinite;
}

.track-step span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.track-step.active span, .track-step.completed span {
    color: var(--text-primary);
}

.track-line {
    flex: 1;
    height: 2px;
    background: var(--border-subtle);
    margin: -24px 8px 0 8px;
    z-index: 1;
}

.track-line.active-line {
    background: #3B82F6;
}

/* Map UI Card */
.map-ui-card {
    background: var(--surface-2);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.map-bg {
    height: 200px;
    position: relative;
}

.map-image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--surface-2) 0%, transparent 100%);
}

.map-content {
    padding: 24px;
    position: relative;
    z-index: 2;
}

.map-content h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.zone-select-premium {
    background: var(--surface-3);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.zone-result-card {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zr-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.zr-price {
    font-size: 20px;
    font-weight: 800;
    color: #3B82F6;
}

@media (max-width: 1024px) {
    .dash-content-split, .dash-content-split.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dash-content-split.reverse .dash-info {
        order: 1;
    }
    .dash-content-split.reverse .dash-visual {
        order: 2;
    }

    .dash-card {
        padding: 32px 24px;
    }

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

/* 4. How It Works Section */
.how-it-works-section {
    padding: 100px 0;
    background: var(--surface-2);
}

.hiw-interactive-container {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Left Side: Tabs */
.hiw-tabs-list {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 24px;
}

.hiw-progress-line {
    position: absolute;
    left: 0;
    top: 30px;
    bottom: 30px;
    width: 3px;
    background: var(--surface-2);
    border-radius: 3px;
    border: 1px solid var(--border-subtle);
}

.hiw-progress-fill {
    position: absolute;
    left: -1px;
    top: -1px;
    width: calc(100% + 2px);
    background: var(--accent);
    border-radius: 3px;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 33.33%;
    box-shadow: 0 0 12px var(--accent-glow);
}

.hiw-tab {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: transparent;
    border: none;
    padding: 24px;
    text-align: left;
    cursor: pointer;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.hiw-tab:hover {
    background: var(--surface-1);
    border-color: var(--border-subtle);
}

.hiw-tab.active {
    background: var(--surface-1);
    border-color: var(--accent-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hiw-tab-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--surface-2);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.hiw-tab.active .hiw-tab-number {
    background: var(--accent);
    color: white;
    border-color: var(--accent-light);
    box-shadow: 0 0 15px var(--accent-glow);
}

.hiw-tab-content h3 {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.hiw-tab.active .hiw-tab-content h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.hiw-tab-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.hiw-tab.active .hiw-tab-content p {
    max-height: 100px;
    opacity: 1;
    color: var(--text-secondary);
}

/* Right Side: Image Display */
.hiw-image-display {
    flex: 1;
    position: relative;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 1px solid var(--border-subtle);
}

.hiw-image-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hiw-image-item.active {
    opacity: 1;
    visibility: visible;
}

.hiw-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.hiw-image-item.active img {
    transform: scale(1);
}

.hiw-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
}

@media (max-width: 900px) {
    .hiw-interactive-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .hiw-image-display {
        width: 100%;
        height: 300px;
        order: -1;
    }
    
    .hiw-tabs-list {
        padding-left: 16px;
    }
}

/* B2B SECTION */
.b2b-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.b2b-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/Office.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.b2b-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.6) 100%);
    z-index: -1;
}

[data-theme="light"] .b2b-bg::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.b2b-glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 45px;
    max-width: 450px;
    box-shadow: 0 18px 38px -9px rgba(0, 0, 0, 0.25);
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

[data-theme="light"] .b2b-glass-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.b2b-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

.b2b-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
    border-radius: 38px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

[data-theme="light"] .b2b-badge {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
}

.b2b-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: #ffffff;
    line-height: 1.1;
}

[data-theme="light"] .b2b-title {
    color: var(--text-color);
}

.b2b-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    line-height: 1.6;
}

[data-theme="light"] .b2b-desc {
    color: var(--text-color-light);
}

.b2b-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.b2b-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.85rem;
}

[data-theme="light"] .b2b-benefit {
    color: var(--text-color);
}

.b2b-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 102, 204, 0.2));
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
}
.b2b-icon svg {
    width: 18px;
    height: 18px;
}

[data-theme="light"] .b2b-icon {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 212, 255, 0.1));
    color: var(--primary-color);
    border: 1px solid rgba(0, 102, 204, 0.2);
}

@media (max-width: 768px) {
    .b2b-title {
        font-size: 2.2rem;
    }
    .b2b-glass-card {
        padding: 40px 30px;
    }
    .b2b-bg {
        background-attachment: scroll;
    }
}

/* --------------------------------------------------------------------------
   11. Environments Modal
   -------------------------------------------------------------------------- */
.env-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.env-modal.active {
    opacity: 1;
    visibility: visible;
}

.env-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.env-modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.env-modal.active .env-modal-content {
    transform: translateY(0) scale(1);
}

.env-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.env-modal-close:hover {
    background: var(--accent);
    transform: scale(1.1);
}

.env-modal-img-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.env-modal-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--surface-1), transparent);
}

.env-modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.env-modal-body {
    padding: 10px 40px 40px;
    text-align: center;
}

.env-modal-body h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.env-modal-body p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.env-modal-actions .btn {
    width: 100%;
}

@media (max-width: 768px) {
    .env-modal {
        align-items: flex-end;
    }
    
    .env-modal-content {
        width: 100%;
        max-width: 100%;
        border-radius: 32px 32px 0 0;
        transform: translateY(100%);
    }

    .env-modal.active .env-modal-content {
        transform: translateY(0);
    }
}