/* ============================================
   GasSafe Landing Page — Design System & Styles
   Mobile-first | High-converting | Trust-driven
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800&family=Poppins:ital,wght@0,300;1,300&family=Work+Sans:wght@300;500;600&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors */
    --clr-primary: #0a445a;
    --clr-primary-dark: #073041;
    --clr-primary-light: #e1ebef;
    --clr-accent: #DC2626;
    --clr-accent-dark: #B91C1C;
    --clr-danger: #DC2626;
    --clr-danger-light: #FEE2E2;

    /* Backgrounds */
    --clr-bg-light: #FFFFFF;
    --clr-bg-dark: #0F1419;
    --clr-bg-darker: #0A0E12;
    --clr-bg-subtle: #F7F9FC;
    --clr-bg-blue-tint: #f3f3f3;
    --clr-bg-card: #FFFFFF;
    --clr-bg-card-dark: #1A2028;

    /* Text */
    --clr-text-primary: #1A1A2E;
    --clr-text-secondary: #6B7280;
    --clr-text-tertiary: #9CA3AF;
    --clr-text-on-dark: #F0F2F5;
    --clr-text-on-dark-secondary: #A0AAB4;

    /* Borders */
    --clr-border: #E5E7EB;
    --clr-border-dark: #2A3038;

    /* Typography */
    --ff-heading: 'Outfit', sans-serif;
    --ff-body: 'Inter', sans-serif;

    /* Font Sizes (Mobile-first) */
    --fs-hero: clamp(1.75rem, 5vw, 3rem);
    --fs-h2: clamp(1.5rem, 4vw, 2.25rem);
    --fs-h3: clamp(1.125rem, 3vw, 1.5rem);
    --fs-body: clamp(0.938rem, 2vw, 1.125rem);
    --fs-small: clamp(0.813rem, 1.5vw, 0.875rem);
    --fs-xs: 0.75rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-section: clamp(3.5rem, 8vw, 6rem);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow-primary: 0 0 30px rgba(10, 68, 90, 0.25);

    /* Transitions */
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s var(--ease-out);
    --transition-slow: all 0.5s var(--ease-out);

    /* Layout */
    --max-width: 1200px;
    --bottom-cta-height: 68px;
}


/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--clr-text-primary);
    background-color: var(--clr-bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ---------- Utility Classes ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

.section-padding {
    padding: var(--space-section) 0;
}

.section-dark {
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-on-dark);
}

.section-subtle {
    background-color: var(--clr-bg-subtle);
}

.section-blue-tint {
    background-color: var(--clr-bg-blue-tint);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--clr-primary-light);
    color: var(--clr-primary);
    font-size: var(--fs-small);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}

.section-dark .section-label {
    background: rgba(10, 68, 90, 0.15);
}

.section-title {
    font-family: var(--ff-heading);
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: var(--fs-body);
    color: var(--clr-text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 540px;
}

.section-dark .section-subtitle {
    color: var(--clr-text-on-dark-secondary);
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--ff-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    color: #fff;
    box-shadow: var(--shadow-glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(10, 68, 90, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-whatsapp {
    background: transparent;
    color: #25D366;
    border: 2px solid #25D366;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #fff;
    transform: translateY(-2px);
}

/* WhatsApp on dark backgrounds */
.hero .btn-whatsapp,
.final-cta .btn-whatsapp {
    color: #4ADE80;
    border-color: #4ADE80;
}

.hero .btn-whatsapp:hover,
.final-cta .btn-whatsapp:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.btn-outline {
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--clr-primary);
    color: #fff;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-full {
    width: 100%;
}

.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ---------- Cards ---------- */
.card {
    background: var(--clr-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--clr-border);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-dark {
    background: var(--clr-bg-card-dark);
    border-color: var(--clr-border-dark);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--clr-primary-light);
    color: var(--clr-primary);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    flex-shrink: 0;
}

.section-dark .card-icon {
    background: rgba(10, 68, 90, 0.15);
}

.card-title {
    font-family: var(--ff-heading);
    font-size: var(--fs-h3);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.card-text {
    font-size: var(--fs-small);
    color: var(--clr-text-secondary);
    line-height: 1.5;
}

.section-dark .card-text {
    color: var(--clr-text-on-dark-secondary);
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ============================================
   STICKY TOP NAVIGATION
   ============================================ */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-base);
    background: transparent;
    padding: 8px 0;
}

.top-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.top-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--clr-text-primary);
    transition: var(--transition-base);
    z-index: 10;
}

.top-nav.scrolled .nav-logo {
    color: var(--clr-text-primary);
}

.nav-logo svg {
    width: 28px;
    height: 28px;
}

.nav-logo-highlight {
    color: var(--clr-primary);
}

.top-nav.scrolled .nav-logo-highlight {
    color: var(--clr-primary);
}

.nav-logo-img {
    width: 160px;
    height: auto;
    display: block;
    object-fit: contain;
    transition: opacity 0.3s var(--ease-out);
}

.nav-logo {
    position: relative;
    min-width: 160px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-logo-img {
        width: 200px;
    }

    .nav-logo {
        min-width: 200px;
    }
}

/* White logo is relative to drive the container height */
.nav-logo .nav-logo-white {
    position: relative;
}

/* Color logo overlays the white one for crossfade */
.nav-logo .nav-logo-color {
    position: absolute;
    top: 0;
    left: 0;
}

.nav-logo-white {
    opacity: 1;
}

.nav-logo-color {
    opacity: 0;
}

.top-nav.scrolled .nav-logo-white {
    opacity: 0;
}

.top-nav.scrolled .nav-logo-color {
    opacity: 1;
}

.nav-links {
    display: none;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--clr-text-primary);
    transition: var(--transition-base);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    transition: var(--transition-base);
}

.nav-links a:hover::after {
    width: 100%;
}

.top-nav.scrolled .nav-links a {
    color: var(--clr-text-secondary);
}

.top-nav.scrolled .nav-links a:hover {
    color: var(--clr-primary);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

/* Mobile hamburger */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 10;
}

.nav-hamburger span {
    width: 22px;
    height: 2px;
    background: var(--clr-text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.top-nav.scrolled .nav-hamburger span {
    background: var(--clr-text-primary);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 768px) {
    .nav-hamburger {
        display: none;
    }
}

/* Mobile nav menu */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 20, 25, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-base);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav a {
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--clr-text-on-dark);
    transition: var(--transition-base);
}

.mobile-nav a:hover {
    color: var(--clr-primary);
}

/* ============================================
   SECTION 1: HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--clr-bg-light);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.7) 15%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 var(--space-md) var(--space-xl);
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(10, 68, 90, 0.2);
    border: 1px solid rgba(10, 68, 90, 0.3);
    border-radius: var(--radius-full);
    color: var(--clr-primary-dark);
    font-size: var(--fs-small);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    backdrop-filter: blur(8px);
}

.hero-title {
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(30px, 6vw, 58px);
    /* 60px max size */
    font-weight: 300;
    font-style: normal;
    line-height: 1.15;
    color: rgb(51, 51, 51);
    margin-bottom: var(--space-xs);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #DC2626, #EF4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    color: rgb(51, 51, 51);
}

.hero-feature svg {
    width: 20px;
    height: 20px;
    color: #DD4454;
    flex-shrink: 0;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
}

.hero-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #FBBF24;
}

.hero-stars svg {
    width: 18px;
    height: 18px;
}

.hero-trust-text {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 15px;
    color: rgb(51, 51, 51);
}

.hero-trust-text strong {
    color: rgb(51, 51, 51);
}

.hero-price-card {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: var(--space-lg);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
}

.hero-price-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--clr-text-secondary);
    font-weight: 600;
}

.hero-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.hero-price-current {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1;
    color: rgb(51, 51, 51);
}

.hero-price-old {
    font-family: 'Work Sans', sans-serif;
    font-size: var(--fs-small);
    color: var(--clr-text-tertiary);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.hero-price-note {
    font-size: 10px;
    color: var(--clr-text-secondary);
}

.hero-ctas {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Match Razorpay button height */
.hero-ctas .btn-whatsapp,
.final-cta-buttons .btn-whatsapp,
.bottom-cta-buttons .btn-whatsapp {
    height: 46px;
    width: 54px;
    padding: 0;
    font-size: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-ctas .razorpay-btn-wrapper,
.final-cta-buttons .razorpay-btn-wrapper {
    height: 46px;
    display: inline-flex;
    align-items: center;
}

.hero-scroll-hint {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--clr-text-secondary);
    font-size: var(--fs-xs);
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@media (min-width: 768px) {
    .hero-content {
        padding: 0 var(--space-xl) var(--space-3xl);
        max-width: 850px;
        margin: 0 auto 0 0;
        padding-left: max(var(--space-xl), calc((100vw - var(--max-width))/2 + var(--space-xl)));
    }

    .hero-price-card {
        padding: 14px 18px;
        gap: 4px;
    }

    .hero-price-current {
        font-size: 40px;
    }

    .hero-price-label,
    .hero-price-note {
        font-size: var(--fs-xs);
    }

    .hero-title-nowrap {
        white-space: nowrap;
    }

    .hero-feature {
        font-size: 16px;
    }

    .hero-badge,
    .hero-features {
        margin-bottom: var(--space-lg);
    }

    .hero-title {
        margin-bottom: var(--space-md);
    }

    .hero-trust {
        margin-bottom: var(--space-xl);
    }

    .hero-trust-text {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .hero {
        align-items: center;
    }

    .hero-content {
        padding-top: 100px;
        padding-bottom: 0;
    }
}

/* ============================================
   SECTION 2: PROBLEM AWARENESS
   ============================================ */
.problem {
    background: var(--clr-bg-light);
    color: var(--clr-text-primary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

@media (min-width: 640px) {
    .problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.problem-stat {
    background: #0a445a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition-base);
    box-shadow: 0 8px 30px rgba(10, 68, 90, 0.15);
}

.problem-stat:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 68, 90, 0.25);
}

.problem-stat-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-xs);
    height: 32px;
    /* Roughly 2rem matches old font-size */
}

.stat-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.8;
}

.problem-stat-number {
    font-family: var(--ff-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.problem-stat-label {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.9) !important;
    margin-top: 4px;
}

.problem-closing {
    text-align: center;
    font-size: var(--fs-h3);
    font-family: var(--ff-heading);
    font-weight: 600;
    color: var(--clr-text-primary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.4;
}

.problem-closing em {
    color: var(--clr-primary);
    font-style: normal;
}

/* ============================================
   FLOATING PRODUCT VIDEO
   ============================================ */
.floating-video-section {
    background: transparent;
    padding: 0;
    position: relative;
    z-index: 5;
    margin-top: -40px;
    margin-bottom: -40px;
    pointer-events: none;
    /* Let clicks pass through if needed, though mostly visual */
}

@media (min-width: 768px) {
    .floating-video-section {
        margin-top: -100px;
        margin-bottom: -100px;
    }
}

.floating-video-wrapper {
    max-width: 700px;
    /* Adjust based on actual video size */
    margin: 0 auto;
    position: relative;
    padding: 0 var(--space-md);
    /* animation: float 6s ease-in-out infinite; */
}

.floating-product-video {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
    /* Helps hide any slightly off-white background in the video */
    pointer-events: auto;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ============================================
   SECTION 3: SOLUTION INTRO
   ============================================ */
.solution {
    background: var(--clr-bg-blue-tint);
    border-top: 1px solid rgba(10, 68, 90, 0.1);
    border-bottom: 1px solid rgba(10, 68, 90, 0.1);
    overflow: hidden;
}

@media (min-width: 768px) {
    .solution {
        padding-top: 160px;
        padding-bottom: 96px;
    }
}

.solution-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.solution-image {
    position: relative;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.solution-image img {
    border-radius: var(--radius-xl);
    position: relative;
    z-index: 1;
}

/* .solution-image::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(10, 68, 90, 0.1) 0%, transparent 70%);
    border-radius: var(--radius-xl);
    z-index: 0;
} */

.solution-text {
    text-align: center;
}

.solution-desc {
    font-size: var(--fs-body);
    color: var(--clr-text-secondary);
    max-width: 480px;
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
}

.solution-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
}

.solution-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--clr-primary-light);
    color: var(--clr-primary-dark);
    border-radius: var(--radius-full);
    font-size: var(--fs-small);
    font-weight: 600;
    transition: var(--transition-base);
}

.solution-pill:hover {
    background: var(--clr-primary);
    color: #fff;
}

@media (min-width: 768px) {
    .solution-layout {
        flex-direction: row;
        gap: var(--space-3xl);
        align-items: center;
    }

    .solution-text {
        text-align: left;
        flex: 1;
    }

    .solution-desc {
        margin: 0 0 var(--space-lg);
    }

    .solution-pills {
        justify-content: flex-start;
    }

    .solution-image {
        flex: 1;
        max-width: 50%;
    }
}

/* ============================================
   SECTION 4: HOW IT WORKS
   ============================================ */
.how-it-works {
    background: #ffffff;
}

.steps-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Connecting line */
.steps-container::before {
    content: '';
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 30px;
    width: 2px;
    background: linear-gradient(to bottom, var(--clr-primary), var(--clr-primary-light));
}

@media (min-width: 768px) {
    .steps-container::before {
        left: 5%;
        transform: translateX(-50%);
    }
}

.step {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    color: #fff;
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 50%;
    box-shadow: var(--shadow-glow-primary);
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    padding-top: 8px;
}

.step-title {
    font-family: var(--ff-heading);
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--clr-text-primary);
}

.step-desc {
    font-size: var(--fs-small);
    color: var(--clr-text-secondary);
    line-height: 1.5;
}

.step-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 3px 10px;
    background: var(--clr-primary-light);
    color: var(--clr-primary);
    font-size: var(--fs-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* ============================================
   SECTION 5: INSTALLATION CONFIDENCE
   ============================================ */
.installation {
    background: var(--clr-bg-blue-tint);
    border-top: 1px solid rgba(10, 68, 90, 0.1);
    border-bottom: 1px solid rgba(10, 68, 90, 0.1);
}

.install-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.install-card {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(10, 68, 90, 0.1);
    transition: var(--transition-base);
}

.install-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.install-card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-sm);
    height: 32px;
}

.install-card-title {
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--clr-text-primary);
    margin-bottom: 4px;
}

.install-card-desc {
    font-size: var(--fs-xs);
    color: var(--clr-text-secondary);
}

.install-testimonial {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-lg);
    background: #0a445a;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--clr-accent);
    box-shadow: var(--shadow-sm);
    color: #fff;
}

.install-testimonial-quote {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 16px;
    line-height: 24px;
    color: #fff !important;
    margin-bottom: var(--space-sm);
}

.install-testimonial-author {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.install-image {
    max-width: 400px;
    margin: 0 auto var(--space-xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* YouTube 16:9 Video Embed */
.install-video {
    max-width: 720px;
    margin: 0 auto var(--space-xl);
}

.video-wrapper-16x9 {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 9 / 16 = 0.5625 → 16:9 aspect ratio */
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--clr-bg-dark);
}

.video-wrapper-16x9 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   SECTION 6: BENEFITS
   ============================================ */
.benefits {
    background: var(--clr-bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.benefit-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--clr-bg-subtle);
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
    border-left: 4px solid var(--clr-primary);
    transition: var(--transition-base);
}

.benefit-card:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--clr-accent);
    transform: translateY(-2px);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-primary-light);
    color: var(--clr-primary);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--clr-text-primary);
}

.benefit-desc {
    font-size: var(--fs-small);
    color: var(--clr-text-secondary);
    line-height: 1.5;
}

/* ============================================
   SECTION 7: TRUST & AUTHORITY
   ============================================ */
.trust {
    background: var(--clr-bg-blue-tint);
    color: var(--clr-text-primary);
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 640px) {
    .trust-metrics {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-metric {
    text-align: center;
    padding: var(--space-lg);
    background: #fff;
    border: 1px solid rgba(10, 68, 90, 0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.trust-metric:hover {
    border-color: var(--clr-primary);
}

.trust-metric-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-sm);
    height: 32px;
}


.trust-metric-value {
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--clr-primary-dark);
    margin-bottom: 2px;
}

.trust-metric-label {
    font-size: var(--fs-xs);
    color: var(--clr-text-secondary);
}

.trust-compat {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.trust-compat-title {
    font-size: var(--fs-small);
    color: var(--clr-text-secondary);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.trust-compat-brands {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.trust-brand {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid rgba(10, 68, 90, 0.1);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--fs-small);
    color: var(--clr-text-primary);
    transition: var(--transition-base);
}

.trust-brand:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    background: #fff;
}

.trust-reviews {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .trust-reviews {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .trust-reviews {
        grid-template-columns: repeat(3, 1fr);
    }
}

.review-card {
    padding: var(--space-lg);
    background: #0a445a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: #fff;
}

.review-stars {
    display: flex;
    gap: 2px;
    color: #FBBF24;
    margin-bottom: var(--space-sm);
}

.review-stars svg {
    width: 16px;
    height: 16px;
}

.review-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 16px;
    line-height: 24px;
    color: #fff !important;
    margin-bottom: var(--space-sm);
}

.review-author {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ============================================
   SECTION 8: COMPARISON
   ============================================ */
.comparison {
    background: var(--clr-bg-light);
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--clr-border);
}

.comparison-table {
    width: 100%;
    min-width: 460px;
    border-collapse: collapse;
    font-size: var(--fs-small);
}

.comparison-table thead {
    background: var(--clr-bg-dark);
    color: var(--clr-text-on-dark);
}

.comparison-table th {
    padding: 14px 16px;
    font-family: var(--ff-heading);
    font-weight: 600;
    text-align: center;
    font-size: 0.95rem;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table th.highlight-col {
    background: var(--clr-primary);
    color: #fff;
    position: relative;
}

.comparison-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid var(--clr-border);
    transition: var(--transition-base);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--clr-text-primary);
}

.comparison-table td.highlight-col {
    background: var(--clr-primary-light);
    font-weight: 600;
    color: var(--clr-primary-dark);
}

.comparison-table tbody tr:hover {
    background: var(--clr-bg-subtle);
}

.comparison-table tbody tr:hover td.highlight-col {
    background: rgba(10, 68, 90, 0.15);
}

.comparison-check {
    color: var(--clr-primary);
    font-size: 1.2rem;
}

.comparison-cross {
    color: var(--clr-danger);
    font-size: 1.2rem;
}

.comparison-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    background: var(--clr-danger-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--clr-danger);
    font-size: var(--fs-small);
}

/* ============================================
   SECTION 9: SUPPORT & ASSURANCE
   ============================================ */
.assurance {
    background: var(--clr-bg-blue-tint);
}

.assurance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .assurance-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.assurance-card {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
    transition: var(--transition-base);
}

.assurance-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--clr-primary);
}

.assurance-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-sm);
    height: 40px;
}

.assurance-title {
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--clr-text-primary);
    margin-bottom: 4px;
}

.assurance-desc {
    font-size: var(--fs-xs);
    color: var(--clr-text-secondary);
}

/* ============================================
   SECTION 10: FAQ
   ============================================ */
.faq {
    background: var(--clr-bg-light);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--clr-primary);
}

.faq-item.active {
    border-color: var(--clr-primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    font-weight: 600;
    font-size: var(--fs-body);
    color: var(--clr-text-primary);
    transition: var(--transition-base);
    -webkit-tap-highlight-color: transparent;
    width: 100%;
    text-align: left;
    background: #fff;
}

.faq-item.active .faq-question {
    color: var(--clr-primary);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--clr-bg-subtle);
    transition: var(--transition-base);
}

.faq-item.active .faq-toggle {
    background: var(--clr-primary-light);
    color: var(--clr-primary);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.faq-answer-inner {
    padding: 0 var(--space-lg) var(--space-md);
    font-size: var(--fs-small);
    color: var(--clr-text-secondary);
    line-height: 1.7;
}

/* ============================================
   SECTION 11: FINAL CTA
   ============================================ */
.final-cta {
    background: var(--clr-bg-blue-tint);
    color: var(--clr-text-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(10, 68, 90, 0.06) 0%, transparent 60%);
    animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.final-cta-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto var(--space-lg);
    height: 48px;
    animation: pulse 2s ease-in-out infinite;
}

.final-cta-icon .stat-icon-img {
    width: 48px;
    height: 48px;
    filter: invert(1);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.final-cta .section-title {
    font-size: var(--fs-hero);
    color: var(--clr-text-primary);
    margin-bottom: var(--space-sm);
}

.final-cta-subtitle {
    font-size: var(--fs-h3);
    color: var(--clr-text-secondary);
    margin-bottom: var(--space-xl);
}

.final-cta-price {
    font-family: var(--ff-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--clr-primary-dark);
    margin-bottom: var(--space-lg);
}

.final-cta-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    max-width: 520px;
    margin: 0 auto var(--space-xl);
    flex-wrap: wrap;
}

.final-cta-trust {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    align-items: center;
}

.final-cta-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-small);
    color: var(--clr-text-secondary);
}

.final-cta-trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--clr-primary);
}

@media (min-width: 480px) {
    .final-cta-trust {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-lg);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--clr-bg-blue-tint);
    color: var(--clr-text-secondary);
    padding: var(--space-xl) 0;
    text-align: center;
    font-size: var(--fs-xs);
    border-top: 1px solid rgba(10, 68, 90, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--clr-text-secondary);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--clr-primary);
}

/* ============================================
   BOTTOM STICKY CTA
   ============================================ */
.bottom-cta {
    position: fixed;
    bottom: -100px;
    right: 20px;
    left: auto;
    z-index: 998;
    background: transparent;
    padding: 0;
    border: none;
    transition: bottom 0.4s var(--ease-out), opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.bottom-cta.visible {
    bottom: max(20px, env(safe-area-inset-bottom));
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.bottom-cta .container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    padding: 0;
    margin: 0;
    width: auto;
}

.bottom-cta-price {
    display: block;
    background: #fff;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--clr-primary-dark);
    white-space: nowrap;
    border: 1px solid var(--clr-border);
}

.bottom-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.bottom-cta .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

.bottom-cta .btn-whatsapp {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #25D366;
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    margin-right: 0;
}

.bottom-cta .btn-whatsapp:hover {
    transform: scale(1.1);
    background: #20BA56;
}

/* ============================================
   Hide bottom CTA when near final-cta section
   ============================================ */
.bottom-cta.hidden-final {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

/* Ensure body has room above bottom sticky bar */
body {
    padding-bottom: 0;
}

/* ============================================
   NAV CART ICON & BADGE
   ============================================ */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

/* ============================================== */
/*  Razorpay Payment Button wrapper                */
/* ============================================== */
.razorpay-btn-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.razorpay-btn-wrapper form {
    display: inline-block;
    margin: 0;
    padding: 0;
    width: auto;
    max-width: 100%;
    height: 100%;
}

.razorpay-payment-button {
    height: 46px !important;
}

/* In bottom sticky bar */
.bottom-cta .razorpay-btn-wrapper {
    height: 46px;
    display: inline-flex;
    align-items: center;
}

/* ============================================
   SOLUTION CAROUSEL / SLIDER
   ============================================ */
.solution-carousel {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: transparent;
}

.solution-carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.solution-carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.solution-carousel-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-xl);
}

/* Carousel navigation arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    color: var(--clr-text-primary);
}

.carousel-arrow:hover {
    background: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
    box-shadow: var(--shadow-glow-primary);
}

.carousel-arrow--prev {
    left: 8px;
}

.carousel-arrow--next {
    right: 8px;
}

.carousel-arrow svg {
    width: 18px;
    height: 18px;
}

/* Carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-md);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--clr-border);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    padding: 0;
}

.carousel-dot.active {
    background: var(--clr-primary);
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(10, 68, 90, 0.4);
}

.carousel-dot:hover {
    background: var(--clr-primary-dark);
}

/* Maintain the existing solution-image glow effect 
.solution-image .solution-carousel::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(10, 68, 90, 0.1) 0%, transparent 70%);
    border-radius: var(--radius-xl);
    z-index: 0;
    pointer-events: none;
}*/

/* ---------- Override All Headings Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.step-title,
.install-card-title,
.benefit-title,
.trust-compat-title,
.faq-question,
.final-cta .section-title {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    color: rgb(9, 68, 90);
}

/* ---------- Override All Descriptions/Content Typography ---------- */
p,
.section-subtitle,
.solution-desc,
.step-desc,
.install-card-desc,
.install-testimonial-quote,
.benefit-desc,
.faq-answer,
.problem-closing,
.mission-statement,
.problem-stat-label,
.trust-metric-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    color: rgb(51, 51, 51);
}

/* ---------- Final CTA & Footer Dark Theme ---------- */
.final-cta,
.footer {
    background-color: #0a445a !important;
    border-top: none !important;
}

.final-cta .section-title,
.final-cta-subtitle,
.final-cta-price,
.final-cta-trust-item,
.final-cta-trust-item strong,
.footer,
.footer p,
.final-cta p,
.footer-links a {
    color: #ffffff !important;
}

.footer-links a:hover {
    color: #93C5FD !important;
}

.final-cta-icon .stat-icon-img {
    filter: none !important;
}