:root {
  --purple-900: #241558;
  --purple-800: #341C82;
  --purple-700: #4A2FB0;
  --purple-600: #6C4FE0;
  --purple-500: #8B6FF0;
  --purple-300: #C9B8FF;
  --purple-100: #F1EDFF;
  --gold: #F5B342;
  --green: #2FBE5C;
  --gray-100: #F6F5FA;
  --gray-300: #E3E1EC;
  --gray-400: #ABA6BE;
  --gray-600: #6B6580;
  --dark: #201A38;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
svg { display: inline-block; vertical-align: -2px; flex-shrink: 0; }
a { text-decoration: none; }
h1, h2, h3 { font-family: var(--font-heading); margin: 0; }
p { margin: 0; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }

.eyebrow {
  color: var(--purple-600);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 8px;
}

.section h2 {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
}
.wrap-desktop { display: none; }

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  font-size: 15px;
  margin: 10px 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--purple-700); width: 100%; }
.btn-primary { background: var(--purple-600); color: #fff; width: 100%; box-shadow: 0 8px 24px rgba(108,79,224,.35); }
.btn-block { display: flex; margin-top: 8px; }
.arrow { display: inline-block; }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #6B46D6 0%, #4E2FA8 45%, #2A1854 100%);
  padding: 32px 0 56px;
  text-align: center;
  color: #fff;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
}
.hero-sparkles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-sparkles .sparkle {
  position: absolute;
  color: #fff;
  width: 10px;
  height: 10px;
}
.sparkle.s1  { top: 12%; left: 14%; width: 8px;  height: 8px;  opacity: .65; }
.sparkle.s2  { top: 8%;  left: 34%; width: 6px;  height: 6px;  opacity: .5; }
.sparkle.s3  { top: 26%; left: 6%;  width: 7px;  height: 7px;  opacity: .55; }
.sparkle.s4  { top: 10%; left: 88%; width: 9px;  height: 9px;  opacity: .6; }
.sparkle.s5  { top: 24%; left: 78%; width: 6px;  height: 6px;  opacity: .5; }
.sparkle.s6  { top: 42%; left: 94%; width: 7px;  height: 7px;  opacity: .5; }
.sparkle.s7  { top: 55%; left: 4%;  width: 7px;  height: 7px;  opacity: .55; }
.sparkle.s8  { top: 70%; left: 18%; width: 6px;  height: 6px;  opacity: .5; }
.sparkle.s9  { top: 60%; left: 84%; width: 9px;  height: 9px;  opacity: .6; }
.sparkle.s10 { top: 78%; left: 62%; width: 6px;  height: 6px;  opacity: .45; }
.hero-inner { position: relative; z-index: 1; }

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 20px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--purple-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }

.hero-box {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
}

.hero-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 16px;
}
.hero-title .highlight { color: var(--purple-300); }
.hero-title .title-desktop { display: none; }
.title-divider { opacity: .4; margin: 0 14px; font-weight: 300; }

.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,.85);
  max-width: 420px;
  margin: 0 auto 28px;
  line-height: 1.5;
}

.offer-box {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  max-width: 340px;
  margin: 0 auto 20px;
}
.offer-eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 6px;
}
.offer-main { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.offer-main .gold { color: var(--gold); }

.hero .btn-white { max-width: 340px; margin: 0 auto 28px; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat strong { font-size: 18px; font-weight: 700; }
.stat strong .icon-star { color: var(--gold); }
.stat span { font-size: 12px; color: rgba(255,255,255,.75); margin-top: 2px; }

/* ============ ADVISORS ============ */
.advisors-scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.advisors-scroller::-webkit-scrollbar { height: 6px; }
.advisors-scroller::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 999px; }

.advisor-card {
  position: relative;
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(32,26,56,.06);
}

.advisor-photo-wrap { position: relative; height: 200px; background: var(--gray-100); }
.advisor-photo { width: 100%; height: 100%; object-fit: cover; }
.advisor-rating-badge {
  position: absolute; top: 10px; left: 10px;
  background: #fff; color: var(--dark);
  font-size: 12px; font-weight: 700;
  padding: 4px 8px; border-radius: 999px;
  display: flex; align-items: center; gap: 4px;
}
.advisor-rating-badge svg { color: var(--gold); }
.advisor-photo-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px 12px 22px;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
  color: #fff;
}
.advisor-name { font-weight: 700; font-size: 15px; }
.advisor-specialty { font-size: 12px; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.advisor-status {
  position: absolute;
  top: 190px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  border: 2px solid #fff;
  white-space: nowrap;
}
.advisor-status.online { background: var(--green); }
.advisor-status.offline { background: var(--gray-400); }

.advisor-actions { display: flex; gap: 8px; padding: 18px 12px 0; }
.icon-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--purple-100);
  color: var(--purple-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

.advisor-readings { padding: 12px 12px 0; font-size: 13px; color: var(--gray-600); }
.advisor-readings strong { color: var(--dark); }

.advisor-desc {
  padding: 6px 12px 0;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 54px;
}

.advisor-cta {
  display: block;
  margin: 12px 12px 14px;
  padding: 12px;
  text-align: center;
  border-radius: 999px;
  border: 1.5px solid var(--purple-600);
  background: var(--purple-100);
  color: var(--purple-700);
  font-weight: 600;
  font-size: 14px;
  box-sizing: border-box;
}

.advisor-card.skeleton {
  height: 380px;
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-300) 37%, var(--gray-100) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.advisors-error {
  text-align: center;
  color: var(--gray-600);
  padding: 24px 12px;
  font-size: 14px;
}

.more-advisors-tile {
  display: flex;
  flex-direction: column;
  text-align: center;
  background: #fff;
  color: var(--dark);
  overflow: hidden;
}
.more-advisors-tile .more-top {
  height: 200px;
  background: var(--purple-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.more-advisors-tile .more-bottom {
  flex: 1;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.more-advisors-tile .more-icon {
  width: 44px; height: 44px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.more-advisors-tile .more-count { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.more-advisors-tile .more-text { font-size: 13px; color: var(--gray-600); margin-bottom: 16px; }
.more-advisors-tile .more-link { font-weight: 600; font-size: 14px; color: var(--purple-700); text-decoration: underline; }

/* ============ COMPARE TABLE ============ */
.compare-section { background: var(--gray-100); }
.compare-table-wrap { overflow-x: hidden; }
.compare-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.compare-table col.col-label { width: 30%; }
.compare-table col.col-data { width: 35%; }
.compare-table th, .compare-table td {
  padding: 10px 6px;
  border-bottom: 1px solid var(--gray-300);
  text-align: left;
  font-size: 11px;
  line-height: 1.35;
  vertical-align: middle;
  word-wrap: break-word;
}
.compare-table thead th { padding-top: 14px; padding-bottom: 14px; }
.compare-table .row-label { font-weight: 600; color: var(--dark); background: #fff; }
.compare-table .col-pg { background: var(--purple-100); font-weight: 600; color: var(--purple-700); }
.compare-table .col-ps { color: var(--gray-500, var(--gray-600)); background: #fff; }
.compare-table thead .col-pg, .compare-table thead .col-ps {
  text-align: center;
  font-weight: 700;
}
.col-icon {
  display: flex;
  width: 28px; height: 28px;
  margin: 0 auto 6px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  color: #fff; font-size: 14px;
}
.col-icon.check { background: var(--purple-600); }
.col-icon.dash { background: var(--gray-300); color: var(--gray-600); }
.cell-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.cell-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--purple-600);
  color: #fff;
}
.cell-icon svg { width: 12px; height: 12px; }
.cell-icon.dash {
  background: var(--gray-300);
  color: var(--gray-600);
  font-weight: 700;
}
.cell-icon.muted-outline { background: transparent; border: 1.5px solid var(--gray-400); }
.cell-icon.muted-icon svg { width: 11px; height: 11px; }
.cell-text { flex: 1; }
.multi-line { margin-bottom: 4px; }
.multi-line:last-child { margin-bottom: 0; }
.multi-line.muted { color: var(--gray-400); }
.title-desktop-row { display: none; }

/* ============ TESTIMONIALS ============ */
.testimonials-section { background: var(--gray-100); }
.testimonials-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 12px;
  margin: 0 -4px;
}
.testimonials-grid::-webkit-scrollbar { height: 6px; }
.testimonials-grid::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 999px; }
.testimonial-card {
  flex: 0 0 82%;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 20px;
}
.stars { color: var(--gold); font-size: 14px; margin-bottom: 10px; }
.testimonial-card p { font-size: 14px; color: var(--dark); line-height: 1.5; margin-bottom: 12px; }
.testimonial-author { font-size: 13px; color: var(--gray-600); }

/* ============ FINAL CTA ============ */
.final-cta-section { padding-top: 0; }
.final-cta-card {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  color: #fff;
}
.final-rating { font-size: 13px; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.final-cta-card h2 { color: #fff; margin-bottom: 10px; }
.final-cta-card p { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 24px; }
.final-cta-card .btn-white { max-width: 320px; margin: 0 auto; }
.final-fineprint { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 16px; }

/* ============ FOOTER ============ */
.footer { padding: 32px 0 48px; text-align: center; color: var(--gray-600); font-size: 12px; }
.footer-links { margin-top: 10px; display: flex; justify-content: center; gap: 16px; }
.footer-links a { color: var(--gray-600); }

/* ============ RESPONSIVE ============ */
@media (min-width: 640px) {
  .testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow-x: visible;
    scroll-snap-type: none;
    margin: 0;
    padding: 0;
  }
  .testimonial-card { flex: unset; }
}

@media (min-width: 768px) {
  .hero-title { font-size: 42px; }
  .section h2 { font-size: 34px; }
  .wrap-mobile { display: none; }
  .wrap-desktop { display: inline; }
  .offer-box, .hero .btn-white { max-width: 420px; }
}

@media (min-width: 900px) {
  .section { padding: 88px 0; }

  /* hero */
  .hero { padding: 56px 0 80px; }
  .hero-box {
    padding: 0 24px;
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-title .title-mobile { display: none; }
  .hero-title .title-desktop { display: inline; }
  .hero-title { font-size: clamp(22px, 2.9vw, 40px); white-space: nowrap; }
  .hero-subtitle { max-width: none; white-space: nowrap; font-size: clamp(13px, 1.3vw, 16px); }
  .hero .btn-white { max-width: none; width: auto; display: inline-flex; padding-left: 40px; padding-right: 40px; margin-top: 32px; }
  .offer-box { max-width: 420px; width: auto; display: block; }

  /* advisors grid: 4 real cards + 1 "more" tile */
  .advisors-scroller {
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }
  .advisor-card { flex: unset; }
  .btn-block { margin-left: auto; margin-right: auto; }
  .btn-primary { width: 288px; height: 50px; font-size: 15px; padding: 0; }

  /* comparison table */
  .compare-table th, .compare-table td { padding: 20px 24px; font-size: 15px; }
  .title-mobile-row { display: none; }
  .title-desktop-row { display: flex; align-items: center; }

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

  .final-cta-card .btn-white { width: auto; padding-left: 40px; padding-right: 40px; }
}
