:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --ink: #16181d;
  --sub: #6b7280;
  --brand: #16a34a;
  --brand-dark: #15803d;
  --brand-soft: #dcfce7;
  --border: #e5e7eb;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Noto Sans Kannada', 'Noto Sans Devanagari', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Malayalam', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
html[dir="rtl"] body { font-family: 'Noto Nastaliq Urdu', 'Poppins', sans-serif; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--sub); }

/* Language gate */
.lang-gate {
  position: fixed; inset: 0; z-index: 100;
  background: linear-gradient(160deg, #101828 0%, #14532d 100%);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lang-gate.show { display: flex; }
.lang-gate-card {
  background: var(--card); border-radius: 24px; padding: 40px 34px;
  max-width: 640px; width: 100%; text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.lang-gate-logo {
  width: 104px; height: 104px; border-radius: 26px; margin: 0 auto 16px; display: block;
  object-fit: cover; box-shadow: 0 14px 34px rgba(21,128,61,.38);
}
.lang-gate h1 { font-size: 24px; margin-bottom: 4px; }
.lang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 22px; }
.lang-btn {
  border: 2px solid var(--border); background: #fff; border-radius: 14px;
  padding: 14px 10px; cursor: pointer; font-size: 16px; font-weight: 600;
  transition: all .15s ease; color: var(--ink); font-family: inherit;
}
.lang-btn:hover, .lang-btn:focus { border-color: var(--brand); background: var(--brand-soft); transform: translateY(-2px); }
.lang-btn small { display: block; font-weight: 400; color: var(--sub); font-size: 12px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 26px; padding: 14px 26px;
  flex-wrap: wrap;
}
.brand { font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; object-fit: cover;
  box-shadow: 0 3px 10px rgba(21,128,61,.28);
}
.footer-logo { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; vertical-align: -9px; margin-right: 6px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--sub); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang-select {
  border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px;
  background: #fff; font-family: inherit; font-size: 14px; cursor: pointer;
}
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 4.5px; }
.nav-burger span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: all .2s; }
.mobile-menu {
  display: none; width: 100%; flex-direction: column;
  border-top: 1px solid var(--border); padding-top: 8px;
}
.mobile-menu a {
  color: var(--sub); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 11px 6px; border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: flex; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav { gap: 12px; padding: 12px 18px; }
  .nav .btn-sm { padding: 10px 14px; font-size: 13px; }
  .lang-select { max-width: 108px; padding: 9px 6px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; font-family: inherit; font-weight: 600;
  border-radius: 14px; text-decoration: none; transition: all .15s ease; font-size: 15px;
}
.btn-primary { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; padding: 13px 26px; box-shadow: 0 8px 20px rgba(22,163,74,.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22,163,74,.4); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--border); padding: 13px 26px; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 70px; padding-bottom: 80px; }
.pill-badge {
  display: inline-block; background: var(--brand-soft); color: var(--brand-dark);
  font-weight: 600; font-size: 14px; border-radius: 999px; padding: 7px 16px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 16px; }
.lead { font-size: 17.5px; color: var(--sub); max-width: 520px; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--sub); font-size: 13.5px; font-weight: 500; }

.hero-art { display: flex; justify-content: center; }
.phone {
  width: 250px; height: 500px; background: #101828; border-radius: 42px;
  padding: 12px; box-shadow: 0 40px 80px rgba(16,24,40,.35); position: relative;
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #101828; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen {
  background: linear-gradient(160deg, #f8fafc, #eef2f6); height: 100%; border-radius: 32px;
  position: relative; padding: 48px 16px; display: flex; flex-direction: column; gap: 14px;
}
.ride-card {
  background: #fff; border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.dot { width: 10px; height: 10px; background: var(--brand); border-radius: 50%; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1)} 50% { opacity: .4; transform: scale(.75)} }
.accept-btn {
  margin-top: auto; background: #000; color: #fff; text-align: center;
  border-radius: 999px; padding: 15px; font-weight: 700; letter-spacing: .04em;
  animation: tap 2.6s infinite;
}
@keyframes tap { 0%, 70%, 100% { transform: scale(1) } 78%, 86% { transform: scale(.93) } }
.fc-bubble {
  position: absolute; top: 60px; right: -18px; width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #15803d); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; box-shadow: 0 12px 30px rgba(22,163,74,.45);
  animation: float 5s .6s ease-in-out infinite;
}
.fc-bubble span { font-size: 7.5px; letter-spacing: .12em; }

@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; padding-bottom: 50px; } .hero-art { display: none; } }

/* Sections */
.section { padding: 76px 0; }
.section.alt { background: #eef1f4; }
.sec-title { font-size: clamp(24px, 3.6vw, 36px); text-align: center; letter-spacing: -.02em; }
.sec-sub { text-align: center; max-width: 560px; margin: 8px auto 44px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid var(--border); transition: all .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.07); }
.ico { font-size: 30px; margin-bottom: 12px; }
.card h3 { font-size: 17.5px; margin-bottom: 8px; }
.card p { color: var(--sub); font-size: 14.5px; }

.step-card { background: var(--card); border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--border); text-align: center; }
.step-n {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, #22c55e, #15803d); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px;
}
.step-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.step-card p { color: var(--sub); font-size: 14px; }

/* Install */
.install-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.install-wrap .sec-title, .install-wrap .sec-sub { text-align: left; margin-left: 0; }
.check-list { list-style: none; margin: 0 0 26px; color: var(--sub); display: grid; gap: 8px; font-size: 15px; }
.install-art { font-size: 130px; text-align: center; filter: drop-shadow(0 24px 40px rgba(0,0,0,.15)); }
@media (max-width: 860px) { .install-wrap { grid-template-columns: 1fr; } .install-art { display: none; } }

/* Pricing */
.plan { text-align: center; position: relative; }
.plan h3 { font-size: 16px; color: var(--sub); font-weight: 600; }
.price { font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0; }
.price span { font-size: 15px; color: var(--sub); font-weight: 500; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 16px 40px rgba(22,163,74,.14); }
.pop {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; border-radius: 999px; padding: 5px 14px;
}

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 34px 0; background: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 14px; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(10,14,20,.62);
  backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 18px;
}
.modal-backdrop.show { display: flex; }
.modal {
  background: #fff; border-radius: 24px; max-width: 620px; width: 100%;
  padding: 30px 28px 24px; position: relative; max-height: 92vh; overflow-y: auto;
  animation: rise .25s ease;
}
@keyframes rise { from { transform: translateY(24px); opacity: 0 } to { transform: none; opacity: 1 } }
.modal-close { position: absolute; top: 16px; right: 16px; border: none; background: #f1f3f5; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 15px; color: var(--sub); }
.modal-close:hover { background: #e5e7eb; color: var(--ink); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; padding-right: 40px; }
.modal-head h3 { font-size: 19px; }
.mode-toggle { display: flex; background: #f1f3f5; border-radius: 12px; padding: 4px; gap: 4px; }
.mode-btn { border: none; background: transparent; font-family: inherit; font-weight: 600; font-size: 13.5px; color: var(--sub); border-radius: 9px; padding: 8px 14px; cursor: pointer; }
.mode-btn.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }

.progress-track { height: 7px; background: #eef1f4; border-radius: 99px; overflow: hidden; margin-bottom: 22px; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #22c55e, #16a34a); border-radius: 99px; transition: width .3s ease; }

.slide-area { min-height: 210px; display: flex; align-items: center; }
.slide { display: none; width: 100%; text-align: center; animation: fadein .3s ease; }
.slide.active { display: block; }
@keyframes fadein { from { opacity: 0; transform: translateX(12px) } to { opacity: 1; transform: none } }
.slide-ico {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 26px;
  background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 40px;
}
.slide h4 { font-size: 21px; margin-bottom: 10px; }
.slide p { color: var(--sub); font-size: 15.5px; max-width: 480px; margin: 0 auto; }
.slide .slide-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--brand-dark); background: var(--brand-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }

.dots { display: flex; justify-content: center; gap: 7px; margin: 18px 0 20px; }
.dot-i { width: 9px; height: 9px; border-radius: 50%; background: #d6dade; border: none; cursor: pointer; padding: 0; transition: all .15s; }
.dot-i.active { background: var(--brand); width: 26px; border-radius: 99px; }
.modal-actions { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.modal-actions .spacer { flex: 1; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .section { padding: 54px 0; }
  .sec-sub { margin-bottom: 32px; }
  .hero-inner { padding-top: 44px; padding-bottom: 40px; gap: 8px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-lg { padding: 14px 22px; font-size: 15.5px; }
  .hero-meta { font-size: 12.5px; gap: 12px; }
  .price { font-size: 32px; }
  .card { padding: 22px 18px; }
  .install-art { display: none; }
  .modal { padding: 24px 16px 18px; border-radius: 18px; max-height: 94vh; }
  .modal-head h3 { font-size: 16.5px; }
  .slide h4 { font-size: 18px; }
  .slide p { font-size: 14px; }
  .slide-area { min-height: 240px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; }
  .lang-gate-card { padding: 30px 20px; }
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .section { padding: 64px 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
