:root {
  --bg: #050712;
  --surface: #12141f;
  --surface-soft: #181b26;
  --surface-soft-2: #1f2332;

  --text: #f5f6ff;
  --muted: #9ba1b8;

  --accent: #ff6b6b;
  --accent-2: #6bffb3;
  --accent-3: #6b8bff;

  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.45);

  --s1: 6px;
  --s2: 10px;
  --s3: 16px;
  --s4: 22px;
  --s5: 32px;
  --s6: 44px;
  --s7: 64px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #171b2a 0, #050712 52%, #02030a 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--s3) var(--s6);
}

/* =============================
   HEADER
   ============================= */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s4) 0 var(--s3);
  gap: var(--s3);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 7, 18, 0.95), rgba(5, 7, 18, 0.8), transparent 100%);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: conic-gradient(from 200deg, var(--accent), var(--accent-3), var(--accent-2), var(--accent));
  color: white;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  /* Ensure image fits */
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-title {
  font-weight: 800;
  font-size: 15px;
}

.brand-text-sub {
  font-size: 11px;
  color: var(--muted);
}

nav {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

nav a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn {
  border: 0;
  outline: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-3));
  color: #fff;
  box-shadow: 0 10px 28px rgba(67, 99, 255, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(67, 99, 255, 0.65);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

/* =============================
   BADGES / TEXT BASICS
   ============================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(120deg, rgba(255, 107, 107, 0.16), rgba(107, 139, 255, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffe5e5;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 5px rgba(107, 255, 179, 0.35);
  margin: 6px;
}

h1 {
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  margin-top: var(--s3);
  margin-bottom: var(--s2);
}

.lead {
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
}

.muted {
  color: var(--muted);
}

/* =============================
   HERO LAYOUT
   ============================= */
.hero {
  padding: var(--s5) 0 var(--s6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  margin-left: 5px;
}

.cta-row {
  display: flex;
  gap: var(--s3);
  margin-top: var(--s4);
  flex-wrap: wrap;
}

.cta-row .btn {
  flex: 1 1 220px;
  text-align: center;
}

.cta-subtext {
  margin-top: var(--s2);
  font-size: 12px;
  color: var(--muted);
}

.trainer-spot {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s3);
}

.trainer-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: #2a2f42;
  border: 2px solid rgba(255, 255, 255, 0.16);
}

.trainer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trainer-info strong {
  font-size: 14px;
}

.trainer-info div {
  font-size: 12px;
  color: var(--muted);
}

.hero-right {
  background: radial-gradient(circle at top left, rgba(107, 139, 255, 0.18), transparent 60%), var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.hero-right-header {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
}

.hero-right-meta-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-right-meta-value {
  font-weight: 700;
  font-size: 15px;
}

.seats-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-2);
}

.course-list {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.course-chip {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 10px 11px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.course-chip-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: #151824;
  flex-shrink: 0;
}

.pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-right-btn {
  margin-top: var(--s3);
  width: 100%;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* =============================
   FEATURES
   ============================= */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s3);
  padding-bottom: var(--s6);
}

.feature {
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  padding: var(--s3);
  display: flex;
  align-items: center;
  gap: var(--s3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  color: #050712;
  flex-shrink: 0;
}

.feature strong {
  font-size: 14px;
}

.feature .muted {
  font-size: 12px;
}

/* =============================
   GENERIC SECTION + GRID
   ============================= */
.section {
  padding: 0 0 var(--s6);
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: var(--s3);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}

/* =============================
   COURSES
   ============================= */
.course-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(186, 123, 255, 0.22), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.course-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.course-head {
  display: flex;
  gap: var(--s3);
  align-items: center;
}

.course-head-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
  background: linear-gradient(130deg, var(--accent), var(--accent-3));
  box-shadow: 0 12px 30px rgba(107, 139, 255, 0.7);
  flex-shrink: 0;
}

.course-head h3 {
  font-size: 18px;
  margin-bottom: 2px;
}

.course-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-point {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(9, 12, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.module-list {
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.thumb {
  margin-top: var(--s2);
  border-radius: 14px;
  overflow: hidden;
  background: #23273a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-height: 220px;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================
   TESTIMONIALS
   ============================= */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s3);
}

.tcard {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--s3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

.tcard strong {
  font-size: 14px;
}

.tcard p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* =============================
   CONTACT / FORM
   ============================= */
form {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

input,
select,
textarea {
  background: #050712;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 11px 12px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(155, 161, 184, 0.9);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-3);
  box-shadow: 0 0 0 1px rgba(107, 139, 255, 0.8);
  background: #070917;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #9ba1b8 50%), linear-gradient(135deg, #9ba1b8 50%, transparent 50%);
  background-position: calc(100% - 14px) 13px, calc(100% - 9px) 13px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  height: 100%;
  justify-content: space-between;
}

.contact-lines {
  margin-top: var(--s3);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  font-size: 14px;
  line-height: 1.5;
}

.map-thumb {
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #22263a;
}

/* =============================
   FOOTER
   ============================= */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--s4) 0;
  font-size: 13px;
  color: var(--muted);
  margin-top: var(--s4);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  justify-content: space-between;
  align-items: center;
}

/* =============================
   TRAINER BIO
   ============================= */
.bio-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.bio-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 18, 0.4), transparent 40%);
  pointer-events: none;
}

.bio-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.bio-content {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  font-size: 15px;
  color: var(--muted);
}

.bio-content p {
  line-height: 1.7;
}

.bio-content .section-title {
  color: var(--text);
  margin-bottom: var(--s2);
}

/* =============================
   RESPONSIVE BREAKPOINTS
   ============================= */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: var(--s4);
  }

  h1 {
    font-size: 24px;
  }

  .hero-right {
    padding: var(--s3);
  }

  .hero-right-header {
    flex-direction: row;
    align-items: flex-start;
  }

  .features {
    margin-top: -6px;
  }
}

@media (min-width: 769px) {
  h1 {
    font-size: 34px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }

  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: flex-start;
  }

  /* Trainer Bio specific layout */
  .section.trainer-bio .grid-2 {
    display: flex !important;
    gap: var(--s5);
    align-items: center;
    justify-content: center;
  }

  .section.trainer-bio .bio-photo {
    flex: 0 0 auto;
    width: 300px;
    /* Force a consistent width */
    max-width: 100%;
  }

  .section.trainer-bio .bio-content {
    flex: 1;
  }

  .testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .container {
    padding-inline: 0;
  }

  header {
    padding-top: var(--s5);
  }
}

/* =============================
   WHATSAPP FLOAT
   ============================= */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.wa-float img {
  width: 32px;
  height: 32px;
}