/* ============================================================
   Touch 'n Grow - Minimalist Editorial Design System
   Pure static CSS, Light + Dark adaptive, cPanel ready
   ============================================================ */

:root {
  --bg: #fafafa;
  --bg-elevated: #ffffff;
  --bg-subtle: #f2f3f8;
  --bg-glass: rgba(250, 250, 250, 0.82);

  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.16);

  --ink: #0c1020;
  --ink-soft: #4c5368;
  --ink-faint: #7c849c;

  --accent: #5b4cf0;
  --accent-soft: rgba(91, 76, 240, 0.09);
  --accent-border: rgba(91, 76, 240, 0.28);

  --shadow-phone: 0 36px 80px -16px rgba(12, 16, 32, 0.24);
  --shadow-soft: 0 12px 32px -12px rgba(12, 16, 32, 0.08);

  --max-w: 1080px;
  --nav-h: 72px;
  --radius: 22px;
}

[data-theme="dark"] {
  --bg: #070912;
  --bg-elevated: #0e1224;
  --bg-subtle: #141932;
  --bg-glass: rgba(7, 9, 18, 0.82);

  --line: rgba(226, 232, 240, 0.09);
  --line-strong: rgba(226, 232, 240, 0.18);

  --ink: #f8fafc;
  --ink-soft: #b2bbd6;
  --ink-faint: #7c87a8;

  --accent: #8b80ff;
  --accent-soft: rgba(139, 128, 255, 0.14);
  --accent-border: rgba(139, 128, 255, 0.34);

  --shadow-phone: 0 40px 90px -12px rgba(0, 0, 0, 0.72), 0 0 60px rgba(91, 76, 240, 0.16);
  --shadow-soft: 0 18px 40px -12px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 28px);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Unified Minimal Navbar (Same Across All Pages)
   ============================================================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  font-weight: 600;
}

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

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-dark {
  background: var(--ink);
  color: var(--bg);
}

.btn-dark:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
}

.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(91, 76, 240, 0.34);
}

.btn-outline {
  background: var(--bg-elevated);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn-nav {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.mobile-menu-btn {
  display: none;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px 28px;
  box-shadow: var(--shadow-soft);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.mobile-drawer a {
  display: block;
  padding: 6px 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}

/* ============================================================
   Hero - Centered Minimalist Editorial
   ============================================================ */

.hero {
  padding: 84px 0 64px;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2.65rem, 5.8vw, 4.5rem);
  font-weight: 800;
  max-width: 820px;
  margin: 0 auto 22px;
}

.hero-sub {
  font-size: clamp(1.04rem, 1.8vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.hero-meta {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
}

.hero-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* ============================================================
   Interactive App Stage (Phone + Clean Feature Chapters)
   ============================================================ */

.stage-section {
  padding: 20px 0 110px;
}

.stage-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 56px;
  padding: 52px;
  border-radius: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.phone-frame {
  position: relative;
  width: 296px;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(155deg, #3e455c 0%, #151927 42%, #343b52 75%, #0f121d 100%);
  box-shadow: var(--shadow-phone);
}

.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 472 / 1024;
  border-radius: 36px;
  overflow: hidden;
  background: #0a0d1c;
}

.phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.phone-screen img.active {
  opacity: 1;
}

.phone-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  border-radius: 12px;
  background: #05060c;
  z-index: 6;
}

.phone-caption {
  font-size: 0.84rem;
  color: var(--ink-faint);
  font-weight: 500;
}

.chapter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chapter-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 10px;
}

.chapter-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.chapter-btn:hover {
  background: var(--bg-subtle);
}

.chapter-btn.active {
  background: var(--bg-subtle);
  border-color: var(--accent-border);
}

.chapter-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ink-faint);
  padding-top: 3px;
  min-width: 24px;
}

.chapter-btn.active .chapter-num {
  color: var(--accent);
}

.chapter-title {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.chapter-desc {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============================================================
   Editorial Sections (Self Care Portal, Mission, Founder)
   ============================================================ */

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.eyebrow-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}

.editorial-split h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.editorial-split p {
  font-size: 1.03rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.art-frame {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: var(--bg-subtle);
}

.art-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Swap light/dark bespoke art gracefully */
.art-frame img.art-only-dark {
  display: none;
}

[data-theme="dark"] .art-frame img.art-only-light {
  display: none;
}

[data-theme="dark"] .art-frame img.art-only-dark {
  display: block;
}

.minimal-list {
  list-style: none;
  margin: 24px 0 30px;
  border-top: 1px solid var(--line);
}

.minimal-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.minimal-list strong {
  color: var(--ink);
  font-weight: 600;
}

/* Hairline 3-Column Pillars */
.pillars-header {
  max-width: 640px;
  margin-bottom: 52px;
}

.pillars-header h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  margin-bottom: 14px;
}

.pillars-header p {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.pillar-index {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.pillar h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Recognition Banner (Clean Minimal Aurora, No Distracting Graphics) */
.recognition-banner {
  margin-top: 64px;
  border-radius: 28px;
  padding: 40px 44px;
  background:
    radial-gradient(circle at 12% 18%, rgba(129, 140, 248, 0.36) 0%, transparent 52%),
    radial-gradient(circle at 88% 82%, rgba(168, 85, 247, 0.32) 0%, transparent 54%),
    linear-gradient(135deg, #10142e 0%, #191d42 52%, #131530 100%);
  border: 1px solid rgba(165, 180, 252, 0.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-soft);
}

.recognition-banner h3 {
  color: #ffffff;
  font-size: clamp(1.38rem, 2.5vw, 1.9rem);
  margin-bottom: 6px;
}

.recognition-banner p {
  color: rgba(226, 232, 240, 0.84);
  max-width: 540px;
  font-size: 0.96rem;
}

.medal-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.medal-badge img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.medal-badge strong {
  display: block;
  font-size: 0.9rem;
  color: #fde68a;
}

.medal-badge span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}

/* Founder Minimal Editorial Split */
.founder-split {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 56px;
  align-items: center;
}

.founder-portrait {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
  background: var(--bg-subtle);
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-block h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  margin-bottom: 16px;
}

.founder-block p {
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.founder-quote {
  margin: 24px 0;
  padding-left: 20px;
  border-left: 2.5px solid var(--accent);
  font-size: 1.05rem;
  color: var(--ink);
  font-style: italic;
}

/* About Page Editorial Components */
.about-hero {
  padding: 76px 0 64px;
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.credential-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-value {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.86rem;
  color: var(--ink-faint);
}

.timeline {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--accent);
  padding-top: 2px;
}

.timeline-body h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.timeline-body p {
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  transition: gap 0.2s ease;
}

.text-link:hover {
  gap: 10px;
}

/* ============================================================
   Minimal Contact Section (No Appointment Page)
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.contact-grid h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  margin-bottom: 14px;
}

.contact-grid p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.2s ease, border-color 0.2s ease;
}

.contact-row:hover {
  padding-left: 10px;
  border-bottom-color: var(--accent);
}

.contact-row-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 2px;
}

.contact-row-value {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-arrow {
  font-size: 1.25rem;
  color: var(--ink-faint);
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-row:hover .contact-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ============================================================
   Subpage Editorial Prose
   ============================================================ */

.page-header {
  padding: 76px 0 42px;
  max-width: 760px;
}

.page-header h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 14px;
}

.page-header p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.prose {
  max-width: 760px;
  padding-bottom: 96px;
}

.prose h2 {
  font-size: 1.35rem;
  margin: 36px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.prose p {
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-size: 1rem;
}

.prose ul {
  margin: 0 0 18px 20px;
  color: var(--ink-soft);
}

.prose li {
  margin-bottom: 8px;
}

/* ============================================================
   Footer & Notice (Unified Across All Pages)
   ============================================================ */

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
}

.footer-notice {
  font-size: 0.84rem;
  color: var(--ink-faint);
  max-width: 760px;
  margin-bottom: 28px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-faint);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

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

/* ============================================================
   Promo Video Modal
   ============================================================ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 7, 16, 0.84);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 390px;
  border-radius: 26px;
  overflow: hidden;
  background: #070912;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.75);
}

.modal-content video {
  width: 100%;
  max-height: 82vh;
  display: block;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(7, 9, 18, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */

@media (max-width: 920px) {
  .stage-shell,
  .editorial-split,
  .contact-grid,
  .founder-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .founder-portrait {
    max-width: 340px;
  }

  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-shell {
    padding: 32px 22px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 680px) {
  .nav-links,
  .btn-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero {
    padding: 56px 0 44px;
  }

  .section {
    padding: 68px 0;
  }

  .phone-frame {
    width: 264px;
  }

  .recognition-banner {
    padding: 28px 24px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
