/* ==========================================================================
   core app — home / about / contact page styles
   (layout helpers only; colors & components come from the design system)
   ========================================================================== */

/* --------------------------------------------------------------------------
   HOME · hero
   -------------------------------------------------------------------------- */

.home-hero { padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(4.5rem, 9vw, 7rem); }

.home-hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}

.hero-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  color: #d9d5ff; font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 1.4rem;
  backdrop-filter: blur(6px);
}
.hero-pill svg { color: #5eead4; }

.home-hero h1 { max-width: 15ch; }

.hero-sub { margin: 1.3rem 0 2.2rem; font-size: 1.12rem; max-width: 46ch; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-foot { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero-foot span {
  display: inline-flex; align-items: center; gap: .45rem;
  color: #a7a2d6; font-size: .88rem; font-weight: 500;
}
.hero-foot svg { color: #5eead4; flex: 0 0 auto; }

/* hero art — radar + floating stat cards */
.hero-art { position: relative; display: grid; place-items: center; min-height: 440px; }

.radar-wrap { position: relative; width: min(380px, 80vw); }
.radar-wrap svg { width: 100%; height: auto; display: block; }

.radar-shape {
  transform-origin: 160px 160px;
  animation: radar-pulse 5s ease-in-out infinite;
}
@keyframes radar-pulse {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.05); opacity: 1; }
}
.radar-dot { animation: radar-dot-blink 2.6s ease-in-out infinite; }
.radar-dot:nth-of-type(2n) { animation-delay: -1.3s; }
@keyframes radar-dot-blink { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }

.hero-stat-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: .7rem;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: .8rem 1.05rem; min-width: 158px;
}
.hero-stat-card .hsc-icon {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  display: grid; place-items: center;
}
.hero-stat-card .hsc-icon.purple { background: var(--primary-soft); color: var(--primary); }
.hero-stat-card .hsc-icon.teal { background: var(--accent-soft); color: var(--accent); }
.hero-stat-card .hsc-icon.gold { background: #fef3c7; color: var(--gold); }
.hero-stat-card strong {
  display: block; font-family: var(--font-display); font-size: .95rem;
  color: var(--ink); line-height: 1.25;
}
.hero-stat-card small { display: block; color: var(--ink-faint); font-size: .74rem; font-weight: 600; }

.hsc-1 { top: 1%; left: -4%; }
.hsc-2 { bottom: 4%; right: -3%; animation-delay: -2.2s; }
.hsc-3 { top: 56%; left: -11%; animation-delay: -4.1s; }

/* --------------------------------------------------------------------------
   HOME · trust strip
   -------------------------------------------------------------------------- */

.trust-strip { padding: 2.6rem 0; border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem; text-align: center;
}
.trust-grid .stat-number { line-height: 1.1; }
.trust-grid .stat-label {
  display: block; margin-top: .25rem; color: var(--ink-faint);
  font-size: .88rem; font-weight: 600;
}

/* --------------------------------------------------------------------------
   HOME · how it works
   -------------------------------------------------------------------------- */

.howto-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.howto-card { position: relative; padding-top: 2.1rem; }
.howto-num {
  position: absolute; top: -1.05rem; left: 1.6rem;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-primary); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 8px 18px rgba(71, 55, 196, .35);
}
.howto-card p { font-size: .92rem; margin-top: .45rem; }

/* --------------------------------------------------------------------------
   HOME · product card actions
   -------------------------------------------------------------------------- */

.card-actions { display: flex; gap: .7rem; margin-top: .9rem; }
.card-actions > a, .card-actions > form { flex: 1; }
.card-actions .btn { width: 100%; }

/* --------------------------------------------------------------------------
   HOME · video sessions
   -------------------------------------------------------------------------- */

.vs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.4rem; }
.vs-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.vs-thumb {
  position: relative; height: 132px; display: grid; place-items: center;
  background: linear-gradient(135deg, #312e81, #131032); overflow: hidden;
}
.vs-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(340px 140px at 80% -20%, rgba(124, 108, 246, .45), transparent 65%);
}
.vs-play {
  position: relative; z-index: 1;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); border: 1.5px solid rgba(255, 255, 255, .4);
  color: #fff; backdrop-filter: blur(4px);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), background .3s;
}
.vs-card:hover .vs-play { transform: scale(1.14); background: rgba(45, 212, 191, .35); }
.vs-lock {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(20, 18, 43, .72); color: #e3e0ff;
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .28rem .65rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.vs-body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.vs-body h3 { font-size: 1rem; }
.vs-body .vs-meta { color: var(--ink-faint); font-size: .8rem; font-weight: 600; }
.vs-body p { font-size: .86rem; }

/* --------------------------------------------------------------------------
   HOME · counselling band
   -------------------------------------------------------------------------- */

.counsel-band { position: relative; overflow: hidden; }
.counsel-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.counsel-chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.counsel-band .chip {
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16);
  color: #d9d5ff;
}
.counsel-band .chip svg { color: #5eead4; }

.mini-cal-wrap { display: grid; place-items: center; }
.mini-cal-wrap svg { width: min(360px, 78vw); height: auto; }

/* --------------------------------------------------------------------------
   HOME · testimonials (scroll-snap row)
   -------------------------------------------------------------------------- */

.tst-row {
  display: flex; gap: 1.4rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .4rem .2rem 1.6rem; margin: 0 -.2rem;
  scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent;
}
.tst-card {
  flex: 0 0 min(370px, 84vw); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: .9rem;
}
.tst-video { flex-basis: min(460px, 88vw); padding: 0; overflow: hidden; }
.tst-video .video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: #131032; }
.tst-video .tst-video-foot { padding: 1rem 1.3rem 1.2rem; }

.tst-stars { display: inline-flex; gap: .15rem; }
.tst-stars svg.on { color: var(--gold); fill: currentColor; }
.tst-stars svg.off { color: var(--line); fill: currentColor; }
.tst-quote { font-size: .97rem; color: var(--ink-soft); flex: 1; }
.tst-quote::before { content: "“"; color: var(--primary); font-family: var(--font-display); font-weight: 800; }
.tst-quote::after { content: "”"; color: var(--primary); font-family: var(--font-display); font-weight: 800; }
.tst-who { display: flex; align-items: center; gap: .8rem; }
.tst-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--grad-vivid); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  overflow: hidden;
}
.tst-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tst-who strong { display: block; font-family: var(--font-display); font-size: .95rem; color: var(--ink); }
.tst-who small { color: var(--ink-faint); font-size: .8rem; }

/* --------------------------------------------------------------------------
   HOME · final CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: var(--grad-primary); border-radius: var(--radius-lg);
  padding: clamp(2.8rem, 6vw, 4.5rem) clamp(1.4rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(420px 220px at 12% 110%, rgba(45, 212, 191, .35), transparent 65%),
    radial-gradient(460px 240px at 88% -10%, rgba(255, 255, 255, .22), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: #ddd9ff; margin: 1rem auto 2rem; max-width: 52ch; }
.cta-band .hero-ctas { justify-content: center; }

/* --------------------------------------------------------------------------
   ABOUT
   -------------------------------------------------------------------------- */

.about-hero { padding: clamp(3.5rem, 7vw, 5.5rem) 0; text-align: center; }
.about-hero h1 { max-width: 20ch; margin-inline: auto; }
.about-hero p { max-width: 60ch; margin: 1.2rem auto 0; font-size: 1.08rem; }

.about-grid-2 {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.about-grid-2 h2 { margin-bottom: 1rem; }
.about-grid-2 p + p { margin-top: .9rem; }

.science-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.science-grid .card p { font-size: .92rem; margin-top: .4rem; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.values-grid .card h3 { font-size: 1.05rem; }
.values-grid .card p { font-size: .88rem; margin-top: .4rem; }

.cred-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: start;
  max-width: 880px; margin-inline: auto;
}
.cred-badge {
  width: 84px; height: 84px; border-radius: 24px;
  display: grid; place-items: center;
  background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-md);
}
.cred-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }

.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.about-stats .card { text-align: center; padding: 1.4rem 1rem; }
.about-stats .stat-label { color: var(--ink-faint); font-size: .85rem; font-weight: 600; }

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.8rem, 4vw, 3rem); align-items: start;
}
.contact-aside { display: grid; gap: 1.2rem; }
.contact-aside .card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 1.5rem; }
.contact-aside .card h3 { font-size: 1.02rem; margin-bottom: .15rem; }
.contact-aside .card p, .contact-aside .card a { font-size: .92rem; }
.contact-aside .feature-icon { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 0; flex: 0 0 auto; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .home-hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; margin-top: 1.5rem; }
  .hsc-1 { left: 0; }
  .hsc-3 { left: -2%; }
  .howto-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .counsel-grid, .about-grid-2, .contact-grid { grid-template-columns: 1fr; }
  .science-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .howto-grid { grid-template-columns: 1fr; row-gap: 2.2rem; }
  .science-grid, .values-grid, .form-grid-2 { grid-template-columns: 1fr; }
  .hero-stat-card { min-width: 0; padding: .6rem .8rem; }
  .hsc-3 { display: none; }
  .cred-card { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
}
