/* ==========================================================================
   RTPS Bihar Autofill — Crystal Aurora Glassmorphism
   Color scheme: popup.css aurora gradients + indigo accent
   Frosted glass surfaces, dark readable ink, fully responsive.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    /* ---- Aurora crystal palette (from popup.css) ---- */
    --crystal-ice: #edf3fa;
    --crystal-mist: #eaf2fb;
    --crystal-shimmer: #f0ebfa;

    --aurora-blue: rgba(93, 173, 226, 0.28);
    --aurora-purple: rgba(167, 139, 250, 0.26);
    --aurora-cyan: rgba(34, 211, 238, 0.24);
    --aurora-pink: rgba(244, 114, 182, 0.18);
    --aurora-teal: rgba(45, 212, 191, 0.24);
    --aurora-sky: rgba(96, 165, 250, 0.24);

    /* ---- Glass surface tokens (frosted crystal) ---- */
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-bg-soft: rgba(255, 255, 255, 0.40);
    --glass-bg-deep: rgba(255, 255, 255, 0.70);
    --glass-bg-solid: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.65);
    --glass-border-soft: rgba(255, 255, 255, 0.50);
    --glass-border-dark: rgba(148, 163, 184, 0.38);
    --glass-hl: rgba(255, 255, 255, 0.90);
    --glass-shadow: 0 4px 12px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06), inset 0 1px 1px rgba(255, 255, 255, 1);
    --glass-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    --glass-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.9);

    /* ---- Ink (dark — always readable on frost) ---- */
    --paper: #edf3fa;
    --paper-deep: #e2e8f0;
    --surface: rgba(255, 255, 255, 0.55);
    --ink: #0f172a;
    --ink-soft: #1e293b;
    --muted: #64748b;
    --muted-soft: #94a3b8;
    --line: rgba(226, 232, 240, 0.6);
    --line-soft: rgba(241, 245, 249, 0.5);

    /* ---- Brand (indigo from popup) ---- */
    --brand: #4f46e5;
    --brand-deep: #4338ca;
    --brand-tint: rgba(99, 102, 241, 0.10);
    --brand-glow: rgba(79, 70, 229, 0.4);
    --accent: #6366f1;
    --accent-tint: rgba(99, 102, 241, 0.12);
    --gold: #f59e0b;

    --danger: #ef4444;
    --danger-tint: rgba(239, 68, 68, 0.12);
    --ok: #10b981;
    --ok-tint: rgba(16, 185, 129, 0.14);

    --radius: 12px;
    --radius-lg: 18px;
    --shadow: var(--glass-shadow);
    --shadow-sm: var(--glass-shadow-sm);
    --font-display: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --wrap: 1200px;

    /* frosted effect — only on crystal surfaces */
    --frost: blur(24px) saturate(180%);
    --frost-strong: blur(30px) saturate(180%);
    --frost-soft: blur(12px) saturate(160%);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- resets ---------- */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

/* Aurora background — exact from popup.css, expanded to full viewport */
body {
    position: relative;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background-color: #edf3fa;
    background-image:
        radial-gradient(ellipse 75% 70% at 0% 0%, rgba(93, 173, 226, 0.28) 0%, rgba(93, 173, 226, 0.10) 35%, transparent 72%),
        radial-gradient(ellipse 70% 65% at 100% 0%, rgba(167, 139, 250, 0.26) 0%, rgba(167, 139, 250, 0.09) 38%, transparent 72%),
        radial-gradient(ellipse 65% 70% at 100% 45%, rgba(34, 211, 238, 0.24) 0%, rgba(34, 211, 238, 0.08) 40%, transparent 75%),
        radial-gradient(ellipse 65% 65% at 0% 48%, rgba(244, 114, 182, 0.18) 0%, rgba(244, 114, 182, 0.06) 40%, transparent 75%),
        radial-gradient(ellipse 70% 65% at 100% 100%, rgba(45, 212, 191, 0.24) 0%, rgba(45, 212, 191, 0.07) 40%, transparent 75%),
        radial-gradient(ellipse 70% 65% at 0% 100%, rgba(96, 165, 250, 0.24) 0%, rgba(96, 165, 250, 0.07) 40%, transparent 75%),
        radial-gradient(ellipse 90% 75% at 50% 50%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 45%, transparent 80%),
        linear-gradient(135deg, #eaf2fb 0%, #edf0fa 25%, #e9f4f8 50%, #f0ebfa 75%, #eaf8f3 100%);
    background-attachment: fixed;
    background-size: 100% 100%;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

a:hover {
    color: var(--brand-deep);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--brand-glow);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: 24px;
}

.hidden {
    display: none !important;
}

/* ---------- typography ---------- */

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.3px;
    color: var(--ink);
    text-wrap: balance;
}

.display-1 {
    font-size: clamp(1.9rem, 4.2vw, 3.4rem);
    font-weight: 900;
}

.display-2 {
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    font-weight: 800;
}

.display-3 {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 700;
}

.section {
    padding: clamp(56px, 8vw, 100px) 0;
}

.section-tight {
    padding: clamp(40px, 6vw, 70px) 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: clamp(28px, 4vw, 50px);
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 14px;
}

.kicker::before {
    content: '';
    width: 3px;
    height: 12px;
    background: var(--brand);
    margin-right: 0;
    border-radius: 4px;
    box-shadow: 0 0 8px var(--brand-glow);
}

.section-head.center .kicker::after {
    content: '';
    width: 3px;
    height: 12px;
    background: var(--brand);
    border-radius: 4px;
    box-shadow: 0 0 8px var(--brand-glow);
}

.section-head p {
    margin-top: 12px;
    color: var(--muted);
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    text-wrap: pretty;
    line-height: 1.6;
}

.lead {
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    color: var(--ink-soft);
    line-height: 1.7;
}


/* ---------- glass utility classes (frosted crystal) ---------- */

.glass {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
}

.glass-soft {
    background: var(--glass-bg-soft);
    -webkit-backdrop-filter: var(--frost-soft);
    backdrop-filter: var(--frost-soft);
    border: 1px solid var(--glass-border-soft);
    box-shadow: var(--glass-shadow-sm);
    border-radius: var(--radius-lg);
}

.glass-deep {
    background: var(--glass-bg-deep);
    -webkit-backdrop-filter: var(--frost-strong);
    backdrop-filter: var(--frost-strong);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
}

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    transition: all 0.25s var(--ease);
    text-align: center;
    cursor: pointer;
    letter-spacing: -0.2px;
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(49, 46, 129, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(49, 46, 129, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.30);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.30);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.40);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--ink-soft);
    background: var(--glass-bg-soft);
    -webkit-backdrop-filter: var(--frost-soft);
    backdrop-filter: var(--frost-soft);
}

.btn-outline:hover {
    background: #fff;
    color: var(--brand);
    border-color: #fff;
    box-shadow: 0 4px 12px var(--brand-glow);
    transform: translateY(-2px);
}

.btn-ghost {
    border-color: var(--glass-border);
    color: var(--ink-soft);
    background: var(--glass-bg-soft);
    -webkit-backdrop-filter: var(--frost-soft);
    backdrop-filter: var(--frost-soft);
}

.btn-ghost:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 15px;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 13px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* legacy names kept for account/auth scripts */
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(49, 46, 129, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.20);
    transition: all 0.2s var(--ease);
}

.primary-btn:hover {
    background: linear-gradient(135deg, var(--brand-deep) 0%, #3730a3 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(49, 46, 129, 0.40);
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    background: var(--glass-bg-soft);
    -webkit-backdrop-filter: var(--frost-soft);
    backdrop-filter: var(--frost-soft);
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s var(--ease);
}

.secondary-btn:hover {
    background: #fff;
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--brand-glow);
}

.text-btn {
    background: var(--glass-bg-soft);
    color: var(--ink-soft);
    border: 1px solid var(--glass-border);
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    -webkit-backdrop-filter: var(--frost-soft);
    backdrop-filter: var(--frost-soft);
}

.text-btn:hover {
    background: #fff;
    color: var(--brand);
    box-shadow: 0 4px 12px var(--brand-glow);
    transform: translateY(-1px);
}

.wide-btn {
    width: 100%;
    margin-top: 12px;
}

/* ---------- navbar ---------- */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.65);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    overflow: visible;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 70px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.3px;
}

.brand img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s var(--ease);
}

.brand:hover {
    color: var(--brand);
}

.brand:hover img {
    transform: scale(1.1) rotate(-5deg);
}

.brand-text h1 {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.brand-text span {
    font-size: 11px;
    opacity: 0.8;
    font-weight: 600;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    transition: all 0.2s var(--ease);
}

.nav-links a:hover {
    color: var(--brand);
    background: var(--brand-tint);
    box-shadow: 0 0 8px var(--brand-glow);
}

.nav-links a.active {
    color: var(--brand);
    font-weight: 700;
    background: rgba(79, 70, 229, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

/* ============ Account / Sign-in button ============ */
/* Base pill — person icon + "Sign in" text */
.btn-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 40px;
    min-width: 40px;
    padding: 0 16px 0 11px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg-soft);
    -webkit-backdrop-filter: var(--frost-soft);
    backdrop-filter: var(--frost-soft);
    color: var(--ink-soft);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: var(--glass-shadow-sm);
    transition: background .2s var(--ease), border-color .2s var(--ease),
        color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.btn-signin:hover {
    background: #fff;
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.18);
}

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

/* Person glyph (signed-out) via CSS mask — no HTML change needed */
.btn-signin::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: transform .2s var(--ease);
}

.btn-signin:hover::before {
    transform: scale(1.1);
}

/* Signed-in: button becomes a clean circular avatar */
.btn-signin.is-account {
    padding: 0;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.btn-signin.is-account:hover {
    background: transparent;
    border: 0;
    color: var(--brand);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(49, 46, 129, 0.22);
}

.btn-signin.is-account::before,
.btn-signin.is-account .account-label {
    display: none;
}

/* Avatar circle with initial */
.account-avatar {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 12px rgba(49, 46, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

/* Show avatar whenever button is in account mode (also keep .visible support) */
.btn-signin.is-account .account-avatar,
.account-avatar.visible {
    display: inline-flex;
}

.btn-signin.is-account:hover .account-avatar {
    transform: scale(1.06);
    box-shadow: 0 8px 22px rgba(49, 46, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Fallback: if avatar has no initial, show person icon inside circle */
.account-avatar:empty::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-color: #fff;
    -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center/contain no-repeat;
}

.account-label {
    display: inline;
    white-space: nowrap;
    line-height: 1;
    user-select: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: var(--glass-bg-soft);
    -webkit-backdrop-filter: var(--frost-soft);
    backdrop-filter: var(--frost-soft);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    transition: all 0.2s var(--ease);
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 7vw, 100px) 0 clamp(48px, 6vw, 90px);
    background: transparent;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 4.5vw, 64px);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    box-shadow: var(--glass-shadow-sm);
    margin-bottom: 22px;
}

.hero-badge .dot-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.20);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hero h1 {
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .lead {
    max-width: 34em;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 26px;
    font-size: 13px;
    color: var(--muted);
}

.hero-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-meta svg {
    width: 16px;
    height: 16px;
    color: var(--brand);
    flex: none;
}

/* hero visual: stacked service panel */
.hero-panel {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--frost-strong);
    backdrop-filter: var(--frost-strong);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-panel-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--glass-bg-soft);
    -webkit-backdrop-filter: var(--frost-soft);
    backdrop-filter: var(--frost-soft);
}

.hero-panel-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.r {
    background: #ef4444;
}

.dot.y {
    background: #f59e0b;
}

.dot.g {
    background: #10b981;
}

.hero-panel-bar span.title {
    margin-left: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    font-family: ui-monospace, Consolas, monospace;
}

.hero-panel-body {
    padding: 22px;
    display: grid;
    gap: 12px;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 15px;
    border: 1px solid var(--glass-border-soft);
    border-radius: 12px;
    background: var(--glass-bg-soft);
    -webkit-backdrop-filter: var(--frost-soft);
    backdrop-filter: var(--frost-soft);
    transition: all 0.25s var(--ease);
    position: relative;
    overflow: hidden;
}

.service-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    z-index: -1;
}

.service-row:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
    border-color: #fff;
}

.service-row:hover::before {
    opacity: 1;
}

.service-row .tag {
    flex: none;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #fff;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s var(--ease);
}

.service-row:hover .tag {
    transform: scale(1.1);
}

.tag-green {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.tag-orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.tag-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.tag-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.tag-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.tag-pink {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

.tag-teal {
    background: linear-gradient(135deg, #2dd4bf, #0d9488);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.service-row b {
    display: block;
    font-size: 13.5px;
    color: var(--ink);
    font-weight: 700;
}

.service-row small {
    display: block;
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 2px;
}

.service-row .free-label {
    margin-left: auto;
    flex: none;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--ok);
    background: var(--ok-tint);
    border-radius: 999px;
    padding: 4px 10px;
}

/* ---------- stat strip ---------- */

.stat-strip {
    border-block: 1px solid var(--line);
    background: var(--glass-bg-soft);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
}

.stat-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 30px 0;
}

.stat-strip-grid .stat {
    text-align: left;
}

.stat b {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.stat span {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
    display: block;
    margin-top: 4px;
    font-weight: 500;
}

/* ---------- cards / grids ---------- */

.grid {
    display: grid;
    gap: 22px;
}

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

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

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

.card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 2.5vw, 30px);
    box-shadow: var(--glass-shadow-sm);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    z-index: -1;
}

.card:hover {
    border-color: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
    transform: translateY(-4px);
}

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

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

.card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.icon-chip {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(49, 46, 129, 0.30);
    transition: transform 0.3s var(--ease);
}

.icon-chip svg {
    width: 22px;
    height: 22px;
}

.card:hover .icon-chip {
    transform: scale(1.1) rotate(-5deg);
}

.icon-chip.warm {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.30);
}

.icon-chip.success {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.30);
}

/* ---------- services section ---------- */

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.cert-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 2.4vw, 28px);
    box-shadow: var(--glass-shadow-sm);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    z-index: -1;
}

.cert-card:hover {
    border-color: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
    transform: translateY(-4px);
}

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

.cert-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.cert-top h3 {
    font-size: 1.15rem;
}

.plan-pill {
    flex: none;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 5px 11px;
    border-radius: 999px;
    text-transform: uppercase;
}

.plan-pill.free {
    background: var(--ok-tint);
    color: var(--ok);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.plan-pill.premium {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.cert-hi {
    font-size: 13px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 6px;
}

.cert-card p {
    color: var(--muted);
    font-size: 14px;
    flex: 1;
    line-height: 1.6;
}

.cert-card .cert-link {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cert-card .cert-link:hover {
    color: var(--brand-deep);
}

/* ---------- steps ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    position: relative;
}

.step {
    position: relative;
    padding: 26px 24px 24px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow-sm);
    transition: all 0.3s var(--ease);
}

.step:hover {
    transform: translateY(-4px);
    border-color: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
}

.step-num {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(49, 46, 129, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.step h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ---------- comparison ---------- */

.compare-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
    box-shadow: var(--glass-shadow-sm);
}

.compare-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 14px;
}

.compare-table th,
.compare-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.compare-table thead th {
    background: var(--glass-bg-deep);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    border-bottom: 2px solid var(--glass-border);
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.05);
}

.compare-table td.yes {
    color: var(--ok);
    font-weight: 700;
}

.compare-table td.no {
    color: var(--muted-soft);
}

.compare-table td.mid {
    color: var(--gold);
    font-weight: 700;
}

/* ---------- pricing ---------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 2.8vw, 34px);
    box-shadow: var(--glass-shadow-sm);
    transition: all 0.3s var(--ease);
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
}

.price-card.featured {
    border: 2px solid var(--brand);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.15);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(238, 242, 255, 0.50) 100%);
    -webkit-backdrop-filter: var(--frost-strong);
    backdrop-filter: var(--frost-strong);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(49, 46, 129, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.price-card h3 {
    font-size: 1.1rem;
    color: var(--ink-soft);
    margin-bottom: 14px;
    font-weight: 700;
}

.price-card .amount {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-bottom: 4px;
}

.price-card .amount b {
    font-family: var(--font-display);
    font-size: clamp(2rem, 2.8vw, 2.6rem);
    font-weight: 900;
    color: var(--ink);
}

.price-card .amount span {
    color: var(--muted);
    font-size: 14px;
}

.price-card .price-note {
    font-size: 13px;
    color: var(--muted);
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--line);
    margin-bottom: 18px;
}

.price-list {
    display: grid;
    gap: 11px;
    margin-bottom: 26px;
    flex: 1;
}

.price-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--ink-soft);
}

.price-list svg {
    width: 17px;
    height: 17px;
    flex: none;
    margin-top: 3px;
    color: var(--ok);
}

.price-list li.off {
    color: var(--muted-soft);
}

.price-list li.off svg {
    color: var(--muted-soft);
}

.pricing-footnote {
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

/* ---------- info band ---------- */

.band {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(49, 46, 129, 0.85) 100%);
    -webkit-backdrop-filter: var(--frost-strong);
    backdrop-filter: var(--frost-strong);
    color: #f1f5f9;
    padding: clamp(48px, 7vw, 84px) 0;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: var(--radius-lg);
    margin: clamp(20px, 3vw, 40px) 0;
    box-shadow: var(--glass-shadow-lg);
}

.band .kicker {
    color: var(--gold);
}

.band .kicker::before,
.band .kicker::after {
    background: var(--gold);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.band h2 {
    color: #ffffff;
}

.band p {
    color: #cbd5e1;
}

.band-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(30px, 4.5vw, 60px);
    align-items: center;
}

.band-points {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.band-points li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14.5px;
    color: #7c7979;
}

.band-points svg {
    width: 19px;
    height: 19px;
    flex: none;
    margin-top: 3px;
    color: var(--gold);
}

.band-card {
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.band-card .big {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
}

.band-card p {
    font-size: 13.5px;
    margin-top: 6px;
}

/* ---------- FAQ ---------- */

.faq-list {
    max-width: 780px;
    margin-inline: auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--glass-shadow-sm);
    transition: all 0.2s var(--ease);
}

.faq-item:hover {
    border-color: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 22px;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    font-family: var(--font-body);
}

.faq-q .chev {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--brand);
    transition: transform 0.2s var(--ease);
}

.faq-item.open .chev {
    transform: rotate(180deg);
}

.faq-item.open {
    border-color: rgba(79, 70, 229, 0.4);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.10);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s var(--ease);
}

.faq-a div {
    padding: 0 22px 18px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
}

/* ---------- CTA ---------- */

.cta-box {
    background: var(--glass-bg-deep);
    -webkit-backdrop-filter: var(--frost-strong);
    backdrop-filter: var(--frost-strong);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow-lg);
    border-radius: var(--radius-lg);
    padding: clamp(32px, 5vw, 60px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 50%, var(--gold) 100%);
}

.cta-box .lead {
    max-width: 40em;
    margin: 12px auto 26px;
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
    padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px);
    border-bottom: 1px solid var(--line);
    background: var(--glass-bg-soft);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
}

.page-hero .lead {
    max-width: 44em;
    margin-top: 14px;
}

.page-hero .crumbs {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 18px;
}

.page-hero .crumbs a {
    color: var(--muted);
}

.page-hero .crumbs a:hover {
    color: var(--brand);
}

/* ---------- prose (legal / articles) ---------- */

.prose {
    max-width: 760px;
}

.prose h2 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin: 34px 0 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
}

.prose h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.prose p,
.prose li {
    color: var(--ink-soft);
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.prose ul {
    list-style: disc;
    padding-left: 22px;
}

.prose ol {
    list-style: decimal;
    padding-left: 22px;
}

.prose li {
    margin-bottom: 8px;
}

.prose strong {
    color: var(--ink);
}

.prose .updated {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 26px;
}

/* ---------- contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(24px, 3.5vw, 44px);
    align-items: start;
}

.form-grid {
    display: grid;
    gap: 18px;
}

.form-grid label {
    display: block;
}

.form-grid label span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 7px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid var(--glass-border-dark);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: var(--frost-soft);
    backdrop-filter: var(--frost-soft);
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
    transition: all 0.2s var(--ease);
}

.form-grid textarea {
    min-height: 130px;
    resize: vertical;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
    color: var(--muted-soft);
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-note {
    font-size: 12px;
    color: var(--muted);
}

.contact-aside {
    display: grid;
    gap: 18px;
}

.contact-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--glass-shadow-sm);
    transition: all 0.3s var(--ease);
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.contact-card .icon-chip {
    margin-bottom: 0;
    width: 44px;
    height: 44px;
}

.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
    font-size: 14px;
    color: var(--muted);
}

.contact-card a:hover {
    color: var(--brand);
}

/* ---------- auth pages ---------- */

.auth-shell {
    min-height: calc(100vh - 70px);
    display: grid;
    place-items: center;
    padding: clamp(30px, 5vw, 64px) 0;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--glass-bg-deep);
    -webkit-backdrop-filter: var(--frost-strong);
    backdrop-filter: var(--frost-strong);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow-lg);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 4vw, 42px);
}

.auth-card .kicker {
    margin-bottom: 8px;
}

.auth-card h1 {
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    margin-bottom: 6px;
}

.auth-card .sub {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 22px;
}

.service-context {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 13px 16px;
    border-left: 3px solid var(--brand);
    background: var(--brand-tint);
    border-radius: 8px;
    margin-bottom: 22px;
}

.service-context b {
    font-size: 14px;
    color: var(--ink);
}

.service-context small {
    font-size: 12.5px;
    color: var(--brand);
}

.form-stack {
    display: grid;
    gap: 16px;
}

.form-stack label {
    display: grid;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.form-stack input {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid var(--glass-border-dark);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.60);
    -webkit-backdrop-filter: var(--frost-soft);
    backdrop-filter: var(--frost-soft);
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
}

.form-stack input::placeholder {
    color: var(--muted-soft);
}

.form-stack input:focus {
    outline: none;
    border-color: var(--brand);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.auth-alt {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: center;
    font-size: 14px;
}

.auth-alt a {
    font-weight: 600;
}

.muted {
    color: var(--muted);
    font-size: 14px;
}

.notice {
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    background: var(--glass-bg-soft);
    color: var(--ink-soft);
    border: 1px solid var(--glass-border-soft);
}

.notice.success {
    background: rgba(236, 253, 245, 0.85);
    color: var(--ok);
    border-color: rgba(16, 185, 129, 0.22);
}

.notice.error {
    background: rgba(254, 242, 242, 0.85);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.20);
}

/* ---------- account dashboard ---------- */

.account-page {
    padding: clamp(30px, 5vw, 60px) 0;
}

.account-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.account-topbar h1 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.account-topbar p {
    color: var(--muted);
    margin-top: 4px;
}

.account-signout {
    padding: 10px 22px;
    border: 1px solid var(--glass-border-dark);
    border-radius: 999px;
    background: var(--glass-bg-soft);
    -webkit-backdrop-filter: var(--frost-soft);
    backdrop-filter: var(--frost-soft);
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s var(--ease);
}

.account-signout:hover {
    border-color: var(--danger);
    color: var(--danger);
    background: rgba(254, 242, 242, 0.8);
}

.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 6px;
}

.account-dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

.account-sidebar {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 26px;
    position: sticky;
    top: 90px;
    box-shadow: var(--glass-shadow-sm);
}

.profile-mark {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(49, 46, 129, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.account-sidebar h2 {
    font-size: 1.1rem;
    word-break: break-word;
}

.account-sidebar>p {
    font-size: 13px;
    color: var(--muted);
    word-break: break-all;
}

.sidebar-status {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    padding: 10px 13px;
    border-radius: 10px;
    background: var(--glass-bg-soft);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
}

.status-dot {
    width: 9px;
    height: 9px;
    flex: none;
    border-radius: 50%;
    background: var(--muted-soft);
}

.status-dot.active {
    background: var(--ok);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.20);
}

.sidebar-links {
    display: grid;
    gap: 4px;
    margin-top: 18px;
}

.sidebar-links a {
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: all 0.2s var(--ease);
}

.sidebar-links a:hover {
    background: var(--brand-tint);
    color: var(--brand);
}

.sidebar-links a.active {
    background: var(--brand-tint);
    color: var(--brand);
    font-weight: 700;
}

.account-main {
    display: grid;
    gap: 22px;
}

.welcome-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.welcome-row h2 {
    font-size: 1.4rem;
}

.welcome-row p {
    color: var(--muted);
    font-size: 14px;
}

.account-status-badge {
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--glass-bg-soft);
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
}

.account-status-badge.active {
    background: rgba(16, 185, 129, 0.14);
    color: var(--ok);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    box-shadow: var(--glass-shadow-sm);
    transition: all 0.3s var(--ease);
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: #fff;
}

.stat-card span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.stat-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-top: 6px;
    color: var(--ink);
    font-weight: 900;
}

.stat-card small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.account-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: start;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 2.8vw, 30px);
    box-shadow: var(--glass-shadow-sm);
}

.panel-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--ok) 0%, #059669 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.30);
}

.account-panel h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.account-panel .panel-copy p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.panel-copy.full {
    grid-column: 1 / -1;
}

.panel-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.panel-actions .primary-btn,
.panel-actions .secondary-btn {
    width: auto;
    padding-inline: 26px;
}

.purchase-panel {
    grid-template-columns: 1fr;
}

.plan-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
}

.plan-mini button {
    display: grid;
    gap: 4px;
    padding: 18px 20px;
    text-align: left;
    background: var(--glass-bg-soft);
    -webkit-backdrop-filter: var(--frost-soft);
    backdrop-filter: var(--frost-soft);
    border: 2px solid var(--glass-border-soft);
    border-radius: 12px;
    font-family: inherit;
    transition: all 0.2s var(--ease);
}

.plan-mini button:hover {
    border-color: var(--brand);
    background: var(--glass-bg);
    transform: translateY(-2px);
}

.plan-mini button.selected {
    border-color: var(--brand);
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.8) 0%, rgba(255, 255, 255, 0.7) 100%);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.10);
}

.plan-mini button span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.plan-mini button b {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--ink);
    font-weight: 900;
}

.plan-mini button small {
    font-size: 12px;
    color: var(--muted);
}

.plan-mini em {
    font-style: normal;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
    color: #fff;
    border-radius: 999px;
    padding: 3px 8px;
    margin-left: 6px;
    vertical-align: 2px;
}

.payment-panel {
    grid-template-columns: 1fr;
}

.payment-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    margin-top: 18px;
    align-items: start;
}

.qr-card {
    text-align: center;
    border: 1px solid var(--glass-border-soft);
    border-radius: 12px;
    padding: 20px;
    background: var(--glass-bg-soft);
    -webkit-backdrop-filter: var(--frost-soft);
    backdrop-filter: var(--frost-soft);
}

.qr-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}

.qr-heading span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.qr-heading small {
    font-size: 12px;
    font-weight: 800;
    color: var(--brand);
}

.qr-card img {
    width: 100%;
    max-width: 210px;
    margin-inline: auto;
    background: #fff;
    border-radius: 8px;
    padding: 8px;
}

.qr-card p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
}

.payment-details {
    display: grid;
    gap: 14px;
}

.payment-step {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}

.payment-step>span {
    flex: none;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 6px rgba(49, 46, 129, 0.30);
}

.payment-step b {
    font-size: 14px;
    color: var(--ink);
}

.payment-step small {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
}

.utr-field {
    display: grid;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.utr-field input {
    padding: 12px 15px;
    border: 1.5px solid var(--glass-border-dark);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.60);
    color: var(--ink);
    transition: all 0.2s var(--ease);
}

.utr-field input:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.upi-box {
    padding: 14px 16px;
    border: 1px dashed var(--line);
    border-radius: 10px;
    background: var(--glass-bg-soft);
}

.upi-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
}

.upi-copy code {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.upi-copy button {
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(49, 46, 129, 0.25);
    transition: all 0.2s var(--ease);
}

.upi-copy button:hover {
    background: linear-gradient(135deg, var(--brand-deep) 0%, #3730a3 100%);
    transform: translateY(-2px);
}

.account-footnote {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12.5px;
    color: var(--muted);
    padding: 16px 18px;
    border-radius: 10px;
    background: var(--glass-bg-soft);
    line-height: 1.5;
}

.account-footnote svg {
    flex: none;
    margin-top: 2px;
    color: var(--brand);
}

/* ---------- footer ---------- */

.site-footer {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(49, 46, 129, 0.88) 100%);
    -webkit-backdrop-filter: var(--frost-strong);
    backdrop-filter: var(--frost-strong);
    color: #a9adb5;
    padding: clamp(48px, 6vw, 76px) 0 0;
    margin-top: clamp(48px, 6vw, 80px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: clamp(28px, 4vw, 48px);
    padding-bottom: 44px;
}

.site-footer .brand {
    color: #ffffff;
    margin-bottom: 14px;
}

.site-footer .brand:hover {
    color: var(--gold);
}

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    max-width: 34em;
    color: #cbd5e1;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-col ul {
    display: grid;
    gap: 10px;
}

.footer-col a {
    color: #a9adb5;
    font-size: 14px;
    transition: color 0.2s var(--ease);
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: #94a3b8;
}

/* ==========================================================================
   RESPONSIVE — proper breakpoints for all devices
   ========================================================================== */

/* Large desktops (>1440px) */
@media (min-width: 1440px) {
    :root {
        --wrap: 1280px;
    }

    .container {
        padding-inline: 32px;
    }
}

/* Medium desktop / small laptop (1024–1280) */
@media (max-width: 1280px) {
    :root {
        --wrap: 1100px;
    }

    .container {
        padding-inline: 22px;
    }

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

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

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

/* Tablet landscape / small laptop (768–1024) */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin-inline: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }

    .account-dashboard {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    .payment-layout {
        grid-template-columns: 1fr;
    }

    .qr-card {
        max-width: 360px;
        margin-inline: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-panel {
        max-width: 560px;
        margin-inline: auto;
    }

    .stat-strip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .band-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .site-nav {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .nav-links.open {
        display: flex;
        position: fixed;
        top: 70px;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0;
        padding: 14px 22px 28px;
        height: calc(100dvh - 70px);
        min-height: 0;
        max-height: none;
        list-style: none;
        background: #fff !important;
        opacity: 1;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        border: 0;
        border-top: 1px solid var(--line);
        box-shadow: 0 18px 30px rgba(15, 23, 42, 0.14);
        isolation: isolate;
    }

    body.menu-open {
        overflow: hidden;
    }

    .site-nav.menu-open {
        z-index: 200;
        overflow: visible;
    }

    .nav-links.open a {
        padding: 12px 8px;
        font-size: 15px;
        border-bottom: 1px solid var(--line-soft);
        color: var(--ink);
        border-radius: 8px;
    }

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

/* Tablet portrait (640–768) */
@media (max-width: 768px) {
    .section {
        padding: clamp(40px, 6vw, 64px) 0;
    }

    .container {
        padding-inline: 18px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

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

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

    .account-stats {
        grid-template-columns: 1fr;
    }

    .plan-mini {
        grid-template-columns: 1fr;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

    .account-panel {
        grid-template-columns: 1fr;
    }

    .panel-icon {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .display-1 {
        font-size: clamp(1.7rem, 7vw, 2.4rem);
    }

    .display-2 {
        font-size: clamp(1.4rem, 5vw, 1.9rem);
    }

    .nav-inner {
        min-height: 64px;
    }

    .nav-links.open {
        top: 64px;
        height: calc(100dvh - 64px);
    }


    .brand {
        font-size: 17px;
    }

    .brand img {
        width: 32px;
        height: 32px;
    }

    .section-head {
        margin-bottom: 32px;
    }

    .hero-panel-body {
        padding: 18px;
    }

    .service-row {
        padding: 12px;
        gap: 10px;
    }

    .service-row .tag {
        width: 34px;
        height: 34px;
        font-size: 10px;
    }

    .service-row b {
        font-size: 13px;
    }

    .service-row small {
        font-size: 11px;
    }
}

/* Mobile (480–640) */
@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat-strip-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px 14px;
    }

    /* Account button stays consistent & round on small screens */
    .nav-actions .btn-signin {
        height: 38px;
        padding: 0 14px 0 10px;
        font-size: 12.5px;
        gap: 6px;
    }

    .nav-actions .btn-signin::before {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
    }

    .nav-actions .btn-signin.is-account {
        width: 38px;
        height: 38px;
        min-width: 38px;
        padding: 0;
    }

    .nav-actions .btn-signin.is-account .account-avatar {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        font-size: 14px;
        border-width: 1.5px;
    }

    .footer-bottom .container {
        justify-content: flex-start;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .card,
    .cert-card,
    .step,
    .price-card {
        padding: 20px;
        border-radius: 14px;
    }

    .auth-card {
        padding: 24px 20px;
    }

    .account-sidebar {
        padding: 22px 20px;
    }

    .cta-box {
        padding: 28px 22px;
    }

    .band-card {
        padding: 22px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 13.5px;
    }

    .btn-lg {
        padding: 14px 26px;
    }

    .icon-chip {
        width: 42px;
        height: 42px;
    }

    .icon-chip svg {
        width: 20px;
        height: 20px;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 14px;
        font-size: 13px;
    }

    .section-title {
        font-size: 11px;
    }

    .kicker {
        font-size: 11.5px;
        letter-spacing: 0.1em;
    }

    .stat b {
        font-size: 1.5rem;
    }

    .stat span {
        font-size: 12px;
    }
}

/* Small mobile (360–480) */
@media (max-width: 480px) {
    .nav-inner {
        gap: 8px;
    }

    .nav-actions {
        gap: 6px;
        margin-left: 6px;
        flex-shrink: 0;
    }

    .nav-actions .btn-signin {
        height: 36px;
        padding: 0 12px 0 9px;
        font-size: 12px;
        gap: 6px;
    }

    .nav-actions .btn-signin::before {
        width: 13px;
        height: 13px;
        flex: 0 0 13px;
    }

    .nav-actions .btn-signin.is-account {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .nav-actions .btn-signin.is-account .account-avatar {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        font-size: 13px;
        border-width: 1.5px;
    }

    .brand {
        min-width: 0;
        gap: 8px;
    }

    .brand span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .container {
        padding-inline: 14px;
    }

    .stat-strip-grid {
        grid-template-columns: 1fr;
    }

    .brand span {
        font-size: 16px;
    }

    .brand img {
        width: 28px;
        height: 28px;
    }

    .nav-inner {
        min-height: 60px;
    }

    .hamburger {
        width: 40px;
        height: 40px;
    }

    .nav-links.open {
        min-height: calc(100dvh - 60px);
        max-height: calc(100dvh - 60px);
    }

    .hero-cta {
        gap: 10px;
    }

    .hero-meta {
        gap: 8px 18px;
        font-size: 12px;
    }

    .hero-meta svg {
        width: 14px;
        height: 14px;
    }

    .hero-panel-body {
        padding: 16px;
    }

    .service-row {
        padding: 12px 12px;
        gap: 10px;
    }

    .service-row .tag {
        width: 32px;
        height: 32px;
        font-size: 10px;
    }

    .service-row .free-label {
        font-size: 9px;
        padding: 3px 8px;
    }

    .card,
    .cert-card,
    .step,
    .price-card,
    .account-sidebar,
    .auth-card {
        padding: 18px;
        border-radius: 14px;
    }

    .faq-q {
        padding: 14px 16px;
        font-size: 14px;
    }

    .faq-a div {
        padding: 0 16px 14px;
        font-size: 13.5px;
    }

    .section {
        padding: 36px 0;
    }

    .section-head {
        margin-bottom: 26px;
    }

    .cta-box {
        padding: 24px 18px;
    }

    .cta-box::before {
        height: 4px;
    }

    .band {
        padding: 36px 0;
        margin: 14px 0;
    }

    .footer-bottom .container {
        font-size: 11px;
    }

    .display-1 {
        font-size: 1.7rem;
    }

    .display-2 {
        font-size: 1.4rem;
    }

    .price-card .amount b {
        font-size: 1.8rem;
    }

    .step-num {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .icon-chip {
        width: 40px;
        height: 40px;
    }

    .icon-chip svg {
        width: 18px;
        height: 18px;
    }

    .compare-table {
        min-width: 480px;
    }

    .btn {
        padding: 11px 18px;
        font-size: 13px;
    }

    .btn-lg {
        padding: 13px 22px;
    }
}

/* Extra-small mobile (<360) */
@media (max-width: 360px) {
    .container {
        padding-inline: 12px;
    }

    .brand {
        font-size: 15px;
        gap: 8px;
    }

    .brand img {
        width: 26px;
        height: 26px;
    }

    .nav-inner {
        min-height: 56px;
        gap: 10px;
    }

    .hamburger {
        width: 38px;
        height: 38px;
        padding: 8px;
    }

    .nav-links.open {
        min-height: calc(100dvh - 56px);
        max-height: calc(100dvh - 56px);
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero .lead {
        font-size: 14px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 12.5px;
    }

    .hero-panel-bar {
        padding: 10px 14px;
    }

    .hero-panel-bar span.title {
        font-size: 11px;
    }

    .service-row {
        flex-wrap: wrap;
        padding: 10px;
    }

    .service-row .free-label {
        margin-left: 0;
    }

    .price-card .amount b {
        font-size: 1.6rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .card,
    .cert-card,
    .step,
    .price-card,
    .auth-card {
        padding: 16px;
    }

    .stat-strip-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat b {
        font-size: 1.4rem;
    }
}

/* Landscape orientation on phones */
@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        padding: 32px 0;
    }

    .section {
        padding: 32px 0;
    }

    .auth-shell {
        min-height: auto;
        padding: 24px 0;
    }
}

/* Print */
@media print {
    body {
        background: #fff !important;
    }

    .site-nav,
    .site-footer,
    .hero-panel,
    .cta-box,
    .band {
        display: none;
    }

    .card,
    .cert-card,
    .step,
    .price-card,
    .faq-item {
        background: #fff !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    body {
        background-attachment: scroll;
    }
}

/* ---------- Fallback for browsers without backdrop-filter ---------- */
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {

    .glass,
    .glass-soft,
    .glass-deep,
    .hero-panel,
    .card,
    .cert-card,
    .step,
    .price-card,
    .faq-item,
    .cta-box,
    .auth-card,
    .stat-card,
    .account-sidebar,
    .account-panel,
    .contact-card,
    .compare-table-wrap,
    .hero-badge,
    .service-row,
    .hero-panel-bar,
    .band-card,
    .qr-card,
    .upi-box,
    .account-footnote,
    .plan-mini button,
    .sidebar-status,
    .account-status-badge,
    .page-hero,
    .stat-strip,
    .site-nav,
    .nav-links.open {
        background: rgba(255, 255, 255, 0.95) !important;
    }

    .site-footer {
        background: #0f172a !important;
    }

    .band {
        background: linear-gradient(135deg, #0f172a 0%, #312e81 100%) !important;
    }
}