/* -----------------------------------------------------
   BASE RESET & PAGE
----------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f172a;
  background: radial-gradient(circle at top, #ebf0f5 0%, #f9fafb 50%, #eef2f7 100%);
}

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

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Wrapper */
.wrap {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding-inline: 1.3rem;
}

/* -----------------------------------------------------
   COLORS & TOKENS
----------------------------------------------------- */
:root {
  --accent: #22c55e;
  --accent2: #06b6d4;
  --accent-soft: #dcfce7;

  --ink: #0f172a;
  --muted: #6b7280;

  --radius-md: 16px;
  --radius-lg: 26px;

  --border: #e5e7eb;

  --shadow-soft: 0 18px 42px rgba(15, 23, 42, 0.08);

  --reveal-delay: 0ms;
}

/* -----------------------------------------------------
   HEADER & NAV
----------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #e5e7eb;
  z-index: 100;
}

.header-inner {
  padding: 0.7rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  position: relative; /* ensures mobile nav is anchored to header content */
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 20% 0, #bbf7d0, #22c55e);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.brand-text {
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1rem;
}

.brand-text span {
  font-weight: 500;
  color: var(--muted);
}

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.88rem;
}

.site-nav a {
  opacity: 0.8;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
  transition:
    opacity 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.site-nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
  border: none;
}

/* Mobile nav toggle button */
.nav-toggle {
  display: none;
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle i {
  font-size: 1.2rem;
  color: #0f172a;
  transition: opacity 0.18s ease, transform 0.18s ease;
  position: absolute;
}

/* Default: hamburger visible */
.nav-toggle .fa-bars {
  opacity: 1;
  transform: scale(1);
}

.nav-toggle .fa-xmark {
  opacity: 0;
  transform: scale(0.8);
}

/* Toggle state */
.nav-toggle.is-active .fa-bars {
  opacity: 0;
  transform: scale(0.8);
}

.nav-toggle.is-active .fa-xmark {
  opacity: 1;
  transform: scale(1);
}

/* -----------------------------------------------------
   BUTTONS
----------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #ffffff;
  font-weight: 600;
  font-size: 0.94rem;
  box-shadow: 0 14px 40px rgba(34, 197, 94, 0.35);
  border: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(34, 197, 94, 0.4);
  filter: brightness(1.03);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  color: var(--ink);
  background: #ffffff;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background-color: #f8fafc;
  transform: translateY(-2px);
}

/* -----------------------------------------------------
   SECTIONS
----------------------------------------------------- */
.section {
  padding: 3.2rem 0;
  position: relative;
}

.section-muted {
  background: #f3f4f6;
}

.section-head {
  margin-bottom: 1.8rem;
}

.kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.section-lead {
  margin-top: 0.45rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* -----------------------------------------------------
   HERO
----------------------------------------------------- */
.hero {
  padding: 3.5rem 0 3.2rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.14) 0%, transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.12) 0%, transparent 55%);
  opacity: 0.7;
  z-index: -1;
  animation: heroGlow 24s linear infinite alternate;
}

@keyframes heroGlow {
  0% {
    transform: translate3d(-4%, -4%, 0) scale(1);
  }
  50% {
    transform: translate3d(4%, 2%, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-2%, 4%, 0) scale(1.03);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3fr);
  gap: 2.6rem;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.96);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pill span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.27);
}

.hero-title {
  margin-top: 1rem;
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  line-height: 1.06;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 0.8rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-meta {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.6rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-meta strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 32rem;
}

/* Hero app preview */
.hero-preview {
  position: relative;
}

.hero-preview::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: radial-gradient(circle at 10% 0, rgba(34, 197, 94, 0.15) 0%, transparent 55%);
  opacity: 0.6;
  z-index: -2;
}

.app-shell {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}

/* subtle glow */
.app-shell::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.06), transparent 60%);
  pointer-events: none;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
}

.app-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.app-logo span {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--accent);
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f1f5f9;
  color: #475569;
}

/* Cards inside app */
.app-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.app-card {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 0.7rem 0.75rem 0.8rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.2s ease,
    background-color 0.18s ease;
}

.app-card p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.card-img {
  height: 58px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 10% 0, rgba(34, 197, 94, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(6, 182, 212, 0.16) 0%, transparent 55%),
    linear-gradient(135deg, #e2f5eb, #f0fbff);
  margin-bottom: 0.5rem;
}

.app-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.app-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 14px 34px rgba(34, 197, 94, 0.25);
  background-color: #f9fffb;
}

.app-summary {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: #475569;
  padding: 0.6rem 0.75rem;
  border-radius: 999px;
  background: #f1f5f9;
}

/* -----------------------------------------------------
   METRICS STRIP
----------------------------------------------------- */
.stats {
  padding-top: 0;
}

.stats-bar {
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  color: var(--ink);
  border-radius: 24px;
  padding: 1rem 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.stats-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.stats-number {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
}

.stats-label {
  font-size: 0.78rem;
  color: var(--muted);
}

/* -----------------------------------------------------
   PROGRAMS
----------------------------------------------------- */
.programs-row {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.5fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.program-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 0.9rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.program-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.program-img {
  height: 110px;
  border-radius: 14px;
  margin-bottom: 0.55rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* overlay */
.program-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.1));
}

/* Replace these URLs with your own images */
.program-img--strength {
  background-image:
    linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(129, 140, 248, 0.1)),
    url("../img/fitness-strength.jpg");
}

.program-img--fatloss {
  background-image:
    linear-gradient(135deg, rgba(248, 113, 113, 0.2), rgba(251, 191, 36, 0.1)),
    url("../img/fitness-fatloss.jpg");
}

.program-img--football {
  background-image:
    linear-gradient(135deg, rgba(22, 163, 74, 0.2), rgba(56, 189, 248, 0.1)),
    url("../img/fitness-football.jpg");
}

.program-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.tag {
  font-size: 0.72rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #15803d;
}

.price {
  font-weight: 600;
  color: var(--ink);
}

.program-title {
  font-weight: 600;
}

.program-desc {
  font-size: 0.84rem;
  color: var(--muted);
}

.program-copy-title {
  font-size: 1.08rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.program-copy-lead {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  display: grid;
  gap: 0.25rem;
}

/* -----------------------------------------------------
   FEATURES / RESULTS / BLOG CARDS
----------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.feat-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 1.1rem 1.1rem 1.2rem;
  font-size: 0.88rem;
  display: grid;
  gap: 0.45rem;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.feat-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.feat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.pill-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #15803d;
  font-size: 0.74rem;
  font-weight: 500;
}

/* -----------------------------------------------------
   TESTIMONIAL STRIP
----------------------------------------------------- */
.testimonials-strip {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.testimonial-card {
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.4rem 1.4rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: -1.4rem;
  left: 1rem;
  font-size: 4rem;
  opacity: 0.06;
  color: var(--accent);
}

.testimonial-quote {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.testimonial-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* -----------------------------------------------------
   PRICING
----------------------------------------------------- */
.pricing {
  position: relative;
}

.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(34, 197, 94, 0.08), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.pricing-box {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.8rem 2rem;
  box-shadow: var(--shadow-soft);
}

.pricing-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.pricing-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.pricing-main {
  font-size: 1.5rem;
  font-weight: 700;
}

.pricing-main small {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}

.pricing-list {
  margin-top: 1.2rem;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* -----------------------------------------------------
   FAQ
----------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 2fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  font-size: 0.86rem;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 0.9rem 0.95rem;
  display: grid;
  gap: 0.3rem;
}

.faq-item h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

/* -----------------------------------------------------
   CONTACT
----------------------------------------------------- */
.contact-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem 1.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.contact-box p {
  margin: 0.4rem 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* -----------------------------------------------------
   FOOTER
----------------------------------------------------- */
.footer {
  margin-top: auto;
  padding: 1.5rem 0 1.9rem;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-nav {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

/* -----------------------------------------------------
   REVEAL ANIMATION
----------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition:
    opacity 0.65s ease-out,
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* -----------------------------------------------------
   RESPONSIVE
----------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid,
  .programs-row,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .testimonials-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .header-inner {
    padding: 0.6rem 0;
  }

  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem 1.3rem 0.9rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav-cta {
    margin-top: 0.3rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .stats-bar {
    border-radius: 20px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .app-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .programs-grid,
  .grid-3,
  .app-main {
    grid-template-columns: 1fr;
  }

  .pricing-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
  }
}
