/* SigaMeds landing page — colours match the app (teal header, green accent, coral highlight). */
:root {
  --teal: #3f8796;
  --teal-dark: #2d6a77;
  --ink: #173a40;
  --muted: #5b7b80;
  --green: #1f8a70;
  --coral: #e8743b;
  --bg: #ffffff;
  --tint: #eef6f6;
  --line: #d6e7e8;
  --card: #ffffff;
  --shadow: 0 18px 40px -18px rgba(23, 58, 64, 0.35);
  --radius: 16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 14px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--tint); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { color: var(--teal); }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

/* ---------- header ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.25rem; }
.nav-links { display: flex; gap: 26px; margin-left: 24px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--teal); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 8px 20px 18px; border-top: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 10px; }

/* ---------- hero ---------- */
.hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(63, 135, 150, 0.18), transparent 70%),
    radial-gradient(700px 360px at -10% 110%, rgba(31, 138, 112, 0.12), transparent 70%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }

.hero-shot { position: relative; }
.frame { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f2f7f7; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3e2e3; }
.frame-bar span { margin-left: 10px; font-size: 0.75rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.hero-badge {
  position: absolute;
  left: -22px;
  bottom: -22px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}
.hero-badge strong { font-size: 0.95rem; }
.hero-badge span { color: var(--muted); }

/* ---------- strip ---------- */
.strip { background: var(--ink); color: #fff; padding: 26px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.strip-grid div { display: flex; flex-direction: column; }
.strip-grid strong { font-size: 1.3rem; font-weight: 800; color: #9fdccd; }
.strip-grid span { font-size: 0.9rem; color: #c8dfe1; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-sub { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow 0.2s, transform 0.2s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.ficon { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; margin-bottom: 16px; }
.ficon svg { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* devices */
.devices { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.devices-copy p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.devices-shots { position: relative; padding: 0 0 70px 60px; }
.tablet { margin: 0; border-radius: 22px; padding: 10px; background: #1d2e31; box-shadow: var(--shadow); position: relative; z-index: 2; }
.tablet img { border-radius: 12px; }
.tablet-back { position: absolute; z-index: 1; width: 62%; left: 0; bottom: 0; padding: 7px; border-radius: 16px; }
.tablet-back img { border-radius: 9px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps p { color: var(--muted); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; margin-bottom: 14px; }

/* pricing */
.billing-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 12px; }
.billing-toggle button { font: inherit; font-weight: 700; font-size: 0.9rem; border: 0; background: none; padding: 8px 18px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.billing-toggle button.on { background: var(--teal); color: #fff; }
.billing-toggle em { font-style: normal; font-size: 0.75rem; color: var(--green); margin-left: 4px; }
.billing-toggle button.on em { color: #c9f1e5; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.plan-featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.plan-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-size: 0.75rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.plan-for { color: var(--muted); font-size: 0.92rem; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 18px; }
.price .amt { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.02em; }
.price .amt::before { content: "₹"; font-size: 1.4rem; margin-right: 2px; vertical-align: 6px; }
.price .per { color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 9px; flex: 1; align-content: start; }
.plan li { padding-left: 24px; position: relative; font-size: 0.95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.trial { font-size: 0.85rem; font-weight: 700; color: var(--coral); margin-bottom: 12px; }

/* faq */
.faq-wrap { max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* contact */
.contact { background: linear-gradient(135deg, var(--teal) 0%, var(--ink) 100%); color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.contact-copy p { color: #d4e8ea; font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: baseline; }
.contact-list span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #9fdccd; width: 60px; }
.contact-list a { color: #fff; font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.45); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.field label { font-size: 0.85rem; font-weight: 700; }
.field input,
.field select { font: inherit; padding: 11px 12px; border: 1px solid #c3d9db; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus,
.field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63, 135, 150, 0.2); }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.form-error { color: #c0392b; font-weight: 600; font-size: 0.9rem; }
.form-note { text-align: center; color: var(--muted); font-size: 0.8rem; margin: 10px 0 0; }

/* footer */
.footer { padding: 30px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.brand-footer { font-size: 1.05rem; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.footer nav a:hover { color: var(--teal); }
.copy { margin: 0 0 0 auto; color: var(--muted); font-size: 0.85rem; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid,
  .devices,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-badge { left: 12px; bottom: -18px; }
  .features,
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .devices-shots { padding-left: 30px; }
}
@media (max-width: 820px) {
  .nav-links,
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 60px; }
  .section { padding: 64px 0; }
  .features,
  .plans,
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn { width: 100%; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .devices-shots { padding: 0 0 50px 16px; }
  .copy { margin-left: 0; width: 100%; }
}
