/*
 * Shared styles for TUVAMBES legal / policy pages.
 * Design tokens mirror https://tuvambes.in (Outfit font, emerald + navy, slate text).
 * These files are HOSTED ON THE WEBSITE — they are NOT bundled into the desktop app.
 */
:root {
  --green: #07d08a;
  --green-dark: #05b377;
  --navy: #0e293c;
  --navy-deep: #0f172a;
  --text: #1e293b;
  --muted: #475569;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Top navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__brand img { height: 40px; width: auto; }
.nav__brand span { font-weight: 800; color: var(--navy); font-size: 18px; letter-spacing: -0.02em; }
.nav__links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.15s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--green-dark); }

/* ── Hero band ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 64px 24px 72px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(to right bottom, rgba(15, 23, 42, 0.92), rgba(7, 208, 138, 0.72)),
    /* subtle hex geometry drawn inline so no external asset is required */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='0.08' d='M28 0l28 16v33L28 66 0 49V16z'/%3E%3C/svg%3E");
  background-size: cover, 56px 100px;
}
.hero h1 {
  margin: 0 auto 12px;
  font-weight: 900;
  font-size: clamp(30px, 6vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 900px;
}
.hero p { margin: 0 auto; max-width: 620px; opacity: 0.92; font-size: 16px; }
.hero .updated {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
  font-weight: 600;
}

/* ── Content card ───────────────────────────────────────────────── */
.wrap { max-width: 880px; margin: -40px auto 64px; padding: 0 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 56px);
}
.card h2 {
  color: var(--navy);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 34px 0 12px;
  padding-top: 6px;
}
.card h2:first-child { margin-top: 0; }
.card h3 { color: var(--navy); font-weight: 700; font-size: 17px; margin: 22px 0 8px; }
.card p, .card li { color: var(--text); font-size: 15.5px; }
.card a { color: var(--green-dark); font-weight: 600; }
.card strong { color: var(--navy); }
.card ul, .card ol { padding-left: 22px; }
.card li { margin: 6px 0; }
.lead { font-size: 17px; color: var(--muted); }

.callout {
  border-left: 4px solid var(--green);
  background: rgba(7, 208, 138, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 14.5px;
}

/* Tables (e.g. third-party data flows) */
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
th { background: #f1f5f9; color: var(--navy); font-weight: 700; }

/* Section anchor offset for sticky nav */
.card h2[id] { scroll-margin-top: 84px; }

/* ── Footer ─────────────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: #cbd5e1;
  text-align: center;
  padding: 32px 20px;
  font-size: 13.5px;
}
.footer a { color: var(--green); text-decoration: none; }
.footer .row { margin-bottom: 8px; }
.footer .links a { margin: 0 10px; color: #94a3b8; }
.footer .links a:hover { color: var(--green); }

/* ── Marketing components (features / pricing pages) ───────────────── */
.section { max-width: 1120px; margin: 0 auto; padding: 56px 20px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head .eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green-dark); margin-bottom: 10px;
}
.section-head h2 { color: var(--navy); font-weight: 900; font-size: clamp(24px, 4vw, 36px); letter-spacing: -0.02em; margin: 0 0 10px; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 24px; box-shadow: var(--shadow); transition: transform 0.15s ease, border-color 0.15s ease;
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(7, 208, 138, 0.5); }
.feature-card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(7, 208, 138, 0.1); color: var(--green-dark); font-size: 22px; margin-bottom: 14px;
}
.feature-card h3 { color: var(--navy); font-weight: 800; font-size: 17px; margin: 0 0 8px; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }
.feature-card ul { margin: 10px 0 0; padding-left: 18px; }
.feature-card li { color: var(--text); font-size: 13.5px; margin: 4px 0; }

.band { background: linear-gradient(to right bottom, var(--navy-deep), var(--navy)); color: #e2e8f0; }
.band .section-head h2 { color: #fff; }
.band .section-head p { color: #94a3b8; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; align-items: stretch; }
.plan {
  background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 30px 26px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative;
}
.plan.featured { border: 2px solid var(--green); box-shadow: 0 20px 45px -18px rgba(7, 208, 138, 0.45); }
.plan .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 5px 14px; border-radius: 999px;
}
.plan h3 { color: var(--navy); font-weight: 900; font-size: 20px; margin: 0 0 4px; }
.plan .who { color: var(--muted); font-size: 13px; margin: 0 0 16px; min-height: 36px; }
.plan .price { color: var(--navy); font-weight: 900; font-size: 30px; letter-spacing: -0.02em; }
.plan .price small { color: var(--muted); font-weight: 600; font-size: 14px; }
.plan .price-note { color: var(--muted); font-size: 12px; margin: 4px 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { color: var(--text); font-size: 14px; padding: 7px 0 7px 26px; position: relative; border-top: 1px solid var(--border); }
.plan li:first-child { border-top: 0; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green-dark); font-weight: 900; }
.plan li.muted { color: var(--muted); }
.plan li.muted::before { content: "—"; color: var(--border); }

.btn {
  display: inline-block; text-align: center; text-decoration: none; cursor: pointer;
  font-weight: 800; font-size: 14px; padding: 13px 20px; border-radius: 12px; transition: all 0.15s ease;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); }

.compare { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.compare th { background: #f1f5f9; color: var(--navy); font-weight: 800; }
.compare td.center, .compare th.center { text-align: center; }

@media (max-width: 560px) {
  .nav { padding: 12px 16px; }
  .nav__brand span { display: none; }
  .nav__links { gap: 12px; }
  .section { padding: 40px 16px; }
}


/* Pre-Launch Hero Flash Card */
@keyframes radarPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(7, 208, 138, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(7, 208, 138, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(7, 208, 138, 0); }
}

.prelaunch-card {
  max-width: 620px;
  margin: 1.5rem auto 0;
  padding: 1.5rem 1.75rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(7, 208, 138, 0.35);
  border-radius: 16px;
  box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.45), 0 0 24px rgba(7, 208, 138, 0.15);
  text-align: center;
}

.prelaunch-header {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #07d08a;
  display: inline-block;
  animation: radarPulse 2s infinite ease-in-out;
}

.prelaunch-badge {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #38bdf8;
}

.prelaunch-title {
  font-size: clamp(1.2rem, 3.2vw, 1.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.015em;
}

.prelaunch-status {
  font-size: 0.88rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 1.15rem;
}

.prelaunch-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.prelaunch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #07d08a, #0d9488);
  color: #0b1a28 !important;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(7, 208, 138, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.prelaunch-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(7, 208, 138, 0.45);
  filter: brightness(1.06);
}

.prelaunch-subtext {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0;
}
