/* ============================================
   CleanFit Website – Styles
   Brand tokens from CleanFit_Theme.md
   ============================================ */

:root {
  --color-primary: #00BFDC;
  --color-secondary: #B7BE34;
  --color-near-black: #1A1A1A;
  --color-white: #FFFFFF;
  --color-surface: #F5F5F5;
  --color-card-dark: #363636;
  --color-warm-cream: #FBF5E8;
  --gradient: linear-gradient(to right, #00BFDC, #B7BE34);
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --font-script: 'Dancing Script', cursive;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-near-black);
  background: var(--color-white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================
   Gradient Strip
   ============================================ */
.gradient-strip {
  height: 6px;
  background: var(--gradient);
  width: 100%;
  flex-shrink: 0;
}

/* ============================================
   Typography
   ============================================ */
.display { font-family: var(--font-display); font-size: 57px; font-weight: 800; line-height: 1.05; }
.headline-lg { font-family: var(--font-display); font-size: 45px; font-weight: 800; line-height: 1.1; }
.headline-md { font-family: var(--font-display); font-size: 32px; font-weight: 700; line-height: 1.15; }
.headline-sm { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.2; }
.tagline { font-family: var(--font-script); font-size: 24px; font-weight: 700; }
.body-lg { font-size: 16px; line-height: 1.7; }
.body-md { font-size: 14px; line-height: 1.6; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  display: inline-block;
  background: var(--gradient);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  min-width: 220px;
  text-align: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-primary);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease;
}
.btn-ghost:hover { background: rgba(0,191,220,0.1); }

/* ============================================
   Gradient Divider
   ============================================ */
.gradient-divider {
  height: 2px;
  background: var(--gradient);
  border: none;
  margin: 24px 0;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img { height: 56px; width: auto; }

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

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-near-black);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--color-primary); }

.nav-cta .btn-primary { font-size: 15px; padding: 10px 24px; min-width: unset; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-near-black);
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--color-white);
  padding: 16px 24px 24px;
  border-top: 1px solid #eee;
}
.nav-mobile a {
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  color: var(--color-near-black);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .btn-primary { margin-top: 16px; width: 100%; }

/* ============================================
   Hero
   ============================================ */
.hero {
  background: var(--color-near-black);
  padding: 96px 24px;
  text-align: center;
}

.hero-inner { max-width: 800px; margin: 0 auto; }

.hero h1 {
  font-family: var(--font-display);
  font-size: 57px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero h1 span { display: block; }

.hero-tagline {
  font-family: var(--font-script);
  font-size: 26px;
  color: var(--color-primary);
  margin-bottom: 32px;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  font-size: 17px;
}

.tick-filled {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tick-filled svg { width: 14px; height: 14px; }

/* ============================================
   Section Base
   ============================================ */
.section { padding: 80px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 600px; margin: 0 auto; color: #555; font-size: 17px; }

.section-light { background: var(--color-white); }
.section-surface { background: var(--color-surface); }
.section-dark { background: var(--color-near-black); color: var(--color-white); }
.section-cream { background: var(--color-warm-cream); }

/* ============================================
   What is CleanFit – Benefit Ticks
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-icon svg { width: 22px; height: 22px; color: white; }

.benefit-item h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.benefit-item p { font-size: 14px; color: #555; }

/* ============================================
   How It Works – Steps
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-item { text-align: center; padding: 32px 24px; }

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-item h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-item p { color: #555; font-size: 15px; }

/* ============================================
   Founders Teaser
   ============================================ */
.founders-teaser {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.founder-card {
  background: var(--color-card-dark);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  color: var(--color-white);
}

.founder-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.founder-card .role {
  font-size: 13px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.founder-card p { font-size: 14px; color: #ccc; line-height: 1.7; }

/* ============================================
   Pricing Cards
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 760px;
  margin: 0 auto 48px;
}

.pricing-card {
  background: var(--color-card-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pricing-card .card-header {
  padding: 18px 24px;
  text-align: center;
}

.pricing-card.free .card-header { background: var(--color-primary); }
.pricing-card.member .card-header { background: var(--color-secondary); }

.tier-pill {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  color: white;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 16px 6px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.card-header .card-price {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 4px;
}

.card-header .card-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.card-body { padding: 28px 24px; }

.tick-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--color-white);
  font-size: 15px;
}

.tick-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tick-circle svg { width: 14px; height: 14px; }
.free .tick-circle { background: var(--color-primary); }
.member .tick-circle { background: var(--color-secondary); }

.pricing-cta { text-align: center; }

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  background: var(--color-near-black);
  padding: 80px 24px;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 45px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: #aaa;
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-near-black);
  padding: 48px 24px 32px;
  border-top: 1px solid #2a2a2a;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo img { width: 60px; }

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-links a { color: #aaa; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--color-primary); }

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  transition: background 0.2s, color 0.2s;
}
.social-icon:hover { background: var(--color-primary); color: var(--color-white); }
.social-icon svg { width: 18px; height: 18px; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 13px; color: #555; }

/* ============================================
   Page Hero (inner pages)
   ============================================ */
.page-hero {
  background: var(--color-near-black);
  padding: 72px 24px 64px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: 57px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px;
  color: #aaa;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   About Page – Founder Sections
   ============================================ */
.founder-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 72px 0;
}

.founder-section.reverse { direction: rtl; }
.founder-section.reverse > * { direction: ltr; }

.founder-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
}
.founder-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-placeholder {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  color: #666;
  font-size: 14px;
  gap: 12px;
}
.video-placeholder svg { width: 48px; height: 48px; color: #444; }

.founder-content h2 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 6px;
}

.founder-content .founder-role {
  font-size: 13px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.founder-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
}

.quote-block {
  border-left: 3px solid var(--color-primary);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--color-surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.quote-block p { font-style: italic; color: #333; margin: 0; }

/* ============================================
   Method Page
   ============================================ */
.movements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.movement-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  border-top: 4px solid var(--color-primary);
}

.movement-card.strength { border-top-color: var(--color-secondary); }

.movement-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.movement-card p { font-size: 15px; color: #555; }

.course-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.course-table th {
  background: var(--color-near-black);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 20px;
  text-align: left;
}
.course-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}
.course-table tr:last-child td { border-bottom: none; }
.course-table tr:nth-child(even) td { background: var(--color-surface); }
.course-table td:last-child { text-align: center; font-weight: 500; color: var(--color-primary); }

/* ============================================
   Follow Us
   ============================================ */
.social-follow-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.social-follow-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 40px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 160px;
}
.social-follow-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.social-follow-card .platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-follow-card .platform-icon svg { width: 26px; height: 26px; color: white; }
.social-follow-card .platform-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}
.social-follow-card .platform-handle { font-size: 13px; color: #888; }

/* ============================================
   Responsive – Tablet (768px)
   ============================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .founder-section { grid-template-columns: 1fr; gap: 40px; }
  .founder-section.reverse { direction: ltr; }
}

/* ============================================
   Responsive – Mobile (< 768px)
   ============================================ */
@media (max-width: 767px) {
  .display, .hero h1, .page-hero h1 { font-size: 38px; }
  .headline-lg, .cta-banner h2 { font-size: 32px; }
  .headline-md { font-size: 26px; }

  .hero { padding: 64px 20px; }
  .section { padding: 56px 20px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile.open { display: flex; }

  .benefits-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .founders-teaser { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .movements-grid { grid-template-columns: 1fr; }
  .founder-section { grid-template-columns: 1fr; gap: 32px; }
  .founder-section.reverse { direction: ltr; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .btn-primary { width: 100%; min-width: unset; }
}
