:root {
  --bg: #070b12;
  --surface: #0f1624;
  --surface-2: #151f33;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f8fafc;
  --muted: #94a3b8;
  --brand: #f97316;
  --brand-2: #fb923c;
  --green: #22c55e;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(circle at 15% 0%, rgba(249,115,22,0.12), transparent 38%), var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 18, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), #ea580c);
  color: #fff; box-shadow: 0 8px 24px rgba(249, 115, 22, 0.32);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(249, 115, 22, 0.48); }
.btn-ghost {
  background: rgba(255,255,255,0.05); color: var(--text); border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-green {
  background: linear-gradient(135deg, #16a34a, #15803d); color: #fff;
}

/* Hero */
.hero { padding: 72px 0 56px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(249, 115, 22, 0.14); color: var(--brand-2);
  border: 1px solid rgba(249, 115, 22, 0.35); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 54px); line-height: 1.12; margin: 0 auto 16px;
  max-width: 860px; letter-spacing: -0.02em;
}
.hero h1 span { color: var(--brand); }
.hero p.lead {
  max-width: 680px; margin: 0 auto 28px; color: var(--muted); font-size: 17px;
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 36px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  max-width: 860px; margin: 0 auto;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 12px;
}
.stat-card strong { display: block; font-size: 22px; color: var(--text); }
.stat-card span { font-size: 12.5px; color: var(--muted); }

/* Section */
section { padding: 60px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 38px; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 10px; letter-spacing: -0.02em; }
.sec-head p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Features Grid */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; transition: border-color .2s ease, transform .2s ease;
}
.feat-card:hover { border-color: rgba(249,115,22,0.45); transform: translateY(-2px); }
.feat-icon {
  width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(249,115,22,0.14); color: var(--brand-2); font-size: 20px; margin-bottom: 12px;
}
.feat-card h3 { margin: 0 0 6px; font-size: 16px; }
.feat-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* Trial Banner */
.trial-bar {
  background: linear-gradient(135deg, rgba(34,197,94,0.14), rgba(249,115,22,0.12));
  border: 1px solid rgba(34,197,94,0.35); border-radius: var(--radius);
  padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 28px;
}
.trial-bar h3 { margin: 0 0 4px; font-size: 19px; }
.trial-bar p { margin: 0; color: var(--muted); font-size: 14px; }

/* Pricing Grid */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 26px 22px; display: flex; flex-direction: column; position: relative;
}
.plan-card.is-featured {
  background: linear-gradient(180deg, rgba(249,115,22,0.11), var(--surface) 45%);
  border-color: rgba(249,115,22,0.6); box-shadow: 0 18px 46px rgba(249,115,22,0.14);
}
.plan-badge {
  display: inline-block; align-self: flex-start; padding: 4px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: rgba(255,255,255,0.08); color: var(--text); margin-bottom: 12px;
}
.plan-card.is-featured .plan-badge { background: var(--brand); color: #fff; }
.plan-card.is-best .plan-badge { background: #16a34a; color: #fff; }
.plan-name { font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.plan-price { font-size: 38px; font-weight: 800; margin: 4px 0 8px; letter-spacing: -0.02em; }
.plan-price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.credit-box {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 14px; margin: 10px 0 16px;
}
.credit-box strong { display: block; font-size: 17px; color: #fff; }
.credit-bonus { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; color: #4ade80; }
.cost-pill {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; padding: 8px 12px; border-radius: 10px;
  background: rgba(249,115,22,0.1); color: #fed7aa; margin-bottom: 16px;
}
.plan-features { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan-features li {
  padding: 6px 0; font-size: 13.8px; color: #e2e8f0; display: flex; align-items: flex-start; gap: 8px;
}
.plan-features li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* Calculator */
.calc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 28px;
  max-width: 900px; margin: 0 auto;
}
.calc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.calc-slider { width: 100%; accent-color: var(--brand); height: 8px; cursor: pointer; margin: 12px 0 22px; }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calc-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.calc-box small { color: var(--muted); display: block; font-size: 12.5px; }
.calc-box strong { font-size: 24px; display: block; margin-top: 4px; }

/* Comparison Table */
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: rgba(255,255,255,0.03); color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
tr.is-pl { background: rgba(249,115,22,0.1); }
tr.is-pl td { font-weight: 700; color: #fff; }
.src-link { color: var(--brand-2); text-decoration: underline; font-size: 12.5px; }

/* Download Box */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 860px; margin: 0 auto; }
.dl-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px;
}
.modal-backdrop.is-open { display: flex; }
.modal {
  background: #0f172a; border: 1px solid var(--border); border-radius: 20px;
  max-width: 460px; width: 100%; padding: 24px; max-height: 92vh; overflow-y: auto;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.modal-head h3 { margin: 0; font-size: 19px; }
.modal-close { background: rgba(255,255,255,0.08); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 16px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; }
.field input {
  width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.05); color: #fff; font-size: 14px; outline: none;
}
.field input:focus { border-color: var(--brand); }
.upi-box { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.3); border-radius: 12px; padding: 12px; margin: 12px 0; font-size: 13px; }

/* Footer & Floating WA */
footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--muted); font-size: 13.5px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a:hover { color: #fff; }
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  background: #16a34a; color: #fff; padding: 12px 18px; border-radius: 999px;
  font-weight: 700; font-size: 14px; box-shadow: 0 10px 28px rgba(22,163,74,0.45);
  display: inline-flex; align-items: center; gap: 8px;
}

/* Legal pages */
.legal-wrap { max-width: 820px; margin: 48px auto; padding: 32px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
.legal-wrap h1 { margin-top: 0; }
.legal-wrap h2 { margin-top: 24px; font-size: 18px; color: var(--brand-2); }
.legal-wrap p, .legal-wrap li { color: #cbd5e1; font-size: 14.5px; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .calc-grid, .dl-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
}
