/* =========================================================
   Diabeet India — design system
   ========================================================= */

:root {
  --bg: #faf7f1;
  --surface: #ffffff;
  --surface-alt: #f2ede2;
  --ink: #16241f;
  --muted: #5b6b66;
  --border: #e6dfd0;

  --primary: #0d4d3c;
  --primary-dark: #073024;
  --primary-light: #1e9c73;
  --accent: #ff7a45;
  --accent-2: #ffb703;

  --gradient-hero: linear-gradient(135deg, #052a20 0%, #0d4d3c 48%, #147a5b 100%);
  --gradient-accent: linear-gradient(120deg, #ff7a45 0%, #ffb703 100%);

  --shadow-sm: 0 2px 10px rgba(7, 48, 36, 0.08);
  --shadow-md: 0 12px 30px rgba(7, 48, 36, 0.12);
  --shadow-lg: 0 24px 60px rgba(7, 48, 36, 0.22);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 .5em; line-height: 1.2; color: var(--primary-dark); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(1180px, 92%); margin-inline: auto; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; }

section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--surface-alt); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-accent {
  background: var(--gradient-accent);
  color: #23150a;
  box-shadow: var(--shadow-md);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 247, 241, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-dark);
  letter-spacing: .02em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logo span { font-size: .6rem; letter-spacing: .18em; color: var(--accent); font-weight: 700; }
.logo-img { height: 34px; width: auto; display: block; }
.site-footer .logo-img { height: 30px; filter: brightness(0) invert(1); }
.site-nav {
  display: flex;
  gap: 30px;
  margin-inline: auto;
}
.site-nav a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
}
.site-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  font-size: .8rem;
  font-weight: 700;
}
.lang-switch a { padding: 7px 13px; color: var(--muted); }
.lang-switch a.lang-active { background: var(--primary); color: #fff; }
.header-cta { display: none; }
@media (min-width: 720px) { .header-cta { display: inline-flex; } }

.nav-toggle-input { display: none; }
.nav-toggle-btn {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-dark);
}
@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    gap: 0;
    padding: 6px 0;
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .site-nav a { padding: 13px 6%; width: 100%; border-top: 1px solid var(--border); }
  .nav-toggle-btn { display: inline-flex; }
  .nav-toggle-input:checked ~ .site-nav { max-height: 320px; }
}

/* ---------- hero ---------- */
.hero {
  background: var(--gradient-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 8vw, 90px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,183,3,.22), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); color: #fff; }
.hero h1 span { color: var(--accent-2); }
.hero .lead { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 540px; }
@media (max-width: 900px) { .hero .lead { margin-inline: auto; } }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 30px;
}
@media (max-width: 900px) { .hero-badges { justify-content: center; } }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .82rem;
  font-weight: 600;
}
.pill .icon { color: var(--accent-2); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 900px) { .hero-cta { justify-content: center; } }
@media (max-width: 560px) { .hero-cta { margin-bottom: 76px; } }
.hero-art {
  position: relative;
  animation: float 5s ease-in-out infinite;
  width: 100%;
  max-width: 420px;
  justify-self: center;
}
@media (max-width: 900px) { .hero-art { margin-inline: auto; } }
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-art-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--ink);
  padding: 12px 18px 12px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) { .hero-art-badge { left: 50%; transform: translateX(-50%); } }
.hero-art-badge .icon-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  color: #2a1608;
  flex: none;
}
.hero-art-badge strong { display: block; font-family: var(--font-head); font-size: .86rem; line-height: 1.2; }
.hero-art-badge span { font-size: .74rem; color: var(--muted); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- trust bar ---------- */
.trust-bar { background: var(--primary-dark); color: #fff; padding: 22px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; }
.trust-item .icon { flex: none; width: 22px; height: 22px; color: var(--accent-2); }

/* ---------- disclaimer callout ---------- */
.callout {
  border-left: 4px solid var(--accent);
  background: #fff3ea;
  padding: 22px 26px;
  border-radius: var(--radius-sm);
  color: #4a3221;
  font-size: .96rem;
}
.callout.warn { border-left-color: #c0392b; background: #fdecea; color: #5a1f18; }
.callout strong { color: inherit; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-5 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon-badge {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: #2a1608;
}
.card .icon-badge .icon { width: 24px; height: 24px; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }

.ingredient-card { position: relative; overflow: hidden; }
.ingredient-card .tag {
  position: absolute; top: 18px; right: 18px;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  color: var(--primary-light); text-transform: uppercase;
}

.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--muted);
}
.check-list li:last-child { border-bottom: none; }
.check-list .icon { flex: none; width: 20px; height: 20px; color: var(--primary-light); margin-top: 2px; }
.check-list strong { color: var(--ink); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: var(--surface); min-width: 480px; }
th, td { padding: 15px 20px; text-align: left; font-size: .94rem; }
thead th { background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 600; }
tbody tr:nth-child(even) { background: var(--surface-alt); }
tbody td:first-child { font-weight: 600; color: var(--primary-dark); }
tbody tr { border-bottom: 1px solid var(--border); }

/* ---------- timeline (ordering steps) ---------- */
.timeline { position: relative; display: grid; gap: 26px; }
.timeline-item { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: flex-start; }
.timeline-num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: #2a1608;
  box-shadow: var(--shadow-sm);
}
.timeline-item h4 { margin: 6px 0 4px; font-size: 1.02rem; }
.timeline-item p { color: var(--muted); margin: 0; font-size: .93rem; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  flex: none;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); }

/* ---------- order form ---------- */
.order-panel {
  background: var(--gradient-hero);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 860px) { .order-panel { grid-template-columns: 1fr; } }
.order-panel h2 { color: #fff; }
.order-panel .lead { color: rgba(255,255,255,.82); }
.order-panel .check-list li { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.15); }
.order-panel .check-list strong { color: #fff; }
.order-panel .check-list .icon { color: var(--accent-2); }

.order-form { display: grid; gap: 14px; }
.order-form .field { display: grid; gap: 6px; }
.order-form label span { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.85); }
.order-form input {
  width: 100%;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-body);
}
.order-form input::placeholder { color: rgba(255,255,255,.5); }
.order-form input:focus { outline: none; border-color: var(--accent-2); background: rgba(255,255,255,.14); }
.order-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
}
.order-card .order-form input {
  border-color: var(--border);
  background: var(--surface-alt);
  color: var(--ink);
}
.order-card .order-form input::placeholder { color: #93a19b; }
.order-card .order-form label span { color: var(--muted); }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 10px; }
.order-card .form-note { text-align: center; }

/* ---------- lifestyle / safety ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.two-col.feature-block { align-items: center; margin-bottom: 44px; }

.lifestyle-photo {
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------- stats ---------- */
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 30px; }
@media (max-width: 900px) { .stat-row { justify-content: center; text-align: center; } }
.stat b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--accent-2); }
.stat span { color: rgba(255,255,255,.75); font-size: .85rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.78); padding: 50px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; margin-bottom: 30px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer .logo { color: #fff; }
.site-footer p { font-size: .88rem; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: .9rem; }
.footer-links a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}

/* ---------- floating CTA ---------- */
.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 999px;
  background: var(--gradient-accent);
  color: #2a1608;
  font-family: var(--font-head);
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(255, 122, 69, .45);
  cursor: pointer;
  animation: pulse 2.6s ease-in-out infinite;
}
@media (max-width: 560px) {
  .floating-cta { padding: 12px 18px; font-size: .85rem; right: 14px; bottom: 14px; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 14px 30px rgba(255,122,69,.45); }
  50% { box-shadow: 0 14px 40px rgba(255,183,3,.65); }
}

/* ---------- popup modal (pure CSS, auto reveal after 4s, no JS anywhere) ---------- */
.popup-toggle-input { display: none; }
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
  animation: revealPopup .01s 4s forwards;
}
@keyframes revealPopup {
  to { visibility: visible; pointer-events: auto; }
}
.popup-toggle-input:checked ~ .popup-overlay {
  visibility: hidden !important;
  pointer-events: none !important;
}
.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 15, .68);
  backdrop-filter: blur(3px);
  cursor: pointer;
  opacity: 0;
  animation: fadeIn .4s ease 4s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.popup-toggle-input:checked ~ .popup-overlay .popup-backdrop { opacity: 0 !important; }
.popup-card {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 30px 28px;
  box-shadow: var(--shadow-lg);
  transform: scale(.92) translateY(14px);
  opacity: 0;
  animation: popCard .45s cubic-bezier(.22,1,.36,1) 4.1s forwards;
}
@keyframes popCard { to { transform: scale(1) translateY(0); opacity: 1; } }
.popup-toggle-input:checked ~ .popup-overlay .popup-card { transform: scale(.92) translateY(14px) !important; opacity: 0 !important; }
.popup-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--muted);
}
.popup-close:hover { background: var(--border); }
.popup-close .icon { width: 15px; height: 15px; }
.popup-eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-accent);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  color: #2a1608;
}
.popup-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.popup-card > p { color: var(--muted); font-size: .92rem; }
.popup-card .order-form input {
  border-color: var(--border);
  background: var(--surface-alt);
  color: var(--ink);
}
.popup-card .order-form input::placeholder { color: #93a19b; }
.popup-card .order-form label span { color: var(--muted); }

/* utility */
.mt-0 { margin-top: 0; }
.center-text { text-align: center; }
.small { font-size: .82rem; color: var(--muted); }
