/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #3D405B;
  background: #FEFAE0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* === TOKENS === */
:root {
  --pucuk: #52B788;
  --pucuk-light: #74C69D;
  --apricot: #F4A261;
  --forest: #1B4332;
  --espresso: #3D405B;
  --vanilla: #FEFAE0;
  --vanilla-deep: #F8F1D4;
  --rust: #BC4749;
  --mint: #A8DADC;
  --white: #FFFFFF;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-accent: 'Fraunces', Georgia, serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --shadow-sm: 0 1px 2px rgba(27, 67, 50, 0.04);
  --shadow-md: 0 4px 12px rgba(27, 67, 50, 0.08);
  --shadow-lg: 0 20px 60px rgba(27, 67, 50, 0.12);
}

/* === LAYOUT === */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-display); color: var(--forest); line-height: 1.2; }
h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.5vw, 48px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
.accent { font-family: var(--font-accent); font-style: italic; font-weight: 400; }
.text-pucuk { color: var(--pucuk); }
.text-apricot { color: var(--apricot); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; transition: all 0.2s ease;
}
.btn-primary { background: var(--pucuk); color: var(--white); }
.btn-primary:hover { background: #47a37a; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--white); color: var(--forest); border: 2px solid var(--vanilla-deep); }
.btn-secondary:hover { border-color: var(--pucuk); }
.btn-apricot { background: var(--apricot); color: var(--white); }
.btn-apricot:hover { background: #e8924d; transform: translateY(-1px); }

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(254, 250, 224, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vanilla-deep);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 32px; width: 32px; }
.nav-brand span { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--forest); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--espresso); transition: color 0.2s; }
.nav-links a:hover { color: var(--pucuk); }

/* === HERO === */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, var(--vanilla) 0%, var(--vanilla-deep) 100%);
}
.hero .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero-content h1 { margin-bottom: 20px; }
.hero-content p { font-size: 18px; color: var(--espresso); margin-bottom: 32px; max-width: 480px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { font-size: 14px; color: var(--pucuk); margin-bottom: 20px; font-weight: 500; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.chat-mockup {
  width: 340px; background: var(--white); border-radius: 20px;
  box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--vanilla-deep);
}
.chat-header {
  background: var(--pucuk); color: var(--white); padding: 12px 16px;
  display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px;
}
.chat-header .chat-status { margin-left: auto; font-size: 11px; opacity: 0.8; font-weight: 400; }
.chat-body { padding: 16px; background: #F0FFF4; display: flex; flex-direction: column; gap: 10px; }
.chat-bubble {
  padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.5;
  max-width: 85%; box-shadow: var(--shadow-sm);
}
.chat-bubble.user {
  background: var(--vanilla-deep); color: var(--forest);
  align-self: flex-end; border-bottom-right-radius: 4px;
}
.chat-bubble.bot {
  background: var(--white); color: var(--espresso);
  align-self: flex-start; border-bottom-left-radius: 4px;
}
.chat-bubble.bot strong { color: var(--pucuk); }

/* === SOCIAL PROOF === */
.social-proof {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--vanilla-deep);
  border-bottom: 1px solid var(--vanilla-deep);
}
.social-proof .container {
  display: flex; justify-content: center; gap: 48px; align-items: center; flex-wrap: wrap;
}
.proof-item { text-align: center; }
.proof-number { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--pucuk); }
.proof-label { font-size: 14px; color: var(--espresso); }

/* === FEATURES === */
.features { background: var(--vanilla); }
.features h2 { text-align: center; margin-bottom: 12px; }
.features .subtitle { text-align: center; font-size: 16px; color: var(--espresso); margin-bottom: 48px; }
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;
}
.feature-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--vanilla-deep); transition: all 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--vanilla-deep); display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--espresso); }

/* === CARA KERJA === */
.how-it-works { background: var(--white); }
.how-it-works h2 { text-align: center; margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--pucuk); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--espresso); max-width: 280px; margin: 0 auto; }
.step-quote {
  background: var(--vanilla); border-radius: var(--radius-md);
  padding: 12px 16px; margin-top: 16px; font-size: 13px;
  font-family: var(--font-accent); font-style: italic; color: var(--espresso);
}

/* === FAQ === */
.faq { background: var(--white); }
.faq h2 { text-align: center; margin-bottom: 48px; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--vanilla-deep); padding: 20px 0; }
.faq-item summary {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--pucuk); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 12px; font-size: 14px; color: var(--espresso); line-height: 1.7; }

/* === CTA === */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--pucuk) 0%, #47a37a 100%);
  text-align: center; color: var(--white);
}
.cta h2 { color: var(--white); margin-bottom: 12px; }
.cta p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }
.cta .btn-white { background: var(--white); color: var(--forest); }
.cta .btn-white:hover { background: var(--vanilla); }

/* === FOOTER === */
.footer {
  background: var(--forest); color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px;
  margin-bottom: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--white); }
.footer p { font-size: 13px; line-height: 1.7; }
.footer h4 { color: var(--white); font-family: var(--font-display); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { font-size: 13px; transition: color 0.2s; }
.footer ul a:hover { color: var(--pucuk-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}

/* === ABOUT PAGE === */
.about-hero {
  padding: 120px 0 60px;
  background: linear-gradient(180deg, var(--vanilla) 0%, var(--vanilla-deep) 100%);
  text-align: center;
}
.about-hero h1 { margin-bottom: 16px; }
.about-hero .subtitle { font-size: 18px; color: var(--espresso); max-width: 600px; margin: 0 auto; }
.about-content { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.about-card {
  background: var(--vanilla); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--vanilla-deep);
}
.about-card h3 { margin-bottom: 16px; color: var(--forest); }
.about-card ul { list-style: none; }
.about-card ul li { padding: 6px 0; font-size: 14px; color: var(--espresso); }
.about-card ul li::before { content: "→ "; color: var(--pucuk); font-weight: 600; }
.about-links { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  section { padding: 60px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .feature-grid-4 { grid-template-columns: 1fr; }
}

/* === HERO WA BUTTON === */
.btn-hero-wa {
  gap: 10px;
}
.btn-hero-wa svg {
  flex-shrink: 0;
}

/* === HERO BADGE === */
.hero-badge {
  display: inline-block;
  background: var(--pucuk);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(82, 183, 136, 0.3);
}

/* === HERO WA BUTTON === */
.btn-hero-wa {
  gap: 10px;
}
.btn-hero-wa svg {
  flex-shrink: 0;
}

/* === CHAT CAROUSEL === */
.chat-slide {
  display: none;
  flex-direction: column;
  gap: 10px;
}
.chat-slide.active {
  display: flex;
  animation: chat-fade-in 0.5s ease;
}
@keyframes chat-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}


/* === 4 FEATURE CARDS GRID (2x2) === */
.feature-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}
