/* ============================================
   LANDING PAGE — "TUMBUH SEHAT" SYSTEM
   Mood: lembut, hangat, bersih — aplikasi kesehatan anak.
   Palette: soft teal + white + warm peach accent.
   Signature: kurva pertumbuhan di atas kanvas terang,
   bentuk membulat lembut, tanpa kontras tajam.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #FFFFFF;
  --bg-soft: #F1FAF9;
  --bg-soft-2: #E7F6F4;
  --ink: #2C3E3D;
  --ink-soft: #6B7F7D;
  --teal: #2A9D9D;
  --teal-deep: #1F7A7A;
  --teal-light: #8FD4D1;
  --teal-pale: #DFF4F2;
  --peach: #FF9B7B;
  --peach-soft: #FFE2D3;
  --line: #DCEEEC;
  --card: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ============================================
   BASE
   ============================================ */
body.landing {
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  font-family: var(--font-body);
}

body.landing * {
  box-sizing: border-box;
}

body.landing::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(42,157,157,0.05) 0, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(255,155,123,0.05) 0, transparent 45%);
}

/* ============================================
   NAVBAR
   ============================================ */
.land-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.35s ease;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.land-nav.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 24px rgba(42,157,157,0.08);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.nav-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(42,157,157,0.3);
}

.nav-brand-icon i {
  color: white;
  font-size: 16px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-name span {
  color: var(--teal);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.2s ease;
  border-radius: 999px;
}

.nav-link:hover {
  color: var(--teal-deep);
  background: var(--teal-pale);
}

.nav-cta {
  background: var(--teal);
  color: white !important;
  border-radius: 999px;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  margin-left: 8px;
  box-shadow: 0 6px 16px rgba(42,157,157,0.25);
}

.nav-cta:hover {
  background: var(--peach) !important;
  color: white !important;
  box-shadow: 0 6px 16px rgba(255,155,123,0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 55%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: floatParticle 8s ease-in-out infinite;
}

.particle:nth-child(1) {
  width: 420px; height: 420px; top: -140px; right: -120px;
  background: radial-gradient(circle, rgba(143,212,209,0.35), transparent 70%);
}
.particle:nth-child(2) {
  width: 320px; height: 320px; bottom: -100px; left: -80px;
  background: radial-gradient(circle, rgba(255,226,211,0.5), transparent 70%);
  animation-delay: 2.5s;
}
.particle:nth-child(3) {
  width: 200px; height: 200px; top: 45%; left: 38%;
  background: radial-gradient(circle, rgba(223,244,242,0.6), transparent 70%);
  animation-delay: 5s;
}

@keyframes floatParticle {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(15px, -20px) scale(1.04); }
}

.hero::before { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 140px 5% 90px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--teal-pale);
  border: 1px solid var(--teal-light);
  color: var(--teal-deep);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-badge i {
  width: 24px;
  height: 24px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-title .highlight {
  color: var(--teal);
  font-style: italic;
  font-weight: 600;
  position: relative;
  white-space: nowrap;
}

.hero-desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--teal);
  color: white;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(42,157,157,0.28);
}

.hero-btn-primary:hover {
  background: var(--peach);
  box-shadow: 0 10px 24px rgba(255,155,123,0.35);
  transform: translateY(-2px);
}

.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: white;
  border: 1.5px solid var(--line);
  color: var(--ink);
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
}

.hero-btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: var(--teal-pale);
}

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 48px;
  flex-wrap: wrap;
  padding-top: 24px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}

.hero-stat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--teal-deep);
  font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.hero-divider { display: none; }

/* ---- Hero visual: soft health-card panel ---- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 0;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 30px 70px -20px rgba(42,157,157,0.25), 0 8px 24px rgba(42,157,157,0.08);
  position: relative;
  animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-card-title {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 24px 26px 0;
}

.hero-card-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 20px;
}

.hero-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: 14px;
}

.hero-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-item-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.hero-item-bar {
  flex: 1;
  margin: 0 14px;
  height: 6px;
  background: white;
  border-radius: 999px;
  overflow: hidden;
}

.hero-item-fill {
  height: 100%;
  border-radius: 999px;
}

.hero-item-pct {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  min-width: 35px;
  text-align: right;
}

.hero-chart-strip {
  padding: 16px 22px 6px;
}

/* Floating badges -> soft pill tags */
.floating-badge {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(42,157,157,0.18);
  animation: badgeFloat 5s ease-in-out infinite;
}

.floating-badge i {
  display: inline-block;
  font-size: 11px;
  color: var(--teal);
}

.floating-badge-1 {
  top: -16px;
  right: 18px;
  animation-delay: 0s;
}

.floating-badge-2 {
  bottom: -16px;
  left: 18px;
  animation-delay: 2.5s;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ============================================
   SECTIONS — shared
   ============================================ */
.section {
  padding: 110px 5%;
  position: relative;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--peach);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--peach);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 560px;
}

.section-header {
  margin-bottom: 64px;
  max-width: 640px;
  text-align: left;
}

.section-header .section-desc {
  margin: 0;
}

/* ============================================
   FEATURES — soft rounded cards
   ============================================ */
.features-section {
  background: var(--bg-soft);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
}

.feature-card::before { display: none; }

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -12px rgba(42,157,157,0.18);
  border-color: var(--teal-light);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--feat-bg, var(--teal-pale));
}

.feature-icon i {
  font-size: 19px;
  color: var(--feat-color, var(--teal));
}

.feature-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ============================================
   HOW IT WORKS — soft numbered pills, connected
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  counter-reset: stepnum;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal-light) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 0;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--teal-deep);
  margin: 0 0 20px;
  box-shadow: 0 8px 20px rgba(42,157,157,0.15);
  transition: all 0.3s ease;
}

.step-num::before {
  content: counter(stepnum, decimal-leading-zero);
  counter-increment: stepnum;
}

.step-card:hover .step-num {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  transform: scale(1.08);
}

.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 9px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ============================================
   ABOUT — soft teal panel
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-visual {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  border-radius: 28px;
  padding: 38px;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.about-visual::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,155,123,0.12);
}

.about-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.about-stat {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: left;
}

.about-stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
}

.about-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
  font-weight: 500;
}

.about-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.about-list i {
  font-size: 11px;
  color: white;
  background: var(--teal);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   CTA SECTION — soft gradient, not dark
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--teal-pale) 100%);
  padding: 100px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,155,123,0.1), transparent 70%);
  pointer-events: none;
}

.cta-section .section-label {
  justify-content: center;
}

.cta-section .section-title {
  color: var(--ink);
}

.cta-section .section-desc {
  color: var(--ink-soft);
  margin: 0 auto;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.land-footer {
  background: white;
  padding: 64px 5% 32px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}

.footer-bottom i { color: var(--peach) !important; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 78px;
  left: 0;
  right: 0;
  background: white;
  padding: 16px 5% 24px;
  border-bottom: 1px solid var(--line);
  z-index: 999;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 16px 32px rgba(42,157,157,0.1);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .nav-link {
  color: var(--ink-soft);
  padding: 13px 14px;
  border-radius: 12px;
  font-weight: 500;
}

.mobile-menu .nav-link:hover {
  color: var(--teal-deep);
  background: var(--teal-pale);
}

/* ============================================
   RESPONSIVE LANDING
   ============================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .steps-grid::before { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .section { padding: 70px 5%; }
  .hero-content { padding: 110px 5% 60px; }
  .hero-stats { gap: 0; }
  .hero-stat { padding-right: 18px; margin-right: 18px; }
  .hero-actions { flex-direction: column; }
  .hero-btn-primary, .hero-btn-outline { justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .floating-badge { display: none; }
}