/* ==========================================================
   QS Bank — Design System & Global Styles
   For Laravel Blade integration
   ========================================================== */

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

/* ── Design Tokens ───────────────────────────────────────── */
/*
 * ================================================================
 *  QS BANK — DESIGN TOKENS  (single source of truth)
 *  Brand: Noble QS | nobleqs.com | qsbank.nobleqs.com
 *
 *  CONVENTION
 *  ----------
 *  • New code: use --color-* for colours, --font-* for type.
 *  • Legacy aliases (--accent, --navy, etc.) remain for compat —
 *    they resolve to the canonical vars above them; do not
 *    introduce new raw hex values in component CSS.
 *  • Never override these vars inline; add a modifier class.
 * ================================================================
 */
:root {
  /* ── Core Brand ─────────────────────────────────────────────
     These are the authoritative colour names. Use them in all
     new components, pages, and utilities.                       */
  --color-primary:          #0d1d2d;   /* nav, footer, dark-band bg  */
  --color-secondary:        #0077b5;   /* links, buttons, accents    */
  --color-secondary-hover:  #006699;   /* secondary hover / active   */
  --color-cta:              #0088CC;   /* hero & high-emphasis CTAs  */
  --color-cta-hover:        #006699;   /* CTA hover                  */

  /* ── Surface & Background ───────────────────────────────────  */
  --color-bg:               #ffffff;
  --color-bg-subtle:        #f3f4f6;   /* Tailwind gray-100           */
  --color-bg-muted:         #e5e7eb;   /* Tailwind gray-200           */

  /* ── Text ───────────────────────────────────────────────────  */
  --color-text:             #1f2937;   /* body — Tailwind gray-800    */
  --color-text-muted:       #374151;   /* secondary — Tailwind gray-700 */
  --color-text-faint:       #8a8e93;   /* placeholder / meta          */

  /* ── Borders ────────────────────────────────────────────────  */
  --color-border:           #d1d5db;   /* Tailwind gray-300           */
  --color-border-subtle:    #e5e7eb;   /* Tailwind gray-200           */

  /* ── Semantic / State ───────────────────────────────────────  */
  --color-success:          #16a34a;
  --color-success-bg:       rgba(22,163,74,0.10);
  --color-danger:           #dc2626;
  --color-accent-bg:        rgba(0,119,181,0.10);

  /* ── Typography ─────────────────────────────────────────────
     Both vars intentionally share Inter. --font-display kept as
     an alias so older markup using it doesn't break.            */
  --font-ui:      'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: var(--font-ui);

  /* ── Shape ──────────────────────────────────────────────────  */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;

  /* ── Layout ─────────────────────────────────────────────────  */
  --max-w:    1180px;

  /* ── Motion ─────────────────────────────────────────────────  */
  --transition: 0.18s ease;

  /* ── Elevation  (shadow colour keyed to primary hue) ────────  */
  --shadow-sm: 0 1px 4px rgba(13,29,45,0.07), 0 1px 2px rgba(13,29,45,0.04);
  --shadow-md: 0 4px 16px rgba(13,29,45,0.10), 0 1px 4px rgba(13,29,45,0.06);
  --shadow-lg: 0 12px 40px rgba(13,29,45,0.14), 0 2px 8px rgba(13,29,45,0.07);

  /* ── Legacy Aliases ─────────────────────────────────────────
     Kept so existing component CSS (--accent, --navy, etc.)
     continues to work without a mass rename. Do NOT use these
     names in new code — use --color-* above instead.           */
  --accent:        var(--color-secondary);
  --accent-hover:  var(--color-secondary-hover);
  --accent-dim:    var(--color-accent-bg);
  --accent-sub:    rgba(0,119,181,0.09);
  --navy:          var(--color-primary);
  --navy-2:        #162840;
  --gold:          var(--color-cta);
  --gold-bright:   var(--color-cta);
  --gold-dim:      rgba(0,136,204,0.10);
  --green:         var(--color-success);
  --green-dim:     var(--color-success-bg);
  --red:           var(--color-danger);
  --bg:            var(--color-bg);
  --bg-2:          var(--color-bg);
  --bg-3:          var(--color-bg-subtle);
  --bg-4:          var(--color-bg-muted);
  --border:        var(--color-border);
  --border-subtle: var(--color-border-subtle);
  --text-1:        var(--color-text);
  --text-2:        var(--color-text-muted);
  --text-3:        var(--color-text-faint);
}

/* ── Reset ───────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #ffffff;
  color: #1f2937;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── Typography ──────────────────────────────────────────── */
.display-serif {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.display-serif em { font-style: italic; color: #0088CC; }

/* ── Layout ──────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 50px 0; }
.section-sm { padding: 64px 0; }

/* ── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-dim); border: 1px solid rgba(0,119,181,0.2);
  color: var(--accent); font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
}
.badge-gold { background: var(--gold-dim); border-color: rgba(0,136,204,0.25); color: var(--gold); }
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: var(--font-ui); font-weight: 600;
  font-size: 15px; border-radius: var(--radius-sm); padding: 11px 22px;
  cursor: pointer; border: 1px solid transparent;
  transition: all var(--transition); text-decoration: none;
  white-space: nowrap; letter-spacing: -0.01em; line-height: 1;
}
.btn-primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(0,119,181,0.25);
}
.btn-primary:hover {
  background: var(--accent-hover); border-color: var(--accent-hover);
  transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,119,181,0.35);
}
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-3); color: var(--text-1); }
.btn-ghost-white { background: transparent; color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.3); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-gold {
  background: #0088CC; color: #ffffff; border: none; font-weight: 800;
  box-shadow: 0 4px 24px rgba(0,136,204,0.45);
}
.btn-gold:hover { background: #006699; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,136,204,0.55); }
.btn-lg { font-size: 16px; padding: 14px 28px; }
.btn-sm { font-size: 13px; padding: 7px 14px; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--bg-2); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
}

/* ── Form Elements ───────────────────────────────────────── */
.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.input {
  width: 100%; background: #fff; border: 1px solid var(--border);
  color: var(--text-1); font-family: var(--font-ui); font-size: 15px;
  padding: 11px 14px; border-radius: var(--radius-sm); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input::placeholder { color: var(--text-3); }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,119,181,0.12); }
.input.error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(220,38,38,0.10); }
.input-error { font-size: 13px; color: var(--red); margin-top: 4px; }
select.input { cursor: pointer; }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp  { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes spin    { to { transform:rotate(360deg); } }

.anim-up { animation: fadeUp 0.5s ease both; }
.anim-in { animation: fadeIn 0.4s ease both; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }

/* ==========================================================
   NAVIGATION
   ========================================================== */

/* Announcement bar */
.announcement-bar {
  background: #0077b5;
  border-bottom: 1px solid rgba(0,119,181,0.3);
  padding: 9px 16px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.announcement-bar .inner {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap; justify-content: center;
}
.ann-badge {
  background: #ffffff; color: #0077b5; font-size: 10px;
  font-weight: 800; padding: 2px 7px; border-radius: 4px;
}
.ann-text { font-size: 13px; color: rgba(255,255,255,0.9); }
.ann-link {
  color: #ffffff; font-weight: 700; font-size: 13px;
  text-decoration: underline; cursor: pointer; background: none;
  border: none; font-family: var(--font-ui);
}
.ann-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.4); font-size: 20px; line-height: 1; padding: 4px;
}
.ann-close:hover { color: rgba(255,255,255,0.8); }

/* Main nav */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: #0d1d2d;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all 0.3s ease;
}
.site-nav.scrolled {
  border-bottom-color: rgba(255,255,255,0.07);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav-inner {
  height: 70px; display: flex;
  align-items: center; justify-content: space-between;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.28em; text-decoration: none; background: none; border: none; cursor: pointer; padding: 0; }
.logo-qs   { font-family: var(--font-ui); font-weight: 900; font-size: 20px; letter-spacing: -0.04em; color: #0077b5; }
.logo-bank { font-family: var(--font-ui); font-weight: 900; font-size: 20px; letter-spacing: -0.04em; color: #ffffff; }
.logo-dark .logo-qs   { color: var(--accent); }
.logo-dark .logo-bank { color: var(--text-1); }

/* Nav links desktop */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.75); font-family: var(--font-ui);
  font-weight: 500; font-size: 14px; padding: 8px 14px;
  border-radius: 8px; transition: all 0.15s; text-decoration: none;
  display: flex; align-items: center; gap: 4px;
}
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.07); color: #fff; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-arrow { width: 12px; height: 12px; transition: transform 0.2s; }
.nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px);
  left: 50%; transform: translateX(-50%);
  background: rgba(10,18,32,0.98); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 16px;
  padding: 10px; min-width: 320px; z-index: 200;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 14px; border-radius: 10px; border: none;
  cursor: pointer; background: transparent; text-align: left;
  transition: background 0.15s; text-decoration: none;
}
.dropdown-item:hover { background: rgba(255,255,255,0.06); }
.dropdown-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(0,119,181,0.25); display: flex;
  align-items: center; justify-content: center;
  font-size: 16px; color: #5bb8e8; flex-shrink: 0;
}
.dropdown-label { font-weight: 700; font-size: 14px; color: #fff; }
.dropdown-desc  { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 1px; }

/* Nav CTAs */
.nav-ctas { display: flex; align-items: center; gap: 10px; }
.nav-login {
  background: none; border: 1px solid rgba(255,255,255,0.18);
  border-radius: 9px; color: rgba(255,255,255,0.85);
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  padding: 8px 18px; cursor: pointer; transition: all 0.15s;
  text-decoration: none; display: inline-flex; align-items: center;
}
.nav-login:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-cta {
  background: #0088CC; border: none; border-radius: 9px;
  color: #ffffff; font-family: var(--font-ui); font-weight: 800;
  font-size: 14px; padding: 9px 20px; cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,136,204,0.4); transition: all 0.15s;
  text-decoration: none; display: inline-flex; align-items: center;
}
.nav-cta:hover { background: #006699; transform: translateY(-1px); }

/* Mobile */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: #fff; }
.mobile-menu {
  display: none; background: rgba(8,15,28,0.98);
  border-top: 1px solid rgba(255,255,255,0.07); padding: 8px 24px 28px;
}
.mobile-menu.open { display: block; }
.mobile-nav-link {
  display: block; width: 100%; text-align: left; background: none;
  border: none; cursor: pointer; color: rgba(255,255,255,0.65);
  font-family: var(--font-ui); font-weight: 600; font-size: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
}
.mobile-menu-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.mobile-login {
  padding: 12px; border: 1px solid rgba(255,255,255,0.18); border-radius: 9px;
  background: none; color: #fff; font-family: var(--font-ui);
  font-weight: 600; font-size: 15px; cursor: pointer;
  text-align: center; text-decoration: none; display: block;
}
.mobile-cta {
  background: #0088CC; border: none; border-radius: 9px; color: #ffffff;
  font-family: var(--font-ui); font-weight: 800; font-size: 15px;
  padding: 12px; cursor: pointer; text-align: center;
  text-decoration: none; display: block;
}

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

/* Section shell */
.hero {
  background: var(--color-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

/* Background layers (stacked via z-index, all pointer-events: none) */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 29, 45, 0.55)  0%,
    rgba(13, 29, 45, 0.75) 50%,
    rgba(13, 29, 45, 1.00) 100%
  );
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0, 119, 181, 0.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Copy block */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 820px;
  width: 100%;
}
.hero-stars {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-stars .stars {
  color: rgb(255 224 0);
  font-size: 26px;
  letter-spacing: 4px;
  line-height: 1;
}
.hero-stars .rating {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  line-height: 1;
}
.hero-stars .rating strong { color: rgba(255, 255, 255, 0.85); }

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 68px);
  color: #fff;
  margin-bottom: 22px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  /* Title-style display; matches heading-title-case (explicit here — this sheet always loads) */
  text-transform: capitalize;
}
.hero-h1 em {
  color: var(--color-cta);
  font-style: italic;
  white-space: nowrap;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto 36px;
}

/* CTA buttons */
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  background: var(--color-cta);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 16px;
  padding: 15px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0, 136, 204, 0.45);
  transition: var(--transition);
}
.btn-hero-primary:hover {
  background: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 136, 204, 0.55);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

/* Title-case all button / CTA labels (see also public/css/heading-title-case.css) */
a[class*="btn"]:not(.text-uppercase):not(.no-heading-title-case),
button[class*="btn"]:not(.text-uppercase):not(.no-heading-title-case),
.btn-hero-primary:not(.text-uppercase):not(.no-heading-title-case),
.btn-hero-secondary:not(.text-uppercase):not(.no-heading-title-case),
.nav-login,
.nav-cta,
.mobile-login,
.mobile-cta {
  text-transform: capitalize !important;
}

.hero-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 48px;
}

/* Tab pill switcher */
.hero-tabs {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  backdrop-filter: blur(16px);
}
.hero-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}
.hero-tab.active {
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* App screenshot (browser mockup) */
.hero-screenshot-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  padding: 32px 24px 0;
  margin-top: 8px;
}
.hero-screenshot-glow {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200px;
  background: radial-gradient(ellipse, rgba(0, 119, 181, 0.5) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-screenshot-frame {
  position: relative;
  background: #fff;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 -4px 60px rgba(0, 119, 181, 0.30),
    0  0   0   1px rgba(255, 255, 255, 0.08);
}

/* Browser chrome bar */
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #1e2533;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.browser-dots { display: flex; gap: 5px; }
.browser-dot  { width: 10px; height: 10px; border-radius: 50%; opacity: 0.8; }
.browser-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
}
.browser-url-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-ui);
}

/* Screenshot image — cropped at max-height to show the top of the UI */
.hero-screenshot-img {
  width: 100%;
  display: block;
  max-height: 480px;
  object-fit: cover;
  object-position: top;
}

/* Fade overlay — blends bottom of screenshot into hero background */
.hero-screenshot-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--color-primary));
  pointer-events: none;
}

/* ==========================================================
   STATS BAR
   ========================================================== */
.stats-bar {
  background: #fff; border-bottom: 1px solid var(--border-subtle);
  padding: 26px 0; box-shadow: 0 2px 12px rgba(13,29,45,0.07);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); text-align: center;
}
.stat-item { padding: 8px 0; border-right: 1px solid var(--border-subtle); }
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display); font-weight: 700;
  font-size: 32px; color: var(--accent); letter-spacing: -0.03em;
}
.stat-label { font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* ==========================================================
   RESOURCES GRID
   ========================================================== */
.resources-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 18px;
}
.resource-card {
  background: var(--bg-2); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.resource-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.resource-icon { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.resource-count { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.resource-title { font-weight: 700; font-size: 17px; color: var(--text-1); margin-bottom: 7px; }
.resource-desc  { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ==========================================================
   WHY QS BANK
   ========================================================== */
.why-section {
  background: var(--navy);
  border-top: none;
}
.why-section .section-heading-block h2 {
  color: #fff;
}
.why-section .section-heading-block p {
  color: rgba(255, 255, 255, 0.65);
}
.why-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}
.reason-card {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: all 0.2s;
}
.reason-card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  border-color: var(--border);
  transform: translateY(-3px);
}
.reason-icon  { font-size: 26px; margin-bottom: 12px; }
.reason-title { font-weight: 700; font-size: 16px; color: var(--text-1); margin-bottom: 8px; line-height: 1.35; }
.reason-desc  { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ==========================================================
   INSTITUTES
   ========================================================== */

.institutes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 16px;
}

.institute-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}
.institute-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--color-secondary);
}

/* Logo zone — full-width top panel */
.institute-badge {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border-subtle);
}

.institute-logo {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

/* Text block below logo */
.institute-info {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.institute-name { font-weight: 700; font-size: 13px; color: var(--color-text); letter-spacing: 0.03em; }
.institute-full { font-size: 11px; color: var(--color-text-faint); line-height: 1.45; }

/* ==========================================================
   VIDEO SECTION
   ========================================================== */
.video-section { background: var(--navy); padding: 50px 0; position: relative; overflow: hidden; }
.video-section .dot-grid-light {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.video-section .section-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,119,181,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.video-wrapper {
  max-width: 800px; margin: 0 auto; position: relative;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}
.video-aspect { position: relative; padding-top: 56.25%; }
.video-aspect iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ==========================================================
   HOW IT WORKS (strip)
   ========================================================== */
.how-steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 32px; }
.how-step  { text-align: center; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  margin: 0 auto 20px; box-shadow: 0 4px 16px rgba(0,119,181,0.3);
}
.step-title { font-weight: 700; font-size: 20px; margin-bottom: 10px; color: var(--text-1); }
.step-desc  { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ==========================================================
   PRICING
   ========================================================== */
.pricing-toggle {
  display: inline-flex; background: var(--bg); border: 1px solid var(--border);
  border-radius: 100px; padding: 4px; gap: 3px;
}
.pricing-toggle-btn {
  background: transparent; color: var(--text-2); border: none;
  border-radius: 100px; padding: 8px 22px; font-family: var(--font-ui);
  font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.pricing-toggle-btn.active { background: var(--navy); color: #fff; }
.save-badge { font-size: 10px; background: var(--green-dim); color: var(--green); padding: 2px 6px; border-radius: 4px; font-weight: 800; }
.pricing-toggle-btn.active .save-badge { background: rgba(255,255,255,0.2); color: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 16px; }
.pricing-card {
  background: #fff; border: 1.5px solid var(--border-subtle); border-radius: 16px;
  padding: 28px 22px; position: relative; box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card.featured { background: var(--navy); border-color: var(--navy); box-shadow: 0 16px 48px rgba(13,29,45,0.22); }
.pricing-card.featured:hover { box-shadow: 0 24px 64px rgba(13,29,45,0.3); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #0077b5; color: #ffffff; font-size: 10px; font-weight: 800;
  padding: 3px 12px; border-radius: 100px; white-space: nowrap;
}
.pricing-name   { font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.pricing-desc   { font-size: 12px; line-height: 1.5; margin-bottom: 18px; }
.price-amount   { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.price-period   { font-size: 13px; }
.pricing-cta {
  width: 100%; padding: 12px; border: none; border-radius: 9px;
  font-family: var(--font-ui); font-weight: 700; font-size: 14px;
  cursor: pointer; margin-bottom: 20px; transition: opacity 0.15s;
  text-align: center; text-decoration: none; display: block;
}
.pricing-cta:hover { opacity: 0.88; }
.pricing-features { border-top: 1px solid var(--border-subtle); padding-top: 16px; }
.pricing-card.featured .pricing-features { border-top-color: rgba(255,255,255,0.1); }
.feature-item  { display: flex; gap: 8px; margin-bottom: 9px; align-items: flex-start; }
.feature-check { color: var(--green); font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.feature-text  { font-size: 13px; }
.trust-row     { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 40px; }
.trust-item    { font-size: 13px; color: var(--text-3); font-weight: 500; }

/* ==========================================================
   TESTIMONIALS CAROUSEL
   ========================================================== */
.testimonials-section { background: var(--navy); padding: 50px 0; overflow: hidden; position: relative; }
.testimonials-track { display: flex; gap: 20px; justify-content: center; align-items: center; }
.testimonial-card { border-radius: 20px; flex-shrink: 0; transition: all 0.45s cubic-bezier(0.4,0,0.2,1); }
.testimonial-card.center {
  flex: 0 0 460px; background: #fff; border: 1px solid #fff;
  padding: 36px 32px; opacity: 1; transform: scale(1);
  cursor: default; box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.testimonial-card.side {
  flex: 0 0 300px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); padding: 26px 22px;
  opacity: 0.5; transform: scale(0.9); cursor: pointer;
}
.test-stars  { display: flex; gap: 2px; margin-bottom: 14px; }
.test-quote  { line-height: 1.75; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border-subtle); }
.testimonial-card.side .test-author { border-top-color: rgba(255,255,255,0.1); }
.author-avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.carousel-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.carousel-btn:hover { background: rgba(255,255,255,0.18); }
.carousel-dots { display: flex; gap: 6px; }
.carousel-dot { height: 7px; width: 7px; border-radius: 4px; background: rgba(255,255,255,0.25); border: none; cursor: pointer; transition: all 0.3s ease; padding: 0; }
.carousel-dot.active { width: 22px; background: #0077b5; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq-item { border-bottom: 1px solid var(--border-subtle); padding: 18px 0; }
.faq-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; background: none; border: none; cursor: pointer; text-align: left; gap: 16px; }
.faq-question { font-weight: 600; font-size: 16px; color: var(--text-1); line-height: 1.4; }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: transparent; color: var(--accent); font-size: 18px; line-height: 1; transition: all 0.2s; }
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.faq-answer { font-size: 15px; color: var(--text-2); margin-top: 12px; line-height: 1.75; display: none; }
.faq-item.open .faq-answer { display: block; }

/* ==========================================================
   SECTION HEADING BLOCK — Noble QS parent-brand pattern
   Wrapper → h2 (blue) → p (gray) → accent line (#0077b5)
   Use on all light-bg sections: resources, pricing, FAQ, etc.
   ========================================================== */
.section-heading-block {
  text-align: center;
  margin-bottom: 52px;
}
.section-heading-block h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem); /* 28px → 36px */
  font-weight: 700;
  color: var(--color-secondary);             /* #0077b5 */
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-family: var(--font-display);
}
.section-heading-block p {
  font-size: clamp(1rem, 2vw, 1.125rem);    /* 16px → 18px */
  color: #4b5563;                             /* Tailwind gray-600 */
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.75;
}
.section-heading-line {
  width: 6rem;           /* 96px */
  height: 0.25rem;       /* 4px  */
  background: var(--color-secondary);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

/* ==========================================================
   CTA BAND
   ========================================================== */
.cta-band { background: var(--navy); padding: 50px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band .dot-grid-light { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.cta-band .section-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 300px; background: radial-gradient(ellipse, rgba(0,119,181,0.4) 0%, transparent 70%); pointer-events: none; }
.cta-band-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,119,181,0.15); border: 1px solid rgba(0,119,181,0.3); color: #0088CC; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; margin-bottom: 24px; }

/* ==========================================================
   CONNECT WITH US (social)
   ========================================================== */
.connect-section {
  padding: 2.5rem 0;
  background: var(--color-bg-subtle);
}
@media (min-width: 768px) {
  .connect-section { padding: 2.5rem 0; }
}
.connect-section .section-heading-block h2 {
  color: var(--color-secondary);
}
.connect-section .section-heading-block p {
  color: var(--color-text-faint);
}
.connect-social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .connect-social-grid { gap: 2rem; }
}
.connect-social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 8rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 768px) {
  .connect-social-card {
    width: 10rem;
    padding: 1.5rem;
  }
}
.connect-social-card:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 48px rgba(13, 29, 45, 0.16);
}
.connect-social-card i {
  font-size: 1.75rem;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .connect-social-card i { font-size: 2.25rem; }
}
.connect-social-card span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ==========================================================
   FOOTER  — Noble QS parent-brand style
   ========================================================== */
.footer {
  background-color: #0d1d2d;
  color: #ffffff;
  padding-top: 3rem;
  padding-bottom: 2rem;
  font-family: var(--font-ui);
}
@media (min-width: 768px) { .footer { padding-top: 4rem; } }

.footer__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem;
  }
}

/* Logo */
.footer__logo {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
}
.footer__logo:hover { opacity: 0.92; }
.footer__logo span { color: #0077b5; }

/* Intro paragraph */
.footer__intro {
  margin: 0 0 1.5rem;
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1.6;
}

/* Social icons */
.footer__social { display: flex; gap: 1rem; }
.footer__social a {
  color: #d1d5db;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer__social a:hover { color: #0077b5; }

/* Column heading */
.footer__heading {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0077b5;
}

/* Link list */
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list > li + li { margin-top: 0.75rem; }
.footer__list a {
  display: flex;
  align-items: center;
  color: #d1d5db;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  transition: color 0.25s ease;
}
.footer__list a:hover { color: #0077b5; }
.footer__list a i { margin-right: 0.5rem; color: #0077b5; font-size: 0.7rem; }

/* Contact rows */
.footer__contact-row { display: flex; align-items: flex-start; }
.footer__contact-row + .footer__contact-row { margin-top: 0.75rem; }
.footer__contact-row > i {
  margin-top: 0.2rem;
  margin-right: 0.75rem;
  color: #0077b5;
  flex-shrink: 0;
  width: 14px;
}
.footer__contact-row span { color: #d1d5db; font-size: 1rem; line-height: 1.5; }

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.footer__copyright { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__badge {
  font-size: 11px; color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 8px; border-radius: 4px;
}

/* ==========================================================
   WHATSAPP BUBBLE
   ========================================================== */
.whatsapp-bubble { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.whatsapp-tooltip { background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.15); font-size: 13px; font-weight: 600; color: #0d1d2d; white-space: nowrap; border: 1px solid rgba(0,0,0,0.06); animation: fadeUp 0.3s ease both; display: none; }
.whatsapp-tooltip.visible { display: block; }
.whatsapp-btn { width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.5); text-decoration: none; transition: all 0.2s ease; }
.whatsapp-btn:hover { transform: scale(1.1); }

/* ==========================================================
   AUTH PAGES
   ========================================================== */
.auth-shell { min-height: 100vh; background: #f5f7fa; display: flex; flex-direction: column; }
.auth-stripe { height: 3px; background: linear-gradient(90deg, #0d1d2d 0%, #0077b5 100%); flex-shrink: 0; }
.auth-nav { background: #fff; border-bottom: 1px solid var(--border-subtle); padding: 0 28px; height: 56px; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.auth-back-btn { background: none; border: 1px solid var(--border); border-radius: 7px; color: var(--text-3); font-size: 13px; font-family: var(--font-ui); font-weight: 500; padding: 6px 14px; cursor: pointer; transition: all 0.15s; display: flex; align-items: center; gap: 5px; text-decoration: none; }
.auth-back-btn:hover { color: var(--text-1); background: var(--bg); }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 460px; background: #fff; border-radius: 16px; box-shadow: 0 8px 32px rgba(13,29,45,0.1), 0 1px 4px rgba(13,29,45,0.06); overflow: hidden; border: 1px solid var(--border-subtle); padding: 40px; }
.auth-card.wide { max-width: 900px; padding: 0; }
.auth-footer { padding: 16px; text-align: center; flex-shrink: 0; }
.auth-footer p { font-size: 12px; color: var(--text-3); }

/* Step bar */
.step-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 28px; }
.step-node { display: flex; align-items: center; gap: 7px; }
.step-circle { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; transition: all 0.3s; }
.step-circle.done    { background: var(--green); border: 2px solid var(--green); color: #fff; }
.step-circle.active  { background: var(--accent); border: 2px solid var(--accent); color: #fff; }
.step-circle.pending { background: #e4eaf2; border: 2px solid #cdd5e0; color: #7a93ab; }
.step-label { font-size: 12px; font-weight: 600; white-space: nowrap; }
.step-label.active,.step-label.done { color: var(--accent); }
.step-label.pending { color: var(--text-3); }
.step-line { flex: 1; height: 2px; border-radius: 1px; min-width: 16px; transition: background 0.3s; }
.step-line.done    { background: var(--green); }
.step-line.pending { background: #e4eaf2; }

/* Email chip */
.email-chip { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #f0f4fa; border: 1px solid var(--border-subtle); border-radius: 9px; margin-bottom: 22px; }
.email-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--accent); }
.email-text { font-size: 13px; color: var(--text-2); font-weight: 500; flex: 1; }
.email-change { background: none; border: none; cursor: pointer; font-size: 12px; color: var(--accent); font-family: var(--font-ui); font-weight: 600; text-decoration: none; }

/* Google / Divider */
.google-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; cursor: pointer; font-family: var(--font-ui); font-weight: 600; font-size: 14px; color: var(--text-1); transition: all 0.15s; box-shadow: 0 1px 3px rgba(13,29,45,0.08); }
.google-btn:hover { background: #f8fafc; box-shadow: 0 4px 12px rgba(13,29,45,0.1); }
.or-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.or-line { flex: 1; height: 1px; background: var(--border-subtle); }
.or-text { font-size: 12px; color: var(--text-3); font-weight: 500; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); min-height: 560px; }
.checkout-summary { background: linear-gradient(160deg, #0d1d2d 0%, #0077b5 100%); padding: 44px 36px; display: flex; flex-direction: column; }
.checkout-form-panel { padding: 44px 40px; display: flex; flex-direction: column; }

/* Spinner */
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; }
.spinner-dark { border-color: rgba(13,29,45,0.3); border-top-color: #0d1d2d; }

/* ==========================================================
   HOW IT WORKS (full page)
   ========================================================== */
.phase-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 52px 0; align-items: start; border-bottom: 1px solid var(--border-subtle); }
.phase-row:last-child { border-bottom: none; }
.phase-number { font-family: var(--font-display); font-size: 56px; font-weight: 700; color: var(--accent); opacity: 0.15; letter-spacing: -0.04em; line-height: 1; margin-bottom: 12px; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* ── Tablet (≤1024px) ──────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-screenshot-wrap { padding: 24px 16px 0; }
}

/* ── Mobile (≤768px) ───────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }

  /* Nav */
  .hide-mobile { display: none !important; }
  .hamburger   { display: flex !important; }

  /* Hero */
  .hero { padding-top: 40px; }
  .hero-content { padding: 0 16px; }
  .hero-h1 { font-size: clamp(28px, 8vw, 44px); }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-hint { margin-bottom: 32px; }
  .hero-ctas { gap: 10px; }
  .btn-hero-primary, .btn-hero-secondary { padding: 13px 22px; font-size: 15px; }

  /* Hero tabs — full-width horizontal scroll */
  .hero-tabs {
    display: flex;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 5px;
    gap: 4px;
    border-radius: 16px;
    justify-content: flex-start;
  }
  .hero-tabs::-webkit-scrollbar { display: none; }
  .hero-tab { flex-shrink: 0; padding: 8px 14px; font-size: 12px; }

  /* Screenshot */
  .hero-screenshot-wrap { padding: 24px 0 0; }
  .hero-screenshot-frame { border-radius: 12px 12px 0 0; }
  .hero-screenshot-img { max-height: 280px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-number { font-size: 26px; }

  /* Resources */
  .resources-grid { grid-template-columns: 1fr; }

  /* Why */
  .why-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

  /* Institutes — 3 per row on tablet */
  .institutes-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }

  /* How it works */
  .how-steps { grid-template-columns: 1fr; gap: 24px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr !important; }
  .pricing-toggle { flex-wrap: wrap; justify-content: center; }

  /* Testimonials */
  .testimonial-card.side { display: none !important; }
  .testimonials-track { flex-direction: column; }
  .testimonial-card.center { flex: none; width: 100%; }

  /* How it works detail page */
  .phase-row   { grid-template-columns: 1fr !important; }

  /* Auth */
  .auth-card   { padding: 28px 20px !important; }
  .checkout-grid { grid-template-columns: 1fr !important; }

  /* Footer */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-inner { padding: 48px 16px 32px; }
}

/* ── Small phones (≤480px) ─────────────────────────────── */
@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(24px, 7vw, 34px); }
  .hero-sub { font-size: 15px; }
  .hero-stars .rating { font-size: 12px; }
  .btn-hero-primary, .btn-hero-secondary { padding: 12px 18px; font-size: 14px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 22px; }

  .why-reasons { grid-template-columns: 1fr; }
  .institutes-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

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

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .trust-row { flex-direction: column; align-items: center; gap: 12px; }

  .section { padding: 48px 0; }
  .container { padding: 0 14px; }

  .testimonial-card.center { padding: 24px 20px; }

  /* Auth small screens */
  .auth-card, .auth-card--narrow { padding: 24px 16px !important; }
  .checkout-form-panel { padding: 24px 16px; }
}

/* ── Desktop only ───────────────────────────────────────── */
@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}

/* ==========================================================
   PAGE HERO (inner pages)
   ========================================================== */
.page-hero { background: var(--navy); padding: 50px 0 72px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.page-hero-inner { max-width: 680px; margin: 0 auto; position: relative; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); color: #fff; line-height: 1.1; margin: 16px 0 20px; font-weight: 700; }
.page-hero h1 em { font-style: italic; color: var(--gold-bright); }
.page-hero-sub { font-size: 18px; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 560px; margin: 0 auto 32px; }

/* Billing toggle (page hero) */
.billing-toggle { display: inline-flex; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 100px; padding: 4px; gap: 2px; margin-top: 8px; }
.toggle-btn { background: transparent; border: none; padding: 8px 20px; border-radius: 100px; cursor: pointer; font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.6); transition: all 0.2s; display: flex; align-items: center; gap: 8px; }
.toggle-btn.active { background: #fff; color: var(--navy); }
.billing-save-badge { font-size: 10px; font-weight: 700; background: var(--gold-bright); color: var(--navy); padding: 2px 7px; border-radius: 100px; letter-spacing: 0.02em; }

/* ==========================================================
   PRICING (full page — non-conflicting classes)
   ========================================================== */
.pricing-page-section { padding-top: 64px; }
/* page pricing cards extend home-page card base via .pricing-card */
.pricing-card { display: flex; flex-direction: column; } /* extend existing .pricing-card */
.pricing-card--featured { border-color: var(--accent) !important; box-shadow: 0 8px 32px rgba(0,119,181,0.15); transform: translateY(-6px); background: #fff !important; }
.pricing-card--featured:hover { transform: translateY(-10px); }
.popular-ribbon { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 0 0 10px 10px; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.pricing-card-header { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border-subtle); }
.plan-name { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); display: block; margin-bottom: 10px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.plan-tagline { font-size: 13px; color: var(--text-3); margin: 0; }
.plan-features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { font-size: 14px; color: var(--text-2); padding-left: 22px; position: relative; }
.feat-yes::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; font-size: 13px; }
.feat-no { opacity: 0.4; text-decoration: line-through; }
.feat-no::before { content: '✕'; position: absolute; left: 0; color: var(--text-3); font-size: 12px; }

/* Guarantee strip */
.guarantee-strip { display: flex; align-items: center; gap: 20px; background: #f0f9f0; border: 1px solid #c3e6cb; border-radius: 12px; padding: 20px 24px; margin-top: 8px; }
.guarantee-icon { font-size: 32px; flex-shrink: 0; }
.guarantee-strip strong { display: block; font-size: 16px; color: var(--text-1); margin-bottom: 4px; }
.guarantee-strip p { font-size: 14px; color: var(--text-2); margin: 0; }

/* Trust bar (pricing page — non-conflicting) */
.trust-bar { border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: 20px 0; background: #fff; }
.trust-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.trust-items .trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); font-weight: 500; }
.trust-items .trust-icon { font-size: 18px; }

/* Comparison table */
.comparison-section { background: #fff; }
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comparison-table thead th { padding: 14px 20px; text-align: center; font-weight: 700; font-size: 13px; color: var(--text-1); border-bottom: 2px solid var(--border-subtle); background: var(--bg); }
.comparison-table thead th:first-child { text-align: left; min-width: 200px; }
.comparison-table .col-featured { background: #f0f5ff; }
.comparison-table tbody tr:nth-child(even) td { background: #fafbfc; }
.comparison-table tbody tr:nth-child(even) .col-featured { background: #eaf0fd; }
.comparison-table td { padding: 12px 20px; text-align: center; border-bottom: 1px solid var(--border-subtle); color: var(--text-2); }
.comparison-table td:first-child { text-align: left; font-weight: 500; color: var(--text-1); }

/* Testimonials mini */
.testimonials-mini-section { background: var(--bg); }
.testimonials-mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-mini-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: 14px; padding: 24px; }
.stars { color: var(--gold-bright); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-mini-card > p { font-size: 15px; color: var(--text-2); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--accent); flex-shrink: 0; }
.reviewer strong { display: block; font-size: 14px; color: var(--text-1); }
.reviewer span { font-size: 12px; color: var(--text-3); }

/* ==========================================================
   HOW IT WORKS DETAIL PAGE
   ========================================================== */
.hiw-detail-section { background: #fff; }
.hiw-step { display: grid; grid-template-columns: 160px 1fr; gap: 48px; padding: 64px 0; align-items: start; }
.hiw-step--right { direction: rtl; }
.hiw-step--right > * { direction: ltr; }
.hiw-step-visual { display: flex; flex-direction: column; align-items: center; gap: 16px; position: sticky; top: 100px; }
.hiw-step-number { font-family: var(--font-display); font-size: 80px; font-weight: 700; color: var(--accent); opacity: 0.08; line-height: 1; }
.hiw-step-icon-wrap { margin-top: -24px; }
.hiw-step-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 8px; }
.hiw-step-content h3 { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--text-1); line-height: 1.2; margin-bottom: 16px; }
.hiw-step-content p { font-size: 16px; color: var(--text-2); line-height: 1.75; margin-bottom: 20px; }
.hiw-step-bullets { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.hiw-step-bullets li { padding-left: 22px; position: relative; font-size: 15px; color: var(--text-2); }
.hiw-step-bullets li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.hiw-connector { width: 2px; background: linear-gradient(180deg, var(--accent) 0%, rgba(0,119,181,0.1) 100%); height: 48px; margin: 0 auto; }

/* Feature deep-dive cards */
.features-deep-section { background: var(--bg); }
.features-deep-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.feature-deep-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: 14px; padding: 28px 24px; }
.fd-icon { margin-bottom: 16px; }
.feature-deep-card h4 { font-size: 17px; font-weight: 700; color: var(--text-1); margin-bottom: 10px; }
.feature-deep-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.bg-light-grey { background: var(--bg) !important; }

/* ==========================================================
   AUTH — TWO-COLUMN SHELL
   ========================================================== */
.auth-body { background: #f0f4fa; }
.auth-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-shell--centered { display: flex; align-items: center; justify-content: center; background: #f0f4fa; min-height: 100vh; padding: 40px 16px; }

/* Left brand panel */
.auth-panel-left { background: linear-gradient(160deg, #0d1d2d 0%, #0077b5 100%); padding: 48px 48px 60px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.auth-logo { display: inline-flex; text-decoration: none; margin-bottom: 48px; }
.auth-panel-content { margin-top: auto; position: relative; z-index: 1; }
.auth-panel-heading { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 20px; line-height: 1.2; }
.auth-panel-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.auth-panel-list li { color: rgba(255,255,255,0.75); font-size: 15px; font-weight: 500; }
.auth-quote { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 24px; margin-bottom: 28px; }
.auth-quote-text { color: rgba(255,255,255,0.85); font-size: 15px; line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.auth-quote-author { display: flex; align-items: center; gap: 10px; }
.auth-quote-author .reviewer-avatar { background: rgba(255,255,255,0.12); color: #fff; }
.auth-quote-author strong { color: #fff; font-size: 14px; display: block; }
.auth-quote-author span { color: rgba(255,255,255,0.5); font-size: 12px; }
.auth-stat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.auth-stat-pill { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 100px; padding: 5px 14px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8); }
.auth-panel-blob { position: absolute; bottom: -80px; right: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(0,136,204,0.2) 0%, transparent 70%); pointer-events: none; }

/* Right form panel */
.auth-panel-right { display: flex; align-items: center; justify-content: center; padding: 48px 40px; background: #f0f4fa; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 8px 40px rgba(13,29,45,0.1); border: 1px solid var(--border-subtle); }
.auth-card--narrow { max-width: 420px; background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 8px 40px rgba(13,29,45,0.1); border: 1px solid var(--border-subtle); }
.auth-logo-mobile { display: none; text-decoration: none; margin-bottom: 24px; }
.auth-logo-centered { display: inline-flex; text-decoration: none; margin-bottom: 28px; }
.auth-title { font-size: 22px; font-weight: 800; color: var(--text-1); margin-bottom: 6px; }
.auth-sub { font-size: 14px; color: var(--text-2); margin-bottom: 24px; line-height: 1.6; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.auth-divider span { font-size: 12px; color: var(--text-3); font-weight: 500; white-space: nowrap; }
.auth-divider::before,.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-subtle); }
.auth-footer-text { font-size: 13px; color: var(--text-3); text-align: center; margin-top: 20px; }
.auth-footer-text a { color: var(--accent); font-weight: 600; text-decoration: none; }
.auth-terms { font-size: 11px; color: var(--text-3); text-align: center; line-height: 1.6; margin-top: 16px; }
.auth-terms a { color: var(--text-3); }

/* ==========================================================
   SECTION TITLES (inner pages)
   ========================================================== */
.section-title { font-family: var(--font-display); font-size: clamp(26px,4vw,40px); font-weight: 700; color: var(--text-1); text-align: center; margin-bottom: 12px; letter-spacing: -0.02em; }
.section-sub { font-size: 16px; color: var(--text-2); text-align: center; max-width: 540px; margin: 0 auto 48px; line-height: 1.7; }

/* ==========================================================
   FORM CONTROLS (auth + checkout pages)
   ========================================================== */
.auth-form { display: flex; flex-direction: column; gap: 0; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.form-control {
  width: 100%; background: #fff; border: 1px solid var(--border);
  color: var(--text-1); font-family: var(--font-ui); font-size: 15px;
  padding: 11px 14px; border-radius: var(--radius-sm); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control::placeholder { color: var(--text-3); }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,119,181,0.12); }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%237a93ab' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-error { font-size: 12px; color: var(--red); font-weight: 500; display: block; margin-top: 5px; min-height: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin-bottom: 18px; }
.form-checkbox input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.form-checkbox span { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.input-password-wrap .form-control { padding-right: 44px; }

/* Google SSO button */
.btn-google { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 16px; cursor: pointer; font-family: var(--font-ui); font-weight: 600; font-size: 14px; color: var(--text-1); transition: all 0.15s; box-shadow: 0 1px 3px rgba(13,29,45,0.06); }
.btn-google:hover { background: #f8fafc; box-shadow: 0 4px 14px rgba(13,29,45,0.1); border-color: #b0bec5; }

/* Email chip */
.email-chip { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #f0f4fa; border: 1px solid var(--border-subtle); border-radius: 9px; margin-bottom: 20px; }
.email-chip--hidden { display: none; }
.chip-change { margin-left: auto; font-size: 12px; color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.email-chip span { font-size: 13px; color: var(--text-2); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Step progress dots (signup) */
.step-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; justify-content: center; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--text-3); transition: all 0.25s; flex-shrink: 0; }
.step-dot.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-dot.done   { background: var(--green); border-color: var(--green); color: #fff; }
.step-line { flex: 1; height: 2px; background: var(--border-subtle); max-width: 48px; border-radius: 1px; }

/* Signup steps show/hide */
.signup-step { display: none; }
.signup-step.active { display: block; }

/* Step nav row */
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 12px; }

/* Password field with toggle */
.input-password-wrap { position: relative; }
.input-password-wrap .form-control { padding-right: 44px; }
.toggle-pw { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 16px; line-height: 1; padding: 0; color: var(--text-3); }

/* Password strength */
.pw-strength { display: flex; gap: 4px; margin-top: 8px; }
.pw-strength-bar { flex: 1; height: 4px; border-radius: 2px; background: #e2e8f0; transition: background 0.3s; }
.pw-strength-label { font-size: 11px; font-weight: 600; display: block; margin-top: 4px; }

/* Auth success state */
.auth-success-state { text-align: center; }
.success-icon { font-size: 48px; margin-bottom: 16px; }

/* Verify page */
.verify-icon { text-align: center; margin-bottom: 20px; }
.verify-steps { background: var(--bg); border-radius: 12px; padding: 20px 20px; margin: 20px 0; display: flex; flex-direction: column; gap: 14px; }
.verify-step { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-2); }
.vs-num { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.verify-actions { text-align: center; margin-top: 8px; }
.btn-text { background: none; border: none; cursor: pointer; color: var(--accent); font-weight: 600; font-size: 13px; font-family: var(--font-ui); text-decoration: underline; }
.inline-success { color: var(--green); font-size: 13px; font-weight: 600; text-align: center; margin-top: 8px; }

/* Forgot password */
.form-label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.form-label-row label { margin: 0; }
.form-label-link { font-size: 13px; color: var(--accent); font-weight: 600; text-decoration: none; }

/* ==========================================================
   CHECKOUT SHELL
   ========================================================== */
.checkout-shell { display: grid; grid-template-columns: 420px 1fr; min-height: 100vh; }
.checkout-summary { background: linear-gradient(160deg, #08101c 0%, #0f2246 100%); padding: 48px 40px; display: flex; flex-direction: column; color: #fff; }
.checkout-logo { margin-bottom: 48px; text-decoration: none; display: inline-flex; }
.checkout-plan { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.cp-badge { display: inline-block; background: var(--gold-bright); color: var(--navy); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; padding: 3px 10px; border-radius: 100px; margin-bottom: 10px; }
.cp-name { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.cp-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.cp-amount { font-size: 40px; font-weight: 800; color: #fff; font-family: var(--font-display); }
.cp-period { font-size: 15px; color: rgba(255,255,255,0.5); }
.cp-desc { font-size: 14px; color: rgba(255,255,255,0.6); margin: 0; line-height: 1.6; }
.checkout-line-items { margin-bottom: auto; padding-bottom: 24px; }
.line-item { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; color: rgba(255,255,255,0.7); border-bottom: 1px solid rgba(255,255,255,0.07); }
.line-item--divider { border-bottom: 1px solid rgba(255,255,255,0.15); padding: 0; }
.line-item--total { font-size: 16px; font-weight: 700; color: #fff; border-bottom: none; padding-top: 14px; }
.checkout-trust { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.ct-item { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500; }

/* Right payment panel */
.checkout-form-panel { background: #f5f7fa; display: flex; align-items: flex-start; justify-content: center; padding: 60px 48px; }
.checkout-form-inner { width: 100%; max-width: 460px; }
.checkout-form-title { font-size: 22px; font-weight: 800; color: var(--text-1); margin-bottom: 4px; }
.checkout-back { font-size: 13px; color: var(--text-3); text-decoration: none; display: inline-block; margin-bottom: 20px; }
.checkout-back:hover { color: var(--accent); }
.accepted-cards { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.card-logo { padding: 4px 10px; border: 1px solid var(--border-subtle); border-radius: 6px; font-size: 11px; font-weight: 800; color: var(--text-3); background: #fff; letter-spacing: 0.03em; }
.card-logo.visa { color: #1a1f71; }
.card-logo.mc { color: #eb001b; }
.card-logo.amex { color: #016fd0; }
.card-logo.paypal { color: #003087; }
.card-input-wrap { position: relative; }
.card-brand-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 700; color: var(--text-3); pointer-events: none; }
.promo-group {}
.promo-input-row { display: flex; gap: 8px; }
.promo-input-row .form-control { flex: 1; }
.form-success { font-size: 12px; color: var(--green); font-weight: 600; display: block; margin-top: 4px; }
.cvc-hint { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: var(--border); color: var(--text-3); font-size: 10px; font-weight: 700; cursor: help; margin-left: 4px; }
.btn-xl { padding: 16px 32px; font-size: 17px; margin-top: 8px; }
.checkout-legal { font-size: 11px; color: var(--text-3); line-height: 1.6; margin-top: 14px; }
.checkout-legal a { color: var(--text-3); }
.checkout-success { text-align: center; padding: 40px 0; }
.checkout-success h3 { font-size: 24px; font-weight: 800; color: var(--text-1); margin: 12px 0 8px; }
.checkout-success p { color: var(--text-2); font-size: 15px; margin-bottom: 24px; }

/* ==========================================================
   ADDITIONAL BUTTONS
   ========================================================== */
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-full { width: 100%; }
.btn-ghost-light { background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.15); }

/* ==========================================================
   FOOTER (additional classes used in new pages)
   ========================================================== */
.footer-logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.75; max-width: 220px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.15s; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.9); }
.footer-socials a { width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: rgba(255,255,255,0.4); text-decoration: none; transition: all 0.15s; margin-right: 6px; }
.footer-socials a:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); margin: 0; }

/* WhatsApp bubble (used by inner pages) */
.wa-bubble { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.wa-bubble a { width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.45); text-decoration: none; transition: transform 0.2s; }
.wa-bubble a:hover { transform: scale(1.1); }
.wa-tooltip { background: #fff; border-radius: 10px; padding: 8px 14px; box-shadow: 0 4px 20px rgba(0,0,0,0.12); font-size: 13px; font-weight: 600; color: var(--text-1); white-space: nowrap; border: 1px solid var(--border-subtle); }

/* ==========================================================
   RESPONSIVE — additional for new pages
   ========================================================== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-shell { grid-template-columns: 1fr; }
  .checkout-summary { min-height: auto; }
  .testimonials-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .features-deep-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-panel-left { display: none; }
  .auth-logo-mobile { display: inline-flex; }
  .hiw-step { grid-template-columns: 1fr; gap: 24px; }
  .hiw-step--right { direction: ltr; }
  .hiw-step-visual { flex-direction: row; align-items: center; position: static; }
  .hiw-step-number { font-size: 40px; }
  .features-deep-grid { grid-template-columns: 1fr; }
  .testimonials-mini-grid { grid-template-columns: 1fr; }
  .checkout-shell { grid-template-columns: 1fr; }
  .checkout-form-panel { padding: 32px 20px; }
  .checkout-summary { padding: 32px 24px; }
  .comparison-table { font-size: 12px; }
  .comparison-table td, .comparison-table th { padding: 10px 12px; }
  .trust-items { gap: 16px; flex-direction: column; align-items: center; }
  .billing-toggle { flex-wrap: wrap; justify-content: center; }
  .pricing-card--featured { transform: translateY(0); }
  .pricing-card--featured:hover { transform: translateY(-4px); }
  .table-wrapper { margin: 0 -16px; padding: 0 16px; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 72px 0 52px; }
  .page-hero h1 { font-size: clamp(28px, 7vw, 48px); }
  .guarantee-strip { flex-direction: column; text-align: center; }
}
