/* ==========================================================================
   Mobile Express - Enterprise Commercial Design System & Stylesheet
   Features: 3D Parallax Bands, Light/Dark Modes, Bengali Typography, 60fps
   ========================================================================== */

:root {
    /* Theme Base - Dark Mode (Default) */
    --bg-dark: #0d0e12;
    --bg-panel: rgba(20, 22, 30, 0.72);
    --bg-panel-hover: rgba(28, 32, 44, 0.85);
    --bg-surface-input: rgba(14, 16, 22, 0.85);
    --bg-card-inner: rgba(16, 18, 24, 0.8);

    --text-primary: #f8fafc;
    --text-secondary: #9aa0b0;
    --text-dim: #64748b;

    --red-main: #e63946;
    --red-hover: #ff4d5e;
    --red-dark: #8b1e28;
    --red-glow: rgba(230, 57, 70, 0.35);
    --red-subtle: rgba(230, 57, 70, 0.12);

    --green-wa: #25d366;
    --green-glow: rgba(37, 211, 102, 0.3);

    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.18);
    --border-red: rgba(230, 57, 70, 0.4);

    --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 10px 30px var(--red-glow);

    --band-left-bg-1: linear-gradient(135deg, var(--red-dark) 0%, var(--red-main) 60%, #ff5260 100%);
    --band-left-bg-2: linear-gradient(135deg, #060709 0%, #180507 40%, var(--red-dark) 100%);
    --band-shadow: rgba(0, 0, 0, 0.88);

    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-bengali: 'Noto Sans Bengali', 'Anek Bangla', 'SolaimanLipi', 'Bangla', sans-serif;

    --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.16s ease;
}

/* ==========================================================================
   Light Mode Theme (White Mode)
   ========================================================================== */
[data-theme="light"] {
    --bg-dark: #f3f5f9;
    --bg-panel: rgba(255, 255, 255, 0.85);
    --bg-panel-hover: rgba(255, 255, 255, 0.95);
    --bg-surface-input: rgba(245, 247, 250, 0.95);
    --bg-card-inner: rgba(255, 255, 255, 0.88);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-dim: #64748b;

    --red-main: #d90429;
    --red-hover: #ef233c;
    --red-dark: #8d0801;
    --red-glow: rgba(217, 4, 41, 0.25);
    --red-subtle: rgba(217, 4, 41, 0.08);

    --border-glass: rgba(0, 0, 0, 0.09);
    --border-glass-hover: rgba(0, 0, 0, 0.18);
    --border-red: rgba(217, 4, 41, 0.3);

    --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.07);
    --shadow-glow: 0 10px 25px rgba(217, 4, 41, 0.2);

    --band-left-bg-1: linear-gradient(135deg, #d90429 0%, #ef233c 60%, #ff8fa3 100%);
    --band-left-bg-2: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 40%, #d90429 100%);
    --band-shadow: rgba(0, 0, 0, 0.12);
}

/* Base Reset & Anti-Tap-Highlight */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 105px;
    font-size: 16px;
    transition: background-color var(--transition);
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    transition: background-color var(--transition), color var(--transition);
}

button,
a,
select,
input,
.btn-primary,
.btn-secondary,
.chip-btn,
.segmented-toggle,
.menu-toggle,
.nav-links a {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none;
    outline: none;
}

button,
.btn-primary,
.btn-secondary,
.chip-btn,
.segmented-toggle,
.menu-toggle,
.nav-links a,
.card-pill {
    user-select: none;
    -webkit-user-select: none;
}

button:focus,
button:focus-visible,
a:focus,
a:focus-visible {
    outline: none !important;
    box-shadow: none;
}

body.lang-bn {
    font-family: var(--font-bengali);
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

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

/* ==========================================================================
   3D Kinetic Architectural Parallax Ribbons
   ========================================================================== */
.parallax-environment {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    perspective: 1400px;
    pointer-events: none;
    overflow: hidden;
}

/* Ambient Volumetric Focal Auras */
.ambient-glow {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 70vw;
    height: 70vw;
    max-width: 850px;
    max-height: 850px;
    background: radial-gradient(circle, var(--red-glow) 0%, rgba(139, 30, 40, 0.12) 45%, transparent 70%);
    border-radius: 50%;
    filter: blur(140px);
    transform: translate(-50%, -50%);
    opacity: 0.75;
    pointer-events: none;
}

.ambient-glow-secondary {
    position: absolute;
    top: 65%;
    left: 40%;
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.18) 0%, transparent 65%);
    border-radius: 50%;
    filter: blur(120px);
    transform: translate(-50%, -50%);
    opacity: 0.6;
    pointer-events: none;
}

/* Ribbon Clusters */
.ribbon-cluster {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Common Band Geometry */
.card-band {
    position: absolute;
    height: 250vh;
    transform-origin: center center;
    will-change: transform;
    pointer-events: none;
    border-radius: 18px;
    transition: background var(--transition), box-shadow var(--transition);
}

/* 1. Outer Facet Ribbons (Deep Carbon with subtle edge refraction) */
.band-outer {
    width: 38vw;
    background: linear-gradient(145deg, #050608 0%, #110507 40%, #200609 75%, #4a0c13 100%);
    box-shadow: 0 40px 100px var(--band-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .band-outer {
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 45%, #cbd5e1 85%, #fca5a5 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.band-left-outer {
    left: -22vw;
    top: -65vh;
    transform: rotate(24deg) translateZ(-200px);
    opacity: 0.9;
}

.band-right-outer {
    right: -22vw;
    top: -65vh;
    transform: rotate(-24deg) translateZ(-200px);
    opacity: 0.9;
}

/* 2. Main Vibrant Ribbons (Signature Anodized Crimson Satin) */
.band-main {
    width: 28vw;
    background: linear-gradient(135deg, #5c0d15 0%, #9e1925 25%, #e63946 55%, #ff4d5e 80%, #b81d2c 100%);
    box-shadow: 0 25px 70px rgba(230, 57, 70, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.45),
        inset 0 -1px 3px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

[data-theme="light"] .band-main {
    background: linear-gradient(135deg, #c1121f 0%, #d90429 35%, #ef233c 70%, #ff8fa3 100%);
    box-shadow: 0 20px 50px rgba(217, 4, 41, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.6),
        inset 0 -1px 2px rgba(0, 0, 0, 0.15);
}

.band-left-main {
    left: -12vw;
    top: -65vh;
    transform: rotate(24deg) translateZ(-90px);
    opacity: 0.85;
}

.band-right-main {
    right: -12vw;
    top: -65vh;
    transform: rotate(-24deg) translateZ(-90px);
    opacity: 0.85;
}

/* Specular Sheen Highlight inside Main Ribbon */
.band-sheen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
    pointer-events: none;
}

/* 3. High-Tech Laser Pin-Beams (Floating Luminous Precision Line) */
.band-beam {
    position: absolute;
    width: 3px;
    height: 270vh;
    transform-origin: center center;
    will-change: transform;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, #ff4d5e 20%, #ffffff 50%, #e63946 80%, transparent 100%);
    box-shadow: 0 0 16px #ff4d5e, 0 0 32px rgba(230, 57, 70, 0.7);
    border-radius: 999px;
    opacity: 0.8;
}

[data-theme="light"] .band-beam {
    background: linear-gradient(180deg, transparent 0%, #ef233c 25%, #ff4d5e 50%, #d90429 75%, transparent 100%);
    box-shadow: 0 0 14px rgba(217, 4, 41, 0.6);
}

.band-left-beam {
    left: 17vw;
    top: -70vh;
    transform: rotate(24deg) translateZ(-40px);
}

.band-right-beam {
    right: 17vw;
    top: -70vh;
    transform: rotate(-24deg) translateZ(-40px);
}

/* Delicate Ambient Grid Texture */
.grid-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border-glass) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-glass) 1px, transparent 1px);
    background-size: 56px 56px;
    z-index: -9;
    pointer-events: none;
}

/* ==========================================================================
   Floating Glass Navbar (Matched Width with Content Card)
   ========================================================================== */
.glass-header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
    padding: 0 20px;
    transition: var(--transition);
}

.nav-container {
    background: var(--bg-panel);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--border-glass);
    border-radius: 999px;
    padding: 10px 24px;
    width: 100%;
    max-width: 1160px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), var(--shadow-soft);
    transition: var(--transition);
}

.glass-header.scrolled .nav-container {
    background: var(--bg-panel-hover);
    border-color: var(--border-glass-hover);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 22px 50px rgba(0, 0, 0, 0.35);
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #fff;
    padding: 2px;
    box-shadow: 0 4px 14px var(--red-glow);
}

.brand-info-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-title {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    white-space: nowrap;
}

.brand-title span {
    color: var(--red-main);
}

.brand-subtitle {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    background: rgba(14, 16, 22, 0.45);
    border: 1px solid var(--border-glass);
    border-radius: 999px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .nav-links {
    background: rgba(235, 238, 245, 0.65);
    border-color: rgba(0, 0, 0, 0.08);
}

.nav-pill-indicator {
    position: absolute;
    top: 3px;
    left: 0;
    height: calc(100% - 6px);
    width: 0;
    border-radius: 999px;
    background: var(--red-subtle);
    border: 1px solid var(--border-red);
    box-shadow: 0 2px 12px var(--red-glow);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transform: translate3d(0, 0, 0);
    transform-origin: left center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform, width;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.35, 1), width 0.35s cubic-bezier(0.25, 1, 0.35, 1), opacity 0.2s ease;
}

[data-theme="light"] .nav-pill-indicator {
    background: rgba(217, 4, 41, 0.12);
    border-color: rgba(217, 4, 41, 0.35);
    box-shadow: 0 2px 8px rgba(217, 4, 41, 0.15);
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.90rem;
    padding: 7px 16px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid transparent;
    background: transparent;
}

.nav-links a:not(.active):hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .nav-links a:not(.active):hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.08);
}

.nav-links a.active {
    color: var(--red-hover);
    font-weight: 700;
    background: transparent;
    border-color: transparent;
}

[data-theme="light"] .nav-links a.active {
    color: var(--red-main);
}

.nav-count {
    background: var(--red-main);
    color: #fff;
    font-size: 0.64rem;
    padding: 2px 6px;
    border-radius: 999px;
    font-weight: 800;
    margin-left: 4px;
    display: inline-block;
    vertical-align: middle;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.segmented-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 68px;
    height: 36px;
    padding: 2.5px;
    border-radius: 999px;
    background-color: var(--bg-surface-input);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    box-sizing: border-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

.segmented-toggle:hover {
    border-color: var(--border-glass-hover);
}

.segmented-toggle:focus-visible {
    outline: 2px solid var(--red-main);
    outline-offset: 2px;
}

/* Sliding highlight (thumb) */
.toggle-slider {
    position: absolute;
    top: 2.5px;
    left: 2.5px;
    width: calc((100% - 5px) / 2);
    height: calc(100% - 5px);
    border-radius: 999px;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    transform: translateX(0);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

[data-theme="dark"] .toggle-slider,
body:not([data-theme="light"]) .toggle-slider {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45), 0 0 10px rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

/* When state is right: animate slider to right */
.segmented-toggle[data-state="right"] .toggle-slider {
    transform: translateX(100%);
}

/* Option slots */
.toggle-opt {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    transition: color 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    line-height: 1;
    pointer-events: none;
}

.toggle-opt i,
.toggle-opt svg {
    flex-shrink: 0;
    font-size: 12px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
}

/* Active option states - Strict Monochrome Black & White */
.segmented-toggle[data-state="left"] .opt-left,
.segmented-toggle[data-state="right"] .opt-right {
    color: var(--text-primary);
    font-weight: 800;
}

.segmented-toggle[data-state="left"] .opt-left i,
.segmented-toggle[data-state="left"] .opt-left svg,
.segmented-toggle[data-state="right"] .opt-right i,
.segmented-toggle[data-state="right"] .opt-right svg {
    color: var(--text-primary);
    transform: scale(1.15);
}

[data-theme="light"] .segmented-toggle[data-state="left"] .opt-left i,
[data-theme="light"] .segmented-toggle[data-state="right"] .opt-right i {
    color: #0f172a;
}

:root:not([data-theme="light"]) .segmented-toggle[data-state="left"] .opt-left i,
:root:not([data-theme="light"]) .segmented-toggle[data-state="right"] .opt-right i,
[data-theme="dark"] .segmented-toggle[data-state="left"] .opt-left i,
[data-theme="dark"] .segmented-toggle[data-state="right"] .opt-right i {
    color: #ffffff;
}

.segmented-toggle[data-state="left"] .opt-right i,
.segmented-toggle[data-state="right"] .opt-left i {
    color: var(--text-dim);
    transform: scale(0.9);
}

.btn-live-support {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px var(--green-glow);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.btn-live-support:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.pulse-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px #fff;
    animation: pulseRing 2s infinite ease-in-out;
}

@keyframes pulseRing {

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

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

.menu-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bg-surface-input);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-panel-hover);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--border-glass);
    z-index: 1100;
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-glass);
}

.drawer-close {
    font-size: 1.3rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}

.drawer-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-surface-input);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--border-glass);
    transition: var(--transition-fast);
}

.drawer-links a.active {
    border-color: var(--red-main);
    background: var(--red-subtle);
    color: var(--red-hover);
}

/* Drawer Controls Row & Decorated Pill Buttons */
.drawer-ctrl-row {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.drawer-ctrl-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--bg-surface-input);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.drawer-ctrl-btn:hover {
    border-color: var(--border-glass-hover);
    background: var(--bg-panel-hover);
    transform: translateY(-1.5px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

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

.drawer-ctrl-btn i {
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: transform 0.25s ease;
}

.drawer-ctrl-btn:hover i {
    transform: scale(1.15);
}

/* ==========================================================================
   Main Content & Signature Glass Panels
   ========================================================================== */
.app-content {
    padding-top: 125px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    z-index: 1;
}

.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: var(--border-glass-hover);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 70px 60px;
    text-align: center;
    scroll-margin-top: 140px;
}

.hero-badges-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface-input);
    border: 1px solid var(--border-glass);
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.hero-badge:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
}

.hero-badge.apple-specialist-badge {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--text-primary);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .hero-badge.apple-specialist-badge {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.15);
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.hero-badge.apple-specialist-badge i {
    font-size: 1.05rem;
    color: var(--text-primary);
}

.hero-badge.motto-badge {
    background: var(--red-subtle);
    border-color: var(--border-red);
    color: var(--red-hover);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero-badge.motto-badge i {
    color: var(--red-main);
    animation: rotateSlow 8s linear infinite;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.badge-pulse {
    background: #22c55e;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

/* Feature Spotlight Quick-Action Grid */
.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 36px 0 10px;
    text-align: left;
}

.feature-pill-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-surface-input);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    transition: var(--transition-fast);
}

.feature-pill-card:hover {
    border-color: var(--border-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-pill-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--red-subtle);
    color: var(--red-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.feature-pill-icon.apple {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

[data-theme="light"] .feature-pill-icon.apple {
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.feature-pill-text {
    min-width: 0;
}

.feature-pill-text strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
}

.feature-pill-text span {
    display: block;
    font-size: 0.74rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Featured Apple Card Enhancement in Bento Grid */
.service-card.featured-apple-card {
    border-color: rgba(255, 255, 255, 0.25);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, var(--bg-panel) 100%);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .service-card.featured-apple-card {
    border-color: rgba(15, 23, 42, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 247, 250, 0.9) 100%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red-subtle);
    color: var(--red-hover);
    border: 1px solid var(--border-red);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}

.red-gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 10%, #f1aeb5 50%, var(--red-main) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .red-gradient-text {
    background: linear-gradient(135deg, #0f172a 10%, #b91c1c 60%, var(--red-main) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.18rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.location-highlight {
    color: var(--red-hover);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    text-decoration: none !important;
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
    cursor: pointer;
}

.location-highlight:hover,
.location-highlight:focus-visible {
    color: #ff385c;
    text-decoration: none !important;
    text-shadow: 0 0 10px rgba(230, 0, 38, 0.4);
}

[data-theme="light"] .location-highlight {
    color: var(--red-main);
}

[data-theme="light"] .location-highlight:hover,
[data-theme="light"] .location-highlight:focus-visible {
    color: var(--red-hover);
    text-shadow: 0 0 8px rgba(230, 0, 38, 0.2);
}

.location-highlight i {
    color: var(--red-main);
    font-size: 0.95em;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease, filter 0.25s ease;
}

.location-highlight:hover i,
.location-highlight:focus-visible i {
    transform: translateY(-4px) scale(1.22);
    color: #ff385c;
    filter: drop-shadow(0 3px 6px rgba(230, 0, 38, 0.6));
}

.hero-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary,
.btn-secondary {
    padding: 16px 36px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--red-main);
    color: #fff;
    box-shadow: var(--shadow-glow);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--red-hover);
    box-shadow: 0 15px 35px var(--red-glow);
}

.btn-secondary {
    background: var(--bg-surface-input);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-3px);
    background: var(--bg-panel-hover);
}

/* Hero Key Highlights (Side by Side 3-Column Layout) */
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
    padding-top: 26px;
    border-top: 1px solid var(--border-glass);
}

.stat-box {
    text-align: center;
    padding: 4px 6px;
}

.stat-box strong {
    display: block;
    font-size: clamp(1.15rem, 3.2vw, 1.65rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.stat-box span {
    font-size: clamp(0.72rem, 2vw, 0.82rem);
    color: var(--text-secondary);
    line-height: 1.25;
    display: block;
}

/* ==========================================================================
   Services Bento Grid
   ========================================================================== */
.services-section {
    padding: 20px 0 50px;
    text-align: center;
    scroll-margin-top: 105px;
}

.section-title {
    font-size: clamp(1.75rem, 3.6vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.22;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-title span.red-text,
.section-title span.text-highlight,
.section-title span:last-of-type {
    color: var(--red-main);
}

.section-subtitle {
    font-size: clamp(0.92rem, 2vw, 1.05rem);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    text-align: left;
}

.service-card {
    padding: 38px 32px;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
}

.service-card:hover {
    background: var(--bg-panel-hover);
    border-color: var(--border-red);
    transform: translateY(-4px);
}

.s-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--red-subtle);
    border: 1px solid var(--border-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--red-main);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.service-meta-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-glass);
    font-size: 0.85rem;
    color: var(--text-dim);
}

.service-meta-badge span {
    color: var(--text-secondary);
    font-weight: 600;
}

/* ==========================================================================
   Interactive Diagnostic Cost & Feasibility Calculator
   ========================================================================== */
.estimator-panel {
    padding: 44px;
    margin-bottom: 50px;
    scroll-margin-top: 105px;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.2fr;
    gap: 16px;
    align-items: flex-end;
    margin-top: 28px;
}

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

.form-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-surface-input);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--red-main);
    box-shadow: 0 0 0 3px var(--red-glow);
}

.form-control option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.calc-result {
    margin-top: 24px;
    padding: 20px 24px;
    background: var(--bg-surface-input);
    border-radius: 16px;
    border-left: 4px solid var(--red-main);
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
}

.calc-result.visible {
    display: flex;
}

.calc-result-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.calc-result-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Business Card Contact Layout (Signature Pill Buttons & QR)
   ========================================================================== */
.contact-section {
    padding: 60px 40px;
    text-align: center;
    scroll-margin-top: 105px;
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    justify-content: center;
    align-items: center;
}

.card-pills {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-width: 280px;
    max-width: 520px;
    width: 100%;
}

.card-pill {
    background: var(--bg-card-inner);
    border: 1px solid var(--border-red);
    border-radius: 20px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    text-align: left;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-pill:hover {
    background: var(--bg-panel-hover);
    transform: translateX(4px);
    box-shadow: 0 8px 24px var(--red-glow);
    border-color: var(--red-main);
}

.pill-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--red-main), var(--red-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.pill-icon.wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.pill-icon.fb {
    background: linear-gradient(135deg, #1877f2, #0d5bbd);
}

.pill-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pill-content span {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.pill-content strong {
    font-size: 0.96rem;
    color: var(--text-primary);
    font-weight: 700;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

/* Business QR Code Presentation */
.qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.qr-frame {
    position: relative;
    width: 155px;
    height: 155px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--red-main);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    padding: 10px;
}

.qr-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-whatsapp-icon {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 42px;
    height: 42px;
    background: var(--green-wa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid #fff;
}

.qr-box span {
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Authentic Ethics Banner */
.ethics-box {
    margin-top: 40px;
    padding: 24px 30px;
    background: var(--red-subtle);
    border: 1px solid var(--border-red);
    border-radius: 20px;
    text-align: center;
}

.ethics-text {
    font-family: var(--font-bengali);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.ethics-ref {
    font-family: var(--font-bengali);
    font-size: 0.9rem;
    color: var(--red-hover);
    font-weight: 700;
}

/* ==========================================================================
   Inventory Catalog Grid & Filtering
   ========================================================================== */
.inv-main-panel {
    padding: 48px 36px;
    text-align: center;
}

.inv-controls-wrapper {
    margin-bottom: 40px;
}

.inv-search-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.search-input-wrap {
    flex: 1;
    position: relative;
}

.search-input-wrap i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
}

.search-input-wrap input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    background: var(--bg-surface-input);
    border: 1px solid var(--border-glass);
    border-radius: 999px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.search-input-wrap input:focus {
    border-color: var(--red-main);
    box-shadow: 0 0 0 3px var(--red-glow);
}

.sort-dropdown {
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--bg-surface-input);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.sort-dropdown option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.brand-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip-btn {
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--bg-surface-input);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chip-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-glass-hover);
}

.chip-btn.active {
    background: var(--red-main);
    color: #fff;
    border-color: var(--red-main);
    box-shadow: 0 4px 14px var(--red-glow);
}

.inv-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-glass);
}

.inv-count-badge {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.inv-guarantee-badge {
    font-size: 0.85rem;
    color: var(--green-wa);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.inv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.inv-card {
    background: var(--bg-card-inner);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    content-visibility: auto;
    contain-intrinsic-size: 1px 360px;
}

.inv-card:hover {
    border-color: var(--border-red);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    background: var(--bg-panel-hover);
}

.inv-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

.inv-badge-top {
    position: static;
    background: var(--red-subtle);
    border: 1px solid var(--border-red);
    font-size: 0.70rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    color: var(--red-main);
    white-space: nowrap;
}

.inv-img {
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .inv-img {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.04) 0%, transparent 70%);
}

.inv-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition);
}

.inv-card:hover .inv-img img {
    transform: scale(1.06);
}

.inv-brand {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.inv-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.inv-price {
    font-size: 1.35rem;
    color: var(--red-main);
    font-weight: 800;
    margin-bottom: 16px;
}

.inv-specs {
    list-style: none;
    font-size: 0.84rem;
    margin-bottom: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-glass);
}

.inv-specs li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.inv-specs li i {
    color: var(--red-main);
    font-size: 0.75rem;
}

.btn-full {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 0.95rem;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
    text-align: center;
    padding: 50px 20px 30px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-glass);
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.site-footer p {
    font-size: 0.92rem;
    margin-bottom: 8px;
}

.footer-sub {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Floating WhatsApp Button */
.floating-wa-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--green-wa);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px var(--green-glow);
    z-index: 999;
    transition: var(--transition);
}

.floating-wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* Drawer Segmented Controls System */
.drawer-segmented-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    background: var(--bg-surface-input);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    margin-bottom: 14px;
}

.drawer-toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.drawer-toggle-label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-toggle-label i {
    color: var(--red-hover);
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Adaptations & Smart Mobile Top Bar
   ========================================================================== */
@media (max-width: 960px) {
    html {
        scroll-padding-top: 80px;
    }

    .hero-section {
        scroll-margin-top: 95px;
    }

    .services-section,
    .estimator-panel,
    .contact-section {
        scroll-margin-top: 80px;
    }

    .glass-header {
        top: 12px;
        padding: 0 12px;
    }

    .nav-container {
        padding: 6px 10px 6px 14px;
        max-width: 100%;
        border-radius: 999px;
    }

    .brand {
        gap: 8px;
    }

    .brand img {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .brand-title {
        font-size: 0.95rem;
    }

    .brand-subtitle {
        display: none;
    }

    .nav-links {
        display: none;
    }

    /* Collapse wide support button on mobile */
    .btn-live-support {
        display: none;
    }

    /* Transfer toggles into 3-line hamburger menu: hide toggles in top nav on mobile */
    .nav-actions .segmented-toggle {
        display: none !important;
    }

    .nav-actions {
        gap: 0;
    }

    .menu-toggle {
        display: inline-flex;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--bg-surface-input);
        border: 1px solid var(--border-glass);
        color: var(--text-primary);
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
    }

    .hero-section {
        padding: 36px 20px;
    }

    .hero-title {
        font-size: clamp(2rem, 4.4vw, 2.8rem);
        line-height: 1.18;
    }

    .section-title {
        font-size: clamp(1.55rem, 3.4vw, 1.95rem);
        line-height: 1.22;
    }

    .hero-stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding-top: 18px;
    }

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

    .contact-section {
        padding: 40px 24px;
    }

    .card-pills {
        min-width: 100%;
    }

    .inv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .app-content {
        padding-top: 80px;
        padding-left: 14px;
        padding-right: 14px;
    }

    /* Global Section Titles & Subtitles Harmony Across Entire Website */
    .section-title {
        font-size: clamp(1.35rem, 5.2vw, 1.65rem) !important;
        line-height: 1.25;
        letter-spacing: -0.015em;
        margin-bottom: 8px;
        text-align: center;
    }

    .section-subtitle {
        font-size: 0.86rem;
        line-height: 1.48;
        margin-bottom: 22px;
        max-width: 100%;
        text-align: center;
    }

    /* Hero Section Responsive Typography */
    .hero-section {
        padding: 26px 14px 20px;
    }

    .hero-badge {
        padding: 5px 13px;
        font-size: 0.74rem;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: clamp(1.65rem, 7.2vw, 2.15rem);
        line-height: 1.18;
        letter-spacing: -0.02em;
        margin-bottom: 12px;
        max-width: 100%;
    }

    .hero-title br {
        display: none;
    }

    .hero-desc {
        font-size: 0.86rem;
        line-height: 1.48;
        margin-bottom: 18px;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 18px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
        font-size: 0.88rem;
    }

    .hero-stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        padding-top: 14px;
    }

    .stat-box {
        padding: 2px 2px;
    }

    .stat-box strong {
        font-size: clamp(0.95rem, 4vw, 1.2rem);
        line-height: 1.1;
        margin-bottom: 2px;
    }

    .stat-box span {
        font-size: clamp(0.58rem, 2.2vw, 0.68rem);
        line-height: 1.2;
    }

    .feature-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin: 18px 0 6px;
    }

    .feature-pill-card {
        padding: 10px 12px;
        gap: 8px;
        border-radius: 14px;
    }

    .feature-pill-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .feature-pill-text strong {
        font-size: 0.78rem;
    }

    .feature-pill-text span {
        font-size: 0.66rem;
    }

    /* Services Section Bento Harmony */
    .services-section {
        padding: 10px 0 24px;
    }

    .bento-grid {
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .s-icon-box {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .service-card p {
        font-size: 0.82rem;
        line-height: 1.42;
        margin-bottom: 12px;
    }

    .service-meta-badge {
        padding-top: 10px;
        font-size: 0.76rem;
    }

    /* Estimator Panel Mobile Harmony */
    .estimator-panel {
        padding: 20px 14px;
        border-radius: 18px;
        margin-bottom: 24px;
    }

    .calc-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 16px;
    }

    .form-group {
        gap: 6px;
    }

    .form-label {
        font-size: 0.76rem;
    }

    .form-control {
        padding: 11px 14px;
        font-size: 0.86rem;
        border-radius: 12px;
    }

    .calc-result {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
        border-radius: 14px;
    }

    .calc-result-title {
        font-size: 0.95rem;
    }

    .calc-result-desc {
        font-size: 0.8rem;
    }

    /* Inventory Mobile 2-Devices Side-by-Side & Compact Controls */
    .glass-panel {
        border-radius: 20px;
    }

    .inv-main-panel {
        padding: 24px 14px 20px;
    }

    .inv-controls-wrapper {
        margin-bottom: 18px;
    }

    .inv-search-bar {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 10px;
    }

    .search-input-wrap input {
        width: 100%;
        padding: 11px 16px 11px 40px;
        font-size: 0.84rem;
        border-radius: 999px;
    }

    .search-input-wrap i {
        left: 15px;
        font-size: 0.84rem;
    }

    .sort-dropdown {
        width: 100%;
        padding: 10px 16px;
        font-size: 0.82rem;
        border-radius: 999px;
    }

    .brand-chips {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding: 2px 2px 8px;
        margin-bottom: 6px;
        scrollbar-width: none;
    }

    .brand-chips::-webkit-scrollbar {
        display: none;
    }

    .chip-btn {
        flex-shrink: 0;
        padding: 6px 14px;
        font-size: 0.76rem;
        white-space: nowrap;
        border-radius: 999px;
    }

    .inv-status-bar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
        margin-top: 8px;
        padding-top: 10px;
    }

    .inv-count-badge {
        font-size: 0.74rem;
        white-space: nowrap;
        font-weight: 700;
    }

    .inv-guarantee-badge {
        font-size: 0.70rem;
        font-weight: 600;
        text-align: right;
    }

    .inv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .inv-card {
        padding: 10px 8px 10px;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 100%;
    }

    .inv-card-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 4px;
        margin-bottom: 5px;
        width: 100%;
    }

    .inv-badge-top {
        position: static;
        font-size: 0.54rem;
        padding: 2px 6px;
        border-radius: 999px;
        font-weight: 700;
        line-height: 1.2;
    }

    .inv-brand {
        font-size: 0.56rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--text-dim);
    }

    .inv-img {
        height: 105px;
        padding: 4px;
        margin-bottom: 6px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .inv-img img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

    .inv-card h3 {
        font-size: 0.82rem;
        font-weight: 800;
        line-height: 1.22;
        min-height: 2.45em;
        margin-bottom: 3px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        color: var(--text-primary);
    }

    .inv-price {
        font-size: 0.92rem;
        font-weight: 900;
        color: var(--red-main);
        margin-bottom: 6px;
        line-height: 1.1;
    }

    .inv-specs {
        font-size: 0.62rem;
        gap: 3px;
        margin-bottom: 8px;
        padding-top: 6px;
        border-top: 1px dashed var(--border-glass);
        list-style: none;
        display: flex;
        flex-direction: column;
    }

    .inv-specs li {
        display: flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: var(--text-secondary);
        line-height: 1.25;
    }

    .inv-specs li i {
        font-size: 0.55rem;
        color: var(--red-hover);
        flex-shrink: 0;
    }

    .inv-specs li span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .inv-card .btn-full {
        padding: 8px 4px;
        font-size: 0.72rem;
        font-weight: 700;
        gap: 4px;
        border-radius: 999px;
        width: 100%;
        justify-content: center;
        white-space: nowrap;
        margin-top: auto;
    }

    /* Contact Section Mobile Ergonomics */
    .contact-section {
        padding: 24px 14px 20px;
    }

    .card-pills {
        min-width: 100%;
        gap: 10px;
    }

    .card-pill {
        padding: 12px 14px;
        border-radius: 16px;
        gap: 12px;
    }

    .pill-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .pill-content span {
        font-size: 0.65rem;
    }

    .pill-content strong {
        font-size: clamp(0.78rem, 3.2vw, 0.88rem);
        line-height: 1.3;
    }

    .qr-box {
        margin-top: 10px;
        gap: 10px;
    }

    .qr-frame {
        width: 110px;
        height: 110px;
        border-radius: 14px;
        padding: 6px;
    }

    .qr-box span {
        font-size: 0.82rem;
    }

    .ethics-box {
        margin-top: 20px;
        padding: 14px 16px;
        border-radius: 14px;
    }

    .ethics-text {
        font-size: 0.84rem;
        line-height: 1.55;
    }

    .ethics-ref {
        font-size: 0.72rem;
    }

    .floating-wa-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Ultra-narrow screen threshold: 1 column fallback when screen is narrower than 340px */
@media (max-width: 339px) {
    .inv-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .inv-card {
        padding: 14px 12px;
    }

    .inv-img {
        height: 135px;
    }

    .inv-card h3 {
        min-height: auto;
        font-size: 0.90rem;
    }
}