/* ============ Sehrawat Labs — light startup theme ============ */
:root {
  --bg: #ffffff;
  --bg-soft: #f8faff;
  --bg-tint: #eef2ff;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-soft: #eef2ff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(79, 70, 229, 0.08);
  --shadow-lg: 0 24px 60px rgba(79, 70, 229, 0.14);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary);
  background: var(--primary-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  border-radius: 12px; padding: 12px 26px; border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(79,70,229,0.28); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-soft); transform: translateY(-2px); }
.btn-lg { padding: 15px 34px; font-size: 1.02rem; }
.btn-sm { padding: 9px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15,23,42,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.logo-mark { display: inline-flex; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 80px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.blob-1 { width: 480px; height: 480px; background: #c7d2fe; top: -160px; right: -120px; }
.blob-2 { width: 380px; height: 380px; background: #bae6fd; bottom: -140px; left: -100px; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(#eef2ff 1px, transparent 1px), linear-gradient(90deg, #eef2ff 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600;
  color: var(--primary-dark); background: var(--primary-soft);
  border: 1px solid #c7d2fe; padding: 8px 16px; border-radius: 999px; margin-bottom: 24px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5);} 50% { box-shadow: 0 0 0 7px rgba(34,197,94,0);} }
.hero-copy h1 { margin-bottom: 20px; }
.highlight { color: var(--primary); position: relative; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-proof { display: flex; align-items: center; gap: 16px; }
.avatar-stack { display: flex; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; color: #fff; border: 3px solid #fff; margin-left: -10px;
  background: linear-gradient(135deg, #818cf8, #4f46e5);
}
.avatar:first-child { margin-left: 0; }
.avatar-stack .avatar:nth-child(2) { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.avatar-stack .avatar:nth-child(3) { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.avatar-stack .avatar:nth-child(4) { background: #e2e8f0; color: var(--muted); }
.stars { color: #f59e0b; letter-spacing: 2px; font-size: 0.95rem; }
.hero-proof-text p { font-size: 0.88rem; color: var(--muted); }

/* Hero visual — CSS dashboard mockup */
.hero-visual { position: relative; }
.browser-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden; animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }
.browser-bar { display: flex; gap: 8px; padding: 14px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.browser-bar span { width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; }
.browser-bar span:first-child { background: #fca5a5; }
.browser-bar span:nth-child(2) { background: #fcd34d; }
.browser-bar span:nth-child(3) { background: #86efac; }
.browser-body { padding: 24px; }
.dash-row { display: flex; gap: 16px; margin-bottom: 20px; }
.dash-stat { flex: 1; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.dash-num { font-size: 1.7rem; font-weight: 800; color: var(--primary); }
.dash-label { font-size: 0.78rem; color: var(--muted); }
.dash-chart { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin-bottom: 18px; }
.dash-chart span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #a5b4fc, #6366f1); opacity: 0.85; }
.dash-line {
  display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 500;
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; border-radius: 10px; padding: 10px 14px;
}
.dash-check { width: 22px; height: 22px; border-radius: 50%; background: #22c55e; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px 12px 12px;
  box-shadow: var(--shadow-lg); animation: floaty 7s ease-in-out infinite;
}
.float-1 { top: 8%; left: -8%; }
.float-2 { bottom: 6%; right: -6%; animation-delay: 1.5s; }
.float-card strong { display: block; font-size: 0.95rem; }
.float-card p { font-size: 0.78rem; color: var(--muted); }
.float-icon { width: 40px; height: 40px; border-radius: 12px; background: #dcfce7; color: #16a34a; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.float-icon.alt { background: #fef3c7; color: #d97706; }

/* ---------- Trust strip ---------- */
.trust { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-label { text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.trust-logos { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.trust-logo { font-size: 1.15rem; font-weight: 700; color: #94a3b8; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; }

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-grid.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: 0 2px 8px rgba(15,23,42,0.04);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c7d2fe; }
.card-icon { font-size: 2rem; margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card-tags { margin-top: 16px; font-size: 0.8rem; font-weight: 600; color: var(--primary); }
.card.quote blockquote { font-size: 1rem; color: var(--ink); margin: 14px 0 22px; font-style: italic; }
.card.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; color: var(--muted); }
.card.quote figcaption .avatar { margin-left: 0; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--bg-tint); border-top: 1px solid #e0e7ff; border-bottom: 1px solid #e0e7ff; padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 2.6rem; font-weight: 800; color: var(--primary); }
.stat-label { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-thumb { height: 190px; display: flex; align-items: center; justify-content: center; }
.work-emoji { font-size: 4rem; filter: drop-shadow(0 8px 16px rgba(15,23,42,0.15)); }
.thumb-1 { background: linear-gradient(135deg, #e0e7ff, #f5f3ff); }
.thumb-2 { background: linear-gradient(135deg, #dbeafe, #eff6ff); }
.thumb-3 { background: linear-gradient(135deg, #fef3c7, #fffbeb); }
.thumb-4 { background: linear-gradient(135deg, #dcfce7, #f0fdf4); }
.work-body { padding: 28px; }
.work-tags { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.work-body h3 { margin-bottom: 10px; font-size: 1.3rem; }
.work-body > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.work-link { font-weight: 600; color: var(--primary); text-decoration: none; font-size: 0.95rem; }
.work-link:hover { text-decoration: underline; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center;
}
.step-num {
  width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; border: 2px solid #c7d2fe;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card {
  background: #fff; border: 2px solid var(--line); border-radius: 20px;
  padding: 36px 30px; position: relative; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.popular {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 18px; border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.price { font-size: 2.6rem; font-weight: 800; margin-bottom: 6px; }
.price-cur { font-size: 1.4rem; vertical-align: top; color: var(--primary); }
.price-per { font-size: 0.9rem; font-weight: 500; color: var(--muted); margin-left: 6px; }
.price-desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 24px; }
.price-card ul { list-style: none; margin-bottom: 30px; flex: 1; }
.price-card ul li { padding: 9px 0; font-size: 0.93rem; color: var(--ink); border-bottom: 1px dashed var(--line); }
.price-card ul li::before { content: "✓ "; color: #16a34a; font-weight: 700; }
.pricing-note { text-align: center; margin-top: 36px; color: var(--muted); }
.pricing-note a { color: var(--primary); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq[open] { box-shadow: var(--shadow); border-color: #c7d2fe; }
.faq summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--primary);
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--primary-soft);
  display: inline-flex; align-items: center; justify-content: center; transition: transform 0.2s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, #eef2ff 0%, #f5f3ff 50%, #eff6ff 100%); border-top: 1px solid #e0e7ff; border-bottom: 1px solid #e0e7ff; }
.cta-inner { text-align: center; padding: 88px 24px; max-width: 720px; }
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p { color: var(--muted); font-size: 1.08rem; margin-bottom: 32px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact-info h2 { margin: 0 0 14px; }
.contact-info .section-sub { margin-bottom: 32px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { font-size: 1.4rem; background: var(--primary-soft); width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-list a { color: var(--primary); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 36px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-field label { font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: 0.95rem; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s; width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,0.12);
}
.form-field textarea { resize: vertical; }
.form-note { margin-top: 14px; font-size: 0.88rem; color: var(--muted); text-align: center; min-height: 1.4em; }
.form-note.success { color: #15803d; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 16px; max-width: 340px; }
.footer nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; color: var(--ink); }
.footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: 0.93rem; padding: 5px 0; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; text-align: center; }
.footer-bottom p { color: var(--muted); font-size: 0.85rem; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none; font-size: 1.3rem; cursor: pointer;
  box-shadow: 0 10px 24px rgba(79,70,229,0.35); opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.2s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); background: var(--primary-dark); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .float-1 { left: 0; } .float-2 { right: 0; }
  .cards-grid, .cards-grid.cards-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 24px 20px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(15,23,42,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--bg-soft); }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
  .cards-grid, .cards-grid.cards-3, .work-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
  .contact-form { padding: 26px 20px; }
}
