/* ============================================
   MY METAJI - PROFESSIONAL STYLESHEET
   Clean Modern Design | Primary: #2563EB
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --primary-rgb: 37, 99, 235;
    --accent: #3B82F6;
    --accent-light: #60A5FA;
    --black: #111827;
    --dark: #0F172A;
    --dark-rgb: 15, 23, 42;
    --white: #FFFFFF;
    --gray-light: #F8FAFC;
    --gray: #64748B;
    --gray-dark: #475569;
    --text: #1E293B;
    --border: #E2E8F0;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #2563EB;
    --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-xs: 11px;
    --font-sm: 12px;
    --font-base: 13px;
    --font-md: 14px;
    --font-lg: 15px;
    --font-xl: 16px;
    --font-2xl: 18px;
    --font-3xl: 22px;
    --font-4xl: 26px;
    --font-5xl: 30px;
    --font-6xl: 34px;
    --font-7xl: 38px;
    --font-8xl: 44px;
    --font-9xl: 50px;
    --font-10xl: 56px;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extra: 800;
    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.6;
    --leading-loose: 1.7;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;
    --space-xl: 20px;
    --space-2xl: 24px;
    --space-3xl: 32px;
    --space-4xl: 40px;
    --space-5xl: 48px;
    --space-6xl: 64px;
    --space-7xl: 80px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
    --radius-2xl: 14px;
    --radius-3xl: 16px;
    --radius-4xl: 20px;
    --radius-5xl: 24px;
    --radius-full: 50%;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
    --shadow-hover: 0 10px 25px -5px rgba(37,99,235,0.12), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-blue: 0 10px 30px -5px rgba(37,99,235,0.3);
    --gradient-primary: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #3B82F6 100%);
    --gradient-hero: linear-gradient(160deg, #0F172A 0%, #1E3A5F 40%, #1E40AF 100%);
    --gradient-accent: linear-gradient(135deg, #2563EB, #3B82F6);
    --gradient-card: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    --gradient-blue-subtle: linear-gradient(135deg, #EFF6FF, #F8FAFC);
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); color: var(--text); overflow-x: hidden; font-size: var(--font-md); line-height: var(--leading-normal); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
::selection { background: var(--primary); color: var(--white); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }
/* ===== UNIVERSAL BUTTON STYLES ===== */
.btn-primary,
.btn-cta,
.ab-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-accent);
    color: #FFFFFF !important;
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary:hover,
.btn-cta:hover,
.ab-btn-primary:hover {
    background: linear-gradient(135deg, #1D4ED8, #2563EB);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
    color: #FFFFFF !important;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFFFFF;
    color: var(--primary) !important;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    white-space: nowrap;
}
.btn-secondary:hover {
    background: #EFF6FF;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #FFFFFF !important;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    white-space: nowrap;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
header { background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 14px 0; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border); transition: all 0.3s ease; }
.header-container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-2xl); display: flex; align-items: center; justify-content: space-between; }
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.header-logo { height: 38px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--gray-dark); transition: all 0.2s; position: relative; padding: 8px 14px; border-radius: 8px; white-space: nowrap; }
.nav-links a:hover { color: var(--primary); background: var(--gradient-blue-subtle); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--primary); border-radius: 1px; transition: all 0.3s ease; transform: translateX(-50%); }
.nav-links a:hover::after { width: 60%; }
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu { display: none; position: absolute; top: calc(100% + 4px); left: 0; background: var(--white); min-width: 220px; box-shadow: 0 16px 48px rgba(0,0,0,0.12); border-radius: var(--radius-xl); padding: 6px 0; z-index: 100; border: 1px solid var(--border); }
.nav-dropdown.open .dropdown-menu { display: block; animation: dropdownFade 0.2s ease; }
@keyframes dropdownFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.dropdown-menu a { display: block; padding: 10px 18px !important; font-size: 13px !important; border-radius: 8px !important; margin: 2px 6px; }
.dropdown-menu a:hover { background: var(--gradient-blue-subtle) !important; color: var(--primary) !important; }

.header-btn { background: var(--primary) !important; color: var(--white) !important; padding: 10px 22px !important; border-radius: 10px !important; font-weight: 600 !important; font-size: 13px !important; border: none; cursor: pointer; transition: all 0.25s ease !important; box-shadow: 0 2px 8px rgba(37,99,235,0.3); letter-spacing: 0.3px; }
    .header-btn::after { display: none !important; }

    /* Sign In sits next to the trial CTA as the quieter of the two, so the
       primary action keeps the eye. Points at admin/login.php, which handles
       team members, subadmins and shop tenants alike.
       Scoped as .nav-links .header-signin because the generic ".nav-links a"
       rule is more specific and would otherwise win on padding and colour. */
    .nav-links .header-signin {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 10px 16px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.3px;
      color: var(--black);
      text-decoration: none;
      white-space: nowrap;
      border: 1.5px solid var(--border);
      background: transparent;
      transition: all 0.25s ease;
    }
    .nav-links .header-signin:hover { color: var(--primary); border-color: var(--primary); background: var(--gray-light); }
    .nav-links .header-signin::after { display: none; }
    .header-signin svg { width: 16px; height: 16px; flex-shrink: 0; }

    /* The nav runs to the 768px hamburger breakpoint with no wrap, and Sign In
       made it tighter. Reclaim the width from padding rather than hiding the
       button, so it stays reachable on tablets. */
    @media (min-width: 769px) and (max-width: 1100px) {
      .nav-links { gap: 2px; }
      .nav-links a { padding: 8px 10px; }
      .nav-links .header-signin { padding: 9px 12px; }
      .header-btn { padding: 10px 16px !important; }
    }

    .mobile-signin-btn {
      display: inline-block;
      color: var(--black);
      padding: 8px 14px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 12px;
      text-decoration: none;
      border: 1.5px solid var(--border);
      white-space: nowrap;
      transition: all 0.2s;
    }
    .mobile-signin-btn:hover { color: var(--primary); border-color: var(--primary); }

    /* Both classes needed: .mobile-nav-link is declared later in this file and
       would otherwise win on colour. */
    .mobile-nav-link.mobile-signin-link { font-weight: 700; color: var(--primary); }

    /* Once a session exists the Sign In control is rendered as a <span>, not an
       <a>, so it leaves the tab order and cannot be activated. pointer-events:none
       stops the :hover rules above from lighting up a control that does nothing,
       and the !important declarations beat those same hover rules. */
    .header-signin.is-disabled,
    .mobile-signin-btn.is-disabled,
    .mobile-signin-link.is-disabled {
        opacity: 1;
        cursor: pointer;
        pointer-events: auto;
        color: var(--black) !important;
        border-color: var(--border) !important;
        background: transparent !important;
        box-shadow: none !important;
    }

.header-btn:hover { background: var(--primary-dark) !important; transform: translateY(-1px); box-shadow: var(--shadow-blue) !important; }

/* Mobile Actions (Desktop hidden) */
.mobile-actions { display: none; align-items: center; gap: var(--space-md); }
.mobile-cta-btn { display: inline-block; background: var(--primary); color: var(--white); padding: 8px 18px; border-radius: 8px; font-weight: 600; font-size: 12px; text-decoration: none; transition: all 0.2s; white-space: nowrap; }
.mobile-cta-btn:hover { background: var(--primary-dark); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: var(--space-sm); z-index: 1001; }
.hamburger span { width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 1001; opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(4px); }
.mobile-menu-overlay.open { display: block; opacity: 1; }

/* ===== MOBILE MENU ===== */
.mobile-menu { display: none; }

/* ===== RESPONSIVE - MOBILE (768px) ===== */
@media (max-width: 768px) {
    .nav-links { display: none !important; }
    .mobile-actions { display: flex; }
    .mobile-cta-btn { display: inline-flex; }
    .hamburger { display: flex; }
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: var(--white);
        z-index: 1002;
        overflow-y: auto;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 32px rgba(0,0,0,0.12);
    }
    .mobile-menu.open { right: 0; }
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--space-lg) var(--space-xl);
        border-bottom: 1px solid var(--border);
        position: sticky;
        top: 0;
        background: var(--white);
        z-index: 1;
    }
    .mobile-menu-logo img { height: 30px; width: auto; }
    .mobile-menu-actions { display: flex; align-items: center; gap: var(--space-md); }
    .mobile-close-btn {
        width: 34px;
        height: 34px;
        border-radius: var(--radius-full);
        border: 1px solid var(--border);
        background: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--gray-dark);
        transition: all 0.2s;
    }
    .mobile-close-btn:hover { background: var(--gray-light); color: var(--black); }
    .mobile-menu-nav { padding: var(--space-md) 0; }
    .mobile-nav-item { border-bottom: 1px solid var(--gray-light); }
    .mobile-nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--space-lg) var(--space-xl);
        font-size: 14px;
        font-weight: 500;
        color: var(--black);
        text-decoration: none;
        transition: background 0.2s;
    }
    .mobile-nav-link:hover { background: var(--gray-light); }
    .mobile-arrow { font-size: var(--font-sm); color: var(--gray); transition: transform 0.3s; }
    .mobile-nav-item.open .mobile-arrow { transform: rotate(180deg); }
    .mobile-submenu { display: none; background: var(--gray-light); }
    .mobile-nav-item.open .mobile-submenu { display: block; }
    .mobile-submenu a {
        display: block;
        padding: 12px var(--space-xl) 12px 44px;
        font-size: 13px;
        color: var(--gray-dark);
        text-decoration: none;
        transition: all 0.2s;
    }
    .mobile-submenu a:hover { color: var(--primary); background: rgba(37,99,235,0.04); }
    .header-logo { height: 30px; }
}

/* ===== HERO ===== */
.hero {
    background: var(--gradient-hero);
    padding: 100px var(--space-xl) 120px;
    position: relative;
    overflow: hidden;
}

.modern-saas-hero {
    background: radial-gradient(120% 120% at 50% 0%, #1e3a8a 0%, #0f172a 65%, #020617 100%) !important;
    padding: 100px 24px 120px !important;
    position: relative;
    overflow: hidden;
}

.hero-ambient-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(37, 99, 235, 0) 70%);
    border-radius: 50%;
    pointer-events: auto;
    z-index: 0;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.hero-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-btn-glow {
    background: linear-gradient(135deg, #3B82F6, #2563EB) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.hero-btn-glow:hover {
    background: linear-gradient(135deg, #2563EB, #1D4ED8) !important;
    box-shadow: 0 6px 28px rgba(37, 99, 235, 0.65) !important;
    transform: translateY(-2px);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-2px);
}

.hero-trust-tags {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    flex-wrap: wrap;
}

/* ── SaaS Mockup Window ── */
.saas-mockup-window {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(37, 99, 235, 0.2);
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    backdrop-filter: blur(20px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.saas-mockup-window:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.8), 0 0 50px rgba(37, 99, 235, 0.3);
}

.mockup-top-bar {
    background: rgba(15, 23, 42, 0.95);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mockup-dots .dot.red { background: #ef4444; }
.mockup-dots .dot.yellow { background: #f59e0b; }
.mockup-dots .dot.green { background: #10b981; }

.mockup-url-pill {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-family: monospace;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-live-status {
    font-size: 11px;
    color: #10B981;
    font-weight: 600;
}

.mockup-content {
    padding: 20px;
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
    position: relative;
}

.mockup-kpi-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.mockup-kpi-card {
    padding: 14px;
    border-radius: 12px;
    text-align: left;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-kpi-card.blue {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(59, 130, 246, 0.08));
    border-color: rgba(59, 130, 246, 0.3);
}

.mockup-kpi-card.green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.08));
    border-color: rgba(16, 185, 129, 0.3);
}

.mk-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mk-value {
    font-size: 20px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 4px 0 2px;
    letter-spacing: -0.02em;
}

.mk-trend {
    font-size: 11px;
    color: #34D399;
    font-weight: 600;
}

.mk-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.mockup-table-preview {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 14px;
}

.mtp-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 8px;
}

.mtp-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 10px;
}

.mtp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mtp-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mtp-client strong {
    display: block;
    font-size: 12.5px;
    color: #FFFFFF;
    font-weight: 600;
}

.mtp-client small {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.5);
}

.mtp-right {
    text-align: right;
}

.mtp-right strong {
    display: block;
    font-size: 13px;
    color: #FFFFFF;
}

.mtp-status {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 6px;
}
.mtp-status.green { background: rgba(16, 185, 129, 0.25); color: #6ee7b7; }
.mtp-status.blue { background: rgba(59, 130, 246, 0.25); color: #93c5fd; }

.mockup-floating-badge {
    position: absolute;
    bottom: -10px;
    right: 14px;
    background: #1e293b;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 12px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    animation: floatBadge 4s ease-in-out infinite;
}

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

.mfb-icon {
    font-size: 20px;
}

.mfb-text strong {
    display: block;
    font-size: 11.5px;
    color: #FFFFFF;
    font-weight: 700;
}

.mfb-text small {
    font-size: 10px;
    color: #94A3B8;
}

.hero-container { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 60px; position: relative; z-index: 1; }
.hero-text { flex: 1.1; color: var(--white); }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12.5px;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.hero-text h1 { font-size: 46px; font-weight: 800; line-height: 1.16; margin-bottom: 18px; letter-spacing: -0.8px; }
.hero-desc { font-size: 16px; color: rgba(255, 255, 255, 0.85); line-height: 1.7; margin-bottom: 28px; max-width: 540px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 18px;
    backdrop-filter: blur(8px);
}
.hero-stat h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; color: #FFFFFF; }
.hero-stat p { font-size: 11.5px; color: rgba(255, 255, 255, 0.7); margin-top: 2px; }
.hero-image { flex: 0.9; text-align: center; }

/* ===== TRUSTED BY ===== */
.trusted { padding: 40px var(--space-xl); background: var(--white); text-align: center; border-bottom: 1px solid var(--border); }
.trusted p { font-size: 13px; color: var(--gray); margin-bottom: 20px; font-weight: 500; }
.trusted-logos { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; align-items: center; }
.trusted-logos .tlogo {
    padding: 10px 20px;
    background: var(--gray-light);
    border-radius: 8px;
    font-size: 12px;
    color: var(--gray-dark);
    font-weight: 600;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    letter-spacing: 0.2px;
}
.trusted-logos .tlogo:hover { border-color: var(--primary-light); background: var(--gradient-blue-subtle); color: var(--primary); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* ===== SECTION COMMON ===== */
.section { padding: 90px var(--space-xl); position: relative; }
.section-container { max-width: 1240px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 54px; position: relative; }
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EFF6FF;
    color: #2563EB;
    border: 1px solid #BFDBFE;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
}
.section-title h2 { font-size: 36px; font-weight: 800; color: var(--black); margin-bottom: 14px; letter-spacing: -0.6px; line-height: 1.2; }
.section-title p { font-size: 15.5px; color: var(--gray); max-width: 580px; margin: 0 auto; line-height: 1.65; }
.section-title .highlight {
    background: linear-gradient(135deg, #1E40AF, #2563EB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}
.section-title .highlight::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #3B82F6, #60A5FA); border-radius: 2px; }

/* ===== SOLUTIONS LINK GRID ===== */
.solutions-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-link-card {
    padding: 36px 28px;
    background: var(--white);
    border-radius: var(--radius-4xl);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.solution-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.solution-link-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -8px rgba(37, 99, 235, 0.15), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
    border-color: rgba(37, 99, 235, 0.35);
}
.solution-link-card:hover::before { opacity: 1; }
.solution-link-icon {
    width: 64px;
    height: 64px;
    background: #EFF6FF;
    color: #2563EB;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
}
.solution-link-card:hover .solution-link-icon {
    background: var(--gradient-accent);
    color: #FFFFFF;
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}
.solution-link-card h3 { font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.solution-link-card p { font-size: 13.5px; color: var(--gray); line-height: 1.6; }

/* ===== FEATURES ===== */
.features { background: #F8FAFC; position: relative; }
.features::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 15% 20%, rgba(37,99,235,0.04) 0%, transparent 60%); pointer-events: auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: var(--white);
    padding: 34px;
    border-radius: var(--radius-4xl);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--gradient-accent); opacity: 0; transition: opacity 0.3s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 35px -8px rgba(37, 99, 235, 0.12); border-color: rgba(37, 99, 235, 0.3); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 52px;
    height: 52px;
    background: #EFF6FF;
    color: #2563EB;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}
.feature-card:hover .feature-icon { background: var(--gradient-accent); color: #FFFFFF; transform: scale(1.06); box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25); }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--black); }
.feature-card p { font-size: 13.5px; color: var(--gray-dark); line-height: 1.65; }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    background: #F8FAFC;
    border-radius: var(--radius-3xl);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.step-card:hover { transform: translateY(-4px); background: #FFFFFF; box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.08); border-color: #CBD5E1; }
.step-number {
    width: 52px;
    height: 52px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    margin: 0 auto 18px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
    transition: transform 0.3s ease;
}
.step-card:hover .step-number { transform: scale(1.1) rotate(5deg); }
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--black); }
.step-card p { font-size: 13px; color: var(--gray); line-height: 1.6; }
.cta-center { text-align: center; margin-top: 44px; }
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 13px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
    letter-spacing: 0.2px;
}
.btn-cta:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5); }

/* ===== INDUSTRY ===== */
.industry { background: #F8FAFC; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card {
    background: var(--white);
    border-radius: var(--radius-3xl);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 1px solid var(--border);
}
.industry-card:hover { transform: translateY(-5px); box-shadow: 0 18px 32px -6px rgba(37, 99, 235, 0.12); border-color: rgba(37, 99, 235, 0.35); }
.industry-icon {
    width: 60px;
    height: 60px;
    background: #EFF6FF;
    color: #2563EB;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}
.industry-card:hover .industry-icon { background: var(--gradient-accent); color: #FFFFFF; transform: scale(1.1); box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3); }
.industry-card h3 { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.industry-card p { font-size: 12.5px; color: var(--gray); line-height: 1.5; }

/* ===== STATS BANNER ===== */
.stats-banner { background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #2563EB 100%); padding: 70px var(--space-xl); position: relative; overflow: hidden; }
.stats-banner::before { content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%); border-radius: var(--radius-full); }
.stats-container { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 32px; position: relative; z-index: 1; }
.stat-item { text-align: center; color: var(--white); }
.stat-item h2 { font-size: 42px; font-weight: 800; letter-spacing: -0.5px; }
.stat-item p { font-size: 13.5px; opacity: 0.85; margin-top: 4px; font-weight: 500; }

/* ===== WHY CHOOSE ===== */
.why-choose { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
    padding: 34px;
    border-radius: var(--radius-4xl);
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.why-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0; background: var(--gradient-accent); border-radius: 0 2px 2px 0; transition: height 0.35s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -6px rgba(37, 99, 235, 0.12); border-color: rgba(37, 99, 235, 0.3); }
.why-card:hover::before { height: 100%; }
.why-card h3 { font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.why-card p { font-size: 13.5px; color: var(--gray); line-height: 1.65; }
/* ===== TESTIMONIALS ===== */
.testimonials { background: #F8FAFC; position: relative; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--white);
    padding: 34px;
    border-radius: var(--radius-4xl);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 18px 32px -6px rgba(37, 99, 235, 0.12); border-color: rgba(37, 99, 235, 0.3); }
.testimonial-card .stars { color: #F59E0B; font-size: 15px; margin-bottom: 14px; letter-spacing: 3px; }
.testimonial-card p { font-size: 13.5px; color: var(--gray-dark); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
}
.author-info h4 { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 2px; }
.author-info p { font-size: 11.5px; color: var(--gray); font-style: normal; margin-bottom: 0; }

/* ===== PRICING ===== */
.pricing { background: var(--white); position: relative; }
.pricing::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 80% 20%, rgba(37,99,235,0.03) 0%, transparent 60%); pointer-events: auto; }

/* Trial banner on pricing page */
.trial-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 100%);
    border: 1.5px solid #BFDBFE;
    border-radius: var(--radius-3xl);
    padding: 28px 36px;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.07);
}
.trial-banner h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.trial-banner p {
    font-size: 14.5px;
    color: var(--gray-dark);
    margin-bottom: 0;
    line-height: 1.5;
}
.trial-banner .btn-cta {
    flex-shrink: 0;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .trial-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
        gap: 18px;
        margin-bottom: 30px;
    }
    .trial-banner .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

.plan-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Billing cycle switch: one control drives the price of every card. */
.plan-toggle {
    display: inline-flex;
    background: #F1F5F9;
    border: 1.5px solid #CBD5E1;
    border-radius: 999px;
    padding: 5px;
    margin: 0 auto 40px;
    gap: 6px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}
.plan-toggle-btn {
    border: none;
    background: transparent;
    color: #64748B;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.plan-toggle-btn span { font-size: 11px; font-weight: 800; color: #059669; background: #D1FAE5; padding: 2px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.3px; }
.plan-toggle-btn:hover { color: var(--primary); }
.plan-toggle-btn.is-active { background: var(--white); color: var(--primary); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1199px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.pricing-card {
    background: var(--white);
    border-radius: var(--radius-4xl);
    padding: 36px 26px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    text-align: center;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid var(--border);
    display: flex;
    flex-direction: column;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -8px rgba(37, 99, 235, 0.15); border-color: rgba(37, 99, 235, 0.4); }
.pricing-card.highlighted {
    border-color: var(--primary);
    transform: scale(1.03);
    box-shadow: 0 20px 45px -8px rgba(37, 99, 235, 0.25);
    background: linear-gradient(180deg, #EFF6FF 0%, var(--white) 35%);
}
.pricing-card.highlighted:hover { transform: scale(1.03) translateY(-6px); box-shadow: 0 26px 50px -8px rgba(37, 99, 235, 0.35); }
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.pricing-card h3 { font-size: 20px; font-weight: 800; color: var(--black); margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pricing-card .plan-icon { font-size: 22px; line-height: 1; display: inline-flex; align-items: center; }
.pricing-price { margin-bottom: 4px; }
.pricing-price .amount { font-size: 38px; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
.pricing-price .period { font-size: 14px; color: var(--gray); font-weight: 500; }
.plan-cycle-note { font-size: 11px; font-weight: 700; color: #059669; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.plan-picker.is-yearly .plan-cycle-note { color: var(--primary); }
.pricing-desc { font-size: 13px; color: var(--gray); margin-bottom: 18px; line-height: 1.5; }
.plan-includes {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-dark);
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 18px;
}
.pricing-features { text-align: left; margin-bottom: 28px; }
.pricing-features li { font-size: 13px; color: var(--gray-dark); padding: 9px 0; border-bottom: 1px solid #F1F5F9; display: flex; align-items: center; gap: 8px; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #D1FAE5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
    border-radius: 50%;
    flex-shrink: 0;
}
.pricing-btn {
    width: 100%;
    padding: 13px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1.5px solid var(--primary);
    letter-spacing: 0.2px;
    margin-top: auto;
    display: inline-block;
}
.pricing-btn.btn-primary-dark { background: var(--primary); color: var(--white); box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35); }
.pricing-btn.btn-primary-dark:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5); }
.pricing-btn.btn-outline-dark { background: transparent; color: var(--primary); }
.pricing-btn.btn-outline-dark:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25); }

/* ===== FAQ ===== */
.faq { background: #F8FAFC; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-2xl);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.faq-item:hover { border-color: #CBD5E1; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); }
.faq-question {
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: all 0.3s ease;
}
.faq-question:hover { background: #F8FAFC; color: var(--primary); }
.faq-question .arrow { font-size: 14px; color: var(--primary); transition: transform 0.3s ease; flex-shrink: 0; margin-left: 12px; }
.faq-item.active { border-color: var(--primary); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08); }
.faq-item.active .faq-question { color: var(--primary); border-bottom: 1px solid #EFF6FF; background: #F8FAFC; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 18px 24px 18px; font-size: 14px; color: var(--gray-dark); line-height: 1.7; margin: 0; }
.faq-item.active .faq-answer { max-height: 350px; }
.faq-item.active .arrow { transform: rotate(180deg); }

/* ===== DOWNLOAD CTA ===== */
.download-cta {
    background: linear-gradient(135deg, #0B1120 0%, #0F172A 40%, #1E3A8A 100%);
    padding: 90px var(--space-xl);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(135deg, #0B1120 0%, #0F172A 40%, #1E3A8A 100%);
    background-size: 28px 28px, 100% 100%;
}
.download-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    border-radius: var(--radius-full);
    pointer-events: auto;
}
.download-cta h2 { font-size: 40px; font-weight: 800; margin-bottom: 14px; position: relative; z-index: 1; letter-spacing: -0.6px; }
.download-cta p { font-size: 16px; color: rgba(255, 255, 255, 0.85); margin-bottom: 38px; max-width: 520px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; line-height: 1.65; }
.download-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    padding: 14px 28px;
    border-radius: 14px;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: left;
}
.dl-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.45);
}
.dl-btn .icon { font-size: 22px; display: flex; align-items: center; }
.dl-btn span { font-size: 10px; opacity: 0.75; display: block; text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600; }

/* ===== CONTACT ===== */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.contact-card {
    padding: 32px 24px;
    background: #F8FAFC;
    border-radius: var(--radius-4xl);
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -6px rgba(37, 99, 235, 0.12); border-color: rgba(37, 99, 235, 0.3); background: #FFFFFF; }
.contact-card .icon {
    width: 48px;
    height: 48px;
    background: #EFF6FF;
    color: #2563EB;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}
.contact-card h4 { font-size: 15px; color: var(--black); margin-bottom: 4px; font-weight: 700; }
.contact-card p { font-size: 13.5px; color: var(--gray-dark); font-weight: 500; }
.contact-hours { text-align: center; font-size: 12.5px; color: var(--gray); display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ===== ABOUT ===== */
.about-section { background: #F8FAFC; }
.about-content { max-width: 900px; margin: 0 auto; }
.about-text h3 { font-size: 22px; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--gray-dark); line-height: 1.75; margin-bottom: 20px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.value-item {
    text-align: center;
    padding: 26px 18px;
    background: var(--white);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.value-item:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.06); border-color: #CBD5E1; }
.value-icon {
    width: 48px;
    height: 48px;
    background: #EFF6FF;
    color: #2563EB;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.value-item h4 { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.value-item p { font-size: 13px; color: var(--gray); margin-bottom: 0; line-height: 1.5; }

/* ===== FOOTER ===== */
footer { background: #0B1120; color: #94A3B8; padding: 64px var(--space-xl) 28px; position: relative; border-top: 1px solid rgba(255, 255, 255, 0.08); }
footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, #2563EB, #3B82F6, #60A5FA); }
.footer-container { max-width: 1240px; margin: 0 auto; }
.footer-top-grid { margin-bottom: 36px; }

/* Brand */
.footer-brand .logo { color: var(--white); font-size: 20px; margin-bottom: 12px; font-weight: 700; }
.footer-brand .logo span { color: var(--accent-light); }
.footer-logo { height: 40px; width: auto; object-fit: contain; margin-bottom: 12px; }
.footer-brand p { font-size: 12px; line-height: 1.7; color: #94A3B8; margin-bottom: 16px; }

/* Social Links */
.social-links { margin-bottom: 16px; }
.social-links a {
    width: 32px; height: 32px; background: rgba(255,255,255,0.06); border-radius: 6px;
    display: flex; align-items: center; justify-content: center; color: #94A3B8;
    transition: all 0.25s ease; border: 1px solid rgba(255,255,255,0.04);
}
.social-links a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }

/* App Badges */
.footer-badge-link {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
    color: #fff; font-size: 11px; font-weight: 600; transition: all 0.25s ease;
}
.footer-badge-link:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); transform: translateY(-1px); }
.footer-badge-link svg { flex-shrink: 0; }

/* Footer Columns */
.footer-col h4 {
    font-size: 12px; font-weight: 700; color: var(--white); margin-bottom: 14px;
    text-transform: uppercase; letter-spacing: 0.5px; padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a {
    font-size: 12px; color: #94A3B8; transition: all 0.2s ease; display: inline-block;
}
.footer-col ul li a:hover { color: var(--accent-light); transform: translateX(3px); }

/* Divider */
.footer-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 8px 0 16px; }

/* Contact Bar */
.footer-contact-bar { margin-bottom: 16px; }
.footer-contact-item {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 12px; color: #94A3B8;
}
.footer-contact-item svg { color: var(--primary-light); flex-shrink: 0; }
.footer-contact-link { color: inherit; text-decoration: none; }
.footer-contact-link:hover { color: var(--accent-light); }

/* Footer Bottom */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 16px; }
.footer-bottom p { font-size: 11px; color: #64748B; margin: 0; }
.footer-bottom-links a { font-size: 11px; color: #64748B; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--accent-light); }

/* Footer Responsive */
@media (min-width: 992px) {
    .footer-contact-item { justify-content: flex-start; }
}
@media (max-width: 768px) {
    footer { padding: 40px var(--space-lg) 20px; }
    .footer-brand p { max-width: 360px; }
}
@media (max-width: 480px) {
    .footer-app-badges, .social-links { justify-content: center; }
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, #0B1120 0%, #0F172A 40%, #1E3A8A 100%);
    padding: 85px var(--space-xl) 75px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(135deg, #0B1120 0%, #0F172A 40%, #1E3A8A 100%);
    background-size: 28px 28px, 100% 100%;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 350px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, transparent 70%);
    border-radius: var(--radius-full);
    pointer-events: auto;
}
.page-hero h1 { font-size: 44px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.6px; position: relative; z-index: 1; }
.page-hero .highlight {
    background: linear-gradient(135deg, #60A5FA 0%, #93C5FD 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.page-hero p { font-size: 16px; color: rgba(255, 255, 255, 0.85); max-width: 620px; margin: 0 auto; line-height: 1.65; position: relative; z-index: 1; }

/* ===== FEATURE DETAIL ===== */
.feature-detail { display: flex; gap: 48px; align-items: center; margin-bottom: 56px; padding: 36px; background: var(--white); border-radius: var(--radius-4xl); border: 1px solid var(--border); }
.feature-detail.reverse { flex-direction: row-reverse; }
.feature-detail-content { flex: 1; }
.feature-detail-content h3 { font-size: 24px; font-weight: 700; color: var(--black); margin-bottom: 12px; }
.feature-detail-content p { font-size: 14px; color: var(--gray-dark); line-height: 1.7; margin-bottom: 16px; }
.feature-list { list-style: none; }
.feature-list li { font-size: 13px; color: var(--gray-dark); padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.feature-list li::before { content: '✓'; color: var(--success); font-weight: 700; font-size: 14px; }
.feature-detail-image { flex: 1; }
.feature-mockup { padding: 24px; background: var(--gradient-card); border-radius: var(--radius-3xl); border: 1px solid var(--border); }
.mock-invoice, .mock-inventory, .mock-report { background: var(--white); padding: 20px; border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.mock-invoice h4, .mock-inventory h4, .mock-report h4 { color: var(--primary); font-size: 14px; margin-bottom: 10px; font-weight: 700; }
.mock-invoice .line { height: 6px; background: #E2E8F0; border-radius: 3px; margin: 4px 0; }
.mock-invoice .line.short { width: 60%; }
.mock-invoice .line.med { width: 80%; }
.mock-invoice .tax-row { font-size: 12px; color: var(--gray-dark); padding: 3px 0; }
.mock-invoice .total, .mock-report .profit { background: var(--gradient-accent); color: var(--white); padding: 6px 10px; border-radius: 6px; margin-top: 10px; text-align: right; font-weight: 700; font-size: 13px; }
.stock-item { padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.in-stock { color: var(--success); font-weight: 600; }
.low-stock { color: var(--warning); font-weight: 600; }
.out-stock { color: var(--error); font-weight: 600; }
.report-row { padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--gray-dark); }

/* ===== INDUSTRY DETAIL ===== */
.industry-detail { padding: 28px; background: var(--white); border-radius: var(--radius-3xl); border: 1px solid var(--border); margin-bottom: 16px; }
.industry-detail h3 { font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 10px; }
.industry-detail p { font-size: 14px; color: var(--gray-dark); margin-bottom: 16px; line-height: 1.6; }

/* ===== INDUSTRY SOLUTION CARDS ===== */
.ind-section { background: var(--gray-light); }
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ind-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 26px 24px;
    display: flex; flex-direction: column; scroll-margin-top: 96px; position: relative; overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ind-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--gradient-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.ind-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: #BFDBFE; }
.ind-card:hover::before { transform: scaleX(1); }
.ind-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ind-icon {
    width: 54px; height: 54px; border-radius: 16px; background: var(--gradient-blue-subtle);
    border: 1px solid #DBEAFE; display: flex; align-items: center; justify-content: center;
    font-size: 26px; flex-shrink: 0; transition: transform 0.3s ease;
}
.ind-card:hover .ind-icon { transform: scale(1.08) rotate(-4deg); }
.ind-tag {
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
    color: var(--primary); background: var(--gradient-blue-subtle); border: 1px solid #DBEAFE;
    padding: 4px 11px; border-radius: 999px;
}
.ind-card h3 { font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 8px; letter-spacing: -0.2px; }
.ind-card p { font-size: 13.5px; color: var(--gray); line-height: 1.65; margin-bottom: 18px; }
.ind-list { list-style: none; margin: 0 0 20px; display: grid; gap: 9px; }
.ind-list li { font-size: 13px; color: var(--gray-dark); display: flex; align-items: flex-start; gap: 9px; line-height: 1.5; }
.ind-list li::before {
    content: '✓'; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
    background: #DCFCE7; color: var(--success); font-size: 11px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.ind-cta {
    margin-top: auto; display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
    font-size: 13px; font-weight: 700; color: var(--primary); padding: 9px 16px;
    border-radius: 10px; background: var(--gradient-blue-subtle); border: 1px solid #DBEAFE; transition: all 0.25s;
}
.ind-cta:hover { background: var(--primary); color: var(--white); border-color: var(--primary); gap: 11px; }
/* The industries hub uses the whole card as the link, so it has to drop the
   default anchor colour and underline and carry the hover state itself. */
a.ind-card { text-decoration: none; color: inherit; }
a.ind-card:hover { color: inherit; }
a.ind-card:hover .ind-cta { background: var(--primary); color: var(--white); border-color: var(--primary); }

@media (max-width: 992px) {
    .ind-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .ind-grid { grid-template-columns: 1fr; }
    .ind-card { padding: 22px 20px; }
}

/* ===== FEATURE DEEP DIVE (TABS) ===== */
.fd-section { background: var(--gray-light); }
.fd-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }

.fd-tabs { display: grid; gap: 12px; }
.fd-tab {
    display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
    background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px;
    font-family: var(--font-family); transition: all 0.25s ease;
}
.fd-tab:hover { border-color: #BFDBFE; transform: translateX(3px); }
.fd-tab.active { background: var(--white); border-color: var(--primary); box-shadow: var(--shadow-hover); }
.fd-tab-icon {
    width: 44px; height: 44px; border-radius: 12px; background: var(--gradient-blue-subtle); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0; transition: all 0.25s;
}
.fd-tab.active .fd-tab-icon { background: var(--gradient-accent); box-shadow: 0 8px 18px rgba(37,99,235,0.3); }
.fd-tab-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fd-tab-text strong { font-size: 14.5px; font-weight: 700; color: var(--black); }
.fd-tab-text small { font-size: 12px; color: var(--gray); }
.fd-tab-arrow { margin-left: auto; color: var(--border); flex-shrink: 0; transition: all 0.25s; }
.fd-tab.active .fd-tab-arrow { color: var(--primary); }

.fd-panel { display: none; }
.fd-panel.active { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: 22px; padding: 34px 32px; animation: fdFade 0.35s ease; }
@keyframes fdFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fd-badge { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--primary); background: var(--gradient-blue-subtle); border: 1px solid #DBEAFE; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.fd-panel-body h3 { font-size: 24px; font-weight: 800; color: var(--black); letter-spacing: -0.4px; margin-bottom: 12px; }
.fd-panel-body p { font-size: 14px; color: var(--gray-dark); line-height: 1.75; margin-bottom: 20px; }
.fd-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.fd-list li { font-size: 13.5px; color: var(--gray-dark); display: flex; align-items: center; gap: 9px; }
.fd-list li::before {
    content: '✓'; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
    background: #DCFCE7; color: var(--success); font-size: 12px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}

.fd-window { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.fd-window-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--gray-light); border-bottom: 1px solid var(--border); }
.fd-window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.fd-window-bar span:first-child { background: #F87171; }
.fd-window-bar span:nth-child(2) { background: #FBBF24; }
.fd-window-bar span:nth-child(3) { background: #34D399; }
.fd-window-body { padding: 20px; background: var(--gradient-card); }
.fd-window-body .mock-invoice, .fd-window-body .mock-inventory, .fd-window-body .mock-report { box-shadow: none; border: 1px solid var(--border); }

@media (max-width: 992px) {
    .fd-layout { grid-template-columns: 1fr; }
    .fd-tabs { grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; padding-bottom: 6px; }
    .fd-tab:hover { transform: none; }
    .fd-panel.active { grid-template-columns: 1fr; gap: 26px; padding: 26px 22px; }
    .fd-visual { max-width: 340px; }
}
@media (max-width: 576px) {
    .fd-list { grid-template-columns: 1fr; }
    .fd-panel-body h3 { font-size: 20px; }
}

/* ===== COMPARISON TABLE ===== */
.comparison-table { overflow-x: auto; }
.comparison-table table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-3xl); overflow: hidden; box-shadow: var(--shadow-card); }
.comparison-table th { background: var(--primary); color: var(--white); padding: 14px 20px; font-size: 13px; font-weight: 700; text-align: center; }
.comparison-table th:first-child { text-align: left; }
.comparison-table td { padding: 12px 20px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--gray-dark); text-align: center; }
.comparison-table td:first-child { text-align: left; font-weight: 600; color: var(--black); }
.comparison-table tr:hover { background: var(--gradient-blue-subtle); }
.comparison-table tr.comparison-group:hover { background: transparent; }
    .comparison-table .comparison-group td {
    background: var(--gradient-blue-subtle);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-align: left;
    padding: 10px 20px;
    border-bottom: 1px solid var(--border);
    }

    /* Each feature group is one row now, with its features listed together. The
       band is a <th scope="rowgroup"> rather than a <td>, so the generic
       ".comparison-table th" rule above would paint it like the table head -
       these declarations put the band styling back. */
    .comparison-table .comparison-group th {
        background: var(--gradient-blue-subtle);
        color: var(--primary-dark);
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        text-align: left;
        padding: 10px 20px;
        border-bottom: 1px solid var(--border);
    }
    .comparison-table .comparison-count {
        display: inline-block;
        margin-left: 8px;
        padding: 1px 8px;
        border-radius: 999px;
        background: rgba(29, 78, 216, 0.12);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0;
    }

    /* The feature cell is a list, not a bold single label, so it opts out of the
       generic first-column weight and flows into columns to keep the row short. */
    .comparison-table td.comparison-features {
        text-align: left;
        font-weight: 400;
        color: var(--gray-dark);
        width: 52%;
    }
    .comparison-table td.comparison-features ul {
        list-style: none;
        margin: 0;
        padding: 0;
        columns: 2;
        column-gap: 28px;
    }
    .comparison-table td.comparison-features li {
        break-inside: avoid;
        padding: 2px 0 2px 16px;
        position: relative;
    }
    .comparison-table td.comparison-features li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 9px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--primary);
        opacity: 0.55;
    }

    /* A one-row group is as tall as its feature list, so the tick sits with the
       top of the cell instead of floating in the vertical middle. */
    .comparison-table tbody td { vertical-align: top; }
    .comparison-table tbody td:not(.comparison-features) { padding-top: 16px; }

    @media (max-width: 768px) {
        .comparison-table td.comparison-features { width: auto; }
        .comparison-table td.comparison-features ul { columns: 1; }
    }
    
/* ===== CONTACT FULL ===== */
.contact-grid-full { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { padding: 28px; background: var(--gradient-card); border-radius: var(--radius-3xl); }
.contact-info h3 { font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 12px; }
.contact-info > p { font-size: 13px; color: var(--gray-dark); margin-bottom: 20px; }
.contact-item { display: flex; gap: 12px; margin-bottom: 16px; }
.contact-icon { font-size: 20px; }
.contact-item h4 { font-size: 13px; font-weight: 700; color: var(--black); margin-bottom: 2px; }
.contact-item p { font-size: 13px; color: var(--gray-dark); margin: 0; }
.contact-form-wrapper { padding: 28px; background: var(--white); border-radius: var(--radius-3xl); border: 1px solid var(--border); }
.contact-form-wrapper h3 { font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--black); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 13px;
    transition: all 0.2s;
    background: var(--gray-light);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.08); background: var(--white); }
.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    letter-spacing: 0.2px;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.map-placeholder { height: 280px; background: var(--gray-light); border-radius: var(--radius-3xl); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.map-content { text-align: center; }
.map-icon { font-size: 48px; display: block; margin-bottom: 12px; }
.map-content h3 { font-size: 16px; color: var(--black); margin-bottom: 4px; font-weight: 700; }
.map-content p { font-size: 13px; color: var(--gray-dark); }

/* ===== LEGAL PAGES ===== */
.legal-page { background: var(--white); }
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-block { margin-bottom: 36px; }
.legal-block h2 { font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.legal-block h3 { font-size: 15px; font-weight: 600; color: var(--primary); margin: 16px 0 10px; }
.legal-block p { font-size: 14px; color: var(--gray-dark); line-height: 1.7; margin-bottom: 10px; }
.legal-block ul { list-style: none; margin-left: 16px; margin-bottom: 10px; }
.legal-block ul li { font-size: 14px; color: var(--gray-dark); line-height: 1.6; padding: 3px 0; position: relative; padding-left: 16px; }
.legal-block ul li::before { content: '•'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.legal-block a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.legal-block a:hover { color: var(--primary-dark); }

/* ===== NATIONWIDE ===== */
.nationwide { background: var(--gray-light); }
.nationwide-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin-top: 36px; }
.nw-stat { text-align: center; padding: 20px; }
.nw-number { display: block; font-size: 34px; font-weight: 800; color: var(--primary); margin-bottom: 4px; letter-spacing: -0.5px; }
.nw-label { font-size: 13px; color: var(--gray-dark); font-weight: 500; }

/* ===== MULTI-DEVICE ===== */
.multi-device { background: var(--gray-light); }
.multi-device-grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.md-stat { text-align: center; padding: 28px; background: var(--white); border-radius: var(--radius-3xl); box-shadow: var(--shadow-card); min-width: 180px; }
.md-number { display: block; font-size: 36px; font-weight: 800; color: var(--primary); margin-bottom: 4px; letter-spacing: -0.5px; }
.md-label { font-size: 13px; color: var(--gray-dark); font-weight: 500; }

/* ===== BUSINESS JOURNEY ===== */
.business-journey { background: var(--white); }
.journey-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.journey-card { padding: 24px; border-radius: var(--radius-3xl); background: var(--gradient-card); border: 1px solid var(--border); transition: all 0.3s ease; position: relative; }
.journey-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.journey-time { font-size: 11px; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.journey-card h3 { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.journey-card p { font-size: 13px; color: var(--gray-dark); line-height: 1.6; margin-bottom: 12px; }
.journey-tag { font-size: 12px; color: var(--primary); font-weight: 600; }

/* ===== MULTI-LANGUAGE ===== */
.language-section { background: var(--white); }
.language-grid { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.lang-tag {
    padding: 8px 18px;
    background: var(--gradient-blue-subtle);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--border);
    transition: all 0.25s ease;
}
.lang-tag:hover { background: var(--primary); color: var(--white); transform: translateY(-1px); box-shadow: 0 2px 8px rgba(37,99,235,0.2); border-color: var(--primary); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

/* ===== RESPONSIVE - TABLET (992px) ===== */
@media (max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; gap: 40px; }
    .hero-text p { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .step-card::after { display: none; }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .about-values { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .pricing-card.highlighted { transform: scale(1); }
    .pricing-card.highlighted:hover { transform: translateY(-4px); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .journey-timeline { grid-template-columns: repeat(2, 1fr); }
    .solution-cards { grid-template-columns: repeat(2, 1fr); }
    .solutions-link-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-detail, .feature-detail.reverse { flex-direction: column; }
    .contact-grid-full { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 36px; }
    .qm-layout { grid-template-columns: 1fr; }
    .qm-preview-card { position: static; }
    .qm-preview-card .inv-gen-preview { max-height: none; }
    .inv-gen-container { flex-direction: column; }
    .inv-gen-preview-wrap { flex: none; width: 100%; position: static; }
}

/* ===== RESPONSIVE - MOBILE (768px) ===== */
@media (max-width: 768px) {
    .section { padding: 56px var(--space-lg); }
    .section-title { margin-bottom: 34px; }
    .section-title h2 { font-size: 27px; line-height: 1.25; }
    .section-title p { font-size: 14.5px; }

    /* Single Column Full-Width Grids on Mobile (col-12) */
    .features-grid,
    .solutions-link-grid,
    .solution-cards,
    .industry-grid,
    .ind-grid,
    .steps-grid,
    .why-grid,
    .testimonial-grid,
    .pricing-grid,
    .about-values,
    .journey-timeline,
    .contact-grid,
    .contact-grid-full,
    .footer-grid,
    .gst-how-grid,
    .gst-slab-grid,
    .gst-type-grid,
    .gst-formula-grid,
    .qr-type-grid,
    .qr-benefits,
    .qr-steps,
    .bc-steps,
    .bc-format-grid,
    .bc-benefits,
    .fmt-grid,
    .rel-grid,
    .doc-stats,
    .doc-split,
    .bs-2up {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
        gap: 16px !important;
    }

    .feature-card,
    .solution-link-card,
    .industry-card,
    .ind-card,
    .step-card,
    .why-card,
    .testimonial-card,
    .pricing-card,
    .fmt-card,
    .rel-card,
    .gst-slab,
    .gst-type,
    .gst-formula,
    .qr-type-card,
    .qr-benefit,
    .qr-step,
    .bc-step,
    .bc-format-card,
    .bc-benefit {
        padding: 22px 18px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-text h1 { font-size: 32px; }
    .hero-stats { flex-direction: column; align-items: stretch; gap: 12px; }
    .hero-stat { text-align: center; }
    .hero-buttons { flex-direction: column; align-items: stretch; width: 100%; gap: 10px; }
    .hero-buttons a, .hero-buttons .btn-primary, .hero-buttons .btn-outline { width: 100%; text-align: center; justify-content: center; }

    .page-hero { padding: 56px var(--space-lg) 48px; }
    .page-hero h1 { font-size: 28px; }
    .page-hero p { font-size: 14.5px; }
    .page-hero .hero-buttons { width: 100%; flex-direction: column; gap: 10px; }
    .page-hero .hero-buttons a { width: 100%; justify-content: center; }

    .pricing-card .pricing-price .amount { font-size: 34px; }
    .download-buttons { flex-direction: column; align-items: stretch; gap: 10px; }
    .dl-btn { width: 100%; max-width: 100%; justify-content: center; }

    /* Tool Components on Mobile */
    .gst-hero { padding: 54px 0 42px; }
    .gst-hero h1 { font-size: 30px; }
    .gst-hero p { font-size: 14.5px; }
    .gst-calc { grid-template-columns: 1fr !important; border-radius: 16px; }
    .gst-calc-left { padding: 22px 18px !important; border-right: none !important; border-bottom: 1.5px solid #F1F5F9; }
    .gst-calc-right { padding: 22px 18px !important; }
    .gst-rate-btns button { flex: 1 1 calc(33.33% - 6px); }

    .inv-gen-container,
    .qm-layout {
        flex-direction: column;
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .inv-gen-preview-wrap,
    .qm-preview-card {
        flex: none;
        width: 100%;
        position: static;
        max-height: none;
    }
    .inv-gen-items-header,
    .doc-item-hd,
    .chk-hd {
        display: none !important;
    }
    .inv-gen-item,
    .doc-item {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px;
        padding: 12px;
        background: #F8FAFC;
        border: 1px solid var(--border);
        border-radius: 12px;
    }
    .inv-gen-row {
        flex-direction: column;
        gap: 10px;
    }
    .inv-gen-actions,
    .qm-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .inv-gen-btn,
    .qm-btn {
        width: 100%;
        justify-content: center;
    }

    .doc-sig { grid-template-columns: 1fr !important; gap: 20px; }
    .doc-sheet-lg { padding: 18px; }
    .fmt-table-wrap { overflow-x: auto; }
}

/* ===== RESPONSIVE - SMALL MOBILE (480px) ===== */
@media (max-width: 480px) {
    .section { padding: 44px var(--space-md); }
    .hero-text h1 { font-size: 26px; }
    .section-title h2 { font-size: 23px; }
    .page-hero h1 { font-size: 24px; }
    .gst-hero h1 { font-size: 25px; }
    .plan-toggle-btn { padding: 8px 14px; font-size: 12.5px; }
    .plan-toggle-btn span { display: none; }
    .stat-item h2 { font-size: 30px; }
    .feature-card,
    .solution-link-card,
    .industry-card,
    .ind-card,
    .step-card,
    .why-card,
    .testimonial-card,
    .pricing-card {
        padding: 18px 14px !important;
    }
    .footer-city-cols { grid-template-columns: 1fr !important; }
}

/* ===== RESPONSIVE - VERY SMALL (360px) ===== */
@media (max-width: 360px) {
    .hero-text h1 { font-size: 23px; }
    .section-title h2 { font-size: 20px; }
    .stat-item h2 { font-size: 26px; }
    .dl-btn { padding: 8px 14px; font-size: 12px; }
}

/* ===== INVOICE GENERATOR & TOOL SUITE (MODERN SAAS UI) ===== */
.inv-gen-container { display: flex; gap: 28px; align-items: flex-start; }
.inv-gen-form { flex: 1.1; min-width: 0; }
.inv-gen-preview-wrap { flex: 0.9; position: sticky; top: 88px; }
.inv-gen-preview-label { font-size: 11.5px; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.inv-gen-preview-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #10B981; box-shadow: 0 0 8px #10B981; }

.inv-gen-section {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-3xl);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: border-color 0.25s, box-shadow 0.25s;
}
.inv-gen-section:focus-within {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
}
.inv-gen-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.inv-gen-row { display: flex; gap: 14px; margin-bottom: 14px; }
.inv-gen-field { flex: 1; min-width: 0; }
.inv-gen-field.inv-gen-full { flex: 1 1 100%; }
.inv-gen-field label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.inv-gen-field input,
.inv-gen-field select,
.inv-gen-section textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 13.5px;
    font-family: var(--font-family);
    color: var(--text);
    background: #F8FAFC;
    transition: all 0.2s ease;
}
.inv-gen-field input:focus,
.inv-gen-field select:focus,
.inv-gen-section textarea:focus {
    outline: none;
    background: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.inv-gen-section textarea { resize: vertical; border: 1.5px solid var(--border); border-radius: 10px; font-size: 13.5px; font-family: var(--font-family); }
.inv-gen-items-header {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 1.05fr) 30px;
    gap: 6px;
    padding: 8px 10px;
    background: #F1F5F9;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}
.inv-gen-item {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 1.05fr) 30px;
    gap: 6px;
    margin-bottom: 8px;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}
.inv-gen-item > *,
.inv-gen-items-header > *,
.doc-item > *,
.doc-item-hd > * {
    min-width: 0 !important;
}
.inv-gen-item input,
.inv-gen-item select {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 8px 6px !important;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 12.5px;
    font-family: var(--font-family);
    background: #FFFFFF;
    box-sizing: border-box !important;
}
.inv-gen-item input:focus,
.inv-gen-item select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2.5px rgba(37, 99, 235, 0.12); }
.inv-item-amount {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.inv-item-remove {
    background: #FEE2E2;
    border: none;
    color: #DC2626;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    width: 30px;
    height: 30px;
    min-width: 30px;
    max-width: 30px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    box-sizing: border-box;
}
.inv-item-remove:hover { background: #DC2626; color: #FFFFFF; }
.inv-gen-add-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 11px;
    border: 2px dashed #CBD5E1;
    border-radius: 10px;
    background: #F8FAFC;
    color: var(--primary);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.inv-gen-add-item:hover { border-color: var(--primary); background: #EFF6FF; }
.inv-gen-actions { display: flex; gap: 14px; margin-top: 20px; }
.inv-gen-btn {
    padding: 13px 24px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex: 1;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.inv-gen-btn-primary { background: var(--gradient-accent); color: #FFFFFF; }
.inv-gen-btn-primary:hover { background: linear-gradient(135deg, #1D4ED8, #2563EB); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4); }
.inv-gen-btn-success { background: linear-gradient(135deg, #10B981, #059669); color: #FFFFFF; }
.inv-gen-btn-success:hover { background: linear-gradient(135deg, #059669, #047857); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4); }

/* Invoice Preview Sheet */
.inv-gen-preview { background: #E2E8F0; border-radius: 16px; padding: 18px; max-height: calc(100vh - 120px); overflow-y: auto; box-shadow: inset 0 2px 6px rgba(0,0,0,0.06); }
.inv-preview-sheet { background: #FFFFFF; border: 1px solid #CBD5E1; border-radius: 10px; padding: 28px; box-shadow: 0 6px 20px rgba(0,0,0,0.08); font-size: 11.5px; color: var(--text); }
.inv-p-head { display: flex; justify-content: space-between; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2.5px solid var(--primary); }
.inv-p-brand h2 { font-size: 17px; font-weight: 800; color: var(--black); margin: 0 0 4px; }
.inv-p-brand p { margin: 0; font-size: 11px; color: var(--gray); }
.inv-p-title { text-align: right; }
.inv-p-title .doc-title { font-size: 18px; font-weight: 800; color: var(--primary); margin: 0 0 4px; letter-spacing: 2px; }
.inv-p-title p { margin: 0; font-size: 11px; color: var(--gray); }
.inv-p-parties { display: flex; gap: 24px; margin-bottom: 18px; }
.inv-p-party { flex: 1; }
.inv-p-party h4 { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); margin: 0 0 6px; border-bottom: 1px solid #E2E8F0; padding-bottom: 4px; font-weight: 800; }
.inv-p-party-name { font-weight: 800; color: var(--black); margin: 2px 0; font-size: 12.5px; }
.inv-p-party p { margin: 1px 0; font-size: 11px; color: var(--gray-dark); }
.inv-p-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 11px; }
.inv-p-table th { background: #0F172A; color: #FFFFFF; padding: 7px 8px; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: 0.4px; }
.inv-p-table td { padding: 7px 8px; border-bottom: 1px solid #F1F5F9; }
.inv-p-totals { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.inv-p-totals-table { font-size: 11px; }
.inv-p-totals-table td { padding: 4px 10px; }
.inv-p-totals-table td:last-child { text-align: right; font-weight: 700; min-width: 90px; }
.inv-p-grand td { border-top: 2px solid #0F172A !important; font-weight: 800 !important; font-size: 13px !important; color: var(--primary-dark) !important; padding-top: 8px !important; }
.inv-p-words { font-size: 10px; color: var(--gray-dark); padding: 8px 0; border-top: 1px solid #E2E8F0; margin-bottom: 8px; }
.inv-p-notes { font-size: 10px; color: var(--gray-dark); padding: 6px 0; }
.inv-p-footer { text-align: center; font-size: 9px; color: var(--gray); padding-top: 10px; border-top: 1px solid #E2E8F0; }

/* ============================================
   TOOL PAGES - SHARED (hero / tool / faq / cta)
   ============================================ */
.gst-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-2xl); }

.gst-hero {
    background: radial-gradient(120% 120% at 50% 0%, #1e3a8a 0%, #0f172a 65%, #020617 100%);
    padding: 80px 0 68px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.gst-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 350px;
    background: radial-gradient(circle, rgba(59,130,246,0.3) 0%, transparent 70%);
    pointer-events: auto;
}
.gst-hero > .gst-wrap { position: relative; z-index: 1; }
.gst-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: #DBEAFE;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}
.gst-hero h1 { font-size: 42px; font-weight: 800; color: var(--white); letter-spacing: -0.8px; line-height: 1.2; margin-bottom: 14px; }
.gst-hero h1 span { background: linear-gradient(135deg, #60A5FA, #93C5FD, #FFFFFF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.gst-hero p { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 620px; margin: 0 auto 24px; line-height: 1.65; }

.gst-tool { background: #F8FAFC; padding: 60px 0 70px; }
.gst-tool-head { text-align: center; margin-bottom: 36px; }
.gst-tool-head h2 { font-size: 28px; font-weight: 800; color: var(--black); letter-spacing: -0.5px; margin-bottom: 8px; }
.gst-tool-head p { font-size: 14px; color: var(--gray); }

.gst-how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gst-how-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 26px 20px; text-align: center; box-shadow: var(--shadow-card); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.gst-how-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -6px rgba(37,99,235,0.12); }
.gst-how-num { width: 48px; height: 48px; border-radius: 14px; background: var(--gradient-accent); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; margin: 0 auto 14px; box-shadow: 0 6px 16px rgba(37,99,235,0.3); }
.gst-how-card h3 { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.gst-how-card p { font-size: 13px; color: var(--gray); line-height: 1.6; }

.gst-faq { background: var(--white); padding: 64px 0; }
.gst-faq .gst-wrap > h2 { font-size: 28px; font-weight: 800; color: var(--black); letter-spacing: -0.4px; margin-bottom: 20px; }
.gst-faq .gst-wrap > p { font-size: 14.5px; color: var(--gray-dark); line-height: 1.8; max-width: 880px; margin-bottom: 16px; }
.gst-faq .gst-wrap > p strong { color: var(--text); }
.faq-list { max-width: 880px; display: grid; gap: 12px; margin-bottom: 8px; }
.faq-item { background: #F8FAFC; border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s; }
.faq-item.active { border-color: var(--primary); box-shadow: 0 8px 20px rgba(37,99,235,0.08); background: #FFFFFF; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 14.5px; font-weight: 700; color: var(--text); cursor: pointer; transition: color 0.2s; }
.faq-q:hover { color: var(--primary); }
.faq-plus { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--white); border: 1px solid var(--border); color: var(--primary); font-size: 16px; line-height: 1; display: flex; align-items: center; justify-content: center; transition: transform 0.25s, background 0.25s, color 0.25s; }
.faq-item.active .faq-plus { transform: rotate(45deg); background: var(--primary); color: var(--white); border-color: var(--primary); }
.faq-a { display: none; padding: 0 22px 20px; }
.faq-item.active .faq-a { display: block; }
.faq-a p { font-size: 14px; color: var(--gray-dark); line-height: 1.75; }

.gst-cta { background: radial-gradient(120% 120% at 50% 0%, #1e3a8a 0%, #0f172a 65%, #020617 100%); padding: 70px 0; text-align: center; }
.gst-cta h2 { font-size: 32px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; margin-bottom: 12px; }
.gst-cta p { font-size: 15.5px; color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.gst-cta-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--primary-dark); font-weight: 800; font-size: 14.5px; padding: 14px 34px; border-radius: 12px; transition: all 0.25s; box-shadow: 0 10px 25px rgba(0,0,0,0.25); text-decoration: none; }
.gst-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,0.35); }

/* ============================================
   QUOTATION MAKER - MODERN UI
   ============================================ */
.qm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 26px; align-items: start; }
.qm-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 18px; padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow-card); }
.qm-card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1.5px solid #F1F5F9; }
.qm-card-icon { width: 44px; height: 44px; border-radius: 12px; background: #EFF6FF; color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qm-card-head h3 { font-size: 16px; font-weight: 700; color: var(--black); margin: 0 0 2px; }
.qm-card-head p { font-size: 12.5px; color: var(--gray); margin: 0; }
.qm-step { margin-left: auto; font-size: 10.5px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--primary); background: #EFF6FF; padding: 4px 12px; border-radius: 999px; border: 1px solid #DBEAFE; }

.qm-item { background: #F8FAFC; border: 1.5px solid var(--border); border-radius: 14px; padding: 16px; margin-bottom: 12px; transition: border-color 0.2s, box-shadow 0.2s; }
.qm-item:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.08); background: #FFFFFF; }
.qm-item-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.qm-item-idx { font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--gray-dark); }
.qm-item-amt { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--white); border: 1.5px dashed var(--border); border-radius: 10px; padding: 8px 12px; height: 100%; }
.qm-item-amt span { font-size: 10.5px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 0.3px; }
.qm-item-amt .inv-item-amount { font-size: 15px; font-weight: 800; color: var(--primary); text-align: right; }
.qm-add-item { width: 100%; padding: 13px; border: 2px dashed #CBD5E1; border-radius: 14px; background: #F8FAFC; color: var(--primary); font-size: 13.5px; font-weight: 700; font-family: var(--font-family); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; }
.qm-add-item:hover { border-color: var(--primary); background: #EFF6FF; }

.qm-actions { position: sticky; bottom: 16px; z-index: 30; display: flex; gap: 10px; padding: 12px; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border: 1.5px solid var(--border); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.qm-btn { flex: 1; padding: 13px 18px; border: none; border-radius: 12px; font-size: 14px; font-weight: 700; font-family: var(--font-family); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; }
.qm-btn-primary { background: var(--gradient-accent); color: var(--white); box-shadow: 0 6px 18px rgba(37,99,235,0.35); }
.qm-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.qm-btn-light { background: var(--white); color: var(--text); border: 1.5px solid var(--border); }
.qm-btn-light:hover { border-color: var(--primary); color: var(--primary); }
.qm-btn-ghost { flex: 0 0 auto; background: transparent; color: var(--gray-dark); padding: 13px 16px; }
.qm-btn-ghost:hover { background: #F1F5F9; color: var(--text); }

.qm-preview-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-card); position: sticky; top: 88px; }
.qm-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.qm-preview-head h3 { font-size: 12px; font-weight: 800; color: var(--text); text-transform: uppercase; letter-spacing: 0.6px; margin: 0; display: flex; align-items: center; gap: 7px; }
.qm-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(16,185,129,0.18); }
.qm-preview-hint { font-size: 11px; color: var(--gray); display: inline-flex; align-items: center; gap: 5px; }
.qm-preview-card .inv-gen-preview { padding: 12px; max-height: calc(100vh - 210px); }
.qm-preview-card .inv-preview-sheet { padding: 18px; }
.qm-total-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 14px 18px; border-radius: 12px; background: #EFF6FF; border: 1px solid #DBEAFE; }
.qm-total-strip span { font-size: 11.5px; font-weight: 700; color: var(--gray-dark); text-transform: uppercase; letter-spacing: 0.4px; }
.qm-total-strip strong { font-size: 22px; font-weight: 800; color: var(--primary-dark); }

/* ============================================
   DOCUMENT FORMAT PAGES (invoice / quotation /
   receipt / bill book / estimate / credit note /
   debit note / delivery challan / balance sheet /
   work order)
   ============================================ */

/* --- Section wrapper --- */
.doc-stack { display: grid; gap: 20px; }

/* --- Format / template picker cards --- */
.fmt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; }
.fmt-card {
    background: var(--white); border: 1.5px solid var(--border); border-radius: 16px; padding: 14px;
    cursor: pointer; text-align: left; font-family: var(--font-family);
    display: flex; flex-direction: column; gap: 11px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.fmt-card:hover { transform: translateY(-4px); border-color: var(--primary-light); box-shadow: var(--shadow-hover); }
.fmt-card.active { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.14); }
.fmt-card:focus-visible { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.24); }

.fmt-mini { background: #F8FAFC; border: 1px solid var(--border); border-radius: 10px; padding: 9px; height: 92px; display: flex; flex-direction: column; gap: 5px; }
.fmt-mini-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding-bottom: 6px; border-bottom: 2px solid var(--fmt-accent, var(--primary)); }
.fmt-mini-brand { height: 7px; width: 44%; border-radius: 3px; background: var(--fmt-accent, var(--primary)); opacity: 0.85; }
.fmt-mini-tag { height: 5px; width: 22%; border-radius: 3px; background: #CBD5E1; }
.fmt-mini-ln { height: 5px; border-radius: 3px; background: #E2E8F0; }
.fmt-mini-ln.w70 { width: 70%; }
.fmt-mini-ln.w45 { width: 45%; }
.fmt-mini-tot { height: 12px; border-radius: 4px; margin-top: auto; background: var(--fmt-accent, var(--primary)); opacity: 0.16; border-left: 3px solid var(--fmt-accent, var(--primary)); }

.fmt-card-body { display: flex; flex-direction: column; gap: 8px; }
.fmt-card-title { display: block; font-size: 13.5px; font-weight: 700; color: var(--black); line-height: 1.35; }
.fmt-card-sub { display: block; font-size: 11.5px; color: var(--gray); line-height: 1.5; }
.fmt-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.fmt-tag { font-size: 9.5px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #EFF6FF; color: var(--primary-dark); border: 1px solid #DBEAFE; }
.fmt-tag.neutral { background: #F1F5F9; color: var(--gray-dark); border-color: var(--border); }
.fmt-tag.warn { background: #FFFBEB; color: #92400E; border-color: #FDE68A; }
.fmt-tag.ok { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }

/* --- Document option bar --- */
.doc-optbar { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.doc-opt { display: flex; align-items: center; gap: 10px; }
.doc-opt > span { font-size: 11px; font-weight: 800; color: var(--gray-dark); text-transform: uppercase; letter-spacing: 0.4px; white-space: nowrap; }
.doc-swatches { display: flex; gap: 8px; }
.doc-swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--border); cursor: pointer; padding: 0; transition: all 0.2s; }
.doc-swatch:hover { transform: scale(1.12); }
.doc-swatch.active { box-shadow: 0 0 0 2.5px var(--sw, var(--primary)); transform: scale(1.12); }

.doc-switches { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.doc-chk { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--gray-dark); cursor: pointer; user-select: none; }
.doc-chk input { appearance: none; -webkit-appearance: none; width: 34px; height: 19px; border-radius: 999px; background: #CBD5E1; position: relative; cursor: pointer; transition: background 0.22s; flex-shrink: 0; margin: 0; }
.doc-chk input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.22); transition: transform 0.22s; }
.doc-chk input:checked { background: var(--primary); }
.doc-chk input:checked::after { transform: translateX(15px); }
.doc-chk input:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* --- Item editor --- */
.doc-items { display: grid; gap: 9px; }
.doc-item {
    display: grid;
    grid-template-columns: var(--doc-cols, 2.2fr 1fr 0.65fr 1fr 0.75fr 1fr auto);
    gap: 8px; align-items: center;
}
.doc-item-hd {
    display: grid;
    grid-template-columns: var(--doc-cols, 2.2fr 1fr 0.65fr 1fr 0.75fr 1fr auto);
    gap: 8px; padding: 0 2px 2px; font-size: 10px; font-weight: 800; color: var(--gray-dark);
    text-transform: uppercase; letter-spacing: 0.4px;
}
.doc-item input, .doc-item select { width: 100%; padding: 9px 10px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 12.5px; font-family: var(--font-family); color: var(--text); background: #fff; }
.doc-item input:focus, .doc-item select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.doc-item-amt { font-size: 13px; font-weight: 700; color: var(--text); text-align: right; white-space: nowrap; }
.doc-item-del { background: #FEF2F2; border: none; color: var(--error); width: 28px; height: 28px; border-radius: 8px; font-size: 17px; line-height: 1; cursor: pointer; transition: all 0.2s; flex-shrink: 0; }
.doc-item-del:hover { background: var(--error); color: #fff; }

/* --- Key / value detail grid --- */
.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.kv-item { background: #F8FAFC; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.kv-item.wide { grid-column: 1 / -1; }
.kv-k { font-size: 10px; font-weight: 800; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.kv-v { font-size: 13px; font-weight: 700; color: var(--text); word-break: break-word; }
.kv-v.is-empty { color: var(--gray); font-weight: 400; font-style: italic; }

/* --- Checklist rows --- */
.chk-list { display: grid; gap: 8px; }
.chk-row {
    display: grid;
    grid-template-columns: var(--chk-cols, 26px 1.4fr 1fr 0.7fr 0.7fr 1fr 1fr auto);
    gap: 8px; align-items: center;
}
.chk-box { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: all 0.18s; }
.chk-box:hover { border-color: var(--primary); }
.chk-box.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.chk-box svg { opacity: 0; transition: opacity 0.18s; }
.chk-box.on svg { opacity: 1; }
.chk-row.is-done .chk-txt, .chk-row.is-done .doc-item input { text-decoration: line-through; color: var(--gray); }
.chk-txt { font-size: 12.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chk-hd {
    display: grid;
    grid-template-columns: var(--chk-cols, 26px 1.4fr 1fr 0.7fr 0.7fr 1fr 1fr auto);
    gap: 8px; padding: 0 2px 2px; font-size: 10px; font-weight: 800; color: var(--gray-dark);
    text-transform: uppercase; letter-spacing: 0.4px;
}

/* --- Data / spec tables --- */
.fmt-table-wrap { overflow-x: auto; border: 1.5px solid var(--border); border-radius: 14px; background: #fff; -webkit-overflow-scrolling: touch; }
.fmt-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.fmt-table thead th { background: #F1F5F9; border-bottom: 1.5px solid var(--border); padding: 12px 14px; text-align: left; font-size: 11px; font-weight: 800; color: var(--gray-dark); text-transform: uppercase; letter-spacing: 0.4px; white-space: nowrap; }
.fmt-table td { padding: 12px 14px; border-bottom: 1px solid #F1F5F9; color: var(--gray-dark); vertical-align: top; }
.fmt-table tbody tr:last-child td { border-bottom: none; }
.fmt-table tbody tr:hover td { background: #F8FAFC; }
.fmt-table td strong { color: var(--text); }
.fmt-req { display: inline-block; font-size: 9.5px; font-weight: 800; letter-spacing: 0.3px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.fmt-req.yes { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.fmt-req.no { background: #F1F5F9; color: var(--gray); border: 1px solid var(--border); }
.fmt-req.cond { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }

/* --- Balance sheet table --- */
.bs-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.bs-table th { background: var(--fmt-accent, var(--primary)); color: #fff; padding: 8px 10px; text-align: left; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; }
.bs-table th.num, .bs-table td.num { text-align: right; }
.bs-table td { padding: 6px 10px; border-bottom: 1px solid #F1F5F9; }
.bs-table tr.bs-sect td { background: #F1F5F9; font-weight: 800; color: var(--text); font-size: 10px; text-transform: uppercase; letter-spacing: 0.6px; padding-top: 8px; padding-bottom: 8px; }
.bs-table tr.bs-sub td { font-weight: 700; color: var(--text); }
.bs-table tr.bs-rule td { border-bottom: 1.5px solid var(--border); }
.bs-table tr.bs-total td { background: #F8FAFC; font-weight: 800; color: var(--primary-dark); border-top: 1.5px solid var(--text); border-bottom: 2px solid var(--text); }
.bs-table tr.bs-negative td { color: var(--error); }
.bs-2up { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bs-2up > table { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }

/* --- Note / callout boxes --- */
.note-box { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: #EFF6FF; border: 1.5px solid #BFDBFE; }
.note-box.gold { background: #FFFBEB; border-color: #FDE68A; }
.note-box.green { background: #ECFDF5; border-color: #A7F3D0; }
.note-box.red { background: #FEF2F2; border-color: #FECACA; }
.note-ico { font-size: 20px; line-height: 1.3; flex-shrink: 0; }
.note-box h4 { font-size: 14px; font-weight: 800; color: var(--text); margin: 0 0 4px; }
.note-box p { font-size: 13px; color: var(--gray-dark); line-height: 1.7; margin: 0 0 6px; }
.note-box p:last-child { margin-bottom: 0; }
.note-box ul { margin: 4px 0 0; padding-left: 18px; }
.note-box li { font-size: 13px; color: var(--gray-dark); line-height: 1.7; margin-bottom: 2px; }

/* --- Split section headers inside cards --- */
.doc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.doc-split > * { min-width: 0; }

/* --- Stat strip --- */
.doc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.doc-stat { background: #EFF6FF; border: 1.5px solid #DBEAFE; border-radius: 14px; padding: 14px 16px; }
.doc-stat span { display: block; font-size: 10px; font-weight: 800; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.doc-stat strong { font-size: 20px; font-weight: 800; color: var(--primary-dark); letter-spacing: -0.3px; }
.doc-stat.amber { background: #FFFBEB; border-color: #FDE68A; }
.doc-stat.amber strong { color: #B45309; }
.doc-stat.grey { background: #F8FAFC; border-color: var(--border); }
.doc-stat.grey strong { color: var(--text); }

/* --- Related formats link grid --- */
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.rel-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 14px 16px; text-decoration: none; transition: all 0.25s; }
.rel-card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--shadow-hover); }
.rel-ico { width: 38px; height: 38px; border-radius: 12px; background: #EFF6FF; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.rel-card strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--text); }
.rel-card span { font-size: 11.5px; color: var(--gray); }

/* --- Wide document preview --- */
.doc-sheet { background: #fff; border: 1px solid #CBD5E1; border-radius: 12px; padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); font-size: 11.5px; }
.doc-sheet-lg { font-size: 12px; padding: 28px; }
.doc-hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2.5px solid var(--fmt-accent, var(--primary)); }
.doc-hd .doc-org h2 { font-size: 17px; font-weight: 800; color: var(--text); margin: 0 0 3px; }
.doc-hd .doc-org p { font-size: 11px; color: var(--gray); margin: 1px 0; }
.doc-hd .doc-id { text-align: right; }
.doc-hd .doc-id .doc-title { font-size: 16px; font-weight: 800; color: var(--fmt-accent, var(--primary)); margin: 0 0 6px; letter-spacing: 1.6px; }
.doc-hd .doc-id p { font-size: 11px; color: var(--gray); margin: 1px 0; }
.doc-hd .doc-id b { color: var(--text); }
.doc-sec-title { font-size: 10px; font-weight: 800; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin: 0 0 6px; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
.doc-ft { text-align: center; font-size: 9px; color: var(--gray); padding-top: 10px; border-top: 1px solid var(--border); margin-top: 16px; }
.doc-sig { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-top: 24px; }
.doc-sig > div { text-align: center; }
.doc-sig-line { border-top: 1px solid #94A3B8; padding-top: 6px; font-size: 9.5px; color: var(--gray-dark); font-weight: 600; }

/* --- Amount highlight strip --- */
.amt-hero { text-align: center; padding: 22px; border: 2px solid var(--fmt-accent, #10B981); border-radius: 14px; margin: 18px 0; background: #F0FDF4; }
.amt-hero.credit { background: #FEF2F2; }
.amt-hero.amber { background: #FFFBEB; }
.amt-hero-lbl { font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; }
.amt-hero-val { font-size: 32px; font-weight: 800; color: #059669; letter-spacing: -0.5px; }
.amt-hero.credit .amt-hero-val { color: var(--error); }
.amt-hero.amber .amt-hero-val { color: #B45309; }

/* --- City pages --- */
.nav-dropdown.nav-cities .dropdown-menu { min-width: 420px; padding: 10px; }
.nav-cities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.nav-cities-grid a { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px !important; margin: 0 !important; font-size: 12px !important; }
.nav-cities-grid a em { font-style: normal; font-size: 10px; color: var(--gray); font-weight: 500; }
.nav-cities-all { display: block; margin-top: 8px; padding-top: 10px !important; border-top: 1px solid var(--border); text-align: center; font-weight: 600 !important; color: var(--primary) !important; }

.rel-h3 { font-size: 18px; font-weight: 800; color: var(--black); margin: 34px 0 16px; }
.rel-h3:first-of-type { margin-top: 0; }

.footer-city-hub { padding: 8px 0 4px; }
.footer-city-hub h4 { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; }
.footer-city-cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px 14px; }
.footer-city-cols a { font-size: 12px; color: var(--gray); text-decoration: none; transition: color 0.2s; }
.footer-city-cols a:hover { color: var(--primary-light); }
@media (max-width: 992px) { .footer-city-cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .footer-city-cols { grid-template-columns: repeat(2, 1fr); } }

.download-cta .cta-help { font-size: 13px; opacity: 0.9; margin: 24px 0 0; }
.download-cta .cta-help a { color: var(--white); text-decoration: underline; font-weight: 600; }

@media (max-width: 768px) {
    .nav-dropdown.nav-cities .dropdown-menu { min-width: 100vw; }
    .nav-cities-grid { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 32px; }
}

/* --- Print --- */
@media print {
    .doc-no-print { display: none !important; }
}

@media (max-width: 1199px) {
    .doc-sheet-lg { padding: 20px; }
}
@media (max-width: 900px) {
    .doc-split, .bs-2up { grid-template-columns: 1fr; }
    .doc-item-hd { display: none; }
    .doc-item { grid-template-columns: 1fr 1fr; gap: 8px; padding: 11px; border: 1px solid var(--border); border-radius: 12px; background: #FCFDFE; }
    .doc-item-amt { text-align: left; }
    .chk-hd { display: none; }
    .chk-row { grid-template-columns: 26px 1fr 1fr; padding: 11px; border: 1px solid var(--border); border-radius: 12px; background: #FCFDFE; }
    .doc-hd { flex-direction: column; gap: 10px; }
    .doc-hd .doc-id { text-align: left; }
    .doc-sig { grid-template-columns: 1fr; gap: 14px; }
    .doc-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .fmt-grid { grid-template-columns: 1fr; }
    .rel-grid { grid-template-columns: 1fr; }
    .doc-stats { grid-template-columns: 1fr; }
}

/* ============================================
   ABOUT PAGE (ab-*)
   ============================================ */

/* --- Hero: aurora backdrop, glass stat strip --- */
.ab-hero { padding-bottom: 0; position: relative; overflow: hidden; isolation: isolate; }
.ab-hero::before {
    content: ''; position: absolute; z-index: -1; inset: -30% -10% auto; height: 150%;
    background:
        radial-gradient(48% 46% at 18% 8%,  rgba(59,130,246,0.42) 0%, transparent 62%),
        radial-gradient(42% 44% at 82% 4%,  rgba(14,165,233,0.32) 0%, transparent 64%),
        radial-gradient(40% 40% at 50% 32%, rgba(99,102,241,0.26) 0%, transparent 68%);
    filter: blur(6px); pointer-events: auto;
}
.ab-hero::after {
    content: ''; position: absolute; z-index: -1; inset: auto 0 0; height: 120px;
    background: linear-gradient(180deg, transparent, rgba(15,23,42,0.55));
    pointer-events: auto;
}
.ab-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700;
    letter-spacing: 1.3px; text-transform: uppercase; color: #DBEAFE;
    background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.20);
    padding: 7px 18px; border-radius: 999px; margin-bottom: 22px; backdrop-filter: blur(6px);
}
.ab-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,0.20); }
.ab-hero h1 { max-width: 15ch; margin-left: auto; margin-right: auto; text-wrap: balance; }
.ab-hero .page-lead { max-width: 620px; margin: 0 auto; font-size: 16px; line-height: 1.7; }
.ab-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.ab-btn {
    display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700;
    font-family: var(--font-family); padding: 13px 28px; border-radius: var(--radius-xl);
    text-decoration: none; transition: all 0.25s ease; border: 1px solid transparent; cursor: pointer;
}
.ab-btn-primary { background: var(--white); color: var(--primary-dark); box-shadow: 0 10px 26px rgba(0,0,0,0.18); }
.ab-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,0.26); color: var(--primary-dark); }
.ab-btn-primary span { transition: transform 0.25s; }
.ab-btn-primary:hover span { transform: translateX(3px); }
.ab-btn-ghost { background: rgba(255,255,255,0.09); color: var(--white); border-color: rgba(255,255,255,0.24); backdrop-filter: blur(6px); }
.ab-btn-ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); color: var(--white); }

.ab-statstrip {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 60px;
    background: rgba(255,255,255,0.14); border-top: 1px solid rgba(255,255,255,0.16);
    border-radius: var(--radius-4xl) var(--radius-4xl) 0 0; overflow: hidden;
    backdrop-filter: blur(10px);
}
.ab-stat { padding: 30px 18px; text-align: center; transition: background 0.25s; position: relative; }
.ab-stat:hover { background: rgba(255,255,255,0.07); }
.ab-stat b {
    display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.05;
    background: linear-gradient(180deg, #FFFFFF, #BFDBFE); -webkit-background-clip: text;
    background-clip: text; -webkit-text-fill-color: transparent;
}
.ab-stat span { display: block; font-size: 12px; color: #A5B4FC; margin-top: 7px; line-height: 1.4; }

/* --- Story + sticky glance card --- */
.ab-story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
.ab-prose h2 { font-size: 32px; font-weight: 800; color: var(--black); letter-spacing: -0.6px; margin-bottom: 10px; }
.ab-prose h3 { font-size: 19px; font-weight: 700; color: var(--black); margin: 34px 0 12px; display: flex; align-items: center; gap: 10px; }
.ab-prose h3::before { content: ''; width: 4px; height: 20px; border-radius: 2px; background: var(--gradient-accent); flex-shrink: 0; }
.ab-prose p { font-size: 14.5px; color: var(--gray-dark); line-height: 1.85; margin-bottom: 16px; }
.ab-prose p strong { color: var(--black); font-weight: 700; }

.ab-glance {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-4xl);
    box-shadow: var(--shadow-xl); overflow: hidden; position: sticky; top: 24px;
}
.ab-glance-hd { background: var(--gradient-primary); color: var(--white); padding: 24px 26px; position: relative; overflow: hidden; }
.ab-glance-hd::after {
    content: ''; position: absolute; right: -30px; top: -30px; width: 130px; height: 130px; border-radius: 50%;
    background: rgba(255,255,255,0.09);
}
.ab-glance-hd h3 { font-size: 16.5px; font-weight: 700; margin: 0; position: relative; }
.ab-glance-hd p { font-size: 12.5px; opacity: 0.82; margin: 5px 0 0; position: relative; }
.ab-glance-body { margin: 0; padding: 10px 26px 20px; }
.ab-glance-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.ab-glance-row:last-child { border-bottom: 0; }
.ab-glance-row dt { font-size: 12px; font-weight: 600; color: var(--gray); flex-shrink: 0; }
.ab-glance-row dd { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--black); text-align: right; }
.ab-glance-ft { padding: 16px 26px; background: var(--gradient-blue-subtle); border-top: 1px solid #DBEAFE; }
.ab-glance-ft a { display: block; font-size: 12.5px; font-weight: 600; color: var(--primary); text-decoration: none; line-height: 1.8; }
.ab-glance-ft a:hover { text-decoration: underline; }

/* --- Mission / Vision --- */
.ab-mv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ab-card {
    position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-4xl); padding: 36px 32px; box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ab-card::before {
    content: ''; position: absolute; inset: 0 0 auto; height: 4px;
    background: var(--gradient-accent); transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
}
.ab-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: #BFDBFE; }
.ab-card:hover::before { transform: scaleX(1); }
.ab-icon {
    width: 58px; height: 58px; border-radius: 17px; background: var(--gradient-blue-subtle);
    border: 1px solid #DBEAFE; display: flex; align-items: center; justify-content: center;
    font-size: 27px; margin-bottom: 18px; transition: transform 0.35s ease, background 0.35s ease;
}
.ab-card:hover .ab-icon { background: var(--gradient-accent); transform: scale(1.08) rotate(-5deg); border-color: transparent; }
.ab-card h3 { font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 10px; letter-spacing: -0.3px; }
.ab-card p { font-size: 14px; color: var(--gray-dark); line-height: 1.8; margin-bottom: 0; }
.ab-tag {
    display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.5px;
    text-transform: uppercase; color: var(--primary); background: var(--gradient-blue-subtle);
    border: 1px solid #DBEAFE; padding: 5px 13px; border-radius: 999px; margin-bottom: 15px;
}

/* --- Values --- */
.ab-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ab-value {
    position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-4xl); padding: 30px 26px; box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ab-value::after {
    content: ''; position: absolute; right: -40px; bottom: -40px; width: 110px; height: 110px;
    border-radius: 50%; background: var(--gradient-blue-subtle); opacity: 0;
    transition: opacity 0.4s ease;
}
.ab-value:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: #BFDBFE; }
.ab-value:hover::after { opacity: 1; }
.ab-value > * { position: relative; z-index: 1; }
.ab-value .ab-icon { width: 50px; height: 50px; font-size: 23px; border-radius: 15px; margin-bottom: 16px; }
.ab-value h4 { font-size: 15.5px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.ab-value p { font-size: 13px; color: var(--gray); line-height: 1.75; margin-bottom: 0; }

/* --- Journey --- */
.ab-journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.ab-journey::before { content: ''; position: absolute; top: 29px; left: 17%; right: 17%; height: 2px; background: linear-gradient(90deg, transparent, #93C5FD 10%, #93C5FD 90%, transparent); }
.ab-step { text-align: center; position: relative; }
.ab-step-dot {
    width: 60px; height: 60px; border-radius: 50%; background: var(--white);
    border: 2px solid #BFDBFE; display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin: 0 auto 18px; box-shadow: var(--shadow-md);
    position: relative; z-index: 1; transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.ab-step:hover .ab-step-dot { background: var(--gradient-accent); border-color: var(--primary); transform: scale(1.12); box-shadow: 0 12px 26px rgba(37,99,235,0.32); }
.ab-step h4 { font-size: 15.5px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.ab-step p { font-size: 13px; color: var(--gray); line-height: 1.75; margin: 0 auto; max-width: 290px; }

/* --- Alternate band + contact --- */
.ab-alt { background: var(--gray-light); }
.ab-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.ab-contact-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-3xl);
    padding: 28px 22px; text-align: center; box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ab-contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #BFDBFE; }
.ab-contact-card .ab-icon { width: 48px; height: 48px; font-size: 22px; border-radius: 14px; margin: 0 auto 15px; }
.ab-contact-card h4 { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.ab-contact-card a, .ab-contact-card p { display: block; font-size: 13px; color: var(--gray-dark); text-decoration: none; line-height: 1.65; word-break: break-word; }
.ab-contact-card a { font-weight: 600; color: var(--primary); }
.ab-contact-card a:hover { text-decoration: underline; }

@media (max-width: 992px) {
    .ab-story { grid-template-columns: 1fr; gap: 34px; }
    .ab-glance { position: static; }
    .ab-mv { grid-template-columns: 1fr; }
    .ab-values { grid-template-columns: repeat(2, 1fr); }
    .ab-journey { grid-template-columns: 1fr; gap: 34px; }
    .ab-journey::before { display: none; }
    .ab-contact { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
    .ab-prose h2 { font-size: 26px; }
}
@media (max-width: 640px) {
    .ab-hero h1 { max-width: none; font-size: 30px; }
    .ab-statstrip { grid-template-columns: repeat(2, 1fr); border-radius: var(--radius-3xl) var(--radius-3xl) 0 0; }
    .ab-stat b { font-size: 22px; }
    .ab-values { grid-template-columns: 1fr; }
    .ab-card { padding: 28px 24px; }
    .ab-hero-cta { flex-direction: column; align-items: stretch; }
    .ab-btn { justify-content: center; }
    .ab-glance-row { flex-direction: column; gap: 3px; }
    .ab-glance-row dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .ab-card, .ab-value, .ab-contact-card, .ab-btn, .ab-icon, .ab-step-dot, .ab-stat { transition: none; }
    .ab-card:hover, .ab-value:hover, .ab-contact-card:hover, .ab-btn:hover, .ab-step:hover .ab-step-dot { transform: none; }
}

/* --- Scroll reveal --- */
.ab-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.ab-reveal.ab-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .ab-reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Secure checkout ------------------------------------------------------
   The form is the one place on the site with a two-step layout and a live
   order summary, so it gets its own grid. Scoped to .checkout-* to keep it
   from leaking into the pricing and contact tables. */
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.checkout-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 26px 24px;
}
.checkout-card + .checkout-card { margin-top: 16px; }
.checkout-card h3 {
    font-size: var(--font-lg);
    font-weight: var(--weight-bold);
    color: var(--black);
    margin: 0 0 4px;
}

/* Steps: numbered badge + heading, with a divider between them. */
.checkout-step { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.checkout-step:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 4px; }
.checkout-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.checkout-step-head h3 { margin: 0; }
.checkout-step-num {
    flex: 0 0 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: var(--font-sm);
    font-weight: var(--weight-bold);
}
.checkout-fields .form-group:last-child { margin-bottom: 0; }

/* Order summary */
.checkout-summary { position: sticky; top: 20px; }
.checkout-summary-plan {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0 16px;
    margin-top: 12px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.checkout-summary-name { font-size: var(--font-md); font-weight: var(--weight-bold); color: var(--black); }
.checkout-summary-cycle { font-size: var(--font-sm); color: var(--gray); white-space: nowrap; }

.checkout-summary-rows { margin: 16px 0 0; }
.checkout-summary-rows > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
}
.checkout-summary-rows dt { font-size: var(--font-base); color: var(--gray); }
.checkout-summary-rows dd {
    margin: 0;
    font-size: var(--font-base);
    font-weight: var(--weight-semibold);
    color: var(--text);
    white-space: nowrap;
}
.checkout-summary-muted { color: var(--gray) !important; font-weight: var(--weight-normal) !important; }

.checkout-summary-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.checkout-summary-total span { font-size: var(--font-md); font-weight: var(--weight-semibold); color: var(--black); }
.checkout-summary-total b { font-size: 26px; font-weight: var(--weight-extra); color: var(--primary); letter-spacing: -0.02em; }

.checkout-note { margin: 16px 0 0; font-size: var(--font-sm); line-height: var(--leading-relaxed); color: var(--gray); }

.checkout-reassure h4 { font-size: var(--font-base); font-weight: var(--weight-bold); color: var(--black); margin: 0 0 12px; }
.checkout-reassure ul { margin: 0; padding: 0; list-style: none; }
.checkout-reassure li {
    position: relative;
    padding-left: 22px;
    font-size: var(--font-sm);
    line-height: var(--leading-normal);
    color: var(--gray-dark);
}
.checkout-reassure li + li { margin-top: 9px; }
.checkout-reassure li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 14px;
    height: 14px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 9px no-repeat;
}

/* Alerts. checkout.php renders .alert and .alert-error with no inline colours,
   so these are the only thing giving them shape. */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-size: var(--font-base);
    line-height: var(--leading-normal);
}
.alert::before { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; }
.alert-error { background: rgba(239, 68, 68, 0.07); border-color: rgba(239, 68, 68, 0.28); color: #B42318; }
.alert-error::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EF4444' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='7' x2='12' y2='13'/%3E%3Cline x1='12' y1='16.5' x2='12.01' y2='16.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.alert-info { background: rgba(var(--primary-rgb), 0.06); border-color: rgba(var(--primary-rgb), 0.25); color: #1E3A8A; }
.alert-info::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='11' x2='12' y2='16'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E") center / contain no-repeat; }
.alert a, .checkout-alert-link { color: inherit; font-weight: var(--weight-semibold); }
.checkout-alert-link { white-space: nowrap; margin-left: 4px; }

/* Pay button + reassurance line */
.checkout-pay { width: 100%; margin-top: 4px; }
.checkout-pay:disabled { opacity: 0.6; cursor: pointer; transform: none; box-shadow: none; }
.checkout-foot { margin: 12px 0 0; font-size: var(--font-sm); line-height: var(--leading-normal); color: var(--gray); text-align: center; }
.checkout-foot a { color: var(--primary); font-weight: var(--weight-semibold); }
.checkout-foot-off { color: #B42318; }

@media (max-width: 992px) {
    .checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    /* Summary moves above the form so the price is visible before scrolling. */
    .checkout-summary { position: static; order: -1; }
    .checkout-reassure { display: none; }
}
@media (max-width: 576px) {
    .checkout-card { padding: 20px 16px; border-radius: var(--radius-lg); }
    .checkout-summary-total b { font-size: 22px; }
    .checkout-summary-plan { flex-direction: column; align-items: flex-start; gap: 2px; }
    .checkout-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
    .alert { flex-direction: column; gap: 4px; }
    .checkout-alert-link { margin-left: 0; }
}

/* --- Plan & Billing choice cards -----------------------------------------
   Replaces the two native dropdowns. The option labels carried the price and
   an emoji, so the closed control truncated them and the price was invisible
   until you opened the list. Radio cards keep the whole option on screen and
   match the plan cards on the pricing page the visitor just came from. */
.checkout-choices { border: 0; margin: 0; padding: 0; }
.checkout-choices + .checkout-choices { margin-top: 22px; }
.checkout-legend {
    padding: 0;
    margin-bottom: 10px;
    font-size: var(--font-sm);
    font-weight: var(--weight-semibold);
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.checkout-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Plan cards */
.checkout-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.checkout-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px 14px 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s, transform 0.18s;
    -webkit-tap-highlight-color: transparent;
}
.checkout-plan:hover { border-color: #CBD5E1; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.checkout-plan.is-selected {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.035);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.10);
}
.checkout-plan-body { display: flex; flex-direction: column; flex: 1; }
.checkout-plan-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.checkout-plan-name { font-size: var(--font-md); font-weight: var(--weight-bold); color: var(--black); }
.checkout-plan-badge {
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.02em;
    white-space: nowrap;
}
/* Price block. display:block is stated rather than left to the flex parent
   blockifying these spans, so the price and the note can never end up on the
   same run of text. */
.checkout-plan-foot { display: block; margin-top: auto; padding-top: 12px; }
.checkout-plan-price { display: block; font-size: 19px; font-weight: var(--weight-extra); color: var(--black); letter-spacing: -0.02em; }
.checkout-plan-price em { font-size: var(--font-sm); font-style: normal; font-weight: var(--weight-normal); color: var(--gray); }
.checkout-plan-meta { display: block; margin-top: 2px; font-size: var(--font-xs); color: var(--gray); }
.checkout-plan-tick { display: none; }
.checkout-plan.is-selected .checkout-plan-tick {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 9px no-repeat;
}
/* The tick sits over the badge row, so drop the badge while selected. */
.checkout-plan.is-selected .checkout-plan-badge { visibility: hidden; }
.checkout-plan:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.16); }

/* Billing toggle */
.checkout-cycle-toggle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.checkout-cycle {
    display: block;
    padding: 13px 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
    -webkit-tap-highlight-color: transparent;
}
.checkout-cycle:hover { border-color: #CBD5E1; }
.checkout-cycle.is-selected { border-color: var(--primary); background: rgba(var(--primary-rgb), 0.035); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.10); }
.checkout-cycle:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.16); }
.checkout-cycle-title { display: flex; align-items: center; gap: 6px; font-size: var(--font-base); font-weight: var(--weight-semibold); color: var(--black); }
.checkout-cycle-save {
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    font-size: 10px;
    font-weight: var(--weight-bold);
    white-space: nowrap;
}
.checkout-cycle-note { display: block; margin-top: 3px; font-size: var(--font-sm); color: var(--gray); }

@media (max-width: 900px) { .checkout-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 576px) {
    .checkout-plan-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .checkout-plan { padding: 14px 13px; }
    .checkout-cycle-toggle { grid-template-columns: minmax(0, 1fr); }
}
