@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --green: #25D366;
  --green-dark: #075E54;
  --green-light: #dcfce7;
  --saffron: #FF6B35;
  --navy: #1B2559;
  --navy-light: #2d3a7c;
  --gold: #F4A523;
  --cream: #FFFDF7;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(27,37,89,0.10);
  --shadow-lg: 0 12px 48px rgba(27,37,89,0.18);
  --radius: 16px;
  --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,253,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27,37,89,0.08);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo svg { width: 38px; height: 38px; }
.nav-logo span { font-weight: 800; font-size: 1.3rem; color: var(--navy); }
.nav-logo span em { color: var(--green); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--gray); transition: color .2s; }
.nav-links a:hover { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all .2s; border: none; }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: white; }
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,0.35); }
.btn-saffron { background: var(--saffron); color: white; }
.btn-saffron:hover { background: #e55a26; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-1px); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }

/* SECTIONS */
section { padding: 80px 5%; }
.section-label { display: inline-flex; align-items: center; gap: 6px; background: var(--green-light); color: var(--green-dark); font-size: 0.78rem; font-weight: 600; padding: 5px 14px; border-radius: 50px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.15; color: var(--navy); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--navy); line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 600; }
p.subtitle { font-size: 1.1rem; color: var(--gray); max-width: 540px; }

/* WHATSAPP PHONE MOCKUP */
.phone-wrap {
  position: relative;
  width: 270px;
  border-radius: 36px;
  background: #111;
  padding: 14px 10px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), inset 0 0 0 2px #333;
}
.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: #ECE5DD;
  min-height: 480px;
  display: flex; flex-direction: column;
}
.phone-header {
  background: #075E54;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  color: white;
}
.phone-header .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.phone-header .info .name { font-weight: 600; font-size: 0.9rem; }
.phone-header .info .status { font-size: 0.7rem; opacity: 0.75; }
.chat-messages { flex: 1; padding: 10px 10px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.msg { max-width: 78%; font-size: 0.78rem; padding: 7px 10px; border-radius: 8px; line-height: 1.4; position: relative; animation: msgIn .3s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg.bot { background: white; align-self: flex-start; border-radius: 0 8px 8px 8px; }
.msg.user { background: #DCF8C6; align-self: flex-end; border-radius: 8px 0 8px 8px; }
.msg .time { font-size: 0.6rem; color: #999; text-align: right; margin-top: 3px; }
.msg .options { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.msg .option-btn { background: #e8f5e9; border: 1px solid #25D366; color: #075E54; font-size: 0.7rem; padding: 5px 10px; border-radius: 16px; text-align: center; font-weight: 600; cursor: pointer; }
.chat-input-bar {
  background: #f0f0f0;
  padding: 8px 10px;
  display: flex; align-items: center; gap: 6px;
}
.chat-input-bar input {
  flex: 1; border: none; border-radius: 20px; padding: 7px 12px; font-size: 0.75rem;
  background: white; outline: none;
}
.chat-input-bar .send-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: #25D366; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: white;
}

/* META BADGE */
.meta-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: white; border: 1.5px solid #e0e0e0;
  border-radius: 12px; padding: 10px 18px;
  box-shadow: var(--shadow);
}
.meta-badge img { height: 22px; }

/* CARDS */
.card {
  background: white; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* GRID */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* FOOTER */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 5% 30px;
}
footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer h4 { color: white; font-size: 0.95rem; margin-bottom: 16px; }
footer a { color: rgba(255,255,255,0.6); font-size: 0.88rem; display: block; margin-bottom: 8px; transition: color .2s; }
footer a:hover { color: white; }
footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 60px 5%; }
  footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  footer .footer-grid { grid-template-columns: 1fr; }
}

/* PILL TAGS */
.pill { display: inline-block; background: var(--green-light); color: var(--green-dark); font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; }
.pill.saffron { background: #fff0e8; color: var(--saffron); }
.pill.gold { background: #fef9e7; color: #b7791f; }
.pill.navy { background: #eef0fa; color: var(--navy); }

/* HIGHLIGHT */
.highlight { color: var(--green); }
.highlight-saffron { color: var(--saffron); }

/* DIVIDER */
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(27,37,89,0.1), transparent); margin: 0; }
