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

:root {
  --bg-page: #f8fafc;
  --bg-soft: #f1f5f9;
  --bg-highlight: #fff7f7;
  --accent: #ff6b6b;
  --accent-soft: #ffe3e3;
  --accent-mint: #38c9a5;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-subtle: #e2e8f0;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.12);
  --wrap-width: 1120px;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.page {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #ffffff 0, #f8fafc 50%, #eef2ff 100%);
  color: var(--text-main);
  line-height: 1.6;
}

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

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

/* LAYOUT HELPERS */
.wrap {
  width: 100%;
  max-width: var(--wrap-width);
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  padding: 64px 0;
}

.section-soft {
  background: linear-gradient(180deg, #f9fafb 0%, #eef2ff 100%);
}

.section-highlight {
  background: #fff7f7;
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: conic-gradient(from 120deg, #ff6b6b, #f97316, #38c9a5, #4f46e5, #ff6b6b);
}

.brand-text {
  font-family: 'Fraunces', system-ui, serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-text span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
}

.nav-link {
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
}

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  background: none;
  color: var(--text-main);
}

.button.large {
  padding: 13px 26px;
}

.button.full {
  width: 100%;
}

.button.primary {
  background: linear-gradient(135deg, #ff6b6b, #f97316);
  color: #fff;
  box-shadow: 0 16px 40px rgba(248, 113, 113, 0.4);
}

.button.primary:hover {
  filter: brightness(1.04);
}

.button.ghost {
  background: #fff;
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.button.ghost:hover {
  background: #f1f5f9;
}

.button.small {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.link-button {
  border: none;
  background: none;
  color: #4b5563;
  font-size: 0.9rem;
  padding: 4px 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* HERO */
.hero-section {
  padding-top: 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.tagline {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9f1239;
  margin-bottom: 12px;
}

.hero-section h1 {
  font-size: clamp(2.1rem, 3.1vw, 2.9rem);
  line-height: 1.1;
  margin: 0 0 14px;
}

.hero-sub {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 18px;
}

.offer-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  margin-bottom: 12px;
}

.price-chip {
  background: #fef2f2;
  border-radius: 18px;
  padding: 10px 16px;
  border: 1px solid #fecaca;
}

.price-chip-label {
  font-size: 0.8rem;
  color: #b91c1c;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.price-old {
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 0.88rem;
}

.price-now {
  font-size: 1.6rem;
  font-weight: 700;
  color: #b91c1c;
}

.hero-cta-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-points li::before {
  content: "•";
  display: inline-block;
  margin-right: 6px;
  color: var(--accent-mint);
}

/* HERO ASIDE */
.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.coach-card {
  background: #ffffff;
  border-radius: 26px;
  border: 1px solid var(--border-subtle);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  max-width: 340px;
  width: 100%;
}

.coach-photo-frame {
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 12px;
}

.coach-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.coach-info {
  font-size: 0.86rem;
}

.coach-name {
  font-weight: 600;
  margin: 0 0 4px;
}

.coach-role {
  margin: 0 0 4px;
  color: var(--text-muted);
}

.coach-fact {
  margin: 0;
  color: #047857;
}

/* SECTION TYPO */
h2 {
  font-size: 1.7rem;
  margin: 0 0 10px;
}

.section-text {
  font-size: 0.97rem;
  color: var(--text-muted);
  max-width: 580px;
}

/* LAYOUT TWO */
.layout-two {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 28px;
}

/* PILLS & FEATURES */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #e0f2fe;
  font-size: 0.8rem;
  color: #0f172a;
}

.grid-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.feature-tile {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  padding: 16px 18px;
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.18);
  font-size: 0.9rem;
}

.feature-tile h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

/* COACH */
.coach-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #14b8a6);
}

.quote-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 20px 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.28);
}

.quote-mark {
  font-family: 'Fraunces', system-ui, serif;
  font-size: 3rem;
  color: #fb7185;
  line-height: 1;
  margin: -10px 0 0;
}

.quote-text {
  font-size: 0.98rem;
  color: #374151;
  margin: 6px 0 8px;
}

.quote-author {
  font-size: 0.85rem;
  color: #6b7280;
}

/* TIMELINE */
.timeline {
  border-left: 2px solid #e5e7eb;
  margin: 26px 0 22px;
  padding-left: 18px;
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  border: 2px solid #f9fafb;
}

.timeline-badge {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b21a8;
}

.timeline-body h3 {
  margin: 2px 0 4px;
  font-size: 1rem;
}

.timeline-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* DETAILS GRID */
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.detail-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px 18px;
  border: 1px solid var(--border-subtle);
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 36px rgba(148, 163, 184, 0.25);
  font-size: 0.88rem;
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 10px 12px;
  color: var(--text-muted);
}

/* STORIES */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.story-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  padding: 16px 18px;
  font-size: 0.9rem;
  box-shadow: 0 12px 32px rgba(148, 163, 184, 0.2);
}

.story-card h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

/* ENROLL */
.enroll-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: flex-start;
}

.enroll-card {
  background: #ffffff;
  border-radius: 26px;
  border: 1px solid #fecaca;
  box-shadow: 0 18px 50px rgba(248, 113, 113, 0.28);
  padding: 18px 18px 20px;
}

.enroll-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #b91c1c;
}

.enroll-prices {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 4px 0 4px;
}

.enroll-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.enroll-form {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.field {
  display: grid;
  gap: 4px;
  font-size: 0.85rem;
}

.field span {
  color: #4b5563;
}

.field input {
  border-radius: var(--radius-pill);
  border: 1px solid #cbd5f5;
  padding: 10px 12px;
  font-size: 0.9rem;
  outline: none;
}

.field input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.5);
}

.timer-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.timer-label {
  font-size: 0.8rem;
  color: #b91c1c;
}

.timer-value {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.98rem;
}

.help-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-note {
  font-size: 0.82rem;
  min-height: 1.2em;
}

/* FAQ */
.faq-section {
  background: #f9fafb;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.faq-item {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  font-size: 0.9rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

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

/* FOOTER */
.footer {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: #ffffff;
  padding: 20px 0 26px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: flex-start;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-copy {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-contact {
  text-align: right;
}

.footer-note {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-grid,
  .layout-two,
  .coach-layout,
  .details-grid,
  .gallery,
  .stories-grid,
  .enroll-layout,
  .faq-grid,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
    justify-content: flex-start;
  }

  .coach-photo {
    height: 320px;
  }

  .footer-contact {
    text-align: left;
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .stories-grid,
  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .section {
    padding: 50px 0;
  }
}


/* SIMPLE WRAPPER FOR SYSTEM PAGES */
.simple-wrapper {
  max-width: 480px;
  margin: 0 auto;
  padding: 72px 20px;
  text-align: center;
}


.coach-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
