:root {
  --navy: #14417b;
  --navy-dark: #0d2f5c;
  --navy-deep: #0a2547;
  --blue: #1e6fd9;
  --sky: #eaf3fc;
  --sky-2: #d7e8f9;
  --green: #1fa971;
  --red: #e04545;
  --yellow: #ffd23f;
  --cream: #fdf6dc;
  --text: #24303f;
  --muted: #5c6b7d;
  --white: #ffffff;
  --brand-accent: var(--yellow);
  --brand-accent-dark: #e0a400;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 47, 92, 0.12);
}

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

html { scroll-behavior: smooth; }

section[id], .cta-wrap { scroll-margin-top: 80px; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top bar ---------- */
/* Transparent over the hero; .scrolled (added by js/main.js) switches it to white */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.topbar.scrolled {
  background: var(--white);
  border-bottom: 1px solid var(--sky-2);
  box-shadow: 0 2px 12px rgba(13, 47, 92, 0.08);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--white);
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}
.topbar.scrolled .brand { color: var(--navy); }
/* Hide topbar brand at the top of the page — the hero lockup is showing */
.topbar .brand {
  opacity: 0;
  pointer-events: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.topbar.scrolled .brand {
  opacity: 1;
  pointer-events: auto;
}
.brand .logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
}
.brand .one { color: var(--brand-accent); }
.topbar.scrolled .brand .one { color: var(--brand-accent-dark); }
.topbar nav { display: flex; align-items: center; gap: 22px; }
.topbar nav a:not(.btn) {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.topbar nav a:not(.btn):hover { color: var(--yellow); }
.topbar.scrolled nav a:not(.btn) { color: var(--navy); }
.topbar.scrolled nav a:not(.btn):hover { color: var(--blue); }
.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.lang-toggle button {
  background: transparent;
  color: var(--white);
  border: none;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-toggle button.active {
  background: var(--yellow);
  color: var(--navy-deep);
}
.topbar.scrolled .lang-toggle { border-color: var(--sky-2); }
.topbar.scrolled .lang-toggle button { color: var(--navy); }
.topbar.scrolled .lang-toggle button.active {
  background: var(--navy);
  color: var(--white);
}
.topbar .btn-navy {
  background: var(--yellow);
  color: var(--navy-deep);
  transition: background 0.3s ease, color 0.3s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.topbar.scrolled .btn-navy {
  background: var(--navy);
  color: var(--white);
}
.nav-links { display: flex; gap: 22px; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--yellow); color: var(--navy-deep); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-green { background: var(--green); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-sm { padding: 9px 20px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 55%, #1a5aa8 100%);
  color: var(--white);
  padding: 140px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.hero::before {
  content: "";
  position: absolute;
  left: -100px;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}
/* Hero brand lockup pinned to the top nav row (left slot is empty until scroll) */
.hero-brand-row {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  z-index: 2;
}
.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.hero-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.hero-brand-name {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: var(--white);
}
.hero-brand-name .one { color: var(--brand-accent); }
.hero-brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #8fb4de;
  margin-top: 2px;
}
.hero h1 {
  font-size: 3rem;
  line-height: 1.12;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero h1 .accent { color: var(--yellow); }
.hero .tagline {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy-deep);
  font-weight: 800;
  padding: 8px 22px;
  border-radius: 6px;
  margin: 18px 0 20px;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
}
.hero p.sub {
  font-size: 1.1rem;
  color: #d9e6f5;
  max-width: 520px;
  margin-bottom: 26px;
}
.hero-points { list-style: none; margin-bottom: 32px; }
.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.hero-points .mark {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 900;
}
.mark-no { background: var(--red); }
.mark-yes { background: var(--green); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Phone mockup ---------- */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 290px;
  background: #10131a;
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transform: rotate(3deg);
}
.phone .screen {
  background: #f4f7fb;
  border-radius: 28px;
  overflow: hidden;
}
.phone .notch {
  height: 22px;
  background: #10131a;
  border-radius: 0 0 14px 14px;
  width: 130px;
  margin: 0 auto;
}
.app-header {
  background: var(--navy);
  color: var(--white);
  padding: 14px 16px 12px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: -22px;
  padding-top: 34px;
}
.app-body { padding: 12px; }
.stat-row { display: flex; gap: 10px; margin-bottom: 10px; }
.stat-card {
  flex: 1;
  background: var(--white);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 2px 8px rgba(13, 47, 92, 0.08);
}
.stat-card .label { font-size: 0.62rem; color: var(--muted); font-weight: 600; }
.stat-card .value { font-size: 1rem; font-weight: 800; }
.v-green { color: var(--green); }
.v-orange { color: #e8890c; }
.v-blue { color: var(--blue); }
.v-purple { color: #7b4fd1; }
.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(13, 47, 92, 0.06);
}
.menu-item .mi-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 7px;
  background: var(--sky);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.menu-item .chev { margin-left: auto; color: #aab6c5; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .kicker {
  display: inline-block;
  background: var(--sky);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: 2.1rem;
  color: var(--navy-deep);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-head h2 .accent { color: var(--blue); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Problem section ---------- */
.problem { background: var(--cream); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
}
.problem-card .icon { font-size: 2rem; margin-bottom: 12px; }
.problem-card h3 { color: var(--navy-deep); font-size: 1.15rem; margin-bottom: 8px; }
.problem-card p { color: var(--muted); font-size: 0.95rem; }
.problem-solution {
  margin-top: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.problem-solution h3 { font-size: 1.4rem; font-weight: 800; }
.problem-solution h3 .accent { color: var(--yellow); }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--sky-2);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.feature-card h3 { color: var(--navy-deep); font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Modules ---------- */
.modules { background: linear-gradient(180deg, var(--sky) 0%, var(--white) 100%); }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.module-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.module-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.module-card ul { list-style: none; }
.module-card li {
  padding: 7px 0 7px 28px;
  position: relative;
  color: var(--text);
  font-size: 0.97rem;
  border-bottom: 1px dashed var(--sky-2);
}
.module-card li:last-child { border-bottom: none; }
.module-card li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

/* ---------- Social proof ---------- */
.proof {
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}
.proof h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 10px; }
.proof h2 .accent { color: var(--yellow); }
.proof p { color: #b9cbe2; max-width: 560px; margin: 0 auto 30px; }
.proof-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.proof-stat .num { font-size: 2.4rem; font-weight: 900; color: var(--yellow); }
.proof-stat .lbl { font-size: 0.9rem; color: #b9cbe2; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--sky);
}
.step-card .num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.step-card h3 { color: var(--navy-deep); font-size: 1.1rem; margin-bottom: 6px; }
.step-card p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Promotional poster ---------- */
.poster { background: var(--sky); }
.poster-frame {
  max-width: 460px;
  margin: 0 auto 28px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.poster-frame img { display: block; width: 100%; }
.poster-actions { text-align: center; }

/* ---------- Contact / CTA ---------- */
.cta {
  background: linear-gradient(150deg, var(--navy) 0%, #1a5aa8 100%);
  color: var(--white);
  text-align: center;
  border-radius: 24px;
  margin: 0 20px;
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}
.cta-wrap { padding: 0 0 72px; }
.cta h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 12px; }
.cta h2 .accent { color: var(--yellow); }
.cta p { color: #d9e6f5; font-size: 1.1rem; margin-bottom: 30px; }
.cta .contact-line {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cta .contact-line a { color: var(--yellow); text-decoration: none; }
.cta .contact-line-secondary {
  font-size: 1.15rem;
  margin-top: -14px;
}
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-deep);
  color: #9fb4cd;
  padding: 44px 0 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr;
  gap: 36px;
  padding-bottom: 32px;
}
.footer-grid p { margin-bottom: 10px; }
.footer-brand {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-brand .one { color: var(--brand-accent); }
.footer-grid h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.footer-grid strong { color: var(--white); }
footer a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  padding-bottom: 18px;
  text-align: center;
  font-size: 0.82rem;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }

/* Floating language toggle — pinned just above the WhatsApp button.
   Solid navy backing so the white/yellow buttons read over any section. */
.lang-float {
  position: absolute;
  top: 100%; /* stick to the bottom edge of the top bar */
  right: 20px; /* aligns under the Book Free Demo button */
  margin-top: 4px; /* small gap so the rounded top corners are visible */
  z-index: 200;
  flex-direction: column; /* stack हिंदी over EN */
  background: var(--navy-deep);
  border-color: rgba(255, 255, 255, 0.35);
  border-radius: 18px; /* round all corners */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.lang-float button { padding: 9px 14px; text-align: center; }
/* divider between the stacked buttons */
.lang-float button + button { border-top: 1px solid rgba(255, 255, 255, 0.25); }
/* Keep the toggle's own colours when the bar turns white on scroll — otherwise the
   generic .topbar.scrolled .lang-toggle rules would make it navy text on navy. */
.topbar.scrolled .lang-float { border-color: rgba(255, 255, 255, 0.35); }
.topbar.scrolled .lang-float button { color: var(--white); }
.topbar.scrolled .lang-float button.active { background: var(--yellow); color: var(--navy-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .phone { transform: rotate(0deg); margin-top: 10px; }
  .problem-grid, .features-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 110px 0 60px; }
  .topbar nav { gap: 10px; }
  .topbar .btn-sm { padding: 8px 12px; font-size: 0.8rem; }
  .lang-toggle button { padding: 6px 10px; font-size: 0.75rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero-logo { width: 52px; height: 52px; }
  .hero-brand-name { font-size: 1.45rem; }
  .hero-brand-tag { font-size: 0.56rem; letter-spacing: 2px; }
  .problem-grid, .features-grid, .steps-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 1.6rem; }
  .cta h2 { font-size: 1.6rem; }
  .proof-stats { gap: 30px; }
  section { padding: 52px 0; }
}
