/* ══════════════════════════════════════════════════════
   GymPro Landing — style.css
   ══════════════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:       #6366f1;
  --brand-dark:  #4f46e5;
  --brand-light: #a5b4fc;
  --accent:      #8b5cf6;
  --green:       #10b981;
  --amber:       #f59e0b;
  --red:         #ef4444;

  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.16);

  --nav-h: 68px;
}

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

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Text Gradient ─── */
.text-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 60%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Eyebrow Labels ─── */
.eyebrow-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .75rem;
}
.eyebrow-label--light { color: var(--brand-light); }
.eyebrow-label--white { color: rgba(255,255,255,.8); }

/* ─── Section Headers ─── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header--left { text-align: left; max-width: none; margin-bottom: 40px; }
.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: .75rem;
}
.section-header p {
  font-size: 1.125rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .625rem 1.25rem;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  transition: all .18s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99,102,241,.35);
}
.btn--primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 6px 20px rgba(99,102,241,.45);
  transform: translateY(-1px);
}

.btn--ghost { color: var(--gray-600); background: transparent; }
.btn--ghost:hover { color: var(--brand); background: var(--gray-50); }

.btn--outline {
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
  background: transparent;
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand); background: rgba(99,102,241,.04); }

.btn--white {
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.btn--white:hover { background: var(--gray-50); transform: translateY(-1px); }

.btn--outline-white {
  border: 1.5px solid rgba(255,255,255,.45);
  color: rgba(255,255,255,.9);
}
.btn--outline-white:hover { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.1); }

.btn--lg  { padding: .8rem 1.625rem; font-size: 1rem; border-radius: var(--radius); }
.btn--xl  { padding: 1rem 2rem; font-size: 1.0625rem; border-radius: var(--radius-lg); }
.btn--full { width: 100%; justify-content: center; }

/* ─── Badges ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: .375rem .875rem;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
}
.badge--green {
  background: rgba(16,185,129,.1);
  color: #065f46;
  border: 1px solid rgba(16,185,129,.25);
}
.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,.25); }
  50%       { box-shadow: 0 0 0 6px rgba(16,185,129,.08); }
}

.badge-sm {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
}
.badge-sm--warn { background: rgba(245,158,11,.12); color: #92400e; }
.badge-sm--ok   { background: rgba(16,185,129,.12); color: #065f46; }


/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow .25s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.nav__logo-icon { width: 32px; height: 32px; flex-shrink: 0; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  padding: .4rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all .15s;
}
.nav__links a:hover { color: var(--brand); background: rgba(99,102,241,.06); }

.nav__cta { display: flex; align-items: center; gap: 8px; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
}
.nav__hamburger:hover { background: var(--gray-100); }
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px 20px;
  border-top: 1px solid var(--gray-100);
  background: #fff;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: .6rem 1rem;
  border-radius: var(--radius);
  color: var(--gray-700);
  font-weight: 500;
  transition: background .15s;
}
.nav__mobile a:hover { background: var(--gray-50); color: var(--brand); }
.nav__mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid var(--gray-100);
}


/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 80px;
  overflow: hidden;
}

.hero__bg-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center,
    rgba(99,102,241,.12) 0%,
    rgba(139,92,246,.06) 40%,
    transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero__eyebrow { margin-bottom: 24px; }

.hero__headline {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--gray-900);
  margin-bottom: 24px;
  max-width: 860px;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}

.hero__note {
  font-size: .8125rem;
  color: var(--gray-400);
  margin-bottom: 72px;
}

/* Dashboard Mockup */
.hero__mockup {
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,.06);
  background: var(--gray-900);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #1a1d23;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mockup-dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--red    { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green  { background: #28c840; }
.mockup-url {
  flex: 1;
  background: rgba(255,255,255,.07);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  text-align: center;
  font-family: monospace;
}

.mockup-body { display: flex; min-height: 360px; }

.mockup-sidebar {
  width: 175px;
  flex-shrink: 0;
  background: #16181e;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.mockup-nav-item--active {
  background: rgba(99,102,241,.2);
  color: var(--brand-light);
}
.mockup-icon { font-size: .5rem; opacity: .6; }

.mockup-main {
  flex: 1;
  background: #0f1117;
  padding: 24px 20px;
  overflow: hidden;
}
.mockup-greeting {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  margin-bottom: 18px;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.mockup-stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 12px 10px;
}
.mockup-stat--alert { border-color: rgba(245,158,11,.3); background: rgba(245,158,11,.06); }
.mockup-stat__num {
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.mockup-stat__label { font-size: .68rem; color: rgba(255,255,255,.38); margin-bottom: 5px; }
.mockup-stat__change { font-size: .63rem; font-weight: 600; }
.mockup-stat__change.up   { color: var(--green); }
.mockup-stat__change.down { color: var(--amber); }

.mockup-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.mockup-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 12px;
}
.mockup-card__title {
  font-size: .68rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.mockup-checkins, .mockup-renewals { display: flex; flex-direction: column; gap: 7px; }
.mockup-checkin {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .76rem;
  color: rgba(255,255,255,.65);
}
.mockup-checkin .time {
  margin-left: auto;
  font-size: .68rem;
  color: rgba(255,255,255,.3);
}
.avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .58rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.av--blue   { background: #3b82f6; }
.av--green  { background: var(--green); }
.av--purple { background: var(--accent); }

.mockup-renewal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .76rem;
  color: rgba(255,255,255,.65);
}
.renew-name { flex: 1; }


/* ══════════════════════════════════════
   LOGOS BAR
══════════════════════════════════════ */
.logos {
  padding: 40px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.logos__label {
  text-align: center;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.logo-pill {
  padding: 8px 20px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-500);
}


/* ══════════════════════════════════════
   PROBLEM SECTION
══════════════════════════════════════ */
.problem { padding: 100px 0; background: #fff; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.pain-card {
  padding: 28px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: transform .2s, box-shadow .2s;
}
.pain-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pain-card__icon { font-size: 2rem; margin-bottom: 16px; }
.pain-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.pain-card p  { font-size: .9375rem; color: var(--gray-500); line-height: 1.65; }

.problem-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(99,102,241,.06) 0%, rgba(139,92,246,.06) 100%);
  border: 1px solid rgba(99,102,241,.15);
  border-radius: var(--radius-xl);
}
.problem-cta__text { font-size: 1.125rem; font-weight: 600; color: var(--gray-700); }


/* ══════════════════════════════════════
   SOLUTION SECTION
══════════════════════════════════════ */
.solution { padding: 100px 0; background: var(--gray-900); }

.solution__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.solution__text h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.solution__text p {
  color: rgba(255,255,255,.6);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.solution__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.solution__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.75);
  font-size: .9375rem;
  line-height: 1.5;
}
.check-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: rgba(16,185,129,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem;
  color: var(--green);
  font-weight: 800;
  margin-top: 2px;
}

/* Solution Card */
.solution__visual { position: relative; }

.feature-highlight-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
}
.fhc__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.fhc__title { font-size: 1rem; font-weight: 700; color: var(--gray-900); }
.status-badge { padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.status-badge--active { background: rgba(16,185,129,.12); color: #065f46; }

.fhc__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .9rem;
  color: var(--gray-600);
}
.fhc__row:last-of-type { border-bottom: none; }
.fhc__val { font-weight: 600; color: var(--gray-800); }
.fhc__val--green { color: var(--green); }

.fhc__actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.fhc__btn {
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: .8125rem;
  font-weight: 600;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  background: #fff;
  cursor: default;
}
.fhc__btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius);
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  animation: float 5s ease-in-out infinite;
}
.float-card--tl { top: -18px; left: -24px; animation-delay: -1.5s; }
.float-card--br { bottom: 20px; right: -24px; animation-delay: -3s; }
.float-icon { font-size: 1.25rem; }
.float-title { font-size: .8rem; font-weight: 700; color: var(--gray-800); }
.float-sub   { font-size: .7rem; color: var(--gray-500); }


/* ══════════════════════════════════════
   FEATURES
══════════════════════════════════════ */
.features { padding: 100px 0; background: #fff; }

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

.feature-card {
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0;
  transition: opacity .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(99,102,241,.2); }
.feature-card:hover::before { opacity: 1; }

.feature-card__icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--icon-color) 12%, transparent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card__icon-wrap svg {
  width: 22px; height: 22px;
  stroke: var(--icon-color);
  color: var(--icon-color);
}

.feature-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.feature-card p  { font-size: .9375rem; color: var(--gray-500); line-height: 1.65; margin-bottom: 16px; }
.feature-card__benefit { font-size: .875rem; font-weight: 600; color: var(--brand); }


/* ══════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════ */
.how-it-works {
  padding: 100px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  max-width: 240px;
}
.step__connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: var(--gray-300);
  margin-top: 27px;
  position: relative;
}
.step__connector::after {
  content: '';
  position: absolute;
  right: -4px; top: -4px;
  width: 10px; height: 10px;
  border-top: 2px solid var(--gray-300);
  border-right: 2px solid var(--gray-300);
  transform: rotate(45deg);
}

.step__number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(99,102,241,.35);
}
.step h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.step p  { font-size: .875rem; color: var(--gray-500); line-height: 1.6; }


/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials { padding: 100px 0; background: #fff; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.testimonial-card {
  padding: 32px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: transform .2s, box-shadow .2s;
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.testimonial-card--featured {
  background: linear-gradient(160deg, #faf5ff 0%, #eff6ff 100%);
  border-color: rgba(99,102,241,.2);
}

.testimonial-card__stars { font-size: 1rem; color: var(--amber); margin-bottom: 16px; letter-spacing: 2px; }

.testimonial-card blockquote {
  font-size: .9375rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.author-name { font-size: .875rem; font-weight: 700; color: var(--gray-900); }
.author-meta { font-size: .8rem; color: var(--gray-500); }

.testimonials__stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
}
.testimonial-stat { text-align: center; }
.testimonial-stat__num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}
.testimonial-stat__label { font-size: .8125rem; color: var(--gray-500); line-height: 1.4; }


/* ══════════════════════════════════════
   PRICING
══════════════════════════════════════ */
.pricing {
  padding: 100px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  align-items: start;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.plan-card--popular {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-lg);
  transform: scale(1.025);
}
.plan-card--popular:hover { transform: scale(1.025) translateY(-3px); }
.plan-card--enterprise { border-color: rgba(139,92,246,.35); }

.plan-card__ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-card__header { margin-bottom: 24px; }
.plan-card__name {
  font-size: .875rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.plan-card--popular .plan-card__name { color: var(--brand); }

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.price-amount { font-size: 1.625rem; font-weight: 900; color: var(--gray-900); line-height: 1; }
.price-period { font-size: .875rem; color: var(--gray-400); }
.plan-card__tagline { font-size: .8125rem; color: var(--gray-500); line-height: 1.4; }

.plan-card__features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .875rem;
  line-height: 1.4;
}
.feature-item::before {
  content: '✓';
  flex-shrink: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(16,185,129,.12);
  color: var(--green);
  font-size: .65rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.feature-item--yes { color: var(--gray-700); }
.feature-item--no  { color: var(--gray-400); }
.feature-item--no::before { content: '✕'; background: var(--gray-100); color: var(--gray-400); }

.plan-card__note { text-align: center; font-size: .75rem; color: var(--gray-400); margin-top: 10px; }

.pricing__guarantee {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  background: rgba(16,185,129,.06);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: var(--radius-lg);
  color: var(--gray-700);
  font-size: .9375rem;
}
.guarantee__icon { font-size: 1.5rem; flex-shrink: 0; }


/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq { padding: 100px 0; background: #fff; }
.faq__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}

.faq__list { display: flex; flex-direction: column; gap: 2px; }

.faq__item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 8px;
  transition: border-color .2s;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--gray-800);
  background: #fff;
  transition: color .15s, background .15s;
}
.faq__question:hover { color: var(--brand); background: var(--gray-50); }
.faq__question[aria-expanded="true"] { color: var(--brand); }

.faq__chevron {
  width: 18px; height: 18px;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform .25s;
}
.faq__question[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); color: var(--brand); }

.faq__answer {
  display: none;
  padding: 0 24px 20px;
  font-size: .9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  background: #fff;
}
.faq__answer.open { display: block; }


/* ══════════════════════════════════════
   FINAL CTA
══════════════════════════════════════ */
.final-cta {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #1e1b4b 100%);
  overflow: hidden;
}
.final-cta__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 50%, rgba(99,102,241,.3) 0%, transparent 50%),
    radial-gradient(circle at 75% 50%, rgba(139,92,246,.25) 0%, transparent 50%);
  pointer-events: none;
}
.final-cta__inner { position: relative; text-align: center; }
.final-cta__inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.final-cta__inner p {
  font-size: 1.125rem;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.final-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--gray-900);
  padding: 60px 0 32px;
  color: rgba(255,255,255,.6);
}

.footer__top { display: flex; gap: 80px; margin-bottom: 48px; }
.footer__brand { flex: 1; max-width: 280px; }
.nav__logo--footer { color: #fff; }
.footer__brand p { margin-top: 12px; font-size: .875rem; color: rgba(255,255,255,.45); line-height: 1.6; }

.footer__links-group { display: flex; gap: 60px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}
.footer__col a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color .15s; }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy  { font-size: .8125rem; color: rgba(255,255,255,.3); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: .8125rem; color: rgba(255,255,255,.3); transition: color .15s; }
.footer__legal a:hover { color: rgba(255,255,255,.6); }


/* ══════════════════════════════════════
   REVEAL ANIMATION
══════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }


/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .mockup-stats    { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid   { grid-template-columns: repeat(2, 1fr); }
  .plan-card--popular { transform: none; }
  .plan-card--popular:hover { transform: translateY(-3px); }
  .pain-grid       { grid-template-columns: repeat(2, 1fr); }
  .features__grid  { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid .testimonial-card:last-child { grid-column: 1 / -1; }
  .testimonials__stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero        { padding: calc(var(--nav-h) + 52px) 0 52px; }
  .hero__sub   { font-size: 1rem; }

  .mockup-sidebar { display: none; }
  .mockup-stats   { grid-template-columns: 1fr 1fr; }
  .mockup-row     { grid-template-columns: 1fr; }

  .section-header  { margin-bottom: 40px; }
  .section-header h2 { font-size: 1.75rem; }

  .pain-grid      { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; gap: 16px; }

  .solution__inner { grid-template-columns: 1fr; gap: 48px; }
  .float-card--tl, .float-card--br { display: none; }

  .steps { flex-direction: column; align-items: flex-start; }
  .step { max-width: 100%; flex-direction: row; align-items: flex-start; gap: 20px; padding: 0; text-align: left; }
  .step__number { margin-bottom: 0; flex-shrink: 0; }
  .step__connector {
    width: 2px; height: 28px;
    background: var(--gray-300);
    margin: 4px 0 4px 27px;
  }
  .step__connector::after {
    bottom: -4px; top: auto; right: auto; left: -4px;
    border-top: none; border-right: none;
    border-bottom: 2px solid var(--gray-300);
    border-right: 2px solid var(--gray-300);
    transform: rotate(45deg);
  }

  .testimonials__grid { grid-template-columns: 1fr; }
  .testimonials__grid .testimonial-card:last-child { grid-column: auto; }
  .testimonials__stat-row { grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px; }

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

  .faq__inner { grid-template-columns: 1fr; gap: 32px; }

  .final-cta { padding: 72px 0; }
  .final-cta__actions { flex-direction: column; align-items: center; }

  .footer__top { flex-direction: column; gap: 40px; }
  .footer__brand { max-width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .logos__row { gap: 8px; }
  .logo-pill  { font-size: .8rem; padding: 6px 14px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .mockup-stats { gap: 8px; }
  .testimonials__stat-row { grid-template-columns: 1fr 1fr; }
  .final-cta__actions .btn { width: 100%; justify-content: center; }
  .footer__links-group { flex-direction: column; gap: 32px; }
}
