/* ═══════════════════════════════════════════════════════════════════
   Surbhi — shared site styles
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --blue: #1E3A8A;
  --blue-dark: #1E2D6E;
  --blue-light: #3B82F6;
  --orange: #F97316;
  --orange-dark: #EA580C;
  --orange-light: #FDBA74;
  --green: #10B981;
  --red: #EF4444;
  --ink: #0F172A;
  --ink-2: #1E293B;
  --muted: #64748B;
  --muted-2: #94A3B8;
  --line: #E2E8F0;
  --bg: #F8FAFC;
  --bg-2: #F1F5F9;
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 10px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm { max-width: 760px; }

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 800; letter-spacing: -1px; }
h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; letter-spacing: -0.5px; }
h3 { font-size: 20px; font-weight: 700; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ═══════════ Header ═══════════ */

header {
  background: var(--blue);
  color: #fff;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  flex-shrink: 0;
}
.brand img.logo {
  height: 36px;
  width: auto;
  display: block;
}
.brand:hover { color: var(--orange-light); }
.brand small {
  font-weight: 500;
  font-size: 11px;
  opacity: 0.7;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
nav.main {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav.main a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.15s;
}
nav.main a:hover { background: rgba(255, 255, 255, 0.1); color: var(--orange-light); }
nav.main a.cta {
  background: var(--orange);
  color: #fff;
  margin-left: 8px;
}
nav.main a.cta:hover { background: var(--orange-dark); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
}

@media (max-width: 820px) {
  nav.main {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--blue-dark);
    flex-direction: column;
    padding: 8px;
    gap: 2px;
    box-shadow: var(--shadow-md);
  }
  nav.main.open { display: flex; }
  nav.main a { width: 100%; padding: 12px 16px; }
  nav.main a.cta { margin: 6px 0 0; text-align: center; }
  .nav-toggle { display: block; }
  header .container { position: relative; }
}

/* ═══════════ Buttons ═══════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
  text-decoration: none;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3); }
.btn-primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4); }
.btn-secondary { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-secondary:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue); padding: 14px 18px; }
.btn-ghost:hover { color: var(--orange); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ═══════════ Hero & sections ═══════════ */

section { padding: 80px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }
section.tight { padding: 56px 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }

.hero {
  padding: 80px 0 96px;
  background: linear-gradient(135deg, #F1F5F9 0%, #FEF3E2 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero h1 { max-width: 820px; margin: 0 auto 20px; position: relative; }
.hero .lede { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 640px; margin: 0 auto 36px; position: relative; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
}
.hero small.disclaimer {
  display: block;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
  position: relative;
}

/* ═══════════ Features grid ═══════════ */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature {
  padding: 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature h3 { margin-bottom: 8px; color: var(--blue); }
.feature p { color: var(--muted); font-size: 15px; }

/* ═══════════ Pricing ═══════════ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  /* CRITICAL — leaves room for the .popular badge that sits above its card */
  padding-top: 16px;
}
.plan {
  padding: 36px 28px 28px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan.popular { border-color: var(--orange); padding-top: 44px; }
.plan.popular::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}
.plan h3 { font-size: 22px; margin-bottom: 4px; }
.plan .seats { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.plan .price {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 4px;
}
.plan .price-note { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}
.plan ul li {
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.plan ul li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

/* ═══════════ How it works steps ═══════════ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.step { text-align: center; padding: 0 12px; }
.step .num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-weight: 800;
  font-size: 20px;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.25);
}
.step h3 { color: var(--blue); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ═══════════ Comparison table ═══════════ */

.compare-table {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-top: 32px;
}
.compare-table table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th {
  background: var(--bg-2);
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.compare-table .vs { color: var(--red); }
.compare-table .ok { color: var(--green); font-weight: 700; }

/* ═══════════ FAQ ═══════════ */

.faq details {
  margin: 12px 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow 0.15s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--orange-light); }
.faq summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--orange);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); }
.faq details code {
  background: var(--bg-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* ═══════════ Social proof / quote ═══════════ */

.proof-strip {
  padding: 40px 0;
  background: var(--bg);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-strip p { color: var(--muted); font-size: 15px; }
.proof-strip strong { color: var(--blue); }

/* ═══════════ CTA section ═══════════ */

.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -100px; left: 50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, transparent 70%);
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-section h2 { color: #fff; position: relative; }
.cta-section p { color: rgba(255, 255, 255, 0.85); font-size: 17px; max-width: 540px; margin: 0 auto 28px; position: relative; }
.cta-section .btn-primary { position: relative; }

/* ═══════════ Forms ═══════════ */

.form-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  max-width: 500px;
  margin: 0 auto;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}
.form-msg {
  padding: 12px 14px;
  border-radius: var(--radius);
  margin-top: 12px;
  font-size: 14px;
}
.form-msg.success { background: #DCFCE7; color: #166534; border: 1px solid #86EFAC; }
.form-msg.error { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }

/* ═══════════ Modal ═══════════ */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 100;
  padding: 16px;
  overflow-y: auto;
  align-items: flex-start;
  justify-content: center;
}
.modal.open { display: flex; }
.modal-body {
  background: #fff;
  max-width: 460px;
  width: 100%;
  padding: 32px 32px 28px;
  border-radius: var(--radius-lg);
  margin-top: 60px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-body h3 { padding-right: 36px; margin-bottom: 8px; }
.modal-body .lede { color: var(--muted); margin-bottom: 20px; font-size: 14px; }
.modal-body .close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-body .close:hover { background: var(--line); color: var(--ink); }

/* ═══════════ Legal pages typography ═══════════ */

.legal-page article {
  background: #fff;
  padding: clamp(24px, 5vw, 56px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.legal-page h1 { margin-bottom: 8px; }
.legal-page .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal-page h2 { margin: 32px 0 12px; font-size: 22px; }
.legal-page h3 { margin: 24px 0 8px; font-size: 17px; color: var(--blue); }
.legal-page p, .legal-page li { color: var(--ink-2); }
.legal-page ul, .legal-page ol { margin: 0 0 16px 24px; }
.legal-page li { margin-bottom: 6px; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.legal-page th, .legal-page td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.legal-page th { background: var(--bg-2); font-weight: 700; }
.legal-page .placeholder-banner {
  padding: 16px 20px;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius);
  font-size: 14px;
  color: #92400E;
  margin-bottom: 32px;
}
.legal-page .placeholder-banner strong { color: #78350F; }

/* ═══════════ Footer ═══════════ */

footer {
  background: var(--ink);
  color: #94A3B8;
  padding: 56px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { color: #CBD5E1; }
.footer-grid ul li a:hover { color: var(--orange-light); }
.footer-grid .brand-block .brand { color: #fff; }
.footer-grid .brand-block .brand small { color: var(--orange-light); opacity: 1; }
.footer-grid .brand-block p { margin-top: 12px; max-width: 320px; line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #64748B;
  font-size: 13px;
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .legal-links a { color: #64748B; }
.footer-bottom .legal-links a:hover { color: var(--orange-light); }
