/* ============================================================
   StudyNest Malaysia — Global & Scoped Stylesheet
   Luxury EdTech Design System
   ============================================================ */

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: 100%;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #FFFFFF;
  color: #0B1E3A;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* ============================================================
   Design Tokens
   ============================================================ */
:root, #sn-home {
  /* Brand palette */
  --c-navy: #0B1E3A;
  --c-navy-2: #0d1a30;
  --c-navy-3: #081428;
  --c-orange: #FF7A1A;
  --c-orange-dark: #c96806;
  --c-orange-light-1: #F9B36A;
  --c-orange-light-2: #FF9A4D;
  --c-teal: #2C8CB0;
  --c-teal-light: #E7F5FB;
  --c-green: #5DA83A;
  --c-green-light: #EAF6EF;

  /* Typography Colors */
  --c-ink: #0B1E3A;
  --c-ink-2: #1E2D4A;
  --c-ink-3: #33415C;
  --c-text: #526079;
  --c-text-muted: #8092AB;

  /* On-Dark Typography */
  --c-text-on-dark: #B8C6DC;
  --c-text-on-dark-2: #8496B3;
  --c-text-on-dark-3: #6B7D99;

  /* Surfaces & Borders */
  --c-bg: #FFFFFF;
  --c-bg-tint: #F7F9FC;
  --c-bg-tint-2: #EEF2F7;
  --c-border: #E8EDF4;
  --c-border-2: #DFE5F0;
  --c-border-3: #CBD5E1;

  /* Spacing Scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 28px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --section-pad-y: clamp(52px, 6.5vw, 88px);
  --section-pad-x: clamp(16px, 4vw, 32px);

  /* Refined Shadows */
  --shadow-xs: 0 2px 6px rgba(11, 30, 58, 0.04);
  --shadow-sm: 0 3px 12px rgba(11, 30, 58, 0.06), 0 1px 2px rgba(11, 30, 58, 0.04);
  --shadow-md: 0 10px 28px rgba(11, 30, 58, 0.08), 0 2px 6px rgba(11, 30, 58, 0.04);
  --shadow-lg: 0 20px 48px rgba(11, 30, 58, 0.12), 0 4px 12px rgba(11, 30, 58, 0.06);
  --shadow-glow-orange: 0 8px 24px rgba(255, 122, 26, 0.28);

  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-tile: 14px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-card: 24px;
  --radius-pill: 100px;
}

#sn-home {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#sn-home a {
  color: var(--c-orange);
  text-decoration: none;
}

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

#sn-home ::selection {
  background: var(--c-orange);
  color: #fff;
}

/* ============================================================
   Layout & Container Utilities
   ============================================================ */
.sn-container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}

.sn-container-narrow {
  width: 100%;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}

.sn-section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
}

.sn-section-banded {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

/* ============================================================
   Typography Hierarchy
   ============================================================ */
.sn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-orange);
}

.sn-eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--c-orange);
  border-radius: 2px;
}

.sn-eyebrow-on-dark {
  color: var(--c-orange-light-1);
}

.sn-eyebrow-on-dark::before {
  background: var(--c-orange-light-1);
}

.sn-h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--c-navy);
}

.sn-h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-navy);
  margin-top: 8px;
}

.sn-h2-on-dark {
  color: #FFFFFF;
}

.sn-lead {
  font-size: clamp(15.5px, 1.8vw, 17.5px);
  line-height: 1.62;
  color: var(--c-text);
  margin-top: 12px;
}

.sn-lead-on-dark {
  color: var(--c-text-on-dark);
}

.sn-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(32px, 4.5vw, 48px);
}

.sn-section-head-left {
  text-align: left;
  max-width: 640px;
  margin: 0 0 clamp(32px, 4.5vw, 48px) 0;
}

/* ============================================================
   Cards & Surfaces
   ============================================================ */
.sn-card-base {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, var(--shadow-xs);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.sn-card-base-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  box-shadow: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.sn-card-pad {
  padding: clamp(22px, 3vw, 30px);
}

.sn-card-pad-sm {
  padding: clamp(18px, 2.5vw, 24px);
}

.sn-card-pad-xs {
  padding: 16px;
}

.sn-icon-tile {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-tile);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.sn-step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-navy);
  color: var(--c-orange-light-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(11, 30, 58, 0.15);
}

/* Hover effects */
.sn-card-base:hover,
.sn-card-why:hover,
.sn-card-uni:hover,
.sn-card-service:hover,
.sn-card-process:hover,
.sn-card-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(11, 30, 58, 0.08), 0 2px 6px rgba(11, 30, 58, 0.03);
  border-color: #D2DBE8;
}

.sn-card-base:hover .sn-icon-tile {
  transform: scale(1.06);
}

.sn-card-benefit:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 122, 26, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

/* Logo Box */
.sn-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.sn-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: none;
}

/* ============================================================
   Buttons & Links
   ============================================================ */
.sn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  border-radius: 14px;
  padding: 13px 24px;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.sn-btn i {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 1.1em;
}

#sn-home a.sn-btn-primary, .sn-btn-primary {
  background: linear-gradient(180deg, #FF8A2E 0%, #FF7A1A 55%, #F06E10 100%);
  color: #FFFFFF !important;
  box-shadow: 0 8px 22px rgba(255, 122, 26, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

#sn-home a.sn-btn-primary:hover, .sn-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 122, 26, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #FFFFFF !important;
}

#sn-home a.sn-btn-primary:hover i, .sn-btn-primary:hover i {
  transform: translateX(3px);
}

#sn-home a.sn-btn-outline, .sn-btn-outline {
  background: #FFFFFF;
  color: var(--c-navy) !important;
  border: 1.5px solid #DFE5F0;
  box-shadow: 0 2px 8px rgba(11, 30, 58, 0.04);
}

#sn-home a.sn-btn-outline:hover, .sn-btn-outline:hover {
  border-color: var(--c-navy);
  transform: translateY(-2px);
  color: var(--c-navy) !important;
  box-shadow: 0 10px 24px rgba(11, 30, 58, 0.09);
}

#sn-home a.sn-btn-outline:hover i, .sn-btn-outline:hover i {
  transform: translateX(3px);
}

#sn-home a.sn-btn-dark, .sn-btn-dark {
  background: var(--c-navy);
  color: #FFFFFF !important;
  box-shadow: 0 8px 22px rgba(11, 30, 58, 0.22);
}

#sn-home a.sn-btn-dark:hover, .sn-btn-dark:hover {
  background: #081428;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11, 30, 58, 0.32);
  color: #FFFFFF !important;
}

#sn-home a.sn-btn-dark:hover i, .sn-btn-dark:hover i {
  transform: translateX(3px);
}

.sn-btn:active {
  transform: translateY(0) !important;
}

/* ============================================================
   Navigation & Header
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border-2);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

header.sn-scrolled {
  box-shadow: 0 4px 24px rgba(11, 30, 58, 0.07);
  background: rgba(255, 255, 255, 0.98);
}

.sn-navlink {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-ink-3) !important;
  border-radius: 10px;
  transition: background 0.18s ease, color 0.18s ease;
}

.sn-navlink:hover {
  background: var(--c-bg-tint-2);
  color: var(--c-navy) !important;
}

.sn-navlink.active {
  background: var(--c-bg-tint-2);
  color: var(--c-navy) !important;
  font-weight: 700;
}

/* Mobile Drawer */
.sn-mobile-only {
  display: none;
}

#sn-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(11, 30, 58, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#sn-drawer.open {
  display: block;
}

#sn-drawer .sn-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 340px);
  background: #fff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: -16px 0 40px rgba(11, 30, 58, 0.2);
  animation: sn-fade 0.2s ease;
  overflow-y: auto;
}

/* Sticky Mobile Bar */
#sn-mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-border-2);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -6px 20px rgba(18, 35, 63, 0.08);
}

#sn-pad {
  display: none;
  height: 74px;
}

@media (max-width: 900px) {
  .sn-desktop-only {
    display: none !important;
  }
  .sn-mobile-only {
    display: flex !important;
  }
  #sn-mobile-bar {
    display: flex !important;
  }
  #sn-pad {
    display: block !important;
  }
}

/* ============================================================
   Universities Page & Filter Components
   ============================================================ */
.sn-filter-panel {
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: clamp(18px, 2.5vw, 24px);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.sn-chips-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#sn-home .sn-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid #E1E5EC;
  color: var(--c-ink-2);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 10px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-family: inherit;
}

#sn-home .sn-filter i {
  font-size: 16px;
  color: var(--c-text);
  transition: color 0.2s;
}

#sn-home .sn-filter:hover:not(.active) {
  border-color: var(--c-orange-light-1);
  background: #FFF8F1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 122, 26, 0.10);
  color: var(--c-navy);
}

#sn-home .sn-filter:hover:not(.active) i {
  color: var(--c-orange);
}

#sn-home .sn-filter.active {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(11, 30, 58, 0.2);
}

#sn-home .sn-filter.active i {
  color: var(--c-orange-light-2);
}

/* Category Grid Cards */
#sn-home .sn-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  font-family: inherit;
  text-align: left;
  color: var(--c-navy);
  box-shadow: var(--shadow-xs);
  min-height: 112px;
  width: 100%;
}

#sn-home .sn-cat i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--c-bg-tint);
  font-size: 21px;
  color: var(--c-teal);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.sn-cat span {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--c-navy);
}

.sn-cat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #D9DEE7;
}

.sn-cat:hover i {
  transform: scale(1.05);
  background: #FFF0E3;
  color: var(--c-orange);
}

.sn-cat.active {
  background: linear-gradient(160deg, #FFF6EE 0%, #FFEEDD 100%);
  border-color: var(--c-orange-light-1);
  box-shadow: 0 8px 24px rgba(255, 122, 26, 0.14);
}

.sn-cat.active i {
  background: #fff;
  color: var(--c-orange);
}

.sn-cat.active::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sn-cat-cta {
  background: linear-gradient(160deg, #FFF3E7 0%, #FFE7D0 100%) !important;
  border-color: #FFC99B !important;
}

.sn-cat-cta i {
  background: #fff !important;
  color: var(--c-orange) !important;
}

/* Filter Fields & Dropdowns */
#sn-sheet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  align-items: end;
  width: 100%;
}

.sn-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

.sn-field > span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sn-field > span i {
  font-size: 14px;
  color: var(--c-orange);
}

.sn-field select,
.sn-field input,
.sn-field textarea {
  width: 100%;
  padding: 12px 38px 12px 14px;
  border: 1.5px solid var(--c-border-3);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy);
  background: #FFFFFF url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 256 256"><path fill="%235E6A80" d="M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z"/></svg>') no-repeat right 12px center/16px 16px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 2px 6px rgba(18, 35, 63, 0.03);
}

.sn-field select:hover,
.sn-field input:hover,
.sn-field textarea:hover {
  border-color: var(--c-orange-light-1);
}

.sn-field select:focus,
.sn-field input:focus,
.sn-field textarea:focus {
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.14);
}

.sn-sheet-head, .sn-sheet-apply {
  display: none;
}

.sn-sheet-overlay {
  display: none;
}

#sn-filters-btn {
  display: none;
}

@media (max-width: 900px) {
  #sn-filters-btn {
    display: inline-flex !important;
  }
  .sn-chips-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
    scrollbar-width: none;
  }
  .sn-chips-row::-webkit-scrollbar {
    display: none;
  }
  .sn-chips-row .sn-filter {
    flex-shrink: 0;
  }
  .sn-sheet-head, .sn-sheet-apply {
    display: flex !important;
  }
  .sn-sheet-head {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  #sn-sheet {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 65;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-radius: 22px 22px 0 0;
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
    box-shadow: 0 -16px 40px rgba(11, 30, 58, 0.25);
    transform: translateY(110%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }
  #sn-sheet.open {
    transform: translateY(0);
  }
  .sn-sheet-overlay.show {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 64;
    background: rgba(11, 30, 58, 0.45);
    backdrop-filter: blur(3px);
  }
}

/* Badges & Tags */
.sn-feat-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-orange-dark);
  background: #FFF0E3;
  padding: 4px 10px;
  border-radius: 100px;
}

.sn-feat-badge i {
  font-size: 12px;
  color: var(--c-orange);
}

.sn-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-ink-3);
  background: var(--c-bg-tint);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  padding: 4px 10px;
}

.sn-uni-hidden {
  display: none !important;
}

/* Compare controls */
.sn-compare-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--c-bg-tint-2);
  border: none;
  color: var(--c-ink-3);
  font-family: inherit;
  font-weight: 600;
  font-size: 12.5px;
  padding: 7px 11px;
  border-radius: 9px;
  cursor: pointer;
  transition: 0.15s ease;
}

.sn-compare-btn i {
  font-size: 14px;
}

.sn-compare-btn:hover {
  background: #E1E6EE;
  color: var(--c-navy);
}

.sn-compare-btn.active {
  background: var(--c-navy);
  color: #FFFFFF;
}

#sn-tray {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 58;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-border-2);
  box-shadow: 0 -8px 24px rgba(11, 30, 58, 0.10);
  padding: 12px 0;
}

#sn-tray.show {
  display: block;
}

@media (max-width: 900px) {
  #sn-tray.show {
    bottom: 64px;
  }
}

.sn-tray-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-bg-tint-2);
  border-radius: 100px;
  padding: 5px 8px 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-navy);
}

.sn-tray-chip button {
  width: 20px;
  height: 20px;
  border: none;
  background: #FFFFFF;
  border-radius: 50%;
  cursor: pointer;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: color 0.15s;
}

.sn-tray-chip button:hover {
  color: var(--c-orange);
}

/* Compare Modal */
#sn-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(11, 30, 58, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 20px;
  overflow-y: auto;
}

#sn-modal.show {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.sn-modal-card {
  background: #fff;
  border-radius: var(--radius-card);
  width: 100%;
  max-width: 860px;
  margin: auto;
  box-shadow: 0 30px 80px rgba(11, 30, 58, 0.35);
  animation: sn-fade 0.2s ease;
  overflow: hidden;
}

.sn-cmp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.sn-cmp-table th, .sn-cmp-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-border);
  font-size: 14px;
  vertical-align: top;
}

.sn-cmp-table th {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--c-navy);
  text-align: center;
  background: var(--c-bg-tint);
}

.sn-cmp-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(11, 30, 58, 0.06);
}

.sn-cmp-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sn-cmp-table td:first-child {
  font-weight: 700;
  color: var(--c-text);
  font-size: 12.5px;
  white-space: nowrap;
  background: var(--c-bg-tint);
}

/* ============================================================
   FAQ Accordions
   ============================================================ */
.sn-faq-item {
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.sn-faq-item:hover {
  border-color: #D2DBE8;
  box-shadow: var(--shadow-xs);
}

.sn-faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, padding 0.32s ease;
  padding-top: 0;
  padding-bottom: 0;
}

.sn-faq-item.open .sn-faq-a {
  max-height: 480px;
  opacity: 1;
}

.sn-faq-item.open .sn-faq-plus {
  display: none;
}

.sn-faq-item .sn-faq-minus {
  display: none;
}

.sn-faq-item.open .sn-faq-minus {
  display: inline;
}

/* ============================================================
   Standardized CTA Component (Above Footer)
   Consistent Dark Navy Gradient Treatment across all pages
   ============================================================ */
.sn-cta-section {
  padding-top: 0;
  padding-bottom: clamp(52px, 6.5vw, 84px);
}

.sn-cta-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-navy) 0%, #13294d 100%);
  border-radius: var(--radius-card);
  padding: clamp(38px, 5.5vw, 64px) clamp(20px, 4.5vw, 56px);
  text-align: center;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.sn-cta-orb-1 {
  position: absolute;
  top: -90px;
  left: -60px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 135, 31, 0.22), transparent 70%);
  pointer-events: none;
}

.sn-cta-orb-2 {
  position: absolute;
  bottom: -120px;
  right: -70px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 140, 176, 0.22), transparent 70%);
  pointer-events: none;
}

.sn-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.sn-cta-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0 auto;
}

.sn-cta-desc {
  font-size: clamp(15px, 1.7vw, 16.5px);
  line-height: 1.62;
  color: #B8C6DC;
  margin: 14px auto 0;
  max-width: 540px;
}

.sn-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

/* ============================================================
   Animations & Keyframes
   ============================================================ */
@keyframes sn-floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes sn-fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.sn-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.sn-reveal.sn-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .sn-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.sn-divider {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, var(--c-border-2) 20%, var(--c-border-2) 80%, transparent);
}

/* Footer Link styling */
.sn-flink {
  transition: color 0.2s ease, transform 0.2s ease;
}

.sn-flink:hover {
  color: #FFFFFF !important;
  transform: translateX(2px);
}

.sn-social {
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.sn-social:hover {
  background: var(--c-orange) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* ============================================================
   Hero Section — Modern Layout, 3D Parallax & Depth
   Clean bounds, zero horizontal overflow or clipping
   ============================================================ */

.sn-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 560px at 84% -10%, #FFF3E6 0%, transparent 58%),
              radial-gradient(900px 520px at -8% 108%, #EAF2FB 0%, transparent 60%),
              linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-tint) 100%);
  perspective: 1200px;
}

/* --- Dynamic Cursor Spotlight --- */
.sn-hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(750px circle at var(--mouse-x, 60%) var(--mouse-y, 40%), rgba(255, 122, 26, 0.08) 0%, rgba(44, 140, 176, 0.035) 45%, transparent 70%);
  transition: opacity 0.5s ease;
  will-change: background;
}

/* --- Orb Background Layer with Parallax --- */
.sn-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  will-change: transform, opacity;
  transition: opacity 0.4s ease;
}

.sn-hero-orb-1 {
  width: clamp(320px, 45vw, 620px);
  height: clamp(280px, 40vw, 540px);
  top: -14%;
  right: -5%;
  background: radial-gradient(circle, rgba(255,122,26,.22) 0%, rgba(255,122,26,.05) 55%, transparent 80%);
  animation: sn-orb-drift-1 14s ease-in-out infinite alternate;
}

.sn-hero-orb-2 {
  width: clamp(240px, 34vw, 480px);
  height: clamp(220px, 32vw, 440px);
  bottom: -16%;
  left: -4%;
  background: radial-gradient(circle, rgba(44,140,176,.18) 0%, rgba(44,140,176,.04) 55%, transparent 80%);
  animation: sn-orb-drift-2 16s ease-in-out infinite alternate;
}

.sn-hero-orb-3 {
  width: clamp(180px, 24vw, 340px);
  height: clamp(180px, 24vw, 340px);
  top: 25%;
  left: 38%;
  background: radial-gradient(circle, rgba(11,30,58,.07) 0%, transparent 70%);
  animation: sn-orb-drift-1 18s ease-in-out infinite alternate-reverse;
}

@keyframes sn-orb-drift-1 {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: .85; }
  100% { transform: translate3d(20px, -16px, 0) scale(1.05); opacity: 1; }
}

@keyframes sn-orb-drift-2 {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: .75; }
  100% { transform: translate3d(-18px, 14px, 0) scale(1.06); opacity: .95; }
}

/* --- Interactive Canvas Particle Constellation --- */
.sn-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
}

/* --- Dot grid overlay with parallax support --- */
.sn-hero-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(11,30,58,.06) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(850px 520px at 70% 35%, #000 0%, transparent 75%);
  mask-image: radial-gradient(850px 520px at 70% 35%, #000 0%, transparent 75%);
  opacity: .75;
  z-index: 1;
  will-change: transform;
}

/* --- Staggered Fade-Up Entrance --- */
.sn-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(0.16,1,0.3,1), transform .65s cubic-bezier(0.16,1,0.3,1);
}

.sn-fade-up.sn-visible {
  opacity: 1;
  transform: translateY(0);
}

.sn-fade-up-d1 { transition-delay: .06s; }
.sn-fade-up-d2 { transition-delay: .14s; }
.sn-fade-up-d3 { transition-delay: .22s; }
.sn-fade-up-d4 { transition-delay: .30s; }
.sn-fade-up-d5 { transition-delay: .38s; }
.sn-fade-up-d6 { transition-delay: .46s; }

/* Slide from right for the visual panel */
.sn-fade-right {
  opacity: 0;
  transform: translate3d(32px, 0, 0);
  transition: opacity .7s cubic-bezier(0.16,1,0.3,1) .15s, transform .7s cubic-bezier(0.16,1,0.3,1) .15s;
}

.sn-fade-right.sn-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* --- Eyebrow Numeral Row --- */
.sn-hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.sn-hero-numeral {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--c-orange);
  line-height: 1;
  flex-shrink: 0;
  padding: 4px 8px;
  background: rgba(255, 122, 26, 0.08);
  border: 1px solid rgba(255, 122, 26, 0.2);
  border-radius: 6px;
}

.sn-hero-numeral-line {
  flex-shrink: 0;
  width: 24px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-orange), rgba(255,122,26,.2));
}

.sn-hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF0E3;
  color: var(--c-orange-dark);
  font-weight: 700;
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 100px;
  box-shadow: 0 2px 10px rgba(255,122,26,.12);
  border: 1px solid rgba(255,122,26,.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sn-hero-eyebrow-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255,122,26,.2);
}

/* --- H1 Accent Bar --- */
.sn-hero-headline-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
}

.sn-hero-accent-bar {
  flex-shrink: 0;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--c-orange) 0%, rgba(255,122,26,.25) 100%);
  margin-right: 18px;
  margin-top: 4px;
  margin-bottom: 4px;
}

/* --- 3D Interactive Parallax Card & Glare --- */
.sn-tilt-wrapper {
  perspective: 1200px;
  transform-style: preserve-3d;
  will-change: transform;
}

.sn-tilt-inner {
  transform-style: preserve-3d;
  transition: transform 0.14s cubic-bezier(0.2, 0, 0.38, 0.9);
  will-change: transform;
  position: relative;
}

.sn-hero-card-box {
  position: relative;
  border-radius: 26px;
  background: linear-gradient(165deg, #172c52 0%, var(--c-navy) 55%, var(--c-navy-3) 100%);
  box-shadow: 0 30px 70px rgba(11,30,58,.32), 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.15);
  padding: 26px 26px 22px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Dynamic glare reflection that moves with mouse */
.sn-card-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,0.09) 0%, transparent 65%);
  border-radius: 26px;
  z-index: 3;
  mix-blend-mode: overlay;
  transition: opacity 0.3s ease;
}

/* --- Support Strip (bottom of hero) --- */
.sn-hero-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(11,30,58,.08);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
}

.sn-hero-strip-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.sn-strip-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--c-text-muted);
  text-transform: uppercase;
  flex-shrink: 0;
  white-space: nowrap;
}

.sn-strip-label-line {
  width: 18px;
  height: 1.5px;
  background: var(--c-orange);
  border-radius: 2px;
}

.sn-strip-divider {
  width: 1px;
  height: 18px;
  background: var(--c-border-3);
  flex-shrink: 0;
}

.sn-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink-2);
  white-space: nowrap;
  padding: 6px 13px 6px 9px;
  border-radius: 100px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--c-border-2);
  box-shadow: 0 2px 6px rgba(11,30,58,.02);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
  cursor: default;
}

.sn-strip-item:hover {
  background: #FFF6EF;
  border-color: rgba(255,122,26,.3);
  color: var(--c-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255,122,26,.12);
}

.sn-strip-item i {
  font-size: 16px;
  flex-shrink: 0;
}

/* --- Floating Cards with Safe Bounds --- */
.sn-hero-float-v2 {
  position: absolute;
  border-radius: 16px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  box-shadow: 0 16px 40px rgba(11,30,58,.18), 0 3px 10px rgba(11,30,58,.06), 0 0 0 1px rgba(255,255,255,.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 5;
  opacity: 0;
  transform: translate3d(0, 14px, 15px);
  will-change: transform;
  transition: opacity .6s cubic-bezier(0.16,1,0.3,1), transform .6s cubic-bezier(0.16,1,0.3,1), box-shadow .2s ease;
}

.sn-hero-float-v2.sn-float-visible {
  opacity: 1;
  transform: translate3d(0, 0, 20px);
}

.sn-hero-float-v2:hover {
  box-shadow: 0 22px 50px rgba(11,30,58,.24), 0 5px 16px rgba(11,30,58,.1) !important;
}

/* Spinner animation for the visa 'in progress' indicator */
@keyframes sn-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.sn-hero-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,154,77,.35);
  border-top-color: var(--c-orange-light-2);
  flex-shrink: 0;
  animation: sn-spin .85s linear infinite;
}

/* Pulse for the 'On track' status dot */
@keyframes sn-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(93,168,58,.25); }
  50%       { box-shadow: 0 0 0 7px rgba(93,168,58,.06); }
}

.sn-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-green);
  animation: sn-pulse-dot 2s ease-in-out infinite;
}

/* Progress bar animated fill */
.sn-hero-progress-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #FF8A2E, var(--c-orange));
  width: 0%;
  transition: width 1.4s cubic-bezier(0.16,1,0.3,1) .8s;
}

.sn-progress-active .sn-hero-progress-fill {
  width: 72%;
}

/* Highlight underline on keyword */
.sn-h1-highlight {
  position: relative;
  color: var(--c-orange);
  display: inline-block;
}

.sn-h1-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 10px;
  background: rgba(255,122,26,.14);
  border-radius: 6px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s cubic-bezier(0.16,1,0.3,1) .6s;
}

.sn-visible .sn-h1-highlight::after,
.sn-h1-highlight.sn-active::after {
  transform: scaleX(1);
}

/* ============================================================
   Responsive Rules & Mobile Polish
   ============================================================ */
@media (max-width: 1024px) {
  .sn-hero-grid {
    gap: 32px !important;
  }
}

@media (max-width: 960px) {
  .sn-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .sn-hero-visual {
    order: 2;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    padding: 12px 6px !important;
  }
  .sn-hero-orb-1 {
    width: 300px;
    height: 260px;
    top: -8%;
    right: -10%;
  }
  .sn-hero-orb-2 {
    width: 220px;
    height: 200px;
  }
  .sn-hero-accent-bar {
    display: none;
  }
  .sn-hero-strip-inner {
    gap: 8px 10px;
  }
  .sn-hero-float-v2 {
    transform: none !important;
  }
}

@media (max-width: 640px) {
  .sn-hero-eyebrow-row {
    margin-bottom: 14px;
  }
  .sn-hero-orb-3 {
    display: none;
  }
  .sn-strip-divider {
    display: none;
  }
  .sn-hero-float-v2 {
    padding: 9px 13px;
    font-size: 13px;
  }
  #sn-float-1 {
    left: 4px !important;
    bottom: -14px !important;
  }
  #sn-float-2 {
    right: 4px !important;
    top: -14px !important;
  }
}

@media (max-width: 480px) {
  .sn-hero-card-box {
    padding: 20px 18px 18px;
    border-radius: 20px;
  }
  .sn-hero-float-v2 {
    transform: scale(0.92) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sn-fade-up,
  .sn-fade-right,
  .sn-hero-float-v2 {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .sn-hero-orb {
    animation: none !important;
  }
  .sn-hero-progress-fill {
    transition: none !important;
    width: 72% !important;
  }
  .sn-h1-highlight::after {
    transform: scaleX(1) !important;
    transition: none !important;
  }
  .sn-hero-spotlight {
    display: none;
  }
}