/* ==========================================================
   WellnessCoach Platform — Premium Landing Page
   Coach · Manage · Grow
   ========================================================== */

:root {
  /* Color palette */
  --primary: #0d2118;
  --dark-green: #173225;
  --accent: #2e7d52;
  --accent-light: #3fa06b;
  --gold: #c9a84c;
  --gold-light: #ddc179;
  --bg: #fafaf9;
  --surface: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;

  --danger: #b3432f;

  /* Type scale */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(13, 33, 24, 0.06);
  --shadow: 0 20px 60px rgba(13, 33, 24, 0.10);
  --shadow-lg: 0 30px 90px rgba(13, 33, 24, 0.16);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Section shared ---------- */

section {
  position: relative;
}

.section-pad {
  padding: 128px 0;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.section-head p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.on-dark .eyebrow {
  color: var(--gold-light);
}

.on-dark .section-head h2 {
  color: #fff;
}

.on-dark .section-head p {
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(46, 125, 82, 0.28);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(46, 125, 82, 0.34);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary);
  color: #fff;
}

.btn-dark:hover {
  background: var(--dark-green);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: #2b2308;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-block {
  width: 100%;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* ---------- Navbar ---------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 14px 0;
  background: rgba(13, 33, 24, 0.82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
}

.nav-logo img {
  height: 72px;
  width: auto;
  aspect-ratio: 1536 / 1024;
}

.nav-logo-text {
  font-size: 15.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-primary {
  display: contents;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-cta-wrap .btn {
  padding: 11px 22px;
  font-size: 14px;
}

/* ---------- Login dropdown ---------- */

.login-dropdown {
  position: relative;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s var(--ease);
}

.login-dropdown.open .caret {
  transform: rotate(225deg) translateY(2px);
}

.login-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 500;
}

.login-dropdown.open .login-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.login-menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text);
  transition: background 0.15s;
}

.login-menu a:hover {
  background: var(--bg);
}

.login-menu-title {
  font-size: 14px;
  font-weight: 700;
}

.login-menu-sub {
  font-size: 12px;
  color: var(--muted);
}

.login-dropdown-center .login-menu {
  right: auto;
  left: 50%;
  transform: translate(-50%, -6px);
}

.login-dropdown-center.open .login-menu {
  transform: translateX(-50%);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  flex-shrink: 0;
  padding: 6px 0;
}

.menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(13, 33, 24, 0.98);
  backdrop-filter: blur(20px);
  padding: 110px 32px 40px;
  flex-direction: column;
  gap: 26px;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.mobile-login {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-login-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.mobile-login a {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(ellipse 900px 600px at 78% 8%, rgba(46, 125, 82, 0.28), transparent 60%),
    linear-gradient(180deg, var(--primary) 0%, var(--dark-green) 60%, var(--primary) 100%);
  color: #fff;
  padding: 168px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(63, 160, 107, 0.25);
}

.hero h1 {
  font-size: 60px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -2.2px;
  margin-bottom: 26px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-light);
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 0 38px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.hero-actions .btn {
  padding: 17px 32px;
  font-size: 16px;
}

.hero-chips {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 10px;
  flex-wrap: wrap;
  max-width: 560px;
}

.hero-chip {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

/* Hero visual */

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-visual-frame {
  position: relative;
  border-radius: 32px;
  overflow: visible;
  perspective: 1400px;
}

.hero-visual-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1536 / 1024;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  will-change: transform;
  transition: transform 0.4s var(--ease);
}

.hero-floater {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--text);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  animation: floaty 6s ease-in-out infinite;
}

.hero-floater .fl-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(46, 125, 82, 0.12);
  flex-shrink: 0;
  position: relative;
}

.hero-floater .fl-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-floater .fl-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-floater .fl-sub {
  font-size: 11.5px;
  color: var(--muted);
}

.floater-1 {
  top: 6%;
  left: -2%;
  animation-delay: 0s;
}

.floater-2 {
  bottom: 10%;
  right: -3%;
  animation-delay: 1.2s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--dark-green);
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px 46px;
  flex-wrap: wrap;
}

.trust-row span {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.2px;
}

/* ---------- Stats ---------- */

.stats-section {
  background: var(--bg);
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-num {
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-item .stat-num span {
  color: var(--accent);
}

.stat-item .stat-label {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- Pain vs Solution ---------- */

.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  box-shadow: var(--shadow-sm);
}

.pain-col {
  padding: 0 32px;
}

.pain-col + .pain-col {
  border-left: 1px solid var(--border);
}

.pain-col-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 2px solid;
}

.pain-col.bad .pain-col-title {
  color: var(--danger);
  border-color: #f3e2dd;
}

.pain-col.good .pain-col-title {
  color: var(--accent);
  border-color: #dcece2;
}

.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.pain-list li:last-child {
  border-bottom: none;
}

.pain-mark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 2px;
  position: relative;
}

.pain-col.bad .pain-mark {
  background: #f3e2dd;
}

.pain-col.bad .pain-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 2px;
  background: var(--danger);
  border-radius: 2px;
}

.pain-col.good .pain-mark {
  background: #dcece2;
}

.pain-col.good .pain-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(40deg);
}

/* ---------- Features grid ---------- */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feat-card {
  background: var(--surface);
  padding: 36px 30px;
  transition: background 0.3s var(--ease);
}

.feat-card:hover {
  background: #f6f8f6;
}

.feat-index {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.feat-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 9px;
  letter-spacing: -0.2px;
}

.feat-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Product showcase ---------- */

.showcase-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
}

.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.showcase-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.showcase-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.showcase-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.showcase-card > p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 480px;
}

/* mock: browser/laptop chrome */

.mock-window {
  background: var(--primary);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
}

.mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.mock-body {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mock-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 14px;
}

.mock-stat .m-val {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.mock-stat .m-lbl {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 4px;
}

.mock-rows {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  padding: 10px 12px;
}

.mock-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.mock-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.mock-meta {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.4);
}

.mock-chip {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(63, 160, 107, 0.18);
  color: var(--accent-light);
}

/* mock: phone */

.mock-phone {
  width: 210px;
  margin: 0 auto;
  background: var(--primary);
  border-radius: 26px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-notch {
  width: 60px;
  height: 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  margin: 0 auto 12px;
}

.mock-qr {
  width: 100%;
  aspect-ratio: 1;
  background: repeating-conic-gradient(rgba(255, 255, 255, 0.9) 0% 25%, transparent 0% 50%) 0 0 / 14px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.mock-phone .mock-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.mock-phone .mock-sub {
  text-align: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

/* mock: chart */

.mock-chart {
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0 4px;
}

.mock-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  border-radius: 6px 6px 2px 2px;
}

/* ---------- How it works ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

.step {
  position: relative;
  z-index: 1;
}

.step-num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--primary);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}

.step h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.step p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 320px;
}

/* ---------- Coach hierarchy ---------- */

.hierarchy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hier-tier {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hier-node {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 26px;
  text-align: center;
  min-width: 140px;
  box-shadow: var(--shadow-sm);
}

.hier-node.owner {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fff, #fdf9ee);
}

.hier-node.coach {
  border-color: var(--accent);
}

.hier-role {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.hier-name {
  font-size: 14px;
  font-weight: 700;
}

.hier-connector {
  width: 1.5px;
  height: 40px;
  background: var(--border);
}

/* ---------- Why coaches love it ---------- */

.love-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.love-card {
  text-align: left;
}

.love-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 18px;
}

.love-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.love-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- Testimonials ---------- */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.testi-quote {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 26px;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 13px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--dark-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.testi-name {
  font-size: 14px;
  font-weight: 700;
}

.testi-role {
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Pricing ---------- */

.pricing-wrap {
  max-width: 620px;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(160deg, var(--dark-green), var(--primary) 70%);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.14), transparent 70%);
}

.pricing-badge {
  display: inline-block;
  background: var(--gold);
  color: #2b2308;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.pricing-card h3 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.pricing-card > p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 36px;
  position: relative;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 6px;
  position: relative;
}

.waitlist-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 12px 14px;
  font-size: 14.5px;
  outline: none;
}

.waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- FAQ ---------- */

.faq-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  color: var(--text);
}

.faq-q-plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-q-plus::before,
.faq-q-plus::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.faq-q-plus::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-q-plus::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.open .faq-q-plus::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-a-inner {
  padding: 0 26px 24px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin: 0 26px;
}

.faq-item.open .faq-a {
  max-height: 320px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

.contact-info-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s;
}

.contact-info-list a:hover {
  color: #fff;
}

.contact-info-list a:last-child {
  border-bottom: none;
}

.c-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  position: relative;
}

.c-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-light);
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 36px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 7px;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 11px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--accent-light);
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.optional-tag {
  font-weight: 400;
  opacity: 0.7;
}

/* light contact form variant (used on white bg contact page section? not needed) */

/* ---------- Already a user ---------- */

.already-user {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.already-user-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  text-align: center;
}

.already-user-inner p {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Footer ---------- */

footer {
  background: #071009;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 26px;
}

.foot-brand {
  max-width: 280px;
}

.foot-brand .nav-logo {
  margin-bottom: 16px;
}

.foot-brand p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}

.foot-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.foot-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

.foot-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  padding: 7px 0;
  transition: color 0.2s;
}

.foot-col a:hover {
  color: #fff;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.foot-bottom p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.32);
}

/* ---------- Modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 16, 9, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease);
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(100%, 480px);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 42px;
  position: relative;
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.modal-overlay.show .modal {
  transform: none;
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--muted);
}

.modal-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.modal h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.modal > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
  line-height: 1.6;
}

.modal .form-row label {
  color: var(--muted);
}

.modal .form-row input,
.modal .form-row select,
.modal .form-row textarea {
  border-color: var(--border);
  background: var(--bg);
  color: var(--text);
}

.modal .form-row input::placeholder,
.modal .form-row textarea::placeholder {
  color: #9ca3af;
}

.modal .form-row input:focus,
.modal .form-row select:focus,
.modal .form-row textarea:focus {
  border-color: var(--accent);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  background: var(--primary);
  color: #fff;
  padding: 16px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- Scroll reveal animations ---------- */

.rv {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.rv-up {
  transform: translateY(28px);
}

.rv-left {
  transform: translateX(-32px);
}

.rv-right {
  transform: translateX(32px);
}

.rv-scale {
  transform: scale(0.94);
}

.rv.in {
  opacity: 1;
  transform: none;
}

.rv-d1 {
  transition-delay: 0.08s;
}

.rv-d2 {
  transition-delay: 0.16s;
}

.rv-d3 {
  transition-delay: 0.24s;
}

.rv-d4 {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

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

@media (max-width: 1280px) {
  .stats-grid {
    gap: 24px;
  }

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

  .love-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 48px;
    letter-spacing: -1.6px;
  }

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

  .pain-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .pain-col + .pain-col {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-cta-wrap .btn-secondary {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }

  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .steps-grid::before {
    display: none;
  }

  .hier-tier {
    flex-direction: column;
    align-items: center;
  }

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

  .hero-floater {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-sub {
    margin: 0 auto 38px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-chips {
    justify-content: center;
  }

  .hero-visual {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .nav-inner {
    gap: 14px;
  }

  .nav-logo-text {
    max-width: 42vw;
  }

  .section-pad {
    padding: 84px 0;
  }

  .hero {
    padding-top: 128px;
  }

  .hero h1 {
    font-size: 38px;
    letter-spacing: -1.2px;
  }

  .hero-sub {
    font-size: 16.5px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

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

  .pricing-card {
    padding: 44px 26px;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .foot-top {
    flex-direction: column;
    gap: 32px;
  }

  .foot-cols {
    gap: 32px;
  }

  .modal {
    padding: 30px 24px;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}
