/* =========================================================
   SAFIN — IoT Water Monitoring & Delivery
   Stylesheet
   ========================================================= */

/* ---------- Design tokens (derived from the Safin mark) ---------- */
:root {
    /* Core palette — pulled from the logo's teal mesh + slate wordmark */
    --primary: #1A6A84;
    --primary-mid: #2C86A0;
    --primary-dark: #0E4756;
    --primary-darker: #082F3A;
    --primary-light: #E7F2F4;
    --primary-tint: #CFE6EA;

    --accent: #E08A2B;
    --accent-dark: #C0721A;
    --accent-light: #FBEEDC;

    --slate: #4B5257;
    --bg-white: #FFFFFF;
    --bg-cool: #F4F8F9;
    --bg-mesh: #0B3846;

    --text-dark: #16232A;
    --text-muted: #526066;
    --text-light: #869093;
    --border-light: #DFE7E9;
    --border-mid: #C7D4D7;

    --shadow-sm: 0 2px 10px rgba(10, 40, 50, 0.06);
    --shadow-md: 0 10px 30px rgba(10, 40, 50, 0.10);
    --shadow-lg: 0 24px 60px rgba(8, 32, 42, 0.18);

    --radius: 14px;
    --radius-sm: 9px;
    --radius-lg: 22px;

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    --font-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --max-width: 1200px;
    --nav-height: 76px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

body {
    font-family: var(--font-body);
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.65;
    padding-top: var(--nav-height);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-dark);
}

ul { list-style: none; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ---------- Layout utilities ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 96px 0; }
.section-padding-sm { padding: 56px 0; }

section { position: relative; background: var(--bg-white); }
section.alt { background: var(--bg-cool); }

.section-head {
    max-width: 620px;
    margin-bottom: 44px;
}
.section-head.center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.01em;
    margin-bottom: 14px;
}
.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--accent);
    display: inline-block;
}

.section-title {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin-bottom: 14px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}
.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition), color var(--transition);
    text-align: center;
    font-family: var(--font-body);
    line-height: 1.2;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(26, 106, 132, 0.28);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 10px 26px rgba(26, 106, 132, 0.36); }

.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 20px rgba(224, 138, 43, 0.30);
}
.btn-accent:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 10px 26px rgba(224, 138, 43, 0.38); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-ghost {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { background: var(--primary-light); }

.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-darker);
    color: #fff;
    padding: 9px 18px 9px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}
.app-badge i { font-size: 1.7rem; }
.app-badge:hover { transform: translateY(-2px); color: #fff; background: #06222B; }
.app-badge small { font-weight: 400; font-size: 0.62rem; display: block; opacity: 0.75; }

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-group.in-view .reveal-child { opacity: 1; transform: translateY(0); }
.reveal-child {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-child:nth-child(1) { transition-delay: 0.02s; }
.reveal-child:nth-child(2) { transition-delay: 0.09s; }
.reveal-child:nth-child(3) { transition-delay: 0.16s; }
.reveal-child:nth-child(4) { transition-delay: 0.23s; }
.reveal-child:nth-child(5) { transition-delay: 0.30s; }
.reveal-child:nth-child(6) { transition-delay: 0.37s; }

/* ---------- Header ---------- */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(10, 40, 50, 0.06);
    height: var(--nav-height);
    transition: box-shadow var(--transition), background var(--transition);
}
header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, 0.97); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo img { height: 45px; width: auto; }
.logo span { display: none; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.9rem;
    font-weight: 500;
}
.nav-links a:not(.btn) {
    color: var(--slate);
    transition: color var(--transition);
    position: relative;
}
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-links .btn { margin-left: 4px; }
.nav-links .btn-nav { padding: 9px 20px; font-size: 0.85rem; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 24px; height: 2.5px;
    background: var(--text-dark);
    border-radius: 4px;
    transition: var(--transition);
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(8, 32, 42, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s;
}
.nav-overlay.active { opacity: 1; }

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0; right: -320px;
        width: 300px; max-width: 82vw;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: stretch;
        padding: 88px 28px 32px;
        gap: 6px;
        box-shadow: var(--shadow-lg);
        transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
        overflow-y: auto;
        z-index: 999;
    }
    .nav-links.open { right: 0; }
    .nav-links a:not(.btn) {
        padding: 13px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--border-light);
        display: block;
    }
    .nav-links a:not(.btn)::after { display: none; }
    .nav-links .btn { margin-top: 12px; width: 100%; justify-content: center; }
    .hamburger { display: flex; }
    .nav-overlay.active { display: block; }
}

/* ---------- Hero ---------- */
#hero {
    position: relative;
    padding: 68px 0 84px;
    background: radial-gradient(120% 140% at 85% -10%, #12546ac7 0%, #0b3846 45%, #082f3aba 100%);
    color: #fff;
    overflow: hidden;
    /* isolation: isolate; */
}
.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.55;
}
.hero-mesh svg { width: 100%; height: 100%; }
.mesh-node { animation: pulseNode 4.5s ease-in-out infinite; transform-origin: center; }
.mesh-node.d1 { animation-delay: 0s; }
.mesh-node.d2 { animation-delay: 0.8s; }
.mesh-node.d3 { animation-delay: 1.6s; }
.mesh-node.d4 { animation-delay: 2.4s; }
.mesh-node.d5 { animation-delay: 3.2s; }
@keyframes pulseNode {
    0%, 100% { opacity: 0.35; r: 3; }
    50% { opacity: 1; r: 5; }
}
#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, var(--bg-white) 100%);
    z-index: -1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hero-content h1 {
    font-size: clamp(2.3rem, 4.6vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 18px;
    color: #fff;
}
.hero-content h1 em {
    font-style: normal;
    color: #7FD4E0;
}
.hero-sub {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 560px;
    margin-bottom: 22px;
    line-height: 1.7;
}
.hero-sub strong { color: #fff; }

.hero-feature-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    color: #fff;
    margin-bottom: 28px;
    width: fit-content;
}
.hero-feature-highlight i { font-size: 1.15rem; color: var(--accent); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-actions .btn { padding: 15px 32px; font-size: 1rem; }

.hero-apps { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero-checker {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    padding: 22px 24px;
    border-radius: var(--radius);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.hero-checker label {
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
}
.hero-checker input {
    flex: 1;
    min-width: 160px;
    padding: 11px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.95);
    font-family: inherit;
    transition: border var(--transition);
}
.hero-checker input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224, 138, 43, 0.2); }
.hero-checker .btn { padding: 11px 24px; font-size: 0.9rem; }

.checker-result { width: 100%; margin-top: 4px; font-size: 0.92rem; font-weight: 500; min-height: 26px; color: rgba(255,255,255,0.85); }
.checker-result.success { color: #7FEBB0; }
.checker-result.error { color: #FFB199; }

.tanker-selector { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tanker-selector label { font-weight: 600; font-size: 0.88rem; color: rgba(255, 255, 255, 0.85); margin-right: 4px; }
.tanker-option {
    padding: 9px 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    background: transparent;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    color: rgba(255, 255, 255, 0.85);
}
.tanker-option:hover { border-color: var(--accent); }
.tanker-option.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.tanker-option.custom { border-style: dashed; }
.price-display {
    margin-left: auto;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 7px 20px;
    border-radius: 50px;
    white-space: nowrap;
}

.no-coverage {
    display: none;
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    padding: 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    color: var(--text-dark);
}
.no-coverage.show { display: block; }
.no-coverage i { font-size: 2.2rem; color: var(--text-light); margin-bottom: 8px; }
.no-coverage h4 { font-weight: 700; margin-bottom: 4px; }
.no-coverage p { color: var(--text-muted); font-size: 0.9rem; }

.trust-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 30px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.trust-flags span {
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 7px;
}
.trust-flags i { color: var(--accent); font-size: 1rem; }

/* Hero visual card */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 30px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}
.hero-card .hc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.hero-card .hc-head span { font-weight: 600; color: #fff; font-size: 0.95rem; }
.hero-card .hc-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #7FEBB0; box-shadow: 0 0 0 4px rgba(127,235,176,0.2); animation: dotPulse 2s infinite; }
@keyframes dotPulse { 0%,100% { box-shadow: 0 0 0 4px rgba(127,235,176,0.2); } 50% { box-shadow: 0 0 0 8px rgba(127,235,176,0.05); } }
.hc-level { position: relative; background: rgba(255,255,255,0.08); border-radius: 12px; height: 150px; overflow: hidden; margin-bottom: 18px; border: 1px solid rgba(255,255,255,0.1); }
.hc-level .fill {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 68%;
    background: linear-gradient(180deg, #4FB8CE 0%, #1A6A84 100%);
    border-radius: 0 0 10px 10px;
    animation: fillWave 5s ease-in-out infinite;
}
@keyframes fillWave { 0%,100% { height: 68%; } 50% { height: 72%; } }
.hc-level .pct { position: absolute; top: 14px; left: 16px; color: #fff; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.hc-level .pct small { display: block; font-family: var(--font-body); font-size: 0.7rem; font-weight: 500; color: rgba(255,255,255,0.7); }
.hc-rows { display: flex; flex-direction: column; gap: 10px; }
.hc-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; color: rgba(255,255,255,0.8); padding: 10px 14px; background: rgba(255,255,255,0.05); border-radius: 8px; }
.hc-row i { color: var(--accent); margin-right: 8px; }
.hc-row .ok { color: #7FEBB0; font-weight: 600; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; }
    .hero-card { max-width: 340px; margin: 0 auto; }
    .hero-actions .btn { padding: 13px 24px; font-size: 0.9rem; }
    .price-display { margin-left: 0; width: 100%; text-align: center; margin-top: 8px; }
}
@media (max-width: 480px) {
    .hero-checker { flex-direction: column; align-items: stretch; }
    .hero-checker input { min-width: auto; }
    .hero-checker .btn { width: 100%; justify-content: center; }
    .tanker-option { font-size: 0.8rem; padding: 7px 14px; }
}

/* ---------- Badge / small labels ---------- */
.badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
}

/* ---------- How it works ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 8px;
    position: relative;
}
.step-card { position: relative; padding: 8px 24px 8px 0; }
.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px; right: -0px;
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--border-mid) 0 6px, transparent 6px 12px);
    display: none;
}
@media (min-width: 900px) {
    .step-card:not(:last-child)::after { display: block; }
}
.step-number {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    border: 2px solid var(--bg-white);
    box-shadow: 0 0 0 1px var(--border-light);
}
.step-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.step-card p { font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 900px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}
@media (max-width: 560px) {
    .steps-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Cards (generic) ---------- */
.card {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-mid); }

/* ---------- Smart Sump ---------- */
.smart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 8px; }
.smart-content h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 14px; }
.smart-content p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.75; margin-bottom: 22px; }
.smart-features { display: flex; flex-direction: column; gap: 14px; }
.smart-feature { display: flex; align-items: center; gap: 14px; font-weight: 500; font-size: 0.96rem; }
.smart-feature .ico {
    width: 36px; height: 36px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-light); color: var(--primary);
    border-radius: 9px; font-size: 1rem;
}

.smart-visual {
    position: relative;
    background: var(--primary-darker);
    border-radius: var(--radius-lg);
    padding: 32px;
    color: #fff;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.smart-visual .sv-bg { position: absolute; inset: 0; opacity: 0.5; }
.smart-visual .sv-content { position: relative; z-index: 1; }
.smart-visual .sv-tank { width: 90px; margin: 0 auto 18px; }
.smart-visual .sv-title { text-align: center; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }
.smart-visual .sv-sub { text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 20px; }

@media (max-width: 780px) {
    .smart-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .smart-features { align-items: center; text-align: left; max-width: 380px; margin: 0 auto; }
}

/* ---------- Water quality ---------- */
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.quality-card { padding: 30px; }
.quality-card h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.quality-card h3 i { color: var(--primary); font-size: 1.25rem; }
.quality-card p { color: var(--text-muted); font-size: 0.95rem; }
.quality-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.quality-badge { display: flex; align-items: center; gap: 8px; background: var(--primary-light); padding: 8px 16px; border-radius: 50px; font-weight: 500; font-size: 0.82rem; color: var(--primary); }
.report-mock { background: var(--bg-cool); border-radius: var(--radius-sm); padding: 18px 20px; margin-top: 18px; font-size: 0.9rem; border-left: 3px solid var(--accent); }
.report-mock .row { display: flex; justify-content: space-between; padding: 4px 0; }
.report-mock strong { color: var(--text-dark); }
.report-mock .label { color: var(--text-light); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 780px) { .quality-grid { grid-template-columns: 1fr; } }

/* ---------- Tanker pricing ---------- */
.pricing-table { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.pricing-card { padding: 26px 22px; text-align: center; }
.pricing-card .size { font-weight: 600; font-size: 1.1rem; color: var(--primary); font-family: var(--font-display); }
.pricing-card .price { font-size: 1.9rem; font-weight: 700; margin: 10px 0 2px; font-family: var(--font-display); }
.pricing-card .price small { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.pricing-card .per-liter { font-size: 0.85rem; color: var(--text-light); margin-bottom: 14px; }
.pricing-card .btn { width: 100%; }
.pricing-card.highlight { border-color: var(--accent); background: var(--accent-light); }
.pricing-callout {
    margin-top: 26px;
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 18px 26px;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    font-weight: 600;
}
.pricing-callout i { font-size: 1.4rem; color: var(--primary); }
.pricing-callout span:first-of-type { flex: 1; color: var(--text-dark); font-weight: 500; }
.pricing-callout .pay-methods { font-size: 0.85rem; background: var(--bg-white); padding: 6px 16px; border-radius: 50px; font-weight: 500; color: var(--text-muted); }
@media (max-width: 900px) { .pricing-table { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .pricing-table { grid-template-columns: 1fr; } }

/* ---------- IoT + SaaS pricing ---------- */
.iot-pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; align-items: stretch; }
.iot-card { padding: 34px 30px; }
.iot-card .card-title { font-size: 1.25rem; font-weight: 600; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.iot-card .card-title i { color: var(--accent); }
.iot-card .price-tag { font-size: 2.1rem; font-weight: 700; color: var(--primary); margin: 8px 0; font-family: var(--font-display); }
.iot-card .price-tag small { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.iot-card ul { margin: 18px 0 26px; }
.iot-card ul li { padding: 7px 0; display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.94rem; }
.iot-card ul li i { color: var(--primary); width: 18px; font-size: 0.95rem; }
.iot-card .btn { width: 100%; }
.iot-card.highlight { border-color: var(--accent); background: linear-gradient(160deg, var(--accent-light), var(--bg-white)); }
@media (max-width: 780px) { .iot-pricing-grid { grid-template-columns: 1fr; } }

/* ---------- Coverage / stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 8px; }
.stat-item { text-align: center; padding: 28px 16px; }
.stat-item .number { font-size: 2.3rem; font-weight: 700; color: var(--primary); line-height: 1.1; font-family: var(--font-display); }
.stat-item .label { font-size: 0.88rem; color: var(--text-muted); margin-top: 6px; }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.area-tag { background: var(--bg-white); padding: 7px 18px; border-radius: 50px; border: 1px solid var(--border-light); font-size: 0.84rem; font-weight: 500; color: var(--text-muted); }
@media (max-width: 780px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Bulk booking ---------- */
.bulk-card {
    background: linear-gradient(120deg, var(--primary-darker), var(--primary-dark));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    display: flex; flex-wrap: wrap; gap: 32px;
    align-items: center; justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.bulk-card h3 { font-size: 1.5rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 12px; }
.bulk-card p { opacity: 0.82; max-width: 420px; margin-top: 8px; }
.bulk-card .btn { flex-shrink: 0; }

/* ---------- Subscription ---------- */
.sub-toggle {
    display: inline-flex; gap: 6px;
    background: var(--bg-cool);
    padding: 6px; border-radius: 50px;
    margin: 18px 0 30px;
    border: 1px solid var(--border-light);
}
.sub-toggle button {
    padding: 9px 24px; border: none; border-radius: 50px;
    font-weight: 600; font-size: 0.9rem; cursor: pointer;
    background: transparent; color: var(--text-muted);
    transition: var(--transition); font-family: inherit;
}
.sub-toggle button.active { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.sub-toggle button:hover:not(.active) { color: var(--text-dark); }
.sub-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.sub-plan { padding: 30px 24px; text-align: center; }
.sub-plan .plan-name { font-weight: 600; font-size: 1.08rem; font-family: var(--font-display); }
.sub-plan .plan-price { font-size: 1.9rem; font-weight: 700; margin: 10px 0 2px; font-family: var(--font-display); }
.sub-plan .plan-price small { font-size: 0.88rem; font-weight: 500; color: var(--text-muted); }
.sub-plan .plan-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }
.sub-plan .btn { width: 100%; }
.sub-plan.recommended { border-color: var(--accent); background: var(--accent-light); position: relative; }
.sub-plan.recommended::before {
    content: 'Most popular';
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 700;
    padding: 3px 16px; border-radius: 20px;
}

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 8px; }
.review-card { padding: 26px; }
.review-card .stars { color: var(--accent); font-size: 0.92rem; letter-spacing: 2px; margin-bottom: 10px; }
.review-card blockquote { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 16px; line-height: 1.6; }
.review-card .author { display: flex; align-items: center; gap: 12px; }
.review-card .avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; font-family: var(--font-display);
}
.review-card .author .name { font-weight: 600; font-size: 0.9rem; }
.review-card .author .detail { font-size: 0.8rem; color: var(--text-light); }
.sample-label {
    font-size: 0.68rem; letter-spacing: 0.04em; color: var(--text-light);
    background: var(--bg-cool); padding: 3px 12px; border-radius: 20px;
    display: inline-block; margin-top: 10px;
}

/* ---------- Emergency ---------- */
.emergency-banner {
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 30px 34px;
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: space-between;
    gap: 20px;
}
.emergency-banner h3 { font-size: 1.28rem; font-weight: 600; display: flex; align-items: center; gap: 12px; color: #fff; }
.emergency-banner p { opacity: 0.92; font-size: 0.95rem; margin-top: 6px; max-width: 460px; }
.emergency-banner .btn { flex-shrink: 0; }

/* ---------- Vendor card ---------- */
.vendor-card {
    padding: 40px 36px;
    display: flex; flex-wrap: wrap; gap: 32px; align-items: center;
}
.vendor-card .content { flex: 1; min-width: 260px; }
.vendor-card .content h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.vendor-card .content p { color: var(--text-muted); max-width: 560px; line-height: 1.75; }
.vendor-card .btn { flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 8px auto 0; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 0; cursor: pointer;
    font-weight: 600; font-size: 1rem;
    background: none; border: none; width: 100%; text-align: left;
    font-family: inherit; color: var(--text-dark);
    transition: color var(--transition); gap: 16px;
}
.faq-question:hover { color: var(--primary); }
.faq-question .icon { font-size: 1.1rem; transition: transform var(--transition); color: var(--text-light); flex-shrink: 0; }
.faq-item.open .faq-question .icon { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    color: var(--text-muted); font-size: 0.95rem; line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 420px; padding-bottom: 22px; }

/* ---------- Footer ---------- */
footer { background: var(--primary-darker); color: rgba(255, 255, 255, 0.75); padding: 60px 0 26px; }
footer a { color: rgba(255, 255, 255, 0.68); transition: color var(--transition); }
footer a:hover { color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.footer-brand { max-width: 300px; }
.footer-brand .logo img { height: 45px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-top: 14px; line-height: 1.7; }
.footer-grid { display: grid; grid-template-columns: repeat(3, auto); gap: 48px; }
.footer-col h4 { color: #fff; font-weight: 600; font-size: 0.95rem; margin-bottom: 16px; font-family: var(--font-display); }
.footer-col ul { font-size: 0.88rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { display: inline-block; cursor: pointer; }
.footer-social { display: flex; gap: 14px; margin-top: 14px; }
.footer-social a { font-size: 1.2rem; color: rgba(255, 255, 255, 0.55); transition: color var(--transition); }
.footer-social a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 22px;
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    font-size: 0.84rem; gap: 12px;
}
.lang-toggle { display: flex; gap: 6px; align-items: center; }
.lang-toggle span { color: rgba(255,255,255,0.45); margin-right: 4px; }
.lang-toggle button {
    background: none; border: none; color: rgba(255, 255, 255, 0.55);
    font-weight: 500; cursor: pointer; font-family: inherit;
    font-size: 0.84rem; padding: 5px 10px; border-radius: 5px; transition: var(--transition);
}
.lang-toggle button.active { color: #fff; background: rgba(255, 255, 255, 0.1); }
.lang-toggle button:hover { color: #fff; }
.footer-apps { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.footer-apps .app-badge { background: rgba(255,255,255,0.08); padding: 7px 14px 7px 10px; font-size: 0.78rem; }
.footer-apps .app-badge i { font-size: 1.3rem; }

@media (max-width: 720px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 460px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
    position: fixed; bottom: 26px; right: 26px; z-index: 900;
    background: #25D366; color: #fff;
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.42);
    transition: transform var(--transition), box-shadow var(--transition);
    border: none; cursor: pointer;
}
.whatsapp-float:hover { transform: scale(1.06); box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5); color: #fff; }
.whatsapp-float .tooltip {
    position: absolute; right: 68px;
    background: var(--text-dark); color: #fff;
    font-size: 0.8rem; font-weight: 500; padding: 6px 14px;
    border-radius: 6px; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.whatsapp-float:hover .tooltip { opacity: 1; }

/* ---------- Modals ---------- */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(8, 32, 42, 0.55);
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    display: none; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    max-width: 540px; width: 100%; max-height: 90vh;
    overflow-y: auto;
    padding: 34px 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none; font-size: 1.6rem;
    color: var(--text-light); cursor: pointer;
    transition: color var(--transition); padding: 4px 8px; line-height: 1;
}
.modal-close:hover { color: var(--text-dark); }
.modal-box h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 6px; }
.modal-box .sub { color: var(--text-muted); margin-bottom: 22px; font-size: 0.95rem; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 11px 14px;
    border: 1px solid var(--border-light); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 0.95rem;
    transition: border var(--transition); background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26, 106, 132, 0.10);
}
.form-group textarea { min-height: 80px; resize: vertical; }
.modal-box .btn { width: 100%; justify-content: center; margin-top: 8px; }
.modal-box .policy-content { max-height: 60vh; overflow-y: auto; padding-right: 6px; color: var(--text-muted); font-size: 0.94rem; line-height: 1.75; }
.modal-box .policy-content h3 { color: var(--text-dark); margin: 18px 0 8px; font-size: 1rem; }
.modal-box .policy-content p { margin-bottom: 12px; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 900px) {
    .steps-grid, .stats-grid, .iot-pricing-grid, .quality-grid, .pricing-table { gap: 20px; }
}
@media (max-width: 600px) {
    .section-padding { padding: 60px 0; }
    .section-padding-sm { padding: 40px 0; }
    .bulk-card { padding: 30px 22px; flex-direction: column; text-align: center; }
    .bulk-card h3 { justify-content: center; }
    .bulk-card .btn { width: 100%; }
    .emergency-banner { flex-direction: column; text-align: center; }
    .emergency-banner h3 { justify-content: center; }
    .emergency-banner .btn { width: 100%; }
    .vendor-card { flex-direction: column; text-align: center; }
    .vendor-card .content h3 { justify-content: center; }
    .vendor-card .btn { width: 100%; }
    .pricing-callout { flex-direction: column; text-align: center; }
    .pricing-callout i { font-size: 2rem; }
    .footer-top { flex-direction: column; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.6rem; bottom: 18px; right: 18px; }
    .whatsapp-float .tooltip { display: none; }
    .modal-box { padding: 26px 20px; }
}
@media (max-width: 400px) {
    .hero-content h1 { font-size: 1.85rem; }
}
