/* Kuruvi — dark theme, sparrow brand, green/blue gradient */

:root {
  --bg: #0A0F1E;
  --surface: #11182E;
  --surface-2: #182142;
  --surface-3: #1F2A52;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #E8ECF7;
  --text-dim: rgba(232, 236, 247, 0.78);
  --muted: #8B95B0;
  --green: #1D9E75;
  --green-soft: rgba(29, 158, 117, 0.16);
  --blue: #378ADD;
  --blue-soft: rgba(55, 138, 221, 0.16);
  --gradient: linear-gradient(135deg, #1D9E75 0%, #378ADD 100%);
  --gradient-soft: linear-gradient(135deg, rgba(29, 158, 117, 0.14) 0%, rgba(55, 138, 221, 0.14) 100%);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-lg: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(ellipse 900px 500px at 18% -5%, rgba(29, 158, 117, 0.14), transparent 60%),
    radial-gradient(ellipse 900px 500px at 82% -5%, rgba(55, 138, 221, 0.14), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
}

a { color: var(--blue); text-decoration: none; transition: opacity .15s; }
a:hover { opacity: .82; }

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 30, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 32px; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); letter-spacing: -0.01em; }
.logo:hover { opacity: 1; }
.logo .mark {
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 0 14px rgba(29, 158, 117, 0.6));
}
.nav-links { display: flex; gap: 28px; flex: 1; margin-left: 12px; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--text); opacity: 1; }
.nav-links a.active { color: var(--text); }
.nav-cta {
  background: var(--gradient); color: #FFFFFF !important; font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 999px; opacity: 1 !important;
  box-shadow: 0 6px 24px rgba(29, 158, 117, 0.25);
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.94 !important; transform: translateY(-1px); transition: transform .15s; }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer; border: none; transition: transform .15s, box-shadow .2s, background .2s; font-family: inherit; }
.btn-primary { background: var(--gradient); color: #FFFFFF; box-shadow: 0 10px 32px rgba(55, 138, 221, 0.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 44px rgba(55, 138, 221, 0.38); }
.btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); }
.btn-secondary:hover { background: var(--surface-3); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--surface); }

/* ============ HERO ============ */
.hero { padding: 90px 0 70px; text-align: center; position: relative; }
.hero-bird {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 22px;
  display: inline-block;
  filter: drop-shadow(0 14px 40px rgba(29, 158, 117, 0.35));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--gradient-soft);
  border: 1px solid rgba(29, 158, 117, 0.3);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--green);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 660px;
  margin: 0 auto 40px;
  line-height: 1.55;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 13px; color: var(--muted); }
.hero-note strong { color: var(--text); font-weight: 600; }

/* ============ SECTIONS ============ */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .kicker {
  display: inline-block;
  padding: 4px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11.5px; font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.6px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  line-height: 1.1;
}
.section-head p { font-size: 17px; color: var(--muted); line-height: 1.55; }

/* ============ FEATURES ============ */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gradient-soft);
  border: 1px solid rgba(29, 158, 117, 0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--green);
}
.feature h3 {
  font-size: 17px; font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ============ PRICING ============ */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 12px;
}
.tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, border-color .2s;
}
.tier:hover { transform: translateY(-2px); }
.tier.featured {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid rgba(29, 158, 117, 0.45);
  box-shadow: 0 20px 60px rgba(29, 158, 117, 0.14);
}
.tier.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px;
  background: var(--gradient);
  color: #FFFFFF;
  font-size: 11px; font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(29, 158, 117, 0.4);
}
.tier-name {
  font-size: 13px; font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.6px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.tier-price {
  font-size: 48px; font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tier-price small {
  font-size: 16px; font-weight: 500;
  color: var(--muted); margin-left: 4px;
}
.tier-price.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tier-desc {
  color: var(--muted);
  margin-top: 12px; margin-bottom: 28px;
  font-size: 14.5px;
  line-height: 1.5;
}
.tier ul { list-style: none; margin-bottom: 28px; flex: 1; }
.tier ul li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.45;
}
.tier ul li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.tier ul li.muted::before { content: '–'; color: var(--muted); }
.tier ul li.muted { color: var(--muted); }
.tier .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ============ COMPARE TABLE ============ */
.compare { margin-top: 90px; }
.compare h2 {
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-align: center;
}
.compare-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.compare tr:last-child td { border-bottom: none; }
.compare th {
  color: var(--muted);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.15);
}
.compare th.featured { color: var(--green); }
.compare td { color: var(--text-dim); }
.compare td:first-child { color: var(--text); font-weight: 500; }
.compare td.yes { color: var(--green); font-weight: 700; }
.compare td.no { color: var(--muted); }
.compare td.center, .compare th.center { text-align: center; }

/* ============ FAQ ============ */
.faq { margin-top: 90px; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq h2 {
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-align: center;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 12px;
}
.faq-item h3 {
  font-size: 16px; font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.faq-item p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }

/* ============ DOC PAGES (privacy, terms) ============ */
.doc { max-width: 760px; margin: 0 auto; padding: 60px 24px 40px; }
.doc h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  line-height: 1.1;
}
.doc .updated { color: var(--muted); margin-bottom: 40px; font-size: 14px; }
.doc h2 {
  font-size: 22px; font-weight: 700;
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
}
.doc h3 {
  font-size: 16.5px; font-weight: 700;
  margin: 24px 0 8px;
}
.doc p, .doc li {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.75;
}
.doc p { margin-bottom: 14px; }
.doc ul, .doc ol { padding-left: 24px; margin: 12px 0 18px; }
.doc ul li, .doc ol li { margin: 6px 0; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc .callout {
  background: var(--gradient-soft);
  border: 1px solid rgba(29, 158, 117, 0.3);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
  font-size: 14.5px;
  color: var(--text);
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.contact-card h3 {
  font-size: 19px; font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.contact-card p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 22px;
  line-height: 1.55;
}
.contact-method {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.contact-method:nth-of-type(1) { border-top: none; padding-top: 4px; }
.contact-method .icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gradient-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  font-size: 16px;
}
.contact-method .meta { flex: 1; }
.contact-method .label { font-size: 12px; color: var(--muted); font-weight: 500; }
.contact-method .value {
  font-size: 15.5px; font-weight: 600;
  color: var(--text);
  margin-top: 2px;
  word-break: break-word;
}
.contact-method a.value { color: var(--text); }
.contact-method a.value:hover { color: var(--green); opacity: 1; }

.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.18);
}
.form-field textarea { resize: vertical; min-height: 120px; font-family: inherit; }

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  background-image: var(--gradient-soft);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(29, 158, 117, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.cta-band p {
  color: var(--text-dim);
  margin-bottom: 28px;
  font-size: 16.5px;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
}

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--border); margin-top: 60px; padding: 40px 0 60px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .mark { font-size: 22px; line-height: 1; filter: drop-shadow(0 0 14px rgba(29, 158, 117, 0.5)); }
.footer-brand span { font-weight: 700; font-size: 15.5px; color: var(--text); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
.footer-links a:hover { color: var(--text); opacity: 1; }
.footer-meta { color: var(--muted); font-size: 13.5px; }
.footer-meta .accent { color: var(--green); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-inner { gap: 16px; }
  .features, .tiers, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
  .hero-bird { font-size: 60px; }
  section { padding: 60px 0; }
  .cta-band { padding: 44px 24px; }
  .tier { padding: 28px 24px; }
  .compare-wrap { overflow-x: auto; }
  .compare table { min-width: 560px; }
  .doc { padding-top: 40px; }
}
@media (max-width: 480px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
