/* =========================================================
   BhumiPrint PRO — Modern SaaS UI (Light & Dark Theme)
   ========================================================= */
:root {
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.84);
  --text: #0f172a;
  --text-soft: #475569;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --brand-orange: #ea580c;
  --brand-amber: #f59e0b;
  --success: #16a34a;
  --success-bg: #dcfce7;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(37, 99, 235, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --hero-glow: radial-gradient(circle at 20% 20%, rgba(234, 88, 12, 0.12), transparent 45%),
               radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.14), transparent 45%);
}

[data-theme="dark"] {
  --bg: #070b14;
  --bg-alt: #0d1322;
  --surface: #111827;
  --surface-glass: rgba(17, 24, 39, 0.85);
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --muted: #94a3b8;
  --border: #1e293b;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --brand-orange: #f97316;
  --brand-amber: #fbbf24;
  --success: #4ade80;
  --success-bg: rgba(22, 163, 74, 0.18);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 55px rgba(0, 0, 0, 0.6);
  --hero-glow: radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.16), transparent 45%),
               radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.18), transparent 45%);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Announcement Bar (Admin Notice) */
.top-notice {
  background: linear-gradient(90deg, var(--brand-orange), #d97706);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
}

/* Sticky Glass Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

/* Coded SVG Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-icon-svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(234, 88, 12, 0.28));
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-size: 10px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-orange), var(--primary));
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.4px;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Theme Switch Button */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.theme-toggle-btn .icon-sun { display: none; }
.theme-toggle-btn .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle-btn .icon-sun { display: block; color: #fbbf24; }
[data-theme="dark"] .theme-toggle-btn .icon-moon { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.36);
}

.btn-orange {
  background: linear-gradient(135deg, var(--brand-orange), #c2410c);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.28);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.36);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 15px;
  border-radius: 13px;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 14px 20px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
}

.mobile-nav a:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  position: relative;
  padding: 72px 0 64px;
  background-image: var(--hero-glow);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px var(--success-bg);
}

.hero-title {
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-orange), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hero Visual Mockup Card */
.hero-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.dots i:nth-child(1) { background: #ef4444; }
.dots i:nth-child(2) { background: #f59e0b; }
.dots i:nth-child(3) { background: #22c55e; }

.mockup-url {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 4px 12px;
  border-radius: 20px;
}

.preview-sheet {
  background: #ffffff;
  color: #0f172a;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  padding: 12px;
}

.preview-banner {
  background: linear-gradient(105deg, #ffffff 0%, #ffffff 22%, #ea580c 23%, #f59e0b 65%, #fed7aa 100%);
  border-bottom: 3px solid #9a5a22;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.preview-banner-left {
  font-size: 10px;
  font-weight: 800;
  color: #1e293b;
}

.preview-banner-right {
  text-align: right;
  font-size: 11px;
  font-weight: 800;
  color: #000000;
}

.preview-pills {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.preview-pills span {
  font-size: 9.5px;
  font-weight: 700;
  color: #1d4ed8;
  background: #fffbeb;
  border: 1px solid #f59e0b;
  padding: 2px 8px;
  border-radius: 20px;
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
  margin-bottom: 10px;
}

.preview-table th,
.preview-table td {
  border: 1px solid #334155;
  padding: 5px;
  text-align: center;
}

.preview-table th {
  background: #dce3ec;
  font-weight: 800;
}

.preview-table tr:nth-child(even) td {
  background: #f1f5f9;
}

.preview-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
}

.preview-summary .pill-or {
  background: #ea580c;
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
}

.preview-summary .pill-bl {
  flex: 1;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #1d4ed8;
  padding: 4px 8px;
  border-radius: 6px;
}

.floating-badge {
  position: absolute;
  bottom: -14px;
  right: 18px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
}

/* =========================================================
   STATS STRIP & SECTIONS
   ========================================================= */
.stats-strip {
  padding: 26px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
}

.stat-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-orange);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 900;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 15px;
  color: var(--text-soft);
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.f-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-soft);
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-orange), var(--primary));
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-soft);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.price-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.popular-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-orange), var(--primary));
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.plan-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.plan-days {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 18px;
}

.plan-price {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.plan-price small {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex: 1;
}

.plan-features li {
  font-size: 13.5px;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
}

/* FAQ Accordion */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.faq-item summary {
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--primary);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

/* CTA Banner */
.cta-box {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 46px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  margin-bottom: 10px;
}

.cta-box p {
  color: #cbd5e1;
  max-width: 560px;
  margin: 0 auto 24px;
  font-size: 15px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 54px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-desc {
  font-size: 13.5px;
  color: var(--text-soft);
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--text-soft);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-disclaimer {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* Floating WhatsApp Support */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.08);
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 960px) {
  .hero-grid,
  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links,
  .nav-actions .btn-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 46px 0 42px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-box {
    padding: 34px 20px;
  }
}

/* =========================================================
   INNER PAGES: CHECKOUT, TRACKER, CONTACT & LEGAL DOCS
   ========================================================= */
.page-hero {
  padding: 46px 0 36px;
  background-image: var(--hero-glow);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 900;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto;
  font-size: 15px;
}

.page-wrap {
  padding: 42px 0 68px;
}

/* Alerts */
.alert-box {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
  border: 1px solid transparent;
}

.alert-success { background: var(--success-bg); color: var(--success); border-color: rgba(22, 163, 74, 0.35); }
.alert-error { background: rgba(220, 38, 38, 0.12); color: #ef4444; border-color: rgba(220, 38, 38, 0.3); }
.alert-info { background: rgba(37, 99, 235, 0.1); color: var(--primary); border-color: rgba(37, 99, 235, 0.25); }

/* Reusable Surface Panel */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.panel-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Form Elements */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.field-hint {
  font-size: 12px;
  color: var(--muted);
}

/* Checkout Layout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: start;
}

.plan-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.plan-radio-card {
  position: relative;
  border: 1.5px solid var(--border);
  background: var(--bg);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
}

.plan-radio-card input {
  position: absolute;
  opacity: 0;
}

.plan-radio-card.selected {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.prc-name { font-size: 13.5px; font-weight: 800; display: block; }
.prc-meta { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; margin-top: 4px; font-weight: 600; }
.prc-price { color: var(--brand-orange); font-weight: 800; }

/* UPI QR Payment Box */
.upi-box {
  text-align: center;
  background: var(--bg-alt);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 18px;
}

.qr-frame {
  display: inline-block;
  background: #ffffff;
  padding: 12px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  margin: 10px 0 12px;
}

.qr-frame img {
  width: 196px;
  height: 196px;
  display: block;
}

.upi-id-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 12px;
  border-radius: 10px;
  font-family: monospace;
  font-size: 13.5px;
  font-weight: 700;
}

.copy-mini-btn {
  padding: 4px 10px;
  border-radius: 7px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  font-size: 18px;
  font-weight: 900;
  color: var(--primary);
}

/* License Reveal Box */
.license-reveal {
  background: var(--bg-alt);
  border: 2px dashed var(--success);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  margin: 18px 0;
}

.license-code-big {
  font-family: monospace;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--text);
  background: var(--surface);
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: inline-block;
  margin: 10px 0;
}

/* Order Tracker Cards */
.search-bar-box {
  max-width: 640px;
  margin: 0 auto 30px;
}

.search-inline {
  display: flex;
  gap: 10px;
}

.search-inline input {
  flex: 1;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  outline: none;
}

.search-inline input:focus {
  border-color: var(--primary);
}

.order-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.status-pill {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.st-approved { background: var(--success-bg); color: var(--success); }
.st-pending { background: rgba(245, 158, 11, 0.16); color: #d97706; }
.st-rejected, .st-failed { background: rgba(220, 38, 38, 0.15); color: #ef4444; }

.order-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  font-size: 13.5px;
}

.order-meta-grid small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: start;
}

.info-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 19px;
  flex-shrink: 0;
}

.info-item h4 { font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.info-item p { font-size: 13px; color: var(--text-soft); }

/* Legal Document Styling */
.legal-card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 38px;
  box-shadow: var(--shadow-sm);
}

.legal-updated {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.legal-card h2 {
  font-size: 19px;
  font-weight: 800;
  margin: 24px 0 10px;
  color: var(--text);
}

.legal-card p,
.legal-card li {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 10px;
  line-height: 1.7;
}

.legal-card ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

@media (max-width: 860px) {
  .checkout-grid,
  .contact-grid,
  .form-row-2,
  .plan-selector-grid {
    grid-template-columns: 1fr;
  }
  .search-inline {
    flex-direction: column;
  }
  .legal-card {
    padding: 24px 20px;
  }
}

/* =========================================================
   USER AUTH (LOGIN / REGISTER) & MEMBER DASHBOARD
   ========================================================= */
.auth-wrap {
  padding: 54px 0 76px;
  background-image: var(--hero-glow);
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
}

.auth-head {
  text-align: center;
  margin-bottom: 22px;
}

.auth-head h1 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 6px;
}

.auth-head p {
  font-size: 13.5px;
  color: var(--text-soft);
}

.auth-switch {
  text-align: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-soft);
}

.auth-switch a {
  color: var(--primary);
  font-weight: 700;
}

/* Member Dashboard */
.dash-banner {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.dash-banner h1 {
  font-size: 23px;
  font-weight: 900;
  margin-bottom: 4px;
}

.dash-banner p {
  font-size: 13.5px;
  color: #cbd5e1;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.dash-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.dash-stat small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.dash-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  margin-top: 6px;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 24px;
  align-items: start;
}

.license-tile {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
}

.lt-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.lt-key {
  font-family: monospace;
  font-size: 16px;
  font-weight: 900;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: 0.6px;
}

.lt-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  font-size: 13px;
  margin-bottom: 14px;
}

.lt-meta small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.lt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-xs {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }
}