/* =====================================================
   Tourneypoint — Shared Design System & Component Library
   Refined commercial palette: Clean warm tint + deep maroon brand
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Refined Brand Colors */
  --bg: #FAF8FC;
  --bg-soft: #F3EEF5;
  --surface: #FFFFFF;
  --surface2: #F6EEF4;
  
  --primary: #7A0B4E;
  --primary-dark: #5C083A;
  --primary-light: #F8EDF4;
  
  --ink: #160713;
  --ink2: rgba(22, 7, 19, 0.75);
  --ink3: rgba(22, 7, 19, 0.48);
  
  --stroke: rgba(122, 11, 78, 0.08);
  --stroke2: rgba(122, 11, 78, 0.15);
  
  --green: #1E8E5A;
  --green-dim: #E4F5EC;
  --red: #D6314B;
  --red-dim: #FCE7EA;
  --amber: #C9920A;
  --amber-dim: #FBEEDA;
  
  /* Layout & Radii */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --r-pill: 999px;
  
  --shadow-sm: 0 2px 10px rgba(22, 7, 19, 0.04);
  --shadow: 0 10px 30px rgba(122, 11, 78, 0.08);
  --shadow-lg: 0 20px 50px rgba(122, 11, 78, 0.14);
  
  /* Typography */
  --ff: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-brand: 'Josefin Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --fb: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 64px;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
}

img, video, iframe {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ── Header ── */
.app-header {
  height: var(--header-h);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.app-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--ff-brand);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}
.header-nav a:hover, .header-nav a.active {
  color: #ffffff;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.header-nav a:hover::after, .header-nav a.active::after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: none;
  font-family: var(--fb);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), opacity 0.2s ease, box-shadow 0.2s ease;
}
.pill-btn:active {
  transform: scale(0.97);
}
.pill-btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.pill-btn-white:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

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

@media (max-width: 600px) {
  .app-header {
    padding: 0 16px;
    height: 58px;
  }
  .app-header .brand {
    font-size: 18px;
  }
  .pill-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* ── Global Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--fb);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(122, 11, 78, 0.22);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(122, 11, 78, 0.32);
  color: #fff;
}
.btn-soft {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--stroke2);
  box-shadow: var(--shadow-sm);
}
.btn-soft:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--ink2);
  border-color: var(--stroke2);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--ink);
}

/* ── Floating Actions (WhatsApp) ── */
.floating-actions-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.floating-wa-btn {
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  padding: 11px 20px;
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}
.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  color: #fff;
}

@media (max-width: 600px) {
  .floating-actions-wrap {
    bottom: 16px;
    right: 16px;
  }
  .floating-wa-btn {
    padding: 9px 16px;
    font-size: 12px;
  }
}

/* ── Section Rhythm & Structural Headers ── */
.section-wrap {
  max-width: 1140px;
  margin: 0 auto 90px;
  padding: 0 20px;
}
.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 42px;
}
.section-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--ff-brand), 'Josefin Sans', sans-serif;
  font-size: clamp(24px, 4.2vw, 36px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 14.5px;
  color: var(--ink2);
  line-height: 1.6;
}

/* ── 1. Minimal Above-The-Fold Hero Section ── */
.hero-minimal-section {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 70px;
  position: relative;
  text-align: center;
  background: radial-gradient(circle at 50% 35%, rgba(122, 11, 78, 0.06) 0%, transparent 68%);
}
.hero-minimal-content {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  background: var(--primary-light);
  border: 1px solid var(--stroke2);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-minimal-title {
  font-family: var(--ff-brand), 'Josefin Sans', sans-serif;
  font-size: clamp(32px, 6.2vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-minimal-title .highlight {
  color: var(--primary);
  display: inline-block;
}
.hero-minimal-subtitle {
  font-size: clamp(15px, 2.4vw, 19px);
  color: var(--ink2);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 36px;
}
.hero-actions-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ink3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}
.scroll-indicator:hover {
  color: var(--primary);
}
.scroll-indicator-arrow {
  animation: bounceDown 1.8s infinite;
}
@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

@media (max-width: 480px) {
  .hero-minimal-section {
    min-height: calc(100vh - 58px);
    padding: 30px 16px 60px;
  }
  .hero-actions-center {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions-center .btn {
    width: 100%;
  }
}

/* ── 2. Product Video Section (Revealed on Scroll) ── */
.product-demo-section {
  max-width: 1040px;
  margin: 0 auto 80px;
  padding: 0 20px;
}
.product-demo-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--stroke2);
  box-shadow: 0 20px 50px rgba(122, 11, 78, 0.12);
}
.product-demo-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(0,0,0,0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.product-demo-card video {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* ── 3. Clean Trust & Stats Bar ── */
.stats-grid-clean {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card-clean {
  background: var(--surface);
  border: 1px solid var(--stroke2);
  border-radius: var(--r);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-num-clean {
  font-family: var(--ff-brand), 'Josefin Sans', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-desc-clean {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
}

.partners-logos-clean {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 32px;
  background: var(--surface);
  border: 1px solid var(--stroke2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.partner-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.partner-logo-item img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.2s ease;
}
.partner-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 768px) {
  .stats-grid-clean { grid-template-columns: 1fr; gap: 12px; }
  .partners-logos-clean { gap: 16px; padding: 20px 16px; }
}

/* ── 4. Problem vs Solution Comparison ── */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.comp-card {
  border-radius: var(--r-lg);
  padding: 32px 28px;
  border: 1px solid var(--stroke2);
}
.comp-card-bad {
  background: #FFF8F8;
  border-color: rgba(214, 49, 75, 0.22);
}
.comp-card-good {
  background: #F4FAF6;
  border-color: rgba(30, 142, 90, 0.28);
  box-shadow: var(--shadow);
}
.comp-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.comp-card-title {
  font-family: var(--ff-brand), 'Josefin Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
}
.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

@media (max-width: 768px) {
  .comparison-grid { grid-template-columns: 1fr; }
}

/* ── 5. How It Works (3 Steps) ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--stroke2);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(122, 11, 78, 0.25);
}
.step-title {
  font-family: var(--ff-brand), 'Josefin Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 13.5px;
  color: var(--ink2);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ── 6. What's Included & Package Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--stroke2);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), border-color 0.22s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-title {
  font-family: var(--ff-brand), 'Josefin Sans', sans-serif;
  font-size: 17.5px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 13.5px;
  color: var(--ink2);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ── 7. FAQ Accordion ── */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--stroke2);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--ff);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}
.faq-icon {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.25s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.65;
}
.faq-item.active .faq-answer {
  display: block;
}

/* ── 8. Embedded Referral Discount Banner ── */
.referral-embedded-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-lg);
}
.referral-embedded-content h3 {
  font-family: var(--ff-brand), 'Josefin Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.referral-embedded-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .referral-embedded-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }
}

/* ── Brand Typography Overrides ── */
.brand, .brand span, .footer-brand-title, .footer-brand-title span {
  font-family: var(--ff-brand), 'Josefin Sans', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

/* ── Footer ── */
footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.88);
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 24px 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
}

/* ── Calm scroll reveal animation ── */
.calm-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.calm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .calm-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}