/**
 * TEKGEO — Shared Base Stylesheet
 * ---------------------------------------------------------------
 * Single source of truth for the site-wide look (colors, fonts,
 * nav, hero, section layouts, animations, responsive rules) used
 * across index.html, construction.html, sales-representative.html,
 * etc.
 *
 * USAGE (per page, one-time setup):
 *   1. Delete the entire inline <style>...</style> block from the
 *      page's <head>.
 *   2. In its place, add a stylesheet link (keep the Google Fonts
 *      <link> and the iconify-icon <script> as they were):
 *
 *        <link rel="stylesheet" href="../asset/css/style.css">
 *
 *   3. Keep loading the section scripts (pricing-section.js,
 *      reviews-section.js, cta-section.js, contact-section.js,
 *      app-download-section.js, footer.js) as before — they inject
 *      their own scoped CSS at runtime.
 *
 * REVISION NOTES (this pass):
 *   - FIX: .content-section h1 (Leave Management heading) was
 *     missing from the 768px breakpoint, so it stayed at 48px on
 *     mobile while every other showcase heading dropped to 32px.
 *     It's now in the same shared list as the rest — this was the
 *     source of the "inconsistent font size" issue.
 *   - CONSOLIDATED: the "showcase" sections (automation, tracking,
 *     mobile, analytical-engine, video, content-section) shared
 *     ~90% of their chrome (background dot-grid, headings, lead
 *     paragraph, blobs, particles, corner chips, viz-card panels)
 *     but had it copy-pasted per section with tiny, unintentional
 *     drift (e.g. dot-grid opacity was 0.5/0.55/0.6/0.7 depending
 *     on section for no visual reason). That's now one shared
 *     block per pattern, with only genuine per-section differences
 *     (blob position/color, card gradient) left separate.
 *   - REMOVED: a byte-for-byte duplicate `.particle` base-style
 *     rule block, and a standalone mobile media query that existed
 *     only to give `.leave-viz-card` the same 768px padding fix
 *     the other viz-cards already had — merged into the one list.
 *   - Blob classes (.blob-1 … .blob-10) no longer need to be
 *     double-scoped to a parent section class — each number is
 *     only ever used in one place in the markup, so they're now
 *     plain, flat classes. Same visual result, less to maintain.
 *
 * NOTE ON DEAD WEIGHT (left in place deliberately, not deleted):
 *   - .contact-section / .contact-grid / .form-input / .form-select /
 *     .phone-input-group / .phone-prefix are superseded by
 *     contact-section.js, which ships its own scoped classes.
 *   - .video-frame-container / .video-frame / .video-frame-header /
 *     .video-frame-meta / .video-iframe-wrapper are not referenced
 *     by index.html's video-showcase markup (it uses inline styles
 *     instead) — keep if another page uses them, otherwise safe to
 *     remove later.
 * ---------------------------------------------------------------
 */

:root {
    --brand: #0047AB;
    --brand-light: #E0E7FF;
    --ink: #0B1730;
    --slate: #4B5563;
    --bg: #F9FAFB;
    --white: #FFFFFF;
    --accent: #10B981;
    --line: rgba(0, 71, 171, 0.1);
    --radius: 12px;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

body.lang-bn {
    --font-display: 'Noto Sans Bengali', 'Outfit', sans-serif;
    --font-body: 'Noto Sans Bengali', 'Manrope', sans-serif;
    --font-mono: 'Noto Sans Bengali', 'IBM Plex Mono', monospace;
}

body.lang-bn .hero h1,
body.lang-bn .cta-card h2,
body.lang-bn .section-head h2 {
    letter-spacing: 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(700px circle at 10% 5%, rgba(0, 71, 171, 0.1), transparent 60%),
        radial-gradient(600px circle at 95% 40%, rgba(0, 71, 171, 0.09), transparent 55%),
        radial-gradient(650px circle at 15% 95%, rgba(0, 71, 171, 0.08), transparent 60%);
    z-index: -2;
    pointer-events: none;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(to right, var(--line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--line) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px, 40px 40px;
    z-index: -1;
    opacity: 0.5;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   NAV
   ============================================================ */

nav {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: rgba(249, 250, 251, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--brand);
}

.logo-mark {
    width: 32px;
    height: 32px;
    border: 2.5px solid var(--brand);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-mark::after {
    content: "";
    width: 14px;
    height: 14px;
    background: var(--brand);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a,
.nav-item {
    text-decoration: none;
    color: var(--slate);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a:hover,
.nav-item:hover {
    color: var(--brand);
}

/* --- Mega Menu --- */
.nav-item-dropdown {
    position: static;
}

.megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 2px solid var(--brand);
    box-shadow: 0 40px 80px -20px rgba(0, 71, 171, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    padding: 0;
    overflow: hidden;
}

.megamenu::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--line) 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.4;
    pointer-events: none;
}

.megamenu-main {
    padding: 40px;
    border-right: 1px solid var(--line);
}

.megamenu-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.megamenu-title {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.megamenu-title::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--line);
}

.megamenu-list {
    list-style: none;
    display: grid;
    gap: 8px;
}

.megamenu-link {
    text-decoration: none;
    display: flex;
    gap: 16px;
    padding: 12px;
    border-radius: 8px;
    align-items: center;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.megamenu-link:hover {
    background: var(--brand-light);
    border-color: var(--line);
}

.megamenu-icon-wrap {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.megamenu-link:hover .megamenu-icon-wrap::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;
    width: 6px;
    height: 6px;
    background: var(--brand);
}

.megamenu-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.megamenu-link-title {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    transition: color 0.2s;
}

.megamenu-link-desc {
    display: block;
    font-size: 11px;
    color: var(--slate);
    line-height: 1.4;
    opacity: 0.8;
}

.nav-item-dropdown:hover .megamenu,
.nav-item-dropdown.active .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item-dropdown .megamenu {
    display: block;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--brand);
    cursor: pointer;
    flex-shrink: 0;
}

.lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--brand);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.lang-toggle-btn:hover {
    background: var(--brand-light);
    border-color: var(--brand);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-display);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--brand);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(0, 71, 171, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(0, 71, 171, 0.4);
}

.btn-demo-request {
    border: 1px solid var(--line);
    color: var(--ink);
    background: transparent;
}

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

.hero {
    padding: 80px 0 120px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand);
    background: var(--brand-light);
    padding: 6px 14px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -3px;
    font-weight: 800;
}

.hero h1 span {
    color: var(--brand);
    -webkit-text-stroke: 0;
}

.hero-visual-container {
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 50px 100px -20px rgba(11, 23, 48, 0.15);
    overflow: hidden;
    width: 100%;
    max-width: 440px;
    z-index: 2;
}

.hero-visual img {
    width: 100%;
    height: 90%;
    border-radius: 16px;
    display: block;
    transition: transform 0.5s ease;
}

.hero-svg {
    position: absolute;
    top: -110px;
    right: -90px;
    width: 340px;
    height: 340px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    border: 1.5px solid var(--line);
    padding: 15px;
    box-shadow: 0 40px 80px rgba(0, 71, 171, 0.15);
}

.tech-badge {
    position: absolute;
    bottom: -10px;
    left: -10px;
    background: var(--white);
    border: 1.5px solid var(--brand);
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 71, 171, 0.1);
    z-index: 10;
}

@media (max-width: 820px) {
    .hero-visual-container {
        padding: 40px 12px 12px;
    }

    .hero-visual {
        max-width: 280px;
    }

    .hero-svg {
        position: absolute;
        top: -36px;
        right: -4px;
        width: 240px;
        height: 240px;
    }

    .tech-badge {
        padding: 10px 14px;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        max-width: 220px;
    }

    .hero-svg {
        width: 200px;
        height: 200px;
        top: -34px;
        right: 2px;
    }
}

.features {
    padding: 120px 0;
    background: var(--white);
    border-top: 1px solid var(--line);
}

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: 48px;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

/* ============================================================
   SHOWCASE SECTIONS — shared chrome
   Applies to: automation, tracking, mobile, analytical-engine,
   video, content-section (Leave Management). These six sections
   are visually one family — same heading size, same lead-text
   treatment, same dot-grid background, same blob/particle motion,
   same "device preview" card. Everything genuinely shared lives
   here; only real per-section differences (blob color/position,
   card gradient) live below in their own small blocks.
   ============================================================ */

.automation-showcase,
.tracking-showcase,
.mobile-showcase,
.analytical-engine,
.video-showcase,
.content-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.automation-showcase::before,
.tracking-showcase::before,
.mobile-showcase::before,
.analytical-engine::before,
.video-showcase::before,
.content-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--line) 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    opacity: 0.6;
    pointer-events: none;
}

.automation-showcase h1,
.tracking-showcase h1,
.mobile-showcase h1,
.analytical-engine h1,
.video-showcase h1,
.content-section h1 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p.lead,
.automation-showcase p.lead,
.tracking-showcase p.lead,
.mobile-showcase p.lead,
.analytical-engine p.lead,
.video-showcase p.lead,
.content-section p.lead {
    font-size: 18px;
    color: var(--slate);
    margin: 0 auto 20px;
    max-width: 640px;
    line-height: 1.6;
}

.automation-showcase .hero-grid,
.tracking-showcase .hero-grid,
.mobile-showcase .hero-grid,
.analytical-engine .hero-grid,
.content-section .hero-grid,
.video-showcase .wrap {
    position: relative;
    z-index: 1;
}

/* --- Blobs: soft ambient glows behind each section --- */
.automation-showcase .blob,
.tracking-showcase .blob,
.mobile-showcase .blob,
.analytical-engine .blob,
.video-showcase .blob,
.content-section .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 26px) scale(1.06); }
}

.blob-1 { width: 420px; height: 420px; top: -180px; left: -160px; background: radial-gradient(circle, rgba(0, 71, 171, 0.14), transparent 70%); animation: floatBlob 12s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; bottom: -160px; right: -140px; background: radial-gradient(circle, rgba(16, 185, 129, 0.13), transparent 70%); animation: floatBlob 14s ease-in-out infinite reverse; }
.blob-3 { width: 400px; height: 400px; top: -160px; right: -140px; background: radial-gradient(circle, rgba(0, 71, 171, 0.14), transparent 70%); animation: floatBlob 13s ease-in-out infinite; }
.blob-4 { width: 360px; height: 360px; bottom: -140px; left: -120px; background: radial-gradient(circle, rgba(16, 185, 129, 0.13), transparent 70%); animation: floatBlob 15s ease-in-out infinite reverse; }
.blob-5 { width: 380px; height: 380px; top: -150px; right: -130px; background: radial-gradient(circle, rgba(16, 185, 129, 0.13), transparent 70%); animation: floatBlob 13s ease-in-out infinite; }
.blob-6 { width: 340px; height: 340px; bottom: -140px; left: -110px; background: radial-gradient(circle, rgba(0, 71, 171, 0.13), transparent 70%); animation: floatBlob 15.5s ease-in-out infinite reverse; }
.blob-7 { width: 400px; height: 400px; top: -160px; left: -140px; background: radial-gradient(circle, rgba(0, 71, 171, 0.13), transparent 70%); animation: floatBlob 14s ease-in-out infinite; }
.blob-8 { width: 360px; height: 360px; bottom: -150px; right: -120px; background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%); animation: floatBlob 16.5s ease-in-out infinite reverse; }
.blob-9 { width: 380px; height: 380px; top: -150px; left: -130px; background: radial-gradient(circle, rgba(0, 71, 171, 0.13), transparent 70%); animation: floatBlob 13.5s ease-in-out infinite; }
.blob-10 { width: 340px; height: 340px; bottom: -140px; right: -110px; background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%); animation: floatBlob 15.5s ease-in-out infinite reverse; }

/* --- Particles: slow-rising dots drifting up through a section --- */
.automation-showcase .particle,
.tracking-showcase .particle,
.mobile-showcase .particle,
.analytical-engine .particle,
.content-section .particle,
.reviews .particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    pointer-events: none;
    animation: particleRise linear infinite;
    z-index: 0;
}

.automation-showcase .particle:nth-child(3),
.mobile-showcase .particle:nth-child(3),
.reviews .particle:nth-child(3),
.automation-showcase .particle:nth-child(5),
.mobile-showcase .particle:nth-child(5),
.reviews .particle:nth-child(5) {
    background: var(--brand);
}

@keyframes particleRise {
    0% { transform: translateY(0) scale(0.6); opacity: 0; }
    10% { opacity: 0.55; }
    85% { opacity: 0.35; }
    100% { transform: translateY(-260px) scale(1); opacity: 0; }
}

/* --- Corner chips (small floating status pills on the viz cards) --- */
.viz-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 6px 12px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    color: var(--brand);
    box-shadow: 0 10px 24px rgba(0, 71, 171, 0.08);
    z-index: 2;
    animation: chipFloat 5s ease-in-out infinite;
}

.viz-chip .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

.viz-chip-1 {
    top: 24px;
    left: 40px;
    background: linear-gradient(90deg, rgba(0, 71, 171, 0.1), rgba(255, 255, 255, 0.92));
    border-color: rgba(0, 71, 171, 0.25);
}

.viz-chip-2 {
    bottom: 32px;
    left: 48px;
    animation-delay: 1.2s;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.12), rgba(255, 255, 255, 0.92));
    border-color: rgba(16, 185, 129, 0.3);
    color: #0e9f6e;
}

.viz-chip-2 .dot { background: #0e9f6e; }

.viz-chip-3 {
    top: 24px;
    right: 24px;
    animation-delay: 0.6s;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.12), rgba(255, 255, 255, 0.92));
    border-color: rgba(16, 185, 129, 0.3);
    color: #0e9f6e;
}

.viz-chip-3 .dot { background: #0e9f6e; }

.viz-chip-4 {
    bottom: 28px;
    right: 24px;
    animation-delay: 1.8s;
    background: linear-gradient(90deg, rgba(0, 71, 171, 0.1), rgba(255, 255, 255, 0.92));
    border-color: rgba(0, 71, 171, 0.25);
}

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

@media (max-width: 640px) {
    .viz-chip { display: none; }
}

/* --- Viz cards: the "device preview" panels in every showcase --- */
.automation-viz-card,
.tracking-viz-card,
.mobile-viz-card,
.analytics-viz-card,
.leave-viz-card {
    border: 1.5px solid var(--line);
    border-radius: 40px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0, 71, 171, 0.18);
    animation: cardBreathe 6.5s ease-in-out infinite;
}

@keyframes cardBreathe {
    0%, 100% { box-shadow: 0 40px 100px -20px rgba(0, 71, 171, 0.1); }
    50% { box-shadow: 0 44px 110px -18px rgba(0, 71, 171, 0.22); }
}

.automation-viz-card {
    background:
        radial-gradient(circle at 12% 8%, rgba(0, 71, 171, 0.22), transparent 45%),
        radial-gradient(circle at 90% 15%, rgba(16, 185, 129, 0.2), transparent 42%),
        radial-gradient(circle at 85% 90%, rgba(0, 71, 171, 0.18), transparent 48%),
        linear-gradient(155deg, #dbe7fb 0%, #eef2fb 45%, #d9f7ea 100%);
}

.automation-viz-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 15%, rgba(0, 71, 171, 0.09), transparent 42%),
        radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.09), transparent 42%);
    pointer-events: none;
}

.tracking-viz-card {
    background:
        radial-gradient(circle at 90% 10%, rgba(0, 71, 171, 0.18), transparent 45%),
        radial-gradient(circle at 8% 92%, rgba(16, 185, 129, 0.16), transparent 45%),
        linear-gradient(160deg, #e6edfb 0%, #f5f7fc 55%, #e3faf0 100%);
}

.mobile-viz-card {
    padding: 40px 28px;
    background:
        radial-gradient(circle at 88% 10%, rgba(16, 185, 129, 0.18), transparent 45%),
        radial-gradient(circle at 8% 92%, rgba(0, 71, 171, 0.16), transparent 45%),
        linear-gradient(160deg, #e6edfb 0%, #f4f6fc 55%, #e3faf0 100%);
}

.mobile-viz-card .hero-visual {
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.analytics-viz-card {
    padding: 32px;
    overflow: visible;
    background:
        radial-gradient(circle at 12% 10%, rgba(0, 71, 171, 0.18), transparent 45%),
        radial-gradient(circle at 92% 90%, rgba(16, 185, 129, 0.16), transparent 45%),
        linear-gradient(150deg, #dbe7fb 0%, #eef2fb 50%, #d9f7ea 100%);
}

.analytics-viz-card .hero-visual {
    position: relative;
    z-index: 1;
}

.leave-viz-card {
    background:
        radial-gradient(circle at 90% 12%, rgba(0, 71, 171, 0.18), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(16, 185, 129, 0.16), transparent 45%),
        linear-gradient(155deg, #e6edfb 0%, #f5f7fc 55%, #e3faf0 100%);
}

/* Shimmer sweep across each card face — one shared animation,
   staggered slightly per card so they don't all flash in sync. */
.automation-viz-card::after,
.tracking-viz-card::after,
.mobile-viz-card .hero-visual::after,
.analytics-viz-card .hero-visual::after,
.leave-viz-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
    animation: shimmerSweep 6s ease-in-out infinite;
}

.tracking-viz-card::after { animation-delay: 1s; }
.mobile-viz-card .hero-visual::after { animation-delay: 0.6s; z-index: 3; }
.analytics-viz-card .hero-visual::after { animation-delay: 1.2s; z-index: 3; }
.leave-viz-card::after { animation-delay: 0.8s; }

@keyframes shimmerSweep {
    0% { left: -60%; }
    35%, 100% { left: 130%; }
}

/* ============================================================
   TRACKING SHOWCASE — section-specific bits (not shared elsewhere)
   ============================================================ */

.info-card {
    background: var(--white);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid var(--line);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.info-card:last-child { margin-bottom: 0; }

.info-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand);
    box-shadow: 0 24px 50px -18px rgba(0, 71, 171, 0.22);
}

.info-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 71, 171, 0.06), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.info-card:hover::before { opacity: 1; }

.info-card iconify-icon {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.info-card:hover iconify-icon {
    transform: scale(1.15) rotate(-6deg);
}

.tracking-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.15);
    animation: dotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.15); }
    50% { box-shadow: 0 0 0 6px rgba(0, 71, 171, 0); }
}

.geofence-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: bold;
    color: var(--white);
    background: linear-gradient(135deg, var(--brand), #1e63c9);
    padding: 6px 14px;
    border-radius: 100px;
    box-shadow: 0 8px 18px -6px rgba(0, 71, 171, 0.45);
}

/* ============================================================
   AUTOMATION SHOWCASE — step timeline
   ============================================================ */

.step-track {
    position: relative;
    margin-top: 48px;
    text-align: left;
}

.step-connector {
    position: absolute;
    left: 23px;
    top: 56px;
    bottom: 40px;
    width: 2px;
    background: repeating-linear-gradient(var(--line), var(--line) 5px, transparent 5px, transparent 10px);
    z-index: 0;
}

.step-connector::before {
    content: "";
    position: absolute;
    left: -3px;
    top: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18), 0 0 12px rgba(16, 185, 129, 0.5);
    animation: travelDown 3.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes travelDown {
    0% { top: 0; opacity: 0; }
    8% { opacity: 1; }
    92% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.step-row {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
    transition: none;
}

.step-row:last-child { margin-bottom: 0; }

.step-num {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand), #1e63c9);
    border: 1px solid var(--brand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 8px 20px -6px rgba(0, 71, 171, 0.5), 0 0 0 0 rgba(0, 71, 171, 0.25);
    animation: pulseNum 3.6s ease-in-out infinite;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    cursor: default;
}

.step-row:hover .step-num {
    transform: rotate(-6deg) scale(1.12);
    filter: brightness(1.1);
}

@keyframes pulseNum {
    0%, 70%, 100% { box-shadow: 0 8px 20px -6px rgba(0, 71, 171, 0.5), 0 0 0 0 rgba(0, 71, 171, 0.22); }
    35% { box-shadow: 0 8px 20px -6px rgba(0, 71, 171, 0.5), 0 0 0 8px rgba(0, 71, 171, 0); }
}

.step-row:nth-child(2) .step-num {
    animation-delay: 0.6s;
    animation-name: pulseNumGreen;
    background: linear-gradient(135deg, #0e9f6e, var(--accent));
    border-color: var(--accent);
    box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.5), 0 0 0 0 rgba(16, 185, 129, 0.25);
}

.step-row:nth-child(3) .step-num {
    animation-delay: 1.2s;
}

@keyframes pulseNumGreen {
    0%, 70%, 100% { box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.5), 0 0 0 0 rgba(16, 185, 129, 0.25); }
    35% { box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.5), 0 0 0 8px rgba(16, 185, 129, 0); }
}

/* ============================================================
   VIDEO SHOWCASE — demo embed frame
   ============================================================ */

.video-frame-container {
    max-width: 900px;
    margin: 40px auto 0;
    position: relative;
    z-index: 1;
}

.video-frame {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 71, 171, 0.12);
}

.video-frame-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px 16px;
}

.video-frame-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-frame-meta span {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--slate);
    text-transform: uppercase;
}

.video-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 14px;
    overflow: hidden;
}

.video-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================================
   ANALYTICAL ENGINE — live feed badge
   ============================================================ */

.analytical-engine .hero-visual {
    max-width: 720px;
}

.analytical-engine .hero-visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .analytical-engine .live-feed-badge {
        display: none;
    }
}

/* ============================================================
   BENTO / STATS / MISC
   ============================================================ */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 320px;
    gap: 24px;
}

.bento-item {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-content {
    position: relative;
    z-index: 5;
}

.bento-item:hover {
    border-color: var(--brand);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 71, 171, 0.15);
}

.bento-item.large { grid-column: span 7; }
.bento-item.medium { grid-column: span 5; }
.bento-item.small { grid-column: span 4; }
.bento-item.full { grid-column: span 12; }

.bento-item h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: var(--ink);
}

.bento-item p {
    color: var(--slate);
    line-height: 1.6;
    font-size: 15px;
    max-width: 260px;
}

.bento-icon {
    font-size: 40px;
    color: var(--brand);
    margin-bottom: 24px;
    display: block;
}

.bento-item .step-indicator {
    position: absolute;
    top: 40px;
    right: 40px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--line);
}

.stats-band {
    padding: 80px 0;
    background: var(--brand);
    color: white;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item b {
    display: block;
    font-size: 56px;
    font-family: var(--font-display);
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.stat-item span {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 11px;
    opacity: 0.7;
    letter-spacing: 2px;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--brand);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 1.5s ease;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-zoom.visible,
.reveal-fade.visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* ============================================================
   LEGACY FORM STYLES — dead weight, see header note
   ============================================================ */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full { grid-column: span 2; }

.form-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input,
.form-select {
    background: var(--bg);
    border: 1.5px solid var(--line);
    padding: 14px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    transition: all 0.2s ease;
    width: 100%;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--brand);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--brand-light);
}

.form-input::placeholder {
    color: var(--slate);
    opacity: 0.4;
}

.phone-input-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.phone-prefix {
    background: var(--brand-light);
    border: 1.5px solid var(--line);
    padding: 0 16px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--brand);
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* ============================================================
   RESPONSIVE — mobile is the priority breakpoint set below
   ============================================================ */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
        direction: ltr !important;
    }

    .hero p.lead {
        margin: 0 auto 44px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-item {
        grid-column: span 12 !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .analytical-engine .hero-grid {
        grid-template-columns: 2.2fr 1fr;
        gap: 40px;
    }

    .hero-visual-container {
        order: -1;
    }
}

@media (max-width: 900px) {
    .nav-item-dropdown .megamenu,
    .nav-item-dropdown:hover .megamenu {
        display: none;
    }

    .nav-item-dropdown.active {
        flex-wrap: wrap;
    }

    .nav-item-dropdown.active .megamenu {
        display: block;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 20px 0;
        border: none;
        overflow: visible;
        flex: 0 0 100%;
    }

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

    .megamenu-footer {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 40px rgba(11, 23, 48, 0.08);
        padding: 8px 24px 20px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a,
    .nav-item {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
        width: 100%;
        justify-content: space-between;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

    nav .wrap > div:last-of-type .btn:not(.btn-primary) {
        display: none;
    }

    .btn-demo-request {
        background: linear-gradient(135deg, var(--accent), #0e9f6e) !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 6px 16px -4px rgba(16, 185, 129, 0.5);
        animation: brochurePulse 2.4s ease-in-out infinite;
    }

    .nav-brochure {
        justify-content: center !important;
        margin-top: 6px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0 80px;
    }

    .features,
    .analytical-engine,
    .automation-showcase,
    .mobile-showcase,
    .tracking-showcase,
    .video-showcase,
    .content-section {
        padding: 60px 0;
    }

    .stats-band {
        padding: 48px 0;
    }

    .hero-grid {
        gap: 40px;
    }

    .analytical-engine .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .analytical-engine .hero-visual-container {
        order: -1;
    }

    .hero p.lead {
        font-size: 17px;
    }

    .section-head {
        margin: 0 auto 48px;
    }

    .section-head h2 {
        font-size: 32px;
    }

    /* All six showcase headings drop to the same 32px together —
       this list must always match the 48px list above 1:1. */
    .automation-showcase h1,
    .tracking-showcase h1,
    .mobile-showcase h1,
    .analytical-engine h1,
    .video-showcase h1,
    .content-section h1 {
        font-size: 32px;
    }

    .bento-grid {
        gap: 16px;
    }

    .bento-item {
        padding: 24px;
        border-radius: 20px;
        min-height: 220px;
    }

    .bento-item img {
        display: none;
    }

    .stats-grid {
        gap: 24px;
    }

    .stat-item b {
        font-size: 38px;
    }

    .form-group.full {
        grid-column: span 1;
    }

    /* All five viz-cards get the same tighter mobile padding —
       previously .leave-viz-card had its own separate media query
       for this; it's now just part of the list. */
    .automation-viz-card,
    .tracking-viz-card,
    .mobile-viz-card,
    .analytics-viz-card,
    .leave-viz-card {
        padding: 20px !important;
        border-radius: 24px !important;
    }

    .live-feed-badge {
        display: none;
    }

    .footer-main {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 85%;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item b {
        font-size: 30px;
    }

    .hero h1 {
        letter-spacing: -1.5px;
    }

    .logo {
        font-size: 20px;
    }

    .hero-visual-container {
        padding: 8px;
    }

    nav .wrap {
        gap: 10px;
    }
}

/* ============================================================
   BROCHURE PILL (nav)
   ============================================================ */

.download-icon {
    font-size: 16px;
    margin-left: 6px;
    display: inline-block;
    animation: bounceDownload 1.5s infinite;
}

@keyframes bounceDownload {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(4px); }
    50% { transform: translateY(0); }
}

.nav-brochure {
    background: linear-gradient(135deg, var(--accent), #0e9f6e) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 100px !important;
    border-bottom: none !important;
    box-shadow: 0 6px 16px -4px rgba(16, 185, 129, 0.5);
    animation: brochurePulse 2.4s ease-in-out infinite;
}

.nav-brochure:hover {
    color: white !important;
    transform: translateY(-1px);
}

.nav-brochure .download-icon {
    animation: none;
}

@keyframes brochurePulse {
    0%, 100% { box-shadow: 0 6px 16px -4px rgba(16, 185, 129, 0.5), 0 0 0 0 rgba(16, 185, 129, 0.35); }
    50% { box-shadow: 0 6px 16px -4px rgba(16, 185, 129, 0.5), 0 0 0 6px rgba(16, 185, 129, 0); }
}

.brand-highlight {
    position: relative;
    display: inline-block;
    font-weight: 800;
    color: var(--brand);
    background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 50%, var(--brand) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brandShine 4s linear infinite;
}

@keyframes brandShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}