/* ============================================================
   Kindlewood Tutoring — Custom Styles
   Design System: Trust & Authority (UI/UX Pro Max)
   Fonts: Lexend (heading) + Source Sans 3 (body)
   Colors: Primary #2563EB · Accent #F97316 · Text #1E293B
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --primary:        #2563EB;
  --primary-dark:   #1D4ED8;
  --primary-light:  #EFF6FF;
  --accent:         #F97316;
  --accent-dark:    #EA580C;
  --green:          #059669;
  --green-light:    #ECFDF5;
  --bg:             #F8FAFC;
  --surface:        #FFFFFF;
  --text:           #1E293B;
  --text-2:         #475569;
  --text-muted:     #94A3B8;
  --border:         #E2E8F0;
  --muted-bg:       #F1F5FD;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  --shadow-blue:0 6px 24px rgba(37,99,235,.28);
  --shadow-orange:0 6px 24px rgba(249,115,22,.32);

  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --ease: cubic-bezier(.4,0,.2,1);
  --transition: 200ms var(--ease);
  --transition-slow: 350ms var(--ease);
}

/* ── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lexend', sans-serif;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--text);
}

img, svg { max-width: 100%; height: auto; }
a { color: inherit; }

/* ── Skip link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  padding: .5rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Navigation ────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  white-space: nowrap;
}
.nav-logo-text em { font-style: normal; color: var(--primary); }

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .125rem;
  flex: 1;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-2);
  font-weight: 500;
  font-size: .9375rem;
  padding: .5rem .75rem;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Right side actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-shrink: 0;
}

/* ── Language Selector ─────────────────────────────────────── */
.lang-selector { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: .375rem;
  padding: .5rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text-2);
  font-size: .875rem;
  font-weight: 600;
  font-family: 'Source Sans 3', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  min-height: 44px;
}
.lang-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.lang-btn .chevron {
  width: 14px; height: 14px;
  transition: transform var(--transition);
}
.lang-btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 210px;
  overflow: hidden;
  z-index: 200;
  display: none;
}
.lang-dropdown.open {
  display: block;
  animation: dropIn .15s var(--ease);
}
@keyframes dropIn {
  from { opacity:0; transform: translateY(-8px); }
  to   { opacity:1; transform: translateY(0); }
}
.lang-dropdown button {
  display: flex;
  align-items: center;
  gap: .625rem;
  width: 100%;
  padding: .75rem 1rem;
  border: none;
  background: none;
  text-align: left;
  font-size: .9375rem;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.lang-dropdown button:hover { background: var(--primary-light); color: var(--primary); }
.lang-dropdown button.current { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.lang-divider { border: none; border-top: 1px solid var(--border); margin: .25rem 0; }

/* ── Google Translate: suppress banner, keep functional ───── */
/* Hides the toolbar Google injects when a page is translated */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf-ti6hGc,
.VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
body { top: 0 !important; }

/* Keep element in DOM but invisible so the widget can
   initialise and the cookie translation is picked up       */
#google_translate_element {
  position: fixed;
  left: -9999px;
  bottom: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .6875rem 1.375rem;
  border-radius: 10px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  min-height: 44px;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-orange);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

.btn-lg { padding: .9375rem 2rem; font-size: 1.0625rem; border-radius: 12px; min-height: 52px; }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; min-height: 36px; }

/* ── Section helpers ───────────────────────────────────────── */
.section { padding: 5rem 1.5rem; }
.section-sm { padding: 3.5rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3125rem .875rem;
  border-radius: 100px;
  margin-bottom: .875rem;
}
.section-label.orange { background: #FFF7ED; color: var(--accent-dark); }
.section-label.green  { background: var(--green-light); color: var(--green); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 640px;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0B1627 0%, #1A2F6B 45%, #1D4ED8 100%);
  padding: 5.5rem 1.5rem 5rem;
  overflow: hidden;
  position: relative;
}

/* Dot grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ── Hero: background blobs ─────────────────────────────── */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.hero-shape-1 {
  width: 640px; height: 640px;
  background: rgba(37,99,235,.4);
  top: -220px; right: -180px;
  animation: heroBlob 9s ease-in-out infinite;
}
.hero-shape-2 {
  width: 420px; height: 420px;
  background: rgba(249,115,22,.18);
  bottom: -120px; left: 8%;
  animation: heroBlob 11s ease-in-out infinite reverse;
}
.hero-shape-3 {
  width: 320px; height: 320px;
  background: rgba(99,102,241,.22);
  top: 25%; left: -120px;
  animation: heroBlob 13s ease-in-out infinite 2.5s;
}
@keyframes heroBlob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-28px) scale(1.06); }
}

/* ── Hero: floating academic icons ─────────────────────── */
.hero-float-icons { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.float-icon { position: absolute; animation: floatIcon linear infinite; }
.fi-1 { top: 12%; left: 2%;  animation-duration: 7s;   animation-delay: 0s;   }
.fi-2 { top: 20%; right: 6%; animation-duration: 8.5s; animation-delay: 1.2s; }
.fi-3 { bottom: 28%; left: 6%; animation-duration: 6.5s; animation-delay: 2s; }
.fi-4 { top: 55%; right: 4%;  animation-duration: 9s;   animation-delay: 3s;  }
.fi-5 { bottom: 12%; right: 14%; animation-duration: 7.5s; animation-delay: 1.5s; }
.fi-6 { top: 8%;  left: 18%;  animation-duration: 8s;   animation-delay: 0.5s; }
@keyframes floatIcon {
  0%, 100% { transform: translateY(0)   rotate(0deg);  opacity: 1;   }
  50%       { transform: translateY(-16px) rotate(7deg); opacity: .65; }
}

/* ── Hero: layout grid ──────────────────────────────────── */
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── Hero: typography ───────────────────────────────────── */
.hero-heading {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  font-family: 'Lexend', sans-serif;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0;
}
.hero-heading-accent {
  background: linear-gradient(90deg, #93C5FD 0%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.82);
  line-height: 1.72;
  margin: 0;
}
.hero-sub strong { color: #FCD34D; font-weight: 700; }

/* ── Hero: trust badges ─────────────────────────────────── */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: .375rem .875rem;
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.92);
}

/* ── Hero: showcase card ────────────────────────────────── */
.hero-showcase { position: relative; }

.showcase-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 28px 64px rgba(0,0,0,.38), 0 8px 24px rgba(0,0,0,.22);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.showcase-header {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.showcase-icon {
  width: 42px; height: 42px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.showcase-title {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin: 0;
}
.showcase-subtitle {
  font-size: .8125rem;
  color: var(--text-muted);
  margin: .1rem 0 0;
}
.result-item {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
}
.result-avatar {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  font-family: 'Lexend', sans-serif;
  flex-shrink: 0;
}
.result-info { flex: 1; min-width: 0; }
.result-name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 .45rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.result-bar-label {
  font-size: .75rem;
  color: var(--text-2);
  margin-bottom: .3rem;
}
.result-bar-label strong { color: var(--text); }
.result-bar-track {
  background: #E2E8F0;
  border-radius: 100px;
  height: 7px;
  overflow: hidden;
}
.result-bar-fill {
  height: 100%;
  border-radius: 100px;
  animation: barGrow 1.4s cubic-bezier(.22,1,.36,1) both;
  animation-delay: .5s;
}
@keyframes barGrow { from { width: 0 !important; } }
.result-change {
  font-size: .75rem;
  margin: .35rem 0 0;
  font-weight: 600;
}
.result-change.up { color: var(--green); }

.showcase-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .625rem;
}
.showcase-stars { color: #FBBF24; font-size: 1rem; letter-spacing: .04em; }
.showcase-rating { font-size: .8125rem; color: var(--text-2); margin: 0; }

/* Floating badge on showcase */
.floating-badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 100px;
  padding: .45rem .9rem;
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow-orange);
  z-index: 3;
  animation: badgePulse 3.5s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes badgePulse {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-7px) rotate(1deg); }
}

/* ── Hero: glassmorphic session card ─────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Main glass card */
.sc-card {
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 1.75rem;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 24px 64px rgba(0,0,0,.35),
              inset 0 1px 0 rgba(255,255,255,.18);
  animation: cardEntrance .9s cubic-bezier(.22,1,.36,1) both .2s;
}
@keyframes cardEntrance {
  from { opacity: 0; transform: translateY(28px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}

/* Card header */
.sc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sc-live-pill {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.sc-live-dot {
  width: 8px; height: 8px;
  background: #34D399;
  border-radius: 50%;
  flex-shrink: 0;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0   rgba(52,211,153,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0   rgba(52,211,153,0); }
}
.sc-subject-tag {
  background: rgba(37,99,235,.4);
  border: 1px solid rgba(96,165,250,.3);
  color: #93C5FD;
  border-radius: 100px;
  padding: .2rem .7rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}

/* Participants row */
.sc-participants {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.sc-person {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
}
.sc-avatar {
  width: 58px; height: 58px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  flex-shrink: 0;
}
.sc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.sc-avatar-tutor  { border: 2.5px solid rgba(96,165,250,.6);  }
.sc-avatar-student{ border: 2.5px solid rgba(251,191,36,.6); }
.sc-person-role {
  font-size: .73rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin: 0;
}
.sc-person-detail {
  font-size: .65rem;
  color: rgba(255,255,255,.45);
  margin: 0;
}
.sc-connect {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
  padding: 0 .25rem;
}
.sc-connect-line {
  height: 1px;
  width: 18px;
  background: rgba(255,255,255,.2);
}

/* Divider */
.sc-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
}

/* Progress bars */
.sc-progress { display: flex; flex-direction: column; gap: .6rem; }
.sc-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sc-progress-label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}
.sc-progress-delta {
  font-size: .8rem;
  font-weight: 700;
  color: #34D399;
}
.sc-bars { display: flex; flex-direction: column; gap: .45rem; }
.sc-bar-row {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.sc-bar-name {
  font-size: .67rem;
  font-weight: 600;
  color: rgba(255,255,255,.38);
  width: 36px; flex-shrink: 0;
}
.sc-bar-name-after { color: #34D399; }
.sc-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,.1);
  border-radius: 100px;
  overflow: hidden;
}
.sc-bar-fill {
  height: 100%;
  border-radius: 100px;
  animation: barGrow 1.5s cubic-bezier(.22,1,.36,1) both;
}
.sc-bar-before {
  background: rgba(255,255,255,.28);
  animation-delay: .5s;
}
.sc-bar-after {
  background: linear-gradient(90deg,#34D399,#6EE7B7);
  animation-delay: .85s;
}
.sc-bar-val {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  width: 20px; text-align: right; flex-shrink: 0;
}
.sc-bar-val-after { color: #34D399; }

/* Card footer */
.sc-footer {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-top: .2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.sc-stars {
  color: #FBBF24;
  font-size: .88rem;
  letter-spacing: .04em;
}
.sc-footer-text {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
}

/* Floating ATAR chip */
.sc-chip {
  position: absolute;
  top: -18px; right: -14px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: .55rem .875rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  box-shadow: 0 8px 28px rgba(0,0,0,.22), 0 2px 6px rgba(0,0,0,.12);
  animation: chipBob 3.8s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes chipBob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%       { transform: translateY(-9px) rotate(.5deg); }
}
.sc-chip-icon {
  width: 30px; height: 30px;
  background: var(--accent);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sc-chip strong {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: var(--text);
  font-family: 'Lexend', sans-serif;
  line-height: 1.2;
}
.sc-chip span {
  display: block;
  font-size: .67rem;
  color: var(--text-2);
}

/* ── Comparison section ────────────────────────────────────── */
.compare-wrap {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.compare-slogan {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

/* VS divider pill */
.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--text);
  color: #fff;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .05em;
  flex-shrink: 0;
  margin-top: 3.5rem;
  box-shadow: var(--shadow-md);
}

/* Comparison columns */
.compare-col {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compare-col-bad {
  background: #FEF2F2;
  border: 1.5px solid #FECACA;
}

.compare-col-good {
  background: #F0FDF4;
  border: 1.5px solid #A7F3D0;
}

.compare-col-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: .9375rem;
}

.compare-col-bad .compare-col-header  { color: #B91C1C; }
.compare-col-good .compare-col-header { color: #065F46; }

.compare-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9375rem;
  line-height: 1.55;
}

.compare-item svg { flex-shrink: 0; margin-top: .1rem; }

.compare-item-bad  { color: #7F1D1D; }
.compare-item-good { color: #064E3B; }

@media (max-width: 680px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .compare-vs {
    margin: 0 auto;
  }
}

/* ── Stats bar ─────────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 2rem 1.5rem;
  color: #fff;
}

/* ── Consultation banner ───────────────────────────────────── */
.consult-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #FB923C 55%, #FDBA74 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.consult-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -40px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  pointer-events: none;
}
.consult-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -30px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* ── Subject Cards ─────────────────────────────────────────── */
.subject-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-slow);
  height: 100%;
}
.subject-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}
.subject-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.subject-tag {
  display: inline-flex;
  align-items: center;
  background: var(--muted-bg);
  color: var(--text-2);
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .625rem;
  border-radius: 6px;
  margin: .1875rem;
  line-height: 1.4;
}

/* ── Testimonial Cards ─────────────────────────────────────── */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.625rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: .875rem; right: 1.25rem;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--primary);
  opacity: .1;
  font-family: Georgia, serif;
  pointer-events: none;
}

.stars { display: flex; gap: .15rem; margin-bottom: .75rem; }
.star { color: #F59E0B; width: 16px; height: 16px; fill: #F59E0B; }

.testimonial-text {
  color: var(--text-2);
  font-size: .9375rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: .9375rem;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--border);
}
.author-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.author-name { font-weight: 700; font-size: .9375rem; color: var(--text); }
.author-role { font-size: .8125rem; color: var(--text-muted); }

/* ── Pricing Cards ─────────────────────────────────────────── */
.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  position: relative;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
  transform: scale(1.04);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }

.popular-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .3125rem 1.125rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .07em;
  white-space: nowrap;
}
.price-amount {
  font-family: 'Lexend', sans-serif;
  font-size: 2.875rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.price-toggle-wrapper {
  display: flex;
  align-items: center;
  background: var(--muted-bg);
  border-radius: 100px;
  padding: .3125rem;
  gap: .25rem;
  width: fit-content;
  margin: 0 auto;
}
.price-toggle-btn {
  padding: .5rem 1.5rem;
  border-radius: 100px;
  border: none;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: .9375rem;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
  background: transparent;
  min-height: 44px;
}
.price-toggle-btn.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Feature list */
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-direction: column; gap: .625rem; }
.feature-list li { display: flex; align-items: flex-start; gap: .625rem; font-size: .9375rem; color: var(--text-2); line-height: 1.55; }
.feature-list li .check { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 1px; }

/* ── FAQ Accordion ─────────────────────────────────────────── */
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--primary); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  background: var(--surface);
  border: none;
  text-align: left;
  font-family: 'Lexend', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition);
  min-height: 44px;
}
.faq-q:hover { background: var(--primary-light); }
.faq-chevron {
  width: 20px; height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }

.faq-a {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-2);
  font-size: .9375rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; }

/* ── Contact Form ──────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: .375rem; }
.form-label {
  font-weight: 600;
  font-size: .9375rem;
  color: var(--text);
}
.form-label .req { color: #DC2626; margin-left: .2rem; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 44px;
  appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '';
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-muted);
  pointer-events: none;
}

/* ── Page hero (inner pages) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 5rem 1.5rem 4.5rem;
  text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.85); }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 4.5rem 1.5rem 2rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand-text {
  font-family: 'Lexend', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand-text em { font-style: normal; color: #60A5FA; }
.footer-desc {
  font-size: .9375rem;
  line-height: 1.7;
  max-width: 270px;
  margin-top: .875rem;
}
.footer-heading {
  font-family: 'Lexend', sans-serif;
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .625rem; }
.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: .9375rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .875rem;
  color: #475569;
}

/* ── Mobile menu ───────────────────────────────────────────── */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.mobile-menu-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.mobile-menu {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 1rem 1.5rem 1.5rem;
  display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: .75rem .875rem;
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.mobile-menu-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: .75rem 0;
}
.mobile-lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .375rem;
  margin-top: .5rem;
}
.mobile-lang-btn {
  padding: .5rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text-2);
  font-family: 'Source Sans 3', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  min-height: 44px;
}
.mobile-lang-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ── Scroll reveal ─────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── How-it-works step ─────────────────────────────────────── */
.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto 1.25rem;
}

/* ── Why-us feature cards ──────────────────────────────────── */
.why-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.why-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    gap: 3rem;
  }
  .hero-content { align-items: center; text-align: center; }
  .hero-badges { justify-content: center; }
  .hero-content .flex { justify-content: center; }
  .fi-1, .fi-3, .fi-6 { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn, .nav-actions .lang-selector { display: none; }
  .mobile-menu-btn { display: flex; }

  .section { padding: 3.5rem 1.25rem; }
  .section-sm { padding: 2.5rem 1.25rem; }

  .hero { padding: 4rem 1.25rem 3.5rem; }
  .hero-showcase, .hero-visual { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
}

@media (max-width: 480px) {
  .consult-banner { padding: 2rem 1.5rem; }
}
