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

:root {
  --green:       #2f8f86;
  --green-dark:  #1b5550;
  --green-light: #52b8b0;
  --green-pale:  #cff0ee;
  --green-faint: #eef8f7;
  --bg:          #f5f4f2;
  --surface:     #ffffff;
  --text:        #1a1a1a;
  --text-2:      #4a4a4a;
  --text-3:      #7a7a7a;
  --border:      #e2e2e2;
  --radius:      8px;
  --font:        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.12);
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav-brand svg {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
}

.nav-links a {
  padding: 0.3rem 0.65rem;
  font-size: 0.88rem;
  color: var(--text-2);
  border-radius: 5px;
  transition: background .14s, color .14s;
}

.nav-links a:hover { background: var(--green-faint); color: var(--green-dark); }

.btn-nav-cta {
  margin-left: auto;
  padding: 0.35rem 0.9rem;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background .14s;
}

.btn-nav-cta:hover { background: var(--green-dark); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  background: var(--green-dark);
  color: #fff;
  padding: 5rem 1.5rem 0;
  display: flex;
  align-items: flex-end;
  gap: 3rem;
  width: min(100%, 1100px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

/* full-bleed dark background behind hero */
body::before {
  content: "";
  display: block;
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  height: 640px;
  background: var(--green-dark);
  z-index: -1;
}

.hero-inner {
  flex: 0 0 480px;
  padding-bottom: 4rem;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  max-width: 42ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.btn-hero-primary {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background .14s, transform .1s;
}

.btn-hero-primary:hover { background: #74c69d; transform: translateY(-1px); }

.btn-hero-ghost {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  color: rgba(255,255,255,.82);
  font-size: 0.9rem;
  transition: border-color .14s, color .14s;
}

.btn-hero-ghost:hover { border-color: rgba(255,255,255,.65); color: #fff; }

.hero-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,.4);
}

/* App mockup */
.hero-visual {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.mockup-shell {
  background: #fff;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 -4px 40px rgba(0,0,0,.35);
  width: min(100%, 540px);
  font-size: 0.78rem;
}

.mockup-bar {
  background: #f0f0ef;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid #e0e0e0;
}

.mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ddd;
  flex-shrink: 0;
}
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-url {
  margin: 0 auto;
  font-size: 0.72rem;
  color: #888;
  background: #e4e4e3;
  padding: 0.1rem 0.6rem;
  border-radius: 4px;
}

.mockup-body { padding: 0.6rem; }

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem;
  background: var(--surface);
  border: 1px solid #eee;
  border-radius: 6px;
  margin-bottom: 0.6rem;
}

.mockup-brand-small {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--green-dark);
  margin-right: 0.25rem;
}

.mockup-nav-pills { display: flex; gap: 0.2rem; }

.pill {
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.7rem;
  color: #888;
}

.pill--active {
  background: var(--green-faint);
  color: var(--green-dark);
  font-weight: 600;
}

.mockup-add {
  margin-left: auto;
  background: var(--green);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.mockup-content { padding: 0.25rem 0.1rem; }

.mockup-section-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #aaa;
  margin-bottom: 0.4rem;
}

.mockup-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.kanban-col {
  background: #f9f9f8;
  border-radius: 6px;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.kanban-col-head {
  font-size: 0.67rem;
  font-weight: 600;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.15rem;
}

.kanban-col-head span {
  background: #e8e8e8;
  color: #888;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
}

.kanban-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 0.3rem 0.4rem;
  font-size: 0.67rem;
  line-height: 1.4;
  color: #333;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.kanban-card small { color: #aaa; }

.kanban-card--accent {
  border-left: 2px solid var(--green);
  border-color: var(--green);
  background: var(--green-faint);
  color: var(--green-dark);
}

.mockup-findings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.finding-chip {
  background: #f9f9f8;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 0.4rem 0.5rem;
  font-size: 0.67rem;
  line-height: 1.5;
}

.finding-chip small { color: #aaa; font-size: 0.6rem; }

/* ── Problem ──────────────────────────────────────────────────────────── */
.problem {
  padding: 6rem 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.problem-text { display: flex; flex-direction: column; gap: 1rem; }

.problem-text p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-2);
}

.pain-cards { display: flex; flex-direction: column; gap: 1rem; }

.problem-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pain-card {
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--border);
}

.pain-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.75rem;
}

.pain-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }

.pain-card li {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-2);
}

.pain-card--before {
  background: #fafafa;
}

.pain-card--before .pain-card-label { color: #c0392b; }
.pain-card--before li { opacity: 0.75; }

.pain-card--after {
  background: var(--green-faint);
  border-color: var(--green-pale);
}

.pain-card--after .pain-card-label { color: var(--green); }

/* ── How ──────────────────────────────────────────────────────────────── */
.how {
  padding: 6rem 0;
  background: var(--bg);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.step {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-num {
  position: absolute;
  top: -14px;
  left: 1.5rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon { font-size: 1.75rem; }

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.step p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-2);
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--border);
  padding-top: 2.5rem;
  flex-shrink: 0;
}

/* ── Features ─────────────────────────────────────────────────────────── */
.features {
  padding: 6rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  transition: box-shadow .15s, transform .15s;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon { font-size: 1.5rem; }

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.feature-card p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-2);
}

/* ── Modules ──────────────────────────────────────────────────────────── */
.modules {
  padding: 6rem 0;
  background: var(--green-dark);
  color: #fff;
}

.modules .section-eyebrow { color: var(--green-light); }
.modules .section-title { color: #fff; }
.modules .section-lead { color: rgba(255,255,255,.65); }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.module-tile {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  cursor: pointer;
  transition: background .14s, border-color .14s, transform .14s;
}

.module-tile:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-2px);
  text-decoration: none;
}

.module-tile-icon { font-size: 1.4rem; margin-bottom: 0.2rem; }

.module-tile strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}

.module-tile p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255,255,255,.55);
}

/* ── CTA ──────────────────────────────────────────────────────────────── */
.cta-section {
  padding: 6rem 0;
  background: var(--bg);
}

.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3.5rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.cta-box p {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 44ch;
  line-height: 1.65;
}

.btn-cta-large {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background .14s, transform .1s;
}

.btn-cta-large:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ── Shared section helpers ───────────────────────────────────────────── */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 56ch;
  margin-bottom: 0;
}

.center { text-align: center; }
.center.section-lead { margin: 0 auto; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  background: #111;
  color: rgba(255,255,255,.55);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.8fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.footer-brand svg {
  display: block;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,.45);
}

.footer-links-col,
.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-col strong,
.footer-contact-col strong {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,.35);
  margin-bottom: 0.25rem;
}

.footer-links-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.55);
  transition: color .14s;
}

.footer-links-col a:hover { color: #fff; }

.footer-contact-col p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,.45);
}

.footer-cta-link {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-light);
  transition: color .14s;
}

.footer-cta-link:hover { color: #fff; }

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,.25);
}

.footer-sep { opacity: 0.4; }

/* ── Android section ──────────────────────────────────────────────────── */
.android-section {
  padding: 5rem 0;
  background: var(--green-faint);
}

.android-split {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

/* Phone mockup */
.android-phone {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 200px;
  background: var(--text);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.phone-screen {
  background: #f8f9fb;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 9/16;
  display: flex;
  flex-direction: column;
}

.phone-header {
  background: var(--green);
  padding: 1rem 0.9rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.phone-header-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.phone-header-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

.phone-actions {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 1rem 0.75rem;
  gap: 0.5rem;
}

.phone-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  flex: 1;
}

.phone-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-action span {
  font-size: 0.6rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.02em;
}

/* Feature list */
.android-features {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.android-feature {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.android-feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  width: 2.2rem;
  text-align: center;
}

.android-feature strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.android-feature p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0;
}

/* Download block */
.android-download {
  margin-top: 0.5rem;
  padding: 1.25rem 1.4rem;
  background: var(--text);
  border-radius: 16px;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.android-download-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.android-download-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.android-download-info p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.android-download-info em {
  font-style: normal;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.btn--sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--green-light);
  color: var(--green-light);
}

.btn--outline:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 3.5rem;
    border-radius: 0;
  }

  .hero-inner { flex: none; width: 100%; padding-bottom: 2rem; }

  .hero-visual {
    width: 100%;
    justify-content: center;
  }

  body::before { height: 1100px; }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand-col { grid-column: 1 / -1; }

  .android-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .android-phone {
    order: -1;
  }

  .phone-frame {
    width: 160px;
  }

  .android-download {
    flex-direction: column;
    gap: 1rem;
  }
}

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

  .hero-title { font-size: 2.2rem; }

  .features-grid { grid-template-columns: 1fr; }

  .modules-grid { grid-template-columns: repeat(2, 1fr); }

  .steps { flex-direction: column; }
  .step-arrow { display: none; }

  .cta-box { padding: 2rem 1.25rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
