/* ═══════════════════════════════════════════════════════════════
   DUKANDARI — main.css
   Design system + shared styles for all pages
   dukandariapp.in
═══════════════════════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&family=Noto+Sans+Bengali:wght@400;600;700&family=Noto+Sans+Devanagari:wght@400;600;700&display=swap");

/* ─── CSS VARIABLES ─────────────────────────────────────────── */
:root {
    --primary: #1a56db;
    --primary-dark: #1241b0;
    --primary-light: #ebf5ff;
    --secondary: #057a55;
    --secondary-dark: #045e41;
    --secondary-light: #ecfdf5;
    --accent: #f59e0b;
    --accent-light: #fffbeb;
    --danger: #e02424;
    --danger-light: #fef2f2;
    --dark: #111827;
    --gray-800: #1f2937;
    --gray-600: #4b5563;
    --gray-400: #9ca3af;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;

    --font:
        "Noto Sans", "Noto Sans Bengali", "Noto Sans Devanagari", sans-serif;
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.2s ease;
    --max-width: 1140px;
}

/* ─── RESET ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: var(--font);
    color: var(--dark);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--primary-dark);
}
ul {
    list-style: none;
}
button {
    cursor: pointer;
    font-family: var(--font);
}

/* ─── TYPOGRAPHY ────────────────────────────────────────────── */
h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
}
h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
}
h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
    line-height: 1.4;
}
h4 {
    font-size: 1.1rem;
    font-weight: 600;
}
p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
}
.text-sm {
    font-size: 0.875rem;
}
.text-xs {
    font-size: 0.75rem;
}
.text-lg {
    font-size: 1.125rem;
}
.text-xl {
    font-size: 1.25rem;
}
.font-bold {
    font-weight: 700;
}
.text-primary {
    color: var(--primary);
}
.text-secondary {
    color: var(--secondary);
}
.text-accent {
    color: var(--accent);
}
.text-gray {
    color: var(--gray-600);
}
.text-center {
    text-align: center;
}

/* ─── LAYOUT ────────────────────────────────────────────────── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}
.section {
    padding: 4rem 0;
}
.section-sm {
    padding: 2.5rem 0;
}
.section-lg {
    padding: 6rem 0;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.flex {
    display: flex;
}
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gap-1 {
    gap: 0.5rem;
}
.gap-2 {
    gap: 1rem;
}
.gap-3 {
    gap: 1.5rem;
}
.mb-1 {
    margin-bottom: 0.5rem;
}
.mb-2 {
    margin-bottom: 1rem;
}
.mb-3 {
    margin-bottom: 1.5rem;
}
.mb-4 {
    margin-bottom: 2rem;
}
.mt-2 {
    margin-top: 1rem;
}
.mt-3 {
    margin-top: 1.5rem;
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}
.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}
.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    border-color: #25d366;
}
.btn-whatsapp:hover {
    background: #1ebe5a;
    border-color: #1ebe5a;
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ─── CARDS ─────────────────────────────────────────────────── */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    transition: var(--transition);
}
.card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}
.card-blue {
    background: var(--primary-light);
    border-color: #bfdbfe;
}
.card-green {
    background: var(--secondary-light);
    border-color: #a7f3d0;
}
.card-amber {
    background: var(--accent-light);
    border-color: #fde68a;
}

/* ─── BADGES ────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-blue {
    background: var(--primary-light);
    color: var(--primary);
}
.badge-green {
    background: var(--secondary-light);
    color: var(--secondary);
}
.badge-amber {
    background: var(--accent-light);
    color: #92400e;
}
.badge-red {
    background: var(--danger-light);
    color: var(--danger);
}

/* ─── SECTION HEADINGS ──────────────────────────────────────── */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.section-title {
    color: var(--dark);
    margin-bottom: 1rem;
}
.section-subtitle {
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 600px;
}

/* ─── NAVBAR ────────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.875rem 0;
    transition: var(--transition);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-logo span {
    color: var(--dark);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}
.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-links a:hover {
    color: var(--primary);
}
.nav-links a.active {
    color: var(--primary);
}
.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hidden by default; enabled only in mobile breakpoint */
.nav-drawer,
.nav-overlay {
    display: none;
}

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
    padding: 4rem 0 5rem;
    background: linear-gradient(135deg, #ebf5ff 0%, #f0fdf4 50%, #fffbeb 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: clamp(360px, 55vw, 600px);
    height: clamp(360px, 55vw, 600px);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(26, 86, 219, 0.06) 0%,
        transparent 70%
    );
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-badge {
    margin-bottom: 1rem;
}
.hero h1 {
    color: var(--dark);
    margin-bottom: 1.25rem;
}
.hero-sub {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}
.trust-item .icon {
    color: var(--secondary);
}
.hero-visual {
    position: relative;
}
.phone-mockup {
    background: var(--dark);
    border-radius: 32px;
    padding: 12px;
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 280px;
    margin: 0 auto;
}
.phone-screen {
    background: var(--white);
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 9/16;
    display: flex;
    flex-direction: column;
}
.phone-header {
    background: var(--primary);
    padding: 0.75rem 1rem;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.calc-display {
    background: var(--gray-50);
    padding: 1rem;
    text-align: right;
    font-size: 2rem;
    font-weight: 300;
    color: var(--dark);
    border-bottom: 1px solid var(--gray-200);
}
.calc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--gray-200);
    flex: 1;
}
.calc-btn {
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    padding: 0.6rem;
    transition: var(--transition);
}
.calc-btn.operator {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
}
.calc-btn.equals {
    background: var(--secondary);
    color: var(--white);
    font-weight: 700;
}
.sale-popup {
    position: absolute;
    bottom: 20px;
    left: -20px;
    right: -20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 0.875rem 1rem;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--secondary);
    animation: popIn 0.4s ease;
}
@keyframes popIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.popup-title {
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}
.popup-detail {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* ─── PAIN CARDS ────────────────────────────────────────────── */
.pain-section {
    background: var(--gray-50);
}
.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.pain-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--danger);
}
.pain-emoji {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}
.pain-card h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.pain-card p {
    font-size: 0.9rem;
}

/* ─── STEP FLOW ─────────────────────────────────────────────── */
.steps-flow {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.step-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
    padding: 1.5rem 1rem;
    position: relative;
}
.step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}
.step-arrow {
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.5rem;
    z-index: 2;
}
.step-item:last-child .step-arrow {
    display: none;
}
.step-item h4 {
    margin-bottom: 0.4rem;
    color: var(--dark);
}
.step-item p {
    font-size: 0.875rem;
}

/* ─── FEATURES GRID ─────────────────────────────────────────── */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 1.25rem;
    transition: var(--transition);
}
.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.875rem;
}
.feature-card h4 {
    color: var(--dark);
    margin-bottom: 0.4rem;
    font-size: 1rem;
}
.feature-card p {
    font-size: 0.875rem;
}

/* ─── COMPARISON TABLE ──────────────────────────────────────── */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.compare-table th {
    background: var(--primary);
    color: var(--white);
    padding: 0.875rem 1rem;
    font-weight: 600;
    text-align: left;
    font-size: 0.9rem;
}
.compare-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9rem;
}
.compare-table th,
.compare-table td {
    white-space: nowrap;
}
.compare-table tr:nth-child(even) td {
    background: var(--gray-50);
}
.compare-table tr:last-child td {
    border-bottom: none;
}
.compare-table .col-dukandari {
    background: #f0fdf4 !important;
    font-weight: 600;
    color: var(--secondary);
}
.tick {
    color: var(--secondary);
    font-weight: 700;
}
.cross {
    color: var(--danger);
}

/* ─── TESTIMONIALS ──────────────────────────────────────────── */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1.25rem;
    font-size: 4rem;
    color: var(--primary-light);
    font-weight: 700;
    line-height: 1;
}
.testimonial-text {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-style: italic;
    padding-top: 1rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.875rem;
}
.author-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}
.author-shop {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ─── SHOP TYPE TABS ────────────────────────────────────────── */
.shop-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.shop-tab {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius);
    border: 2px solid var(--gray-200);
    background: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}
.shop-tab.active,
.shop-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.shop-content {
    display: none;
}
.shop-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

/* ─── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}
.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}
.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.cta-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.cta-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
    background: var(--gray-800);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer-logo {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.footer-tagline {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
.footer h4 {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 0.875rem;
}
.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--white);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
}
.footer-bengali {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.5rem;
}

/* ─── WHATSAPP FLOAT BUTTON ─────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    background: #25d366;
    color: var(--white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-decoration: none;
    animation: pulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

[style*="grid-template-columns:repeat(4,1fr)"] {
    min-width: 0;
}
@keyframes pulse {
    0% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
}

/* ─── BLOG ──────────────────────────────────────────────────── */
.blog-card {
    display: flex;
    flex-direction: column;
}
.blog-card-img {
    border-radius: var(--radius) var(--radius) 0 0;
    aspect-ratio: 16/9;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.blog-card-body {
    padding: 1.25rem;
    flex: 1;
}
.blog-date {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}
.blog-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}
.blog-card p {
    font-size: 0.875rem;
}

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq-item {
    border-bottom: 1px solid var(--gray-200);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
}
.faq-question:hover {
    color: var(--primary);
}
.faq-icon {
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}
.faq-answer {
    display: none;
    padding: 0 0 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
}
.faq-item.open .faq-answer {
    display: block;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .hero-grid,
    .grid-2,
    .grid-3,
    .shop-content.active {
        grid-template-columns: 1fr;
    }

    .nav-cta {
        display: none;
    }

    /* ── MOBILE SIDEBAR DRAWER ───────────────────────────── */
    .nav-links {
        display: none;
    } /* hide desktop links */
    .hamburger {
        display: flex;
    } /* show hamburger */

    /* The drawer itself — slides in from left */
    .nav-drawer {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: min(78vw, 300px);
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
        z-index: 200;
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }
    .nav-drawer.open {
        transform: translateX(0);
    }

    /* Drawer header bar — logo row */
    .nav-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid var(--gray-200);
        background: var(--white);
        position: sticky;
        top: 0;
        z-index: 1;
    }
    .nav-drawer-logo {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--primary);
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }
    .nav-drawer-close {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 1.4rem;
        color: var(--gray-600);
        padding: 4px 8px;
        line-height: 1;
    }

    /* Drawer nav links */
    .nav-drawer-links {
        display: flex;
        flex-direction: column;
        padding: 1rem 0;
    }
    .nav-drawer-links a {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
        font-weight: 500;
        color: var(--gray-700);
        border-left: 3px solid transparent;
        transition: var(--transition);
    }
    .nav-drawer-links a:hover,
    .nav-drawer-links a.active {
        color: var(--primary);
        border-left-color: var(--primary);
        background: var(--primary-light);
    }
    .nav-drawer-cta {
        padding: 1rem 1.5rem;
        border-top: 1px solid var(--gray-200);
        margin-top: auto;
    }

    /* Dim overlay behind drawer */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 199;
        backdrop-filter: blur(2px);
    }
    .nav-overlay.open {
        display: block;
    }

    /* ── rest of 768px rules ─────────────────────────────── */
    .hero {
        padding: 2.5rem 0 3rem;
    }
    .phone-mockup {
        max-width: 220px;
    }
    .pain-grid {
        grid-template-columns: 1fr;
    }
    .steps-flow {
        flex-direction: column;
    }
    .step-arrow {
        display: none;
    }
    .section {
        padding: 2.5rem 0;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .compare-table {
        font-size: 0.78rem;
    }
    .compare-table th,
    .compare-table td {
        padding: 0.55rem 0.65rem;
    }
    .whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        width: 52px;
        height: 52px;
        font-size: 1.45rem;
    }
    [style*="display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;"] {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 0 0.9rem;
    }
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-trust {
        flex-direction: column;
        gap: 0.5rem;
    }
    .playstore-btn,
    .hero-ctas .btn,
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    [style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    h1 {
        font-size: 1.6rem;
    }
    h2 {
        font-size: 1.3rem;
    }
}

/* ─── UTILITY ANIMATIONS ────────────────────────────────────── */
.fade-in {
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hover-lift {
    transition: var(--transition);
}
.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* ─── PLAY STORE BUTTON ─────────────────────────────────────── */
.playstore-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--dark);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}
.playstore-btn:hover {
    background: var(--gray-800);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.playstore-btn .ps-icon {
    font-size: 1.6rem;
}
.playstore-btn .ps-text {
    display: flex;
    flex-direction: column;
}
.playstore-btn .ps-small {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}
.playstore-btn .ps-big {
    font-size: 1rem;
    font-weight: 700;
}
