/* ============================================================
   Baskworthy Website — Shared Styles
   Color palette mirrors the React Native app (constants/theme.js)
   ============================================================ */

:root {
  --bg:            #F2F9F5;
  --bg-alt:        #EAFAF2;
  --card:          #FFFFFF;
  --primary:       #27AE75;
  --primary-light: #C8EFD9;
  --primary-dark:  #1A7A53;
  --primary-mid:   #4DC492;
  --gradient-top:  #3FBF87;
  --gradient-bot:  #27AE75;
  --text:          #1A2D23;
  --text-sec:      #6B8F7A;
  --text-tert:     #A8C4B1;
  --border:        #C8E2D2;
  --border-light:  #E0F0E8;
  --btn-sec:       #E8F4EE;
  --danger:        #E05252;
  --white:         #FFFFFF;

  /* accent palette */
  --acc-morning:   #C8EFD9;
  --acc-stress:    #E8E3FD;
  --acc-focus:     #D9ECFB;
  --acc-evening:   #E4E0FA;
  --acc-sleep:     #D5EEF7;
  --acc-relax:     #DCF2E7;
  --acc-breathing: #FEF0D6;
  --acc-mindful:   #FCE4EF;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 12px rgba(39,174,117,.08);
  --shadow-md: 0 6px 28px rgba(39,174,117,.13);
  --shadow-lg: 0 12px 48px rgba(39,174,117,.18);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242,249,245,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nav-logo-text {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: .5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sec);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }

/* ---- Page wrapper ---- */
.page { min-height: 100vh; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(145deg, var(--bg-alt) 0%, var(--primary-light) 60%, #b0e8cc 100%);
  padding: 80px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255,255,255,.5), transparent);
  pointer-events: none;
}
.hero-inner { max-width: 700px; margin: 0 auto; position: relative; }

.hero-icon {
  width: 100px;
  height: 100px;
  border-radius: 26px;
  margin: 0 auto 28px;
  box-shadow: var(--shadow-lg);
}
.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -.5px;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--primary); }
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: var(--text-sec);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--white);
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: var(--shadow-md);
  transition: transform .2s, box-shadow .2s;
}
.btn-play:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-play svg { width: 20px; height: 20px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--text);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.btn-ghost:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }

/* phone mockup */
.hero-phone {
  margin: 64px auto 0;
  max-width: 280px;
  background: var(--text);
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 32px 80px rgba(26,45,35,.25), 0 8px 24px rgba(26,45,35,.1);
  position: relative;
}
.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9/19;
  display: flex;
  flex-direction: column;
}
.phone-statusbar {
  height: 28px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 16px;
  gap: 6px;
}
.phone-statusbar span { width: 12px; height: 6px; background: var(--text); border-radius: 3px; opacity: .4; }
.phone-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pc-label { font-size: 9px; font-weight: 800; color: var(--primary); letter-spacing: .8px; text-transform: uppercase; }
.pc-greeting { font-size: 16px; font-weight: 800; color: var(--text); }
.pc-sub { font-size: 9px; color: var(--text-sec); }
.pc-card {
  background: var(--acc-morning);
  border-radius: 14px;
  padding: 12px;
}
.pc-card-lbl { font-size: 8px; font-weight: 700; color: var(--text-sec); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 3px; }
.pc-card-name { font-size: 12px; font-weight: 800; color: var(--primary-dark); }
.pc-card-desc { font-size: 8px; color: var(--text-sec); }
.pc-duration-row { display: flex; gap: 6px; }
.pc-pill {
  flex: 1;
  background: var(--btn-sec);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-sec);
}
.pc-pill.active { background: var(--primary-light); color: var(--primary-dark); border: 1.5px solid var(--primary); }
.pc-start {
  background: var(--primary);
  border-radius: 999px;
  padding: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--white);
}

/* ---- Section utility ---- */
.section { padding: 80px 24px; }
.section-alt { background: var(--bg-alt); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.3px;
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-body {
  font-size: 1.05rem;
  color: var(--text-sec);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ---- Feature grid ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-desc { font-size: 14px; color: var(--text-sec); line-height: 1.6; }

/* ---- Sessions grid ---- */
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.session-chip {
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform .15s, box-shadow .15s;
}
.session-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.session-chip-icon { font-size: 22px; flex-shrink: 0; line-height: 1; }
.session-chip-name { font-size: 14px; font-weight: 800; margin-bottom: 3px; }
.session-chip-desc { font-size: 12px; opacity: .7; line-height: 1.4; }

/* ---- Stats strip ---- */
.stats-strip {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 56px 24px;
  text-align: center;
}
.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
}
.stat-item {}
.stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 600; letter-spacing: .3px; }

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-light), var(--acc-morning));
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  border: 1px solid var(--border);
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -.2px;
}
.cta-banner p { font-size: 1.05rem; color: var(--text-sec); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---- Footer ---- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.6);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-logo img { width: 30px; height: 30px; border-radius: 7px; }
.footer-logo-text { font-size: 16px; font-weight: 800; color: var(--white); }
.footer-tagline { font-size: 13px; line-height: 1.5; max-width: 240px; }
.footer-nav { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-nav-col h4 { font-size: 12px; font-weight: 800; color: var(--white); letter-spacing: .8px; text-transform: uppercase; margin-bottom: 12px; }
.footer-nav-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-nav-col a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-nav-col a:hover { color: var(--primary-mid); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; }
.footer-copy {}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.75); }

/* ---- Page header (inner pages) ---- */
.page-header {
  background: linear-gradient(145deg, var(--bg-alt), var(--primary-light));
  padding: 60px 24px 56px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.3px;
  margin-bottom: 12px;
}
.page-header p { font-size: 1rem; color: var(--text-sec); max-width: 480px; margin: 0 auto; }

/* ---- Prose (privacy / support) ---- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.prose h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 36px 0 10px;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 15px; color: var(--text-sec); line-height: 1.75; margin-bottom: 10px; }
.prose ul { padding-left: 20px; margin-bottom: 10px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--primary); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); font-weight: 700; }
.prose .updated-date { font-size: 13px; color: var(--text-tert); margin-bottom: 32px; margin-top: -8px; }

/* ---- Contact form ---- */
.contact-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.contact-info p { font-size: 15px; color: var(--text-sec); line-height: 1.7; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-detail-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-detail-text { font-size: 14px; color: var(--text-sec); line-height: 1.4; }
.contact-detail-text strong { display: block; font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(39,174,117,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s, transform .15s;
  font-family: inherit;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ---- Support (FAQ) ---- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
  transition: background .15s;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-q-arrow { font-size: 18px; color: var(--primary); flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-q-arrow { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}
.faq-item.open .faq-a { display: block; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 56px 20px 72px; }
  .section { padding: 56px 20px; }
  .cta-banner { padding: 40px 24px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-nav { gap: 28px; }
}
@media (max-width: 480px) {
  .sessions-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}
