/* =========================================================
   site-light.css — Surve.id Light Theme (Landing + Pricing)
   ---------------------------------------------------------
   - Header/Footer reusable
   - Landing: hero, features, sections, FAQ, timeline
   - Pricing: plans, table, add-ons, featured ribbon
   ========================================================= */

/* ---------- CSS Variables ---------- */
:root{
  --bg:#f6f8fb;
  --card:#ffffff;
  --muted:#6b7280;
  --text:#111827;
  --line:#e5e9f2;

  --accent:#2563eb;   /* blue */
  --accent2:#f59e0b;  /* orange */
  --ok:#16a34a;

  --shadow: 0 10px 24px rgba(17,24,39,.08);
  --shadow2: 0 6px 14px rgba(17,24,39,.06);

  --r:16px;
  --max:1100px;
}

/* ---------- Reset / Base ---------- */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  line-height:1.55;

  /* Bright professional background */
  background:
    radial-gradient(900px 420px at 18% 8%, rgba(37,99,235,.16), transparent 55%),
    radial-gradient(840px 420px at 82% 14%, rgba(245,158,11,.14), transparent 58%),
    linear-gradient(180deg, #fbfcff 0%, #f1f5ff 55%, #f6f8fb 100%);
}

a{ color:inherit; }
img{ max-width:100%; display:block; }

/* Container */
.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 20px;
}

/* Small helper text */
.mini{
  font-size:12px;
  color:var(--muted);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  padding:11px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  text-decoration:none;
  font-weight:900;
  white-space:nowrap;

  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.btn.secondary{
  background:#fff;
  color:var(--text);
}

.btn.primary{
  background:linear-gradient(135deg, rgba(37,99,235,1), rgba(37,99,235,.75));
  border-color: rgba(37,99,235,.35);
  color:#fff;
  box-shadow: var(--shadow2);
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
}

/* ---------- Header (Reusable) ---------- */
.nav{
  position:sticky;
  top:0;
  z-index:50;

  background:rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.logo{
  display:flex;
  gap:10px;
  align-items:center;
  text-decoration:none;
}

.logo-img{
  width:40px;
  height:40px;
  border-radius:12px;
  object-fit:contain;

  background:#ffffff;
  border:1px solid var(--line);
  box-shadow: var(--shadow2);
  padding:6px; /* adjust based on your logo */
}

.brand-name{
  font-weight:900;
  line-height:1;
}

.nav-links{
  display:flex;
  gap:18px;
  align-items:center;
}

.nav-links a{
  color:var(--muted);
  text-decoration:none;
  font-weight:800;
  font-size:14px;
}

.nav-links a:hover{ color:var(--text); }

.nav-cta{
  display:flex;
  gap:10px;
  align-items:center;
}

/* Hide nav links on smaller screens */
@media (max-width: 920px){
  .nav-links{ display:none; }
}

/* ---------- Footer (Reusable) ---------- */
.footer{
  border-top:1px solid var(--line);
  padding:26px 0;
  color:var(--muted);
  font-size:13px;
  background: rgba(255,255,255,.75);
}

.footer-inner{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:space-between;
  align-items:center;
}

.footer-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* ---------- Shared Sections / Cards ---------- */
.section{ padding:30px 0; }

.kicker{
  color:var(--muted);
  font-weight:900;
  letter-spacing:.06em;
  font-size:12px;
  text-transform:uppercase;
}

.card{
  background: rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:var(--r);
  box-shadow: var(--shadow);
  padding:18px;
}

.list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
}

.list li{ margin:6px 0; }

/* ---------- Pills / Badges ---------- */
.pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(37,99,235,.06);
  border:1px solid rgba(37,99,235,.18);
  color:#1f3a8a;
  font-weight:900;
  font-size:13px;
}

.pill span{ color:var(--ok); }

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#f8fafc;
  color:#0f172a;
  font-weight:900;
  font-size:13px;
}

.highlight{
  background: linear-gradient(90deg, rgba(37,99,235,.10), rgba(245,158,11,.10));
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
}

/* =========================================================
   LANDING PAGE BLOCKS
   ========================================================= */

/* Hero */
.hero{ padding:54px 0 24px; }

.grid-hero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:24px;
  align-items:stretch;
}

@media (max-width: 920px){
  .grid-hero{ grid-template-columns:1fr; }
}

h1{
  font-size:42px;
  line-height:1.08;
  margin:14px 0 12px;
  letter-spacing:-.02em;
}

@media (max-width: 520px){
  h1{ font-size:34px; }
}

.lead{
  color:var(--muted);
  font-size:16px;
  margin:0 0 14px;
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

/* Stats */
.stats{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:10px;
  margin-top:20px;
}

@media (max-width: 680px){
  .stats{ grid-template-columns:1fr; }
}

.stat{
  background:rgba(255,255,255,.72);
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  box-shadow: var(--shadow2);
}

.stat b{
  display:block;
  font-size:16px;
}

.stat small{ color:var(--muted); }

/* Features Grid */
.features{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:14px;
}

@media (max-width: 920px){
  .features{ grid-template-columns:1fr; }
}

.feat h3{
  margin:0 0 6px;
  font-size:16px;
}

.feat p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.icon{
  width:40px;
  height:40px;
  border-radius:14px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(37,99,235,.10), rgba(37,99,235,.03));
  margin-bottom:10px;
  font-size:18px;
}

/* Two-column sections */
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items:start;
}

@media (max-width: 920px){
  .two-col{ grid-template-columns:1fr; }
}

/* Timeline steps */
.timeline{ display:grid; gap:10px; }

.step{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.num{
  width:30px;
  height:30px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(37,99,235,.10);
  border:1px solid rgba(37,99,235,.25);
  font-weight:900;
  color:#1d4ed8;
}

/* FAQ details */
.faq{ display:grid; gap:10px; }

details{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 14px;
  box-shadow: var(--shadow2);
}

summary{
  cursor:pointer;
  font-weight:900;
}

details p{
  color:var(--muted);
  margin:8px 0 0;
}

/* =========================================================
   PRICING PAGE BLOCKS
   ========================================================= */

/* Pricing hero (optional smaller) */
.hero.pricing-hero{ padding:46px 0 10px; }

/* Row helper */
.row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

/* 3-col grid for plans */
.grid3{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:14px;
}

@media (max-width: 920px){
  .grid3{ grid-template-columns:1fr; }
}

/* Pricing plan card */
.plan{
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow: var(--shadow2);
  padding:18px;
  overflow:hidden;
}

.plan h2{
  margin:6px 0 6px;
  font-size:18px;
}

.tag{
  color:var(--muted);
  font-size:13px;
  margin:0 0 10px;
}

.price{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin:10px 0 4px;
}

.price b{
  font-size:26px;
  letter-spacing:-.01em;
}

.price span{
  color:var(--muted);
  font-weight:800;
}

.bestfor{
  color:#0f172a;
  background:#f8fafc;
  border:1px solid var(--line);
  padding:8px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:13px;
  display:inline-flex;
}

/* Featured plan */
.plan.featured{
  border-color: rgba(37,99,235,.30);
  box-shadow: 0 16px 34px rgba(37,99,235,.14);
  transform: translateY(-2px);
}

.ribbon{
  position:absolute;
  top:12px;
  right:-40px;
  transform: rotate(35deg);
  background: rgba(37,99,235,1);
  color:#fff;
  padding:8px 60px;
  font-weight:900;
  font-size:12px;
  box-shadow: var(--shadow2);
}

/* Table (add-ons) */
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  box-shadow: var(--shadow2);
}

.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
}

.table th{
  text-align:left;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
  background:#f8fafc;
}

.table tr:last-child td{ border-bottom:none; }

/* Optional muted utility */
.muted{ color:var(--muted); }

/* =========================================================
   Minor Typography helpers (optional)
   ========================================================= */
h2{
  font-size:26px;
  margin:0 0 10px;
  letter-spacing:-.01em;
}

p{ margin:0 0 12px; }
