:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --secondary: #7c3aed;
  --success: #10b981;
  --amber: #f59e0b;
  --blue: #0ea5e9;
  --destructive: #ef4444;
  --border: #e2e8f0;
  --radius-card: 20px;
  --radius-btn: 999px;
  --radius-input: 12px;
  --shadow-card: 0 8px 24px rgba(79, 70, 229, 0.08);
  --shadow-card-lg: 0 20px 48px rgba(79, 70, 229, 0.14);
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

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

section[id] {
  scroll-margin-top: 84px;
}

/* ---------- Urgency banner ---------- */
.urgency-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 20px;
  animation: pulse-urgency 2.4s ease-in-out infinite;
}

.urgency-banner strong {
  font-weight: 800;
}

@keyframes pulse-urgency {
  0%, 100% { box-shadow: 0 0 0 0 rgba(185, 28, 28, 0.15); }
  50% { box-shadow: 0 0 0 6px rgba(185, 28, 28, 0); }
}

@media (max-width: 900px) {
  .urgency-banner {
    margin-left: auto;
    margin-right: auto;
  }
}

.seats-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 7px 16px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 22px;
}

/* ---------- Fee breakdown ---------- */
.fee-breakdown {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  text-align: left;
}

.fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.fee-row:last-child {
  border-bottom: none;
}

.fee-row-highlight {
  background: #f2f0ff;
}

.fee-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.fee-row-highlight .fee-label {
  color: var(--primary-dark);
}

.fee-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.fee-value-strike {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 600;
}

.fee-value-primary {
  font-size: 1.3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Certificates ---------- */
.certificates {
  padding: 64px 0 72px;
  background: var(--surface);
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.certificate-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.certificate-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.certificate-item img {
  max-width: 100%;
  max-height: 130px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 700px) {
  .certificates-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .certificate-item {
    padding: 14px;
    min-height: 100px;
  }

  .certificate-item img {
    max-height: 72px;
  }
}

@media (max-width: 420px) {
  .certificates-grid {
    grid-template-columns: 1fr;
  }

  .certificate-item {
    min-height: 120px;
  }

  .certificate-item img {
    max-height: 96px;
  }
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-primary);
  flex-shrink: 0;
}

.eyebrow-center {
  display: flex;
  justify-content: center;
}

/* ---------- Header ---------- */
header.site-header {
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand .brand-logo {
  height: 56px;
  width: auto;
  display: block;
}

@media (max-width: 560px) {
  .brand .brand-logo {
    height: 44px;
  }
}

nav.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav.site-nav a:hover {
  color: var(--primary);
}

.header-cta {
  background: var(--gradient-primary);
  color: #fff;
  padding: 11px 24px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.38);
}

.header-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .header-cta-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  nav.site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  }

  nav.site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  nav.site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .header-cta-mobile {
    display: block;
    text-align: center;
    margin-top: 14px;
    border-bottom: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: var(--radius-btn);
  padding: 15px 32px;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 48px;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.4);
}

.btn-outline {
  background: #fff;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: #f2f0ff;
}

.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-full {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 88px;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.hero-blob-1 {
  width: 480px;
  height: 480px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, var(--secondary), transparent 70%);
}

.hero-blob-2 {
  width: 380px;
  height: 380px;
  bottom: -160px;
  left: -140px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
}

.hero-blob-3 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--secondary), transparent 70%);
  opacity: 0.18;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  margin: 0 0 20px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p.sub {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 520px;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-trust-row span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background: var(--gradient-primary);
}

.avatar-stack span:first-child {
  margin-left: 0;
}

.avatar-stack span:nth-child(2) {
  background: linear-gradient(135deg, var(--amber), #fbbf24);
}

.avatar-stack span:nth-child(3) {
  background: linear-gradient(135deg, var(--success), #34d399);
}

.avatar-stack span:nth-child(4) {
  background: linear-gradient(135deg, var(--blue), #38bdf8);
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 420px;
  padding-top: 44px;
}

.hero-visual-main {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-lg);
  border: 1px solid var(--border);
  padding: 28px;
  max-width: 340px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-visual-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-visual-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.hero-visual-row {
  margin-bottom: 16px;
}

.hero-visual-row span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gradient-primary);
}

.hero-visual-cta {
  display: block;
  text-align: center;
  margin-top: 22px;
  padding: 12px;
  border-radius: var(--radius-btn);
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 14px 18px;
  animation: float 6s ease-in-out infinite;
}

.float-card-cert {
  top: -12px;
  left: -10px;
  z-index: 2;
}

.float-card-locations {
  bottom: 8px;
  right: -10px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-violet {
  background: #ede9fe;
  color: var(--secondary);
}

.icon-emerald {
  background: #d1fae5;
  color: var(--success);
}

.icon-amber {
  background: #fef3c7;
  color: var(--amber);
}

.icon-blue {
  background: #e0f2fe;
  color: var(--blue);
}

.float-card-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.float-card-sub {
  font-size: 0.76rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-copy p.sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .hero-trust-row {
    justify-content: center;
  }

  .hero-visual {
    min-height: 380px;
  }

  .float-card {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 0 56px;
  }

  .hero-visual-main {
    padding: 22px;
  }
}

/* ---------- Section titles ---------- */
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.section-title-left {
  text-align: left;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 44px;
  font-size: 1.02rem;
}

/* ---------- Video section ---------- */
.video-section {
  padding: 72px 0;
  background: var(--surface);
}

.promo-video {
  display: block;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-lg);
  background: #000;
}

/* ---------- Trust ---------- */
.trust {
  padding: 72px 0;
  background: var(--bg);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-lg);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.trust-card .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.trust-card .label {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- About ---------- */
.about {
  padding: 72px 0;
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 780px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .section-title-left {
    text-align: center;
  }

  .about-copy .eyebrow {
    display: flex;
    justify-content: center;
  }
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 16px;
  font-size: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
}

.stat-card .num {
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.stat-card .label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

/* ---------- Pricing ---------- */
.pricing {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 72px 0;
}

.pricing .container {
  position: relative;
  z-index: 1;
}

.step-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
}

.step.active,
.step.done {
  opacity: 1;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.step.active .step-num {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

.step.done .step-num {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.step-connector {
  width: 50px;
  height: 2px;
  background: var(--border);
}

.price-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-card-lg);
}

.qr-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: inline-block;
  margin-bottom: 20px;
}

.qr-wrap img {
  width: 200px;
  height: 200px;
}

.upi-id {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.remark-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.84rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.remark-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.remark-note span {
  flex: 1;
  min-width: 0;
}

.remark-note strong {
  font-weight: 800;
}

.pay-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 16px;
}

.upi-app-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

.upi-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.upi-app-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  min-height: 48px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.upi-app-btn:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.15);
  transform: translateY(-1px);
}

.upi-app-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
}

.upi-app-icon-gpay {
  background: #4285f4;
}

.upi-app-icon-phonepe {
  background: #5f259f;
}

.upi-app-icon-paytm {
  background: #00baf2;
}

.upi-app-icon-other {
  background: var(--gradient-primary);
}

@media (max-width: 420px) {
  .upi-app-grid {
    grid-template-columns: 1fr;
  }
}

.continue-box {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.continue-box p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 14px;
  font-weight: 600;
}

/* ---------- Form ---------- */
.register {
  padding: 72px 0 88px;
  background: var(--surface);
}

form#registerForm {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 480px) {
  form#registerForm {
    padding: 24px 18px;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--text);
}

.field input,
.field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-input);
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.field small {
  color: var(--muted);
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
}

/* Mode toggle (Offline / Online) */
.mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mode-toggle input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.mode-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  min-height: 48px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mode-toggle input[type="radio"]:checked + .mode-option {
  border-color: var(--primary);
  background: #f2f0ff;
  color: var(--primary-dark);
}

.mode-toggle input[type="radio"]:focus-visible + .mode-option {
  outline: none;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.18);
}

/* Modal dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
  animation: modal-fade-in 0.2s ease;
}

.modal-overlay[hidden] {
  display: none;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-lg);
  padding: 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  animation: pop-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.modal-card h3 {
  margin: 0 0 20px;
  font-size: 1.2rem;
  font-weight: 800;
}

.modal-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}

.modal-list-badge {
  flex-shrink: 0;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: var(--radius-btn);
  white-space: nowrap;
}

.form-msg {
  text-align: center;
  margin-top: 14px;
  font-size: 0.9rem;
  min-height: 1.2em;
  font-weight: 600;
}

.form-msg.error {
  color: var(--destructive);
}

.form-msg.success {
  color: var(--success);
}

/* ---------- Contact ---------- */
.contact {
  padding: 72px 0 88px;
  background: var(--bg);
}

.pan-india-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  background: #f2f0ff;
  color: var(--primary-dark);
  border: 1px solid #ddd6fe;
  font-weight: 700;
  font-size: 0.9rem;
}

.pan-india-banner svg {
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .pan-india-banner {
    text-align: left;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-lg);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card h4 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.98rem;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 0 110px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.footer-grid h4 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 0.95rem;
}

.footer-grid a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #64748b;
  font-size: 0.8rem;
}

/* ---------- Floating action buttons ---------- */
.fab-wrap {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
  transition: transform 0.2s ease;
}

.fab-whatsapp {
  background: #25d366;
}

.fab-call {
  background: var(--gradient-primary);
}

.fab:hover {
  transform: scale(1.08);
}

/* ---------- Thank you page ---------- */
.ty-header {
  display: flex;
  justify-content: center;
  padding: 20px 20px 0;
  position: relative;
  z-index: 2;
}

.ty-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 32px 20px 64px;
}

.ty-container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.ty-hero {
  text-align: center;
  padding: 24px 0 8px;
}

.ty-check {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.32);
  animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pop-in {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.ty-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ty-sub {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* Summary card */
.ty-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-lg);
  margin: 36px 0;
  overflow: hidden;
}

.ty-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.92rem;
}

.ty-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #d1fae5;
  color: #047857;
  padding: 4px 12px;
  border-radius: var(--radius-btn);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ty-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.ty-summary-row:last-child {
  border-bottom: none;
}

.ty-summary-row[hidden] {
  display: none;
}

@media (max-width: 460px) {
  .ty-summary-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .ty-summary-value {
    text-align: left;
  }
}

.ty-summary-row-final {
  background: #f2f0ff;
}

.ty-summary-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.ty-summary-value {
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

.ty-summary-paid {
  color: #047857;
}

.ty-summary-row-final .ty-summary-label,
.ty-summary-row-final .ty-summary-value {
  color: var(--primary-dark);
  font-weight: 800;
}

/* Steps */
.ty-steps {
  margin: 44px 0;
}

.ty-steps-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.ty-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ty-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 18px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.ty-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ty-step-num {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ty-step h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 700;
}

.ty-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .ty-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Actions card */
.ty-actions-card {
  text-align: center;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.ty-actions-card p {
  margin: 0 0 18px;
  font-weight: 700;
  color: var(--text);
}

.ty-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
