@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── RATHNA LOADER ───────────────────────────────────────────────────────── */
.rathna-loader-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  transition: opacity 0.4s ease;
}
.rathna-loader-overlay.hidden { opacity: 0; pointer-events: none; }
.rathna-loader-wrap { position: relative; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.rathna-loader-ring {
  width: 72px; height: 72px; border-radius: 50%;
  border: 3px solid rgba(124,58,237,0.15);
  border-top-color: #7c3aed;
  border-right-color: #a855f7;
  animation: rathnaSpin 0.9s linear infinite;
  position: absolute;
}
.rathna-loader-logo {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(124,58,237,0.2);
  box-shadow: 0 4px 16px rgba(124,58,237,0.2);
  animation: rathnaLogoPulse 1.8s ease-in-out infinite;
}
.rathna-loader-text {
  font-size: 0.82rem; font-weight: 700;
  color: var(--primary, #7c3aed);
  letter-spacing: 0.5px;
  animation: rathnaLogoPulse 1.8s ease-in-out infinite;
}
@keyframes rathnaSpin { to { transform: rotate(360deg); } }
@keyframes rathnaLogoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(0.96); }
}

/* ── FALLING DOODLES ─────────────────────────────────────────────────────── */
.doodles-bg {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  overflow: hidden;
}
@media (max-width: 768px) { .doodles-bg { bottom: 62px; } }
.doodle {
  pointer-events: all; cursor: pointer;
  position: absolute; top: -120px;
  opacity: 0;
  animation: doodleFall linear infinite;
}
.doodle svg { display: block; }
.doodle-popup {
  position: fixed;
  background: linear-gradient(135deg, var(--primary, #7c3aed), #a855f7);
  color: #fff; padding: 8px 18px; border-radius: 30px;
  font-size: 0.85rem; font-weight: 800;
  pointer-events: none; z-index: 10000; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(124,58,237,0.4);
  animation: popupAnim 3s ease forwards;
  transform: translate(-50%, -50%);
}
@keyframes popupAnim {
  0%   { opacity: 0; transform: translate(-50%, -60%) scale(0.7); }
  15%  { opacity: 1; transform: translate(-50%, -70%) scale(1.1); }
  30%  { transform: translate(-50%, -75%) scale(1); }
  80%  { opacity: 1; transform: translate(-50%, -80%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -95%) scale(0.9); }
}
@keyframes doodleFall {
  0%   { transform: translateY(0) rotate(0deg);   opacity: 0; }
  5%   { opacity: 0.35; }
  90%  { opacity: 0.25; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}
.doodle:nth-child(1)  { left:3%;   width:28px; animation-duration:18s; animation-delay:0s;    }
.doodle:nth-child(2)  { left:9%;   width:22px; animation-duration:22s; animation-delay:2s;    }
.doodle:nth-child(3)  { left:16%;  width:32px; animation-duration:16s; animation-delay:4s;    }
.doodle:nth-child(4)  { left:23%;  width:20px; animation-duration:21s; animation-delay:1s;    }
.doodle:nth-child(5)  { left:30%;  width:26px; animation-duration:19s; animation-delay:6s;    }
.doodle:nth-child(6)  { left:38%;  width:30px; animation-duration:15s; animation-delay:3s;    }
.doodle:nth-child(7)  { left:45%;  width:24px; animation-duration:24s; animation-delay:5s;    }
.doodle:nth-child(8)  { left:52%;  width:28px; animation-duration:18s; animation-delay:7s;    }
.doodle:nth-child(9)  { left:59%;  width:20px; animation-duration:21s; animation-delay:2.5s;  }
.doodle:nth-child(10) { left:66%;  width:34px; animation-duration:16s; animation-delay:8s;    }
.doodle:nth-child(11) { left:73%;  width:22px; animation-duration:25s; animation-delay:9s;    }
.doodle:nth-child(12) { left:80%;  width:28px; animation-duration:19s; animation-delay:10s;   }
.doodle:nth-child(13) { left:87%;  width:18px; animation-duration:22s; animation-delay:11s;   }
.doodle:nth-child(14) { left:93%;  width:30px; animation-duration:18s; animation-delay:0.5s;  }
.doodle:nth-child(15) { left:6%;   width:24px; animation-duration:21s; animation-delay:3.5s;  }
.doodle:nth-child(16) { left:13%;  width:26px; animation-duration:24s; animation-delay:12s;   }
.doodle:nth-child(17) { left:27%;  width:20px; animation-duration:16s; animation-delay:1.5s;  }
.doodle:nth-child(18) { left:42%;  width:32px; animation-duration:19s; animation-delay:7.5s;  }
.doodle:nth-child(19) { left:57%;  width:22px; animation-duration:22s; animation-delay:4.5s;  }
.doodle:nth-child(20) { left:70%;  width:28px; animation-duration:18s; animation-delay:9.5s;  }
.doodle:nth-child(21) { left:83%;  width:24px; animation-duration:21s; animation-delay:6.5s;  }
.doodle:nth-child(22) { left:96%;  width:20px; animation-duration:15s; animation-delay:2s;    }

/* ── RESET ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #3b1f6e;
  background: #f3f0ff;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ── CSS VARIABLES ───────────────────────────────────────────────────────── */
:root {
  --primary:       #7c3aed;
  --primary-light: #a78bfa;
  --accent:        #c4b5fd;
  --bg:            #f3f0ff;
  --glass:         rgba(255,255,255,0.55);
  --glass-border:  rgba(196,181,253,0.5);
  --dark:          #2e1065;
  --text:          #3b1f6e;
  --muted:         #7c6fa0;
  --radius:        16px;
  --radius-sm:     10px;
  --radius-xs:     8px;

  /* Blinkit-style spacing scale */
  --sp-2:  4px;
  --sp-3:  6px;
  --sp-4:  8px;
  --sp-5:  10px;
  --sp-6:  12px;
  --sp-8:  16px;
  --sp-10: 20px;
  --sp-12: 24px;
  --sp-14: 28px;
  --sp-16: 32px;
  --sp-20: 40px;
  --sp-24: 48px;
  --sp-32: 64px;

  /* Touch target minimum */
  --tap: 44px;
}

/* ── ANIMATED BACKGROUND ─────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(167,139,250,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 10%, rgba(196,181,253,0.3)  0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(139,92,246,0.2)   0%, transparent 60%),
    radial-gradient(ellipse at 90% 70%, rgba(221,214,254,0.4)  0%, transparent 50%),
    linear-gradient(160deg, #ede9fe 0%, #f5f3ff 40%, #faf5ff 100%);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(circle 300px at 10% 60%, rgba(167,139,250,0.18) 0%, transparent 70%),
    radial-gradient(circle 200px at 75% 40%, rgba(196,181,253,0.22) 0%, transparent 70%);
  animation: blobShift 12s ease-in-out infinite alternate;
}
@keyframes blobShift {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.08) translateY(-20px); }
}

/* ── NAV ─────────────────────────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-8);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky; top: 0; z-index: 200;
  min-height: var(--tap);
  gap: var(--sp-6);
}

/* Brand logo + name + badge (matches Rathna Sarees pattern) */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo-wrap {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(124,58,237,0.2);
  box-shadow: 0 2px 10px rgba(124,58,237,0.2);
  background: #fff;
}
.brand-logo-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: block;
  line-height: 1.1;
  color: transparent;
  background: linear-gradient(135deg, #2e1065, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
}
.brand-badge {
  font-size: 0.62rem;
  font-weight: 700;
  color: #f57c00;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
}

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}
nav ul, .nav-links {
  list-style: none;
  display: flex;
  gap: var(--sp-6);
  align-items: center;
}
nav ul a, .nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: var(--sp-3) var(--sp-5);
  border-radius: 50px;
  transition: color .2s, background .2s;
  white-space: nowrap;
  min-height: var(--tap);
  display: flex; align-items: center;
}
nav ul a:hover, .nav-links a:hover { color: var(--primary); background: rgba(124,58,237,0.07); }

/* ── NAV SEARCH ─────────────────────────────────────────────────────────── */
.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.06);
  border: 1.5px solid rgba(196,181,253,0.5);
  border-radius: 50px;
  padding: 0 14px;
  height: var(--tap);
  transition: border-color .2s, box-shadow .2s, background .2s;
  flex-shrink: 0;
  min-width: 200px;
}
.nav-search:focus-within {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.nav-search > svg {
  width: 15px; height: 15px;
  color: var(--muted);
  flex-shrink: 0;
}
.nav-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  color: var(--text);
  width: 160px;
  height: auto;
  padding: 0;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-search-clear {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--muted);
  flex-shrink: 0;
  transition: color .2s;
  line-height: 0;
}
.nav-search-clear.visible { display: flex; align-items: center; }
.nav-search-clear:hover { color: var(--primary); }
.nav-search-clear svg { width: 13px; height: 13px; }

/* Search dropdown */
.nav-search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0; right: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(124,58,237,0.16);
  border: 1px solid rgba(196,181,253,0.4);
  z-index: 500;
  overflow: hidden;
  max-height: 380px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(124,58,237,0.2) transparent;
}
.nav-search-dropdown.open { display: block; }
.nsd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid rgba(196,181,253,0.12);
}
.nsd-item:last-child { border-bottom: none; }
.nsd-item:hover { background: rgba(124,58,237,0.05); }
.nsd-icon {
  font-size: 1.4rem;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(167,139,250,0.18), rgba(196,181,253,0.1));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nsd-info { flex: 1; }
.nsd-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
}
.nsd-name mark {
  background: rgba(124,58,237,0.15);
  color: var(--primary);
  border-radius: 3px;
  padding: 0 2px;
  font-style: normal;
}
.nsd-desc { font-size: 0.74rem; color: var(--muted); margin-top: 1px; }
.nsd-action {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(124,58,237,0.08);
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nsd-no-result {
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}
.nsd-section-label {
  padding: 8px 16px 4px;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  background: #fafafa;
  border-bottom: 1px solid rgba(196,181,253,0.12);
}

/* ── BUTTON ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  padding: 0 var(--sp-10);
  height: var(--tap);
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(124,58,237,0.32);
  white-space: nowrap;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover  { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(124,58,237,0.42); }
.btn:active { transform: translateY(0);    box-shadow: 0 2px 10px rgba(124,58,237,0.3); }
.btn.outline {
  background: rgba(255,255,255,0.7);
  border: 2px solid var(--primary-light);
  color: var(--primary);
  box-shadow: none;
}
.btn.outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── SECTION SHARED ──────────────────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  background: rgba(124,58,237,0.1);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: var(--sp-2) var(--sp-6);
  border-radius: 50px;
  margin-bottom: var(--sp-6);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--sp-10);
}

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100svh - 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  text-align: center;
  padding: var(--sp-16) var(--sp-8);
}
.hero-content { max-width: 560px; width: 100%; }
.hero-badge { margin-bottom: var(--sp-10); }
.badge-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 2px 12px rgba(124,58,237,0.25));
}
.hero-content h1 {
  font-size: clamp(1.9rem, 6vw, 3.6rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: var(--sp-8);
  background: linear-gradient(135deg, #2e1065 30%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--muted);
  margin-bottom: var(--sp-12);
  line-height: 1.7;
  padding: 0 var(--sp-4);
}
.hero-btns {
  display: flex;
  gap: var(--sp-6);
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero visual circle + floating badges */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.hero-circle {
  width: 380px; height: 380px;
  background: conic-gradient(from 180deg at 50% 50%, #ddd6fe, #ede9fe, #c4b5fd, #ddd6fe);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(124,58,237,0.25);
  animation: heroFloat 5s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}
.hero-main-img {
  width: 200px; height: 200px;
  object-fit: contain;
  border-radius: 50%;
  position: relative; z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(124,58,237,0.2));
}

/* Floating badges (same pattern as Rathna Sarees) */
.hero-badge-float {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 30px;
  padding: 9px 16px;
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(124,58,237,0.12);
  display: flex; align-items: center; gap: 7px;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.9);
  z-index: 2;
  animation: badgePulse 3.5s ease-in-out infinite;
}
.hero-badge-float svg { width: 15px; height: 15px; flex-shrink: 0; }
.badge-quality { top: 28px;   left: -28px;  color: #2e7d32; animation-delay: 0s; }
.badge-fast    { bottom: 52px; left: -48px;  color: #f57c00; animation-delay: 1.2s; }
.badge-support { top: 28px;   right: -48px; color: #0284c7; animation-delay: 0.6s; }
.badge-brand   {
  bottom: 8px; right: -36px;
  color: #fff;
  background: linear-gradient(135deg, #2e1065, #7c3aed) !important;
  border: 2px solid rgba(255,255,255,0.3) !important;
  box-shadow: 0 8px 24px rgba(124,58,237,0.45), 0 0 0 0 rgba(167,139,250,0.4);
  animation: badgePulse 3.5s ease-in-out 2.4s infinite, brandGlow 2.5s ease-in-out infinite !important;
}
.badge-brand img {
  width: 20px; height: 20px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.5);
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1) translateY(0); }
  50%       { transform: scale(1.06) translateY(-3px); }
}
@keyframes brandGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(124,58,237,0.45), 0 0 0 0 rgba(167,139,250,0.4); }
  50%       { box-shadow: 0 8px 24px rgba(124,58,237,0.45), 0 0 0 8px rgba(167,139,250,0); }
}

/* Mobile badge strip */
.hero-badges-strip {
  display: none;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px 8px;
  flex-wrap: nowrap;
  justify-content: center;
  width: 100%;
}
.hero-badges-strip::-webkit-scrollbar { display: none; }
.hero-badges-strip .hero-badge-float {
  position: static;
  font-size: 0.7rem;
  padding: 6px 12px;
  animation: none;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── SERVICES ────────────────────────────────────────────────────────────── */
.services {
  padding: var(--sp-24) var(--sp-8);
  text-align: center;
}
.services h2, .order-section h2, .contact h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}
.card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(196,181,253,0.5);
  border-radius: var(--radius);
  padding: var(--sp-10) var(--sp-8);
  transition: transform .22s, box-shadow .22s;
  box-shadow: 0 2px 12px rgba(124,58,237,0.06);
  text-align: center;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(124,58,237,0.15);
  border-color: var(--primary-light);
}
.icon {
  font-size: 2rem;
  margin-bottom: var(--sp-6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(167,139,250,0.22), rgba(196,181,253,0.12));
}
.card h3 { font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: var(--sp-3); }
.card p  { font-size: 0.78rem; color: var(--muted); line-height: 1.55; }

/* ── ORDER SECTION ───────────────────────────────────────────────────────── */
.order-section {
  padding: var(--sp-24) var(--sp-8);
  text-align: center;
}
#orderForm {
  max-width: 600px;
  margin: var(--sp-10) auto 0;
  text-align: left;
}
.form-glass {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(196,181,253,0.5);
  border-radius: var(--radius);
  padding: var(--sp-12) var(--sp-10);
  box-shadow: 0 8px 40px rgba(124,58,237,0.09);
}

/* ── STEP ────────────────────────────────────────────────────────────────── */
.step { display: none; }
.step.active { display: block; }

.step-header {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  margin-bottom: var(--sp-10);
}
.step-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(124,58,237,0.13);
  line-height: 1;
  flex-shrink: 0;
}
.step-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

/* ── FORM FIELDS ─────────────────────────────────────────────────────────── */
label {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--sp-8);
}
input, select, textarea {
  padding: 0 var(--sp-8);
  height: var(--tap);
  border: 1.5px solid rgba(196,181,253,0.6);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  background: rgba(255,255,255,0.8);
  color: var(--text);
  transition: border .18s, box-shadow .18s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
textarea {
  height: auto;
  padding: var(--sp-6) var(--sp-8);
  resize: vertical;
  min-height: 80px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237c6fa0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
.btn-row {
  display: flex;
  gap: var(--sp-6);
  margin-top: var(--sp-10);
  flex-wrap: wrap;
}
.btn-row .btn { flex: 1; min-width: 120px; }

/* ── FORM ERROR ──────────────────────────────────────────────────────────── */
.form-error {
  display: none;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius-xs);
  color: #b91c1c;
  padding: var(--sp-5) var(--sp-8);
  font-size: 0.84rem;
  margin-bottom: var(--sp-8);
  line-height: 1.5;
}

/* ── PROGRESS BAR ────────────────────────────────────────────────────────── */
.progress-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: var(--sp-10) auto 0;
  max-width: 560px;
  overflow-x: auto;
  padding: var(--sp-4) var(--sp-4) var(--sp-2);
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 0;
}
.progress-bar::-webkit-scrollbar { display: none; }
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}
.pnum {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  border: 2px solid rgba(196,181,253,0.5);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.78rem; color: var(--muted);
  transition: all .25s;
}
.plabel {
  font-size: 0.62rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.progress-step.active .pnum {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border-color: transparent; color: #fff;
  box-shadow: 0 3px 12px rgba(124,58,237,0.38);
}
.progress-step.active .plabel { color: var(--primary); }
.progress-bar .line {
  width: 24px; height: 2px;
  background: rgba(196,181,253,0.4);
  margin-bottom: 18px;
  flex-shrink: 0;
}

/* ── FEATURE GROUPS ──────────────────────────────────────────────────────── */
.feature-group { margin-bottom: var(--sp-10); }
.feature-group-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(196,181,253,0.4);
}
.multi-select {
  width: 100%;
  min-height: 110px;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid rgba(196,181,253,0.6);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  background: rgba(255,255,255,0.8);
  color: var(--text);
  transition: border .18s, box-shadow .18s;
  height: auto;
  -webkit-appearance: auto;
  appearance: auto;
}
.multi-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.multi-select option { padding: var(--sp-3) var(--sp-4); cursor: pointer; }
.multi-select option:checked {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
}
.select-hint {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: var(--sp-3);
  display: block;
  line-height: 1.4;
}

/* ── SUMMARY ─────────────────────────────────────────────────────────────── */
.summary {
  background: rgba(237,233,254,0.45);
  border: 1px solid rgba(196,181,253,0.5);
  border-radius: var(--radius);
  margin-bottom: var(--sp-10);
  overflow: hidden;
}
.sum-section {
  padding: var(--sp-8) var(--sp-10);
  border-bottom: 1px solid rgba(196,181,253,0.25);
}
.sum-section:last-child { border-bottom: none; }
.sum-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: var(--sp-5);
}
.sum-row {
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.8;
}
.sum-row strong { color: var(--dark); }
.sum-group {
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: rgba(255,255,255,0.55);
  border-radius: var(--radius-xs);
}

/* ── PRICE HINT ──────────────────────────────────────────────────────────── */
.price-hint {
  background: linear-gradient(135deg, rgba(124,58,237,0.07), rgba(168,85,247,0.05));
  border: 1.5px solid rgba(196,181,253,0.55);
  border-radius: var(--radius-sm);
  padding: var(--sp-6) var(--sp-8);
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: var(--sp-10);
  line-height: 1.6;
}
.price-hint strong { color: var(--primary); }

/* ── LIVE PRICE TICKER ───────────────────────────────────────────────────── */
.live-price-ticker {
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(168,85,247,0.07));
  border: 2px solid rgba(124,58,237,0.22);
  border-radius: var(--radius-sm);
  padding: var(--sp-8) var(--sp-10);
  margin-bottom: var(--sp-10);
  text-align: center;
  position: sticky;
  top: 60px;
  z-index: 10;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(124,58,237,0.1);
}
.lpt-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--sp-3);
}
.lpt-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.lpt-cur  { font-size: 1rem; font-weight: 700; color: var(--primary); }
.lpt-sep  { color: var(--muted); font-weight: 400; margin: 0 var(--sp-2); }
.lpt-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-5);
}
.lpt-base {
  font-size: 0.72rem; color: var(--muted);
  background: rgba(255,255,255,0.65);
  border-radius: 50px;
  padding: 2px var(--sp-5);
  border: 1px solid rgba(196,181,253,0.4);
}
.lpt-addon {
  font-size: 0.72rem; color: var(--primary);
  background: rgba(124,58,237,0.08);
  border-radius: 50px;
  padding: 2px var(--sp-5);
  border: 1px solid rgba(124,58,237,0.18);
}
.lpt-addon em { font-style: normal; font-weight: 700; }

/* ── PAYMENT STEP ────────────────────────────────────────────────────────── */
.payment-box {
  background: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(196,181,253,0.5);
  border-radius: var(--radius);
  padding: var(--sp-12) var(--sp-10);
  text-align: center;
}
.payment-amount-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  margin-bottom: var(--sp-10);
  flex-wrap: wrap;
}
.payment-label { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.payment-amount {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.qr-wrap { margin: 0 auto var(--sp-10); display: inline-block; }
.qr-img {
  width: 220px; height: 220px;
  border-radius: var(--radius-sm);
  border: 3px solid rgba(196,181,253,0.6);
  box-shadow: 0 4px 18px rgba(124,58,237,0.13);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: #fff;
}
.qr-img img, .qr-img canvas { width: 220px !important; height: 220px !important; display: block; }
.qr-hint { font-size: 0.78rem; color: var(--muted); margin-top: var(--sp-4); }
.upi-id-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  margin: var(--sp-8) 0;
  flex-wrap: wrap;
}
.upi-id-label { font-size: 0.84rem; font-weight: 600; color: var(--muted); }
.upi-id-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(124,58,237,0.07);
  padding: var(--sp-3) var(--sp-8);
  border-radius: var(--radius-xs);
  border: 1px solid rgba(196,181,253,0.5);
  word-break: break-all;
}
.copy-btn {
  background: rgba(124,58,237,0.1);
  border: 1.5px solid rgba(196,181,253,0.6);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0 var(--sp-8);
  height: var(--tap);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.copy-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pay-apps { margin: var(--sp-8) 0 var(--sp-6); }
.pay-app-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 4px 14px rgba(37,211,102,0.28);
  width: 100%;
}
.pay-app-btn:hover { box-shadow: 0 6px 20px rgba(37,211,102,0.42); }
.payment-note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  background: rgba(237,233,254,0.5);
  border-radius: var(--radius-xs);
  padding: var(--sp-6) var(--sp-8);
  text-align: left;
}
.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 4px 14px rgba(37,211,102,0.28);
  flex: 2;
}
.whatsapp-btn:hover { box-shadow: 0 6px 20px rgba(37,211,102,0.42); }

/* ── SUCCESS ─────────────────────────────────────────────────────────────── */
.success { text-align: center; padding: var(--sp-20) var(--sp-8); }
.tick { font-size: 3.5rem; margin-bottom: var(--sp-8); }
.success h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: var(--sp-6); color: var(--dark); }
.success p  { color: var(--muted); margin-bottom: var(--sp-12); line-height: 1.7; font-size: 0.95rem; }

/* ── CONTACT ─────────────────────────────────────────────────────────────── */
.contact { padding: var(--sp-24) var(--sp-8); text-align: center; }
.contact-info {
  display: flex;
  justify-content: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
  margin-top: var(--sp-10);
}
.contact-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(196,181,253,0.5);
  border-radius: var(--radius);
  padding: var(--sp-8) var(--sp-12);
  color: var(--text);
  font-size: 0.92rem;
  transition: transform .2s, box-shadow .2s;
  min-height: var(--tap);
  display: flex; align-items: center;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(124,58,237,0.11); }
.contact-card a { color: var(--primary); font-weight: 600; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
footer {
  background: rgba(46,16,101,0.93);
  backdrop-filter: blur(12px);
  color: #c4b5fd;
  text-align: center;
  padding: var(--sp-10) var(--sp-8);
  font-size: 0.84rem;
  line-height: 1.6;
}
footer strong { color: #e9d5ff; }

/* ── DARK MODE TOGGLE ────────────────────────────────────────────────────── */
.dark-toggle {
  background: rgba(124,58,237,0.07);
  border: 1.5px solid rgba(196,181,253,0.5);
  border-radius: 50%; width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s; color: var(--text);
}
.dark-toggle svg { width: 17px; height: 17px; transition: all 0.3s; }
.dark-toggle .icon-sun { display: none; }
.dark-toggle .icon-moon { display: block; }
.dark-toggle:hover { background: rgba(124,58,237,0.14); border-color: var(--primary); color: var(--primary); transform: rotate(20deg); }

/* ── DARK MODE ───────────────────────────────────────────────────────────── */
body.dark {
  --primary:       #a78bfa;
  --primary-light: #c4b5fd;
  --accent:        #7c3aed;
  --bg:            #0d0812;
  --glass:         rgba(30,15,60,0.7);
  --glass-border:  rgba(124,58,237,0.25);
  --dark:          #e9d5ff;
  --text:          #ddd6fe;
  --muted:         #9d8ec4;
  background: #0d0812;
  color: #ddd6fe;
}
body.dark::before {
  background:
    radial-gradient(ellipse at 15% 20%, rgba(124,58,237,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 10%, rgba(109,40,217,0.2)  0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(76,29,149,0.18)  0%, transparent 60%),
    linear-gradient(160deg, #0d0812 0%, #130d1a 40%, #1a1024 100%);
}
body.dark nav {
  background: rgba(13,8,18,0.95);
  border-color: rgba(124,58,237,0.2);
  box-shadow: 0 1px 0 rgba(124,58,237,0.1), 0 4px 24px rgba(0,0,0,0.4);
}
body.dark .brand-name { background: linear-gradient(135deg, #c4b5fd, #a78bfa); -webkit-background-clip: text; background-clip: text; }
body.dark nav ul a { color: #9d8ec4; }
body.dark nav ul a:hover { color: #a78bfa; background: rgba(124,58,237,0.12); }
body.dark .nav-search { background: rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.25); }
body.dark .nav-search input { color: #ddd6fe; }
body.dark .nav-search input::placeholder { color: #9d8ec4; }
body.dark .nav-search:focus-within { background: rgba(30,15,60,0.8); border-color: #a78bfa; }
body.dark .nav-search-dropdown { background: #130d1a; border-color: rgba(124,58,237,0.25); }
body.dark .nsd-section-label { background: #1a1024; color: #9d8ec4; }
body.dark .nsd-item { border-color: rgba(124,58,237,0.1); }
body.dark .nsd-item:hover { background: rgba(124,58,237,0.1); }
body.dark .nsd-name { color: #e9d5ff; }
body.dark .dark-toggle { background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.3); color: #a78bfa; }
body.dark .dark-toggle .icon-sun { display: block; }
body.dark .dark-toggle .icon-moon { display: none; }
body.dark .hero-content h1 { background: linear-gradient(135deg, #c4b5fd 30%, #a78bfa 100%); -webkit-background-clip: text; background-clip: text; }
body.dark .hero-content p { color: #9d8ec4; }
body.dark .hero-badge-float { background: rgba(30,15,60,0.95); border-color: rgba(124,58,237,0.2); }
body.dark .hero-circle { background: conic-gradient(from 180deg at 50% 50%, #2e1065, #1a0a3e, #3b1f6e, #2e1065); box-shadow: 0 30px 80px rgba(124,58,237,0.2); }
body.dark .card { background: rgba(30,15,60,0.6); border-color: rgba(124,58,237,0.2); }
body.dark .card:hover { border-color: #a78bfa; box-shadow: 0 10px 30px rgba(124,58,237,0.2); }
body.dark .card h3 { color: #e9d5ff; }
body.dark .card p { color: #9d8ec4; }
body.dark .form-glass { background: rgba(30,15,60,0.6); border-color: rgba(124,58,237,0.25); }
body.dark input, body.dark select, body.dark textarea { background: rgba(30,15,60,0.7); border-color: rgba(124,58,237,0.25); color: #ddd6fe; }
body.dark input:focus, body.dark select:focus, body.dark textarea:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(124,58,237,0.15); }
body.dark label { color: #c4b5fd; }
body.dark .step-header h3 { color: #e9d5ff; }
body.dark .feature-group-label { color: #a78bfa; }
body.dark .multi-select { background: rgba(30,15,60,0.7); border-color: rgba(124,58,237,0.25); color: #ddd6fe; }
body.dark .summary { background: rgba(30,15,60,0.4); border-color: rgba(124,58,237,0.2); }
body.dark .sum-row { color: #ddd6fe; }
body.dark .sum-row strong { color: #e9d5ff; }
body.dark .sum-group { background: rgba(30,15,60,0.5); color: #ddd6fe; }
body.dark .contact-card { background: rgba(30,15,60,0.6); border-color: rgba(124,58,237,0.2); color: #ddd6fe; }
body.dark .contact-card a { color: #a78bfa; }
body.dark footer { background: rgba(13,8,18,0.97); color: #9d8ec4; }
body.dark footer strong { color: #c4b5fd; }
body.dark .rathna-loader-overlay { background: rgba(13,8,18,0.95); }
body.dark .rathna-loader-text { color: #a78bfa; }
body.dark .price-hint { background: rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.25); color: #ddd6fe; }
body.dark .live-price-ticker { background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.3); }
body.dark .lpt-amount { color: #e9d5ff; }
body.dark .payment-box { background: rgba(30,15,60,0.6); border-color: rgba(124,58,237,0.25); }
body.dark .qr-img { background: #fff; border-color: rgba(124,58,237,0.3); }
body.dark .upi-id-val { background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.25); color: #a78bfa; }
body.dark .payment-note { background: rgba(30,15,60,0.5); color: #9d8ec4; }
body.dark .section-tag { background: rgba(124,58,237,0.15); color: #a78bfa; }
body.dark .sub { color: #9d8ec4; }
body.dark .services h2, body.dark .order-section h2, body.dark .contact h2 { color: #e9d5ff; }

/* ── TOAST ───────────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: linear-gradient(135deg, #2e1065, #3b1f6e);
  color: #fff; padding: 13px 28px; border-radius: 30px;
  font-size: 0.88rem; font-weight: 600;
  z-index: 4000; opacity: 0;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none; white-space: nowrap;
  box-shadow: 0 8px 30px rgba(124,58,237,0.3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 768px) {
  .toast { bottom: auto; top: 16px; left: auto; right: 16px; transform: translateY(-80px); border-radius: 14px; font-size: 0.82rem; padding: 10px 18px; max-width: calc(100vw - 32px); white-space: normal; text-align: left; }
  .toast.show { transform: translateY(0); }
}

/* ── DOODLE HINT ─────────────────────────────────────────────────────────── */
.doodle-hint {
  position: fixed; right: 10px; top: 50%;
  transform: translateY(-50%) rotate(90deg) translateX(50%);
  transform-origin: right center;
  font-size: 0.88rem; font-weight: 700; color: var(--muted);
  pointer-events: none; z-index: 9998; opacity: 0.6;
  white-space: nowrap; letter-spacing: 1px;
}
@media (max-width: 768px) { .doodle-hint { display: none; } }

/* ── MOBILE BOTTOM NAV ───────────────────────────────────────────────────── */
.mobile-bottom-nav { display: none; }
@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0;
    height: 62px; background: rgba(255,255,255,0.95);
    border-top: 1px solid rgba(124,58,237,0.12);
    box-shadow: 0 -4px 20px rgba(124,58,237,0.1);
    z-index: 5000; align-items: center; justify-content: space-around;
    padding: 0 4px; padding-bottom: env(safe-area-inset-bottom);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  body { padding-bottom: 70px; }
  .dark-toggle { display: none !important; }
  .doodles-bg { bottom: 62px; }
}
.mbn-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex: 1; background: none; border: none; cursor: pointer; padding: 6px 4px;
  color: var(--muted); transition: color 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent; min-height: 50px;
}
.mbn-item svg { width: 24px; height: 24px; stroke: currentColor; flex-shrink: 0; }
.mbn-item:hover, .mbn-item:active { color: var(--primary); transform: translateY(-2px); }
.mbn-order {
  position: relative;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff !important; border-radius: 50%;
  width: 52px; height: 52px; min-height: unset; flex: none;
  margin-top: -16px; box-shadow: 0 6px 20px rgba(124,58,237,0.4); padding: 0;
}
.mbn-order svg { stroke: #fff; width: 22px; height: 22px; }
.mbn-order:hover { transform: translateY(-4px) scale(1.08); }
.mbn-item .icon-sun { display: none; }
.mbn-item .icon-moon { display: block; }
body.dark .mbn-item .icon-sun { display: block; }
body.dark .mbn-item .icon-moon { display: none; }
body.dark .mobile-bottom-nav { background: rgba(13,8,18,0.97); border-color: rgba(124,58,237,0.2); }
body.dark .mbn-item { color: #9d8ec4; }
body.dark .mbn-item:hover, body.dark .mbn-item:active { color: #a78bfa; }

/* ── MOBILE NAV HAMBURGER ────────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-3);
  border-radius: var(--radius-xs);
  flex-direction: column;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all .25s;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */

/* ── < 430px (very small phones) ────────────────────────────────────────── */
@media (max-width: 429px) {
  nav { padding: var(--sp-4) var(--sp-6); }
  .brand-logo-wrap { width: 32px; height: 32px; }
  .brand-name { font-size: 1.05rem; }
  .brand-badge { display: none; }
  nav ul { gap: var(--sp-3); }
  nav ul a { font-size: 0.78rem; padding: var(--sp-2) var(--sp-3); }
  .nav-search { min-width: 0; flex: 1; }
  .nav-search input { width: 80px; font-size: 0.82rem; }

  .hero { padding: var(--sp-12) var(--sp-6); flex-direction: column; gap: 20px; }
  .hero-content h1 { font-size: 1.65rem; }
  .hero-content p  { font-size: 0.88rem; }
  .badge-img { height: 42px; }
  .hero-visual { display: none; }
  .hero-badges-strip { display: flex; }

  .services, .order-section, .contact { padding: var(--sp-16) var(--sp-6); }
  .cards { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .card  { padding: var(--sp-8) var(--sp-6); }
  .icon  { width: 44px; height: 44px; font-size: 1.6rem; }
  .card h3 { font-size: 0.8rem; }
  .card p  { font-size: 0.72rem; }

  .form-glass { padding: var(--sp-10) var(--sp-8); }
  .field-row  { grid-template-columns: 1fr; gap: var(--sp-4); }
  .btn        { font-size: 0.88rem; padding: 0 var(--sp-8); }
  .btn-row    { flex-direction: column; }
  .btn-row .btn { width: 100%; }

  .progress-bar .line { width: 14px; }
  .pnum  { width: 26px; height: 26px; font-size: 0.68rem; }
  .plabel { font-size: 0.55rem; }

  .qr-img { width: 170px; height: 170px; }
  .upi-id-val { font-size: 0.78rem; }

  .contact-info { flex-direction: column; align-items: stretch; gap: var(--sp-5); }
  .contact-card { justify-content: center; }
}

/* ── 430px – 599px (standard mobile) ────────────────────────────────────── */
@media (min-width: 430px) and (max-width: 599px) {
  nav { padding: var(--sp-4) var(--sp-8); }
  .brand-logo-wrap { width: 36px; height: 36px; }
  .brand-name { font-size: 1.2rem; }
  .brand-badge { display: none; }
  .nav-search { min-width: 0; flex: 1; }
  .nav-search input { width: 100px; }

  .hero { padding: var(--sp-14) var(--sp-8); flex-direction: column; gap: 20px; }
  .hero-content h1 { font-size: 1.85rem; }
  .hero-visual { display: none; }
  .hero-badges-strip { display: flex; }

  .services, .order-section, .contact { padding: var(--sp-20) var(--sp-8); }
  .cards { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .card  { padding: var(--sp-8) var(--sp-6); }

  .form-glass { padding: var(--sp-10) var(--sp-10); }
  .field-row  { grid-template-columns: 1fr; }
  .btn-row    { flex-direction: column; }
  .btn-row .btn { width: 100%; }

  .progress-bar .line { width: 18px; }
  .pnum  { width: 28px; height: 28px; font-size: 0.72rem; }
  .plabel { font-size: 0.58rem; }

  .contact-info { flex-direction: column; align-items: stretch; gap: var(--sp-5); }
  .contact-card { justify-content: center; }
}

/* ── 600px – 767px (large phone / small tablet) ──────────────────────────── */
@media (min-width: 600px) and (max-width: 767px) {
  .hero { flex-direction: column; gap: 24px; }
  .hero-visual { display: none; }
  .hero-badges-strip { display: flex; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .btn-row { flex-direction: row; }
  .contact-info { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

/* ── 768px – 1023px (tablet) ─────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  nav { padding: var(--sp-4) var(--sp-16); }
  .brand-logo-wrap { width: 38px; height: 38px; }

  .hero { padding: var(--sp-20) var(--sp-16); flex-direction: column; gap: 32px; }
  .hero-visual { display: none; }
  .hero-badges-strip { display: flex; }
  .services, .order-section, .contact { padding: var(--sp-24) var(--sp-16); }

  .cards { grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
  .card  { padding: var(--sp-10) var(--sp-8); }

  #orderForm { max-width: 560px; }
  .form-glass { padding: var(--sp-14) var(--sp-14); }
  .field-row  { grid-template-columns: 1fr 1fr; }

  .progress-bar .line { width: 28px; }
  .pnum  { width: 34px; height: 34px; font-size: 0.8rem; }
  .plabel { font-size: 0.64rem; }

  .contact-info { gap: var(--sp-8); }
}

/* ── 1024px – 1279px (small desktop) ────────────────────────────────────── */
@media (min-width: 1024px) and (max-width: 1279px) {
  nav { padding: var(--sp-4) var(--sp-20); }
  .hero { padding: var(--sp-24) var(--sp-20); gap: 40px; }
  .hero-circle { width: 320px; height: 320px; }
  .hero-main-img { width: 160px; height: 160px; }
  .services, .order-section, .contact { padding: var(--sp-32) var(--sp-20); }
  .cards { grid-template-columns: repeat(4, 1fr); gap: var(--sp-8); }
  #orderForm { max-width: 600px; }
  .form-glass { padding: var(--sp-16) var(--sp-16); }
}

/* ── 1280px+ (full desktop) ──────────────────────────────────────────────── */
@media (min-width: 1280px) {
  nav { padding: var(--sp-4) var(--sp-32); }
  nav ul { gap: var(--sp-8); }
  nav ul a { font-size: 0.95rem; }
  .nav-search { min-width: 260px; }
  .nav-search input { width: 200px; }

  .hero { padding: var(--sp-32) var(--sp-20); gap: 56px; }
  .hero-circle { width: 420px; height: 420px; }
  .hero-main-img { width: 220px; height: 220px; }
  .services, .order-section, .contact { padding: var(--sp-32) var(--sp-32); }

  .cards { grid-template-columns: repeat(4, 1fr); gap: var(--sp-10); }
  .card  { padding: var(--sp-12) var(--sp-10); }
  .icon  { width: 58px; height: 58px; font-size: 2.2rem; }
  .card h3 { font-size: 0.95rem; }
  .card p  { font-size: 0.84rem; }

  #orderForm { max-width: 640px; }
  .form-glass { padding: var(--sp-16) var(--sp-20); }

  .progress-bar .line { width: 40px; }
  .pnum  { width: 38px; height: 38px; font-size: 0.85rem; }
  .plabel { font-size: 0.68rem; }

  .contact-info { gap: var(--sp-12); }
  .contact-card { padding: var(--sp-10) var(--sp-16); }
}

/* ── MOBILE NAV OPEN STATE ───────────────────────────────────────────────── */
@media (max-width: 767px) {
  .nav-toggle { display: flex; }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    padding: var(--sp-6) var(--sp-8) var(--sp-8);
    gap: var(--sp-2);
    box-shadow: 0 8px 24px rgba(124,58,237,0.1);
    z-index: 199;
  }
  nav ul.open { display: flex; }
  nav ul a {
    font-size: 1rem;
    padding: var(--sp-5) var(--sp-6);
    border-radius: var(--radius-xs);
    width: 100%;
    min-height: var(--tap);
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  nav { position: sticky; top: 0; }
}

/* ── SAFE AREA (iPhone notch / home bar) ─────────────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  footer { padding-bottom: calc(var(--sp-10) + env(safe-area-inset-bottom)); }
  .btn-row { padding-bottom: env(safe-area-inset-bottom); }
}

/* ── TRANSACTION ID FIELD ────────────────────────────────────────────────── */
.txn-field {
  background: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(168,85,247,0.04));
  border: 2px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-sm);
  padding: var(--sp-8) var(--sp-10);
  margin-top: var(--sp-8);
  text-align: left;
}
.txn-input-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-top: var(--sp-3);
}
.txn-input-wrap input {
  flex: 1;
  letter-spacing: 1px;
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0;
  height: var(--tap);
}
.txn-check { flex-shrink: 0; line-height: 0; }
.txn-check svg { display: block; }
.txn-hint {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: var(--sp-4);
  line-height: 1.55;
  font-weight: 400;
}
/* Disabled submit button */
.whatsapp-btn:disabled {
  background: #d1d5db;
  color: #9ca3af;
  box-shadow: none;
  cursor: not-allowed;
  transform: none !important;
  opacity: 0.7;
}
body.dark .txn-field { background: rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.3); }
body.dark .txn-hint { color: #9d8ec4; }
body.dark .txn-input-wrap input { background: rgba(30,15,60,0.7); border-color: rgba(124,58,237,0.25); color: #ddd6fe; }
body.dark .whatsapp-btn:disabled { background: rgba(30,15,60,0.5); color: #6b5fa0; }
