/* ===== DESIGN SYSTEM ===== */
:root {
  --primary: #3b36e4;
  --primary-dark: #24205f;
  --primary-soft: #eef2ff;
  --primary-quiet: #f5f7ff;
  --accent-green: #13b981;
  --accent-green-soft: #eafaf4;
  --accent-amber: #f59e0b;
  --accent-amber-soft: #fff7e6;
  --accent-red: #ef4444;
  --ink: #0b1020;
  --text: #172033;
  --text-secondary: #59657a;
  --text-light: #8a95a8;
  --bg: #f5f7fb;
  --bg-card: #ffffff;
  --bg-dark: #05070f;
  --border: #dde3ee;
  --border-strong: #c8d0df;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
  --shadow-soft: 0 8px 22px rgba(17, 24, 39, 0.06);
  --transition: 0.2s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-width: 320px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: 0; background: none; font: inherit; }
input { min-width: 0; border: 0; outline: 0; font: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }

/* ===== SCREENS ===== */
.screen {
  display: none;
  min-height: 100svh;
  animation: fadeIn 0.28s ease;
}
.screen.active {
  display: flex;
  flex-direction: column;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.86); }
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  transition: opacity 0.45s ease;
}
.loader.hidden { opacity: 0; pointer-events: none; }
.loader-content { text-align: center; }
.loader-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}
.loader-spinner {
  width: 32px;
  height: 32px;
  margin: 0 auto;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 10000;
  max-width: min(92vw, 460px);
  padding: 13px 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 18px 42px rgba(5, 7, 15, 0.24);
  transform: translateX(-50%) translateY(-110px);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--accent-red); }
.toast.success { background: var(--accent-green); }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 0 22px;
  border-bottom: 1px solid rgba(221, 227, 238, 0.78);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-dark,
.nav-admin {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: rgba(36, 32, 95, 0.94);
}
.nav-dash { background: rgba(255, 255, 255, 0.92); }
.nav-inner {
  width: 100%;
  max-width: 1180px;
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}
.nav-logo-img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  object-fit: cover;
}
.nav-logo-text {
  color: var(--ink);
  font-size: 20px;
  letter-spacing: 0;
  white-space: nowrap;
}
.nav-logo-text strong { font-weight: 900; }
.nav-dark .nav-logo-text,
.nav-admin .nav-logo-text { color: #ffffff; }
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}
.nav-phone {
  max-width: 160px;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  pointer-events: none;
}
.btn-primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(5, 7, 15, 0.14);
}
.btn-primary:hover {
  background: #000000;
  box-shadow: 0 16px 30px rgba(5, 7, 15, 0.2);
}
.btn-nav {
  min-height: 38px;
  padding: 9px 20px;
  border-color: var(--border);
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.05);
}
.btn-nav:hover,
.btn-outline-sm:hover {
  border-color: var(--border-strong);
  background: var(--primary-quiet);
}
.btn-outline-sm {
  min-height: 38px;
  padding: 9px 16px;
  border-color: var(--border);
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
}
.nav-dark .btn-outline-sm,
.nav-admin .btn-outline-sm {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.btn-full { width: 100%; }
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}
.btn-link:hover { color: var(--primary-dark); }
.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-loader {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn-cta {
  min-height: 56px;
  padding: 16px 30px;
  background: #101522;
  font-size: 17px;
}

/* ===== LANDING ===== */
.section-huge {
  position: relative;
  width: 100%;
  min-height: auto;
  padding: 96px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.huge-heading {
  max-width: 920px;
  margin: 0 auto 42px;
  color: #ffffff;
  font-size: 72px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-align: center;
}
.huge-heading.text-black { color: var(--ink); }
.highlight-green { color: #63e6a6; }

.section-hero {
  min-height: calc(100svh - 68px);
  padding: 86px 72px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: 60px;
  background: linear-gradient(135deg, #3b36e4 0%, #352ed0 54%, #12162a 100%);
  color: #ffffff;
}
.hero-left {
  width: 100%;
  max-width: 780px;
  min-width: 0;
}
.hero-title {
  margin-bottom: 24px;
  color: #ffffff;
  font-size: 72px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}
.hero-brand { color: #ffffff; }
.hero-crafted {
  display: inline-block;
  font-size: 36px;
  font-weight: 800;
  opacity: 0.92;
  letter-spacing: 0;
}
.hero-desc {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: break-word;
}
.hero-cta-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}
.qr-dummy {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #000000;
  color: #51607a;
}
.hero-right {
  min-width: 0;
  display: flex;
  justify-content: center;
}
.phone-mockup {
  width: min(100%, 350px);
  aspect-ratio: 0.52;
  padding: 12px;
  border-radius: 42px;
  background: #02040a;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.35);
  transform: rotate(-4deg);
  transition: transform 0.45s ease;
}
.phone-mockup:hover { transform: rotate(0deg) translateY(-4px); }
.phone-screen {
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 32px;
  background: #6a65ff;
}
.mockup-header,
.mockup-card,
.mockup-notice {
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--radius);
}
.mockup-header {
  padding: 18px;
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}
.mockup-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.mockup-card {
  min-height: 74px;
  padding: 16px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}
.mockup-notice {
  flex: 1;
  padding: 20px;
  font-size: 16px;
  font-weight: 800;
}
.mockup-banner {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  font-size: 18px;
  line-height: 1.35;
}

.section-dark {
  align-items: center;
  background: #05070f;
  color: #ffffff;
}
.dark-grid {
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.dark-card {
  min-width: 0;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: #101522;
  color: #ffffff;
}
.dark-card.highlight {
  border-color: rgba(99, 230, 166, 0.36);
  background: linear-gradient(135deg, #24205f, #0f766e);
}
.dark-card h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 900;
}
.dark-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  font-weight: 600;
}

.section-light {
  align-items: center;
  background: #ffffff;
}
.feature-mockups {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.mockup-item {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}
.mock-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: #ffffff;
}
.mock-icon svg { width: 28px; height: 28px; }
.mock-icon.green { background: var(--accent-green); }
.mock-icon.purple { background: var(--primary); }
.mock-icon.black { background: var(--ink); }
.mockup-item h4 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}
.mockup-item p {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 600;
}

.section-faq {
  align-items: center;
  background: #0f766e;
}
.faq-list {
  width: 100%;
  max-width: 820px;
  display: grid;
  gap: 14px;
}
.faq-item {
  padding: 24px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(5, 7, 15, 0.12);
}
.faq-q {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}
.faq-a {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 600;
}

.footer-huge {
  min-height: auto;
  padding: 70px 72px;
  justify-content: space-between;
  background: #05070f;
  color: #ffffff;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 58px;
}
.footer-brand-huge {
  color: #ffffff;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: flex-end;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  font-weight: 700;
}
.footer-links a:hover { color: #ffffff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 600;
}
.footer-brand,
.footer-logo,
.footer-brand-text,
.footer-text,
.footer-divider,
.footer-copy { display: none; }

/* ===== SHARED FORM UI ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(59, 54, 228, 0.14);
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}
.input-field {
  width: 100%;
  min-height: 50px;
  padding: 14px 15px;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}
.input-field::placeholder {
  color: var(--text-light);
  font-weight: 600;
}
.input-group {
  width: 100%;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 54, 228, 0.1);
}
.input-prefix {
  min-height: 50px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-right: 1px solid var(--border);
  background: var(--primary-quiet);
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

/* ===== LOGIN ===== */
#screen-login,
#screen-admin {
  background:
    linear-gradient(135deg, rgba(59, 54, 228, 0.08), rgba(19, 185, 129, 0.08)),
    var(--bg);
}
.login-wrapper {
  flex: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  align-items: center;
  gap: 46px;
}
.login-copy {
  min-width: 0;
  color: var(--ink);
}
.login-copy h1 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}
.login-copy p {
  max-width: 560px;
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 650;
}
.login-points {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.login-points span {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}
.login-card,
.admin-login-box,
.success-card,
.transfer-card,
.history-section,
.stat-card,
.admin-table-wrap {
  border: 1px solid rgba(221, 227, 238, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}
.login-card {
  width: 100%;
  max-width: 430px;
  min-width: 0;
  padding: 32px;
  animation: slideUp 0.34s ease;
}
.login-step {
  display: none;
  text-align: left;
}
.login-step.active {
  display: block;
  animation: fadeIn 0.26s ease;
}
.login-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
}
.login-icon svg {
  width: 30px;
  height: 30px;
}
.login-card h2,
.admin-login-box h2 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}
.login-desc {
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 650;
}
.otp-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}
.otp-box {
  width: 100%;
  min-width: 0;
  height: 52px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.otp-box:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 54, 228, 0.1);
}
.resend-row {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
#resend-timer strong { color: var(--primary); }

/* ===== DASHBOARD ===== */
#screen-dashboard,
#screen-success {
  background:
    linear-gradient(180deg, #f5f7fb 0%, #ffffff 42%, #f5f7fb 100%);
}
.dash-wrapper {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 64px;
  flex: 1;
}
.dash-hero {
  margin-bottom: 24px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 26px;
  align-items: end;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #101522, #24205f 56%, #0f766e);
  color: #ffffff;
  box-shadow: var(--shadow);
}
.dash-hero .eyebrow {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.dash-hero h1 {
  max-width: 680px;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}
.dash-hero p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  font-weight: 650;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.dash-stats div {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}
.dash-stats strong {
  display: block;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}
.dash-stats span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
}
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}
.transfer-card {
  min-width: 0;
  overflow: hidden;
  animation: slideUp 0.34s ease;
}
.transfer-header {
  padding: 26px 28px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}
.transfer-header h2 {
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}
.transfer-header p {
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
}
.transfer-form { padding: 28px; }
.transfer-form .input-field,
.admin-login-box .input-field {
  border: 1.5px solid var(--border);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.transfer-form .input-field:focus,
.admin-login-box .input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 54, 228, 0.1);
}
.toggle-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--primary-quiet);
}
.toggle-btn {
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 900;
  transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}
.toggle-btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}
.toggle-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(59, 54, 228, 0.12);
}
.amount-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.rupee-symbol {
  position: absolute;
  left: 16px;
  z-index: 1;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}
.input-amount {
  padding-left: 40px !important;
  font-size: 22px !important;
  font-weight: 900 !important;
}
.amount-range {
  margin-top: 7px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 750;
}
.fee-display {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(19, 185, 129, 0.22);
  border-radius: var(--radius);
  background: var(--accent-green-soft);
}
.fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 5px 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 800;
}
.fee-row span:last-child {
  color: var(--ink);
  font-weight: 900;
}
.fee-zero,
.fee-row .fee-zero,
.detail-value.fee-zero {
  color: var(--accent-green) !important;
}
.fee-total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed rgba(19, 185, 129, 0.3);
}
.fee-total span {
  color: var(--ink);
  font-size: 15px;
}
.btn-transfer {
  min-height: 54px;
  margin-top: 4px;
  border-radius: var(--radius);
}
.history-section {
  min-width: 0;
  padding: 24px;
}
.history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.history-title {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}
.history-chip {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent-amber-soft);
  color: #9a5f00;
  font-size: 12px;
  font-weight: 900;
}
.history-list {
  display: grid;
  gap: 12px;
}
.history-empty {
  padding: 48px 18px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-light);
  text-align: center;
}
.history-empty svg {
  margin: 0 auto 12px;
  color: var(--text-light);
  opacity: 0.62;
}
.history-empty p {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 800;
}
.history-item {
  min-width: 0;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}
.history-left {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.history-amount {
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
}
.history-date {
  color: var(--text-light);
  font-size: 12px;
  font-weight: 750;
}
.history-right {
  min-width: 0;
  text-align: right;
}
.history-txn {
  display: block;
  max-width: 130px;
  overflow: hidden;
  color: var(--text-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.history-status {
  display: inline-flex;
  margin-top: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}
.history-status.processing {
  background: var(--accent-amber-soft);
  color: #9a5f00;
}
.history-status.completed {
  background: var(--accent-green-soft);
  color: #087a55;
}

/* ===== SUCCESS ===== */
.success-wrapper {
  flex: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-card {
  width: 100%;
  max-width: 480px;
  padding: 32px;
  text-align: center;
  animation: slideUp 0.34s ease;
}
.success-check { margin-bottom: 24px; }
.checkmark {
  width: 84px;
  height: 84px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 50%;
  background: var(--accent-green-soft);
}
.checkmark-circle {
  stroke: var(--accent-green);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-miterlimit: 10;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark-check {
  stroke: var(--accent-green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}
@keyframes stroke { 100% { stroke-dashoffset: 0; } }
.success-card h2 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
}
.success-msg {
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 700;
}
.success-details {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--primary-quiet);
  text-align: left;
}
.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 800;
}
.detail-row:not(:last-child) { border-bottom: 1px solid rgba(221, 227, 238, 0.9); }
.detail-value {
  min-width: 0;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
  word-break: break-word;
}
.status-processing {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: #9a5f00 !important;
}
.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent-amber);
  animation: pulse 1.5s infinite;
}
.success-note {
  margin-bottom: 22px;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 700;
}

/* ===== ADMIN PANEL ===== */
.admin-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.admin-wrapper {
  width: 100%;
  max-width: 1180px;
  min-height: calc(100svh - 68px);
  margin: 0 auto;
  padding: 34px 24px 64px;
}
.admin-login-box {
  width: 100%;
  max-width: 430px;
  margin: 54px auto;
  padding: 32px;
  text-align: left;
  animation: slideUp 0.34s ease;
}
.admin-login-box .login-icon { margin-bottom: 22px; }
.admin-login-box .form-group { margin-bottom: 16px; }
.admin-login-box .input-field { text-align: center; }
.admin-dashboard {
  width: 100%;
  animation: fadeIn 0.3s ease;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.stat-card {
  min-width: 0;
  padding: 22px;
  border-left: 5px solid var(--primary);
}
.stat-card.stat-green { border-left-color: var(--accent-green); }
.stat-card.stat-yellow { border-left-color: var(--accent-amber); }
.stat-card.stat-purple { border-left-color: var(--primary); }
.stat-value {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
}
.stat-label {
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.admin-actions {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.admin-actions h3 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--primary-quiet);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.admin-table td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(221, 227, 238, 0.75);
  color: var(--text);
  font-weight: 700;
  vertical-align: middle;
}
.admin-table tr:hover td { background: #fbfcff; }
.admin-table .td-amount {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}
.admin-table .td-phone {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}
.admin-table .td-details {
  max-width: 220px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.45;
}
.admin-table .td-details strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}
.admin-table .td-details span { color: var(--text-secondary); }
.td-status,
.td-type {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.td-status.paid {
  background: var(--accent-green-soft);
  color: #087a55;
}
.td-status.created {
  background: var(--accent-amber-soft);
  color: #9a5f00;
}
.td-status.attempted {
  background: #fee2e2;
  color: #b91c1c;
}
.td-type.bank {
  background: var(--primary-soft);
  color: var(--primary);
}
.td-type.upi {
  background: var(--accent-green-soft);
  color: #087a55;
}
.table-empty {
  padding: 44px 20px !important;
  color: var(--text-light);
  font-weight: 800;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .section-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 38px;
    padding: 78px 40px 88px;
  }
  .hero-title { font-size: 56px; }
  .hero-crafted { font-size: 30px; }
  .hero-desc { font-size: 19px; }
  .huge-heading { font-size: 56px; }
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .history-section { order: 2; }
}

@media (max-width: 900px) {
  .login-wrapper,
  .dash-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .login-copy h1 { font-size: 44px; }
  .login-copy p { font-size: 16px; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .nav { padding: 0 16px; }
  .nav-inner { height: 60px; }
  .nav-logo-img { width: 34px; height: 34px; }
  .nav-logo-text { font-size: 19px; }
  .nav-phone { display: none; }
  .btn { min-height: 42px; padding: 11px 16px; font-size: 14px; }
  .btn-outline-sm,
  .btn-nav { min-height: 36px; padding: 8px 14px; }

  .section-huge { padding: 68px 20px; }
  .section-hero {
    min-height: auto;
    padding: 58px 20px 64px;
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }
  .hero-title {
    max-width: 9ch;
    font-size: 38px;
    line-height: 1.08;
  }
  .hero-crafted { font-size: 23px; }
  .hero-desc {
    max-width: 32ch;
    margin-bottom: 28px;
    font-size: 16px;
  }
  .hero-cta-box {
    width: 100%;
    max-width: 360px;
    align-items: stretch;
  }
  .hero-cta-box .btn-cta { flex: 1; }
  .phone-mockup {
    width: min(100%, 310px);
    transform: none;
  }
  .phone-mockup:hover { transform: translateY(-3px); }
  .phone-screen { padding: 20px; }
  .mockup-header { font-size: 17px; }
  .mockup-card { min-height: 66px; font-size: 13px; }
  .mockup-banner { font-size: 16px; }
  .huge-heading {
    margin-bottom: 30px;
    font-size: 42px;
    text-align: left;
  }
  .dark-grid,
  .feature-mockups {
    grid-template-columns: minmax(0, 1fr);
  }
  .dark-card,
  .mockup-item,
  .faq-item { padding: 24px; }
  .footer-huge { padding: 54px 20px; }
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    gap: 22px;
  }
  .footer-links { justify-content: flex-start; }

  .login-wrapper,
  .success-wrapper,
  .admin-wrapper,
  .dash-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }
  .login-wrapper {
    padding-top: 34px;
    padding-bottom: 42px;
    gap: 28px;
  }
  .login-copy { display: none; }
  .login-copy h1 { font-size: 36px; }
  .login-copy p { font-size: 15px; }
  .login-card,
  .admin-login-box,
  .success-card {
    width: min(100%, calc(100vw - 32px));
    max-width: none;
    padding: 24px;
  }
  .dash-wrapper {
    padding-top: 22px;
    padding-bottom: 42px;
  }
  .dash-hero {
    padding: 24px;
    gap: 22px;
  }
  .dash-hero h1 { font-size: 32px; }
  .dash-stats { grid-template-columns: minmax(0, 1fr); }
  .dash-grid { gap: 18px; }
  .transfer-header,
  .transfer-form,
  .history-section { padding: 22px; }
  .transfer-header h2,
  .success-card h2 { font-size: 24px; }
  .history-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .history-chip { flex: 0 1 auto; }
}

@media (max-width: 460px) {
  .nav-right { gap: 8px; }
  .admin-badge { display: none; }
  .hero-title { font-size: 34px; }
  .hero-crafted { font-size: 22px; }
  .hero-cta-box {
    padding: 0;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    background: transparent;
    border: 0;
  }
  .btn-cta {
    min-width: 0;
    padding-left: 18px;
    padding-right: 18px;
  }
  .huge-heading { font-size: 34px; }
  .footer-brand-huge { font-size: 34px; }
  .login-wrapper {
    display: flex;
    align-items: center;
  }
  .login-card,
  .admin-login-box,
  .success-card {
    width: min(100%, calc(100vw - 32px));
    padding: 20px;
  }
  .otp-container { gap: 6px; }
  .otp-box {
    height: 48px;
    font-size: 19px;
  }
  .toggle-btn {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px;
  }
  .amount-range,
  .fee-row,
  .detail-row {
    font-size: 12px;
  }
  .history-item {
    align-items: flex-start;
    flex-direction: column;
  }
  .history-right { text-align: left; }
  .history-txn { max-width: 100%; }
  .admin-stats { grid-template-columns: minmax(0, 1fr); }
  .admin-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #b9c1d1;
}
::-webkit-scrollbar-thumb:hover { background: #9fa9bb; }

/* ===== INPUT NUMBER ARROWS HIDE ===== */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
