/* =====================================================
   PayNexus — Main Stylesheet
   Font: Syne (display) + DM Sans (body)
   Theme: Light — Cream/White + Deep Indigo + Electric Cyan accent
   ===================================================== */

:root {
  --bg: #f8f7f4;
  --bg-alt: #ffffff;
  --bg-card: #ffffff;
  --surface: #f0efe9;
  --border: #e3e1d9;
  --border-light: #ede9e0;

  --indigo: #2d1b69;
  --indigo-dark: #1a0f40;
  --indigo-mid: #3d2888;
  --indigo-light: #6b52c8;
  --cyan: #00c4b4;
  --cyan-dark: #009e90;
  --cyan-light: #3dd9cc;
  --gold: #f7b731;

  --text: #1a1625;
  --text-2: #4a4560;
  --text-3: #8a85a0;
  --text-inv: #ffffff;

  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --pending: #6366f1;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 4px 24px rgba(45,27,105,0.10);
  --shadow-lg: 0 12px 48px rgba(45,27,105,0.16);
  --shadow-card: 0 2px 12px rgba(45,27,105,0.08);

  --nav-h: 72px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Container ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all .22s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 4px 18px rgba(45,27,105,0.30);
}
.btn-primary:hover {
  background: var(--indigo-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,27,105,0.35);
}
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--surface); }
.btn-outline { background: transparent; color: var(--indigo); border: 2px solid var(--indigo); }
.btn-outline:hover { background: var(--indigo); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-white { background: #fff; color: var(--indigo); font-weight: 600; }
.btn-white:hover { background: var(--cyan); color: #fff; }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 12px; }
.btn-full { width: 100%; justify-content: center; }
.btn.pulse { animation: btnPulse 2.5s ease-in-out infinite; }
@keyframes btnPulse {
  0%,100% { box-shadow: 0 4px 18px rgba(45,27,105,0.30); }
  50% { box-shadow: 0 8px 32px rgba(45,27,105,0.50), 0 0 0 8px rgba(45,27,105,0.08); }
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(248,247,244,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all .3s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--indigo);
  text-decoration: none;
}
.nav-logo strong { color: var(--cyan-dark); }
.logo-icon { font-size: 22px; color: var(--indigo-light); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.nav-links a {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--text-2);
  font-weight: 500;
  transition: all .2s;
}
.nav-links a:hover { background: var(--surface); color: var(--indigo); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--indigo); }

/* ── HERO ── */
.hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}
.hero-blob.b1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--indigo-light), var(--cyan));
  top: -150px; right: -100px;
}
.hero-blob.b2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--cyan), var(--indigo));
  bottom: -100px; left: -50px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; } 50% { opacity: 0.4; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.hero-title .line { display: block; }
.gradient-text {
  background: linear-gradient(135deg, var(--indigo-light) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: fit-content;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--indigo); }
.stat span { font-size: 12px; color: var(--text-3); }
.stat-div { width: 1px; height: 36px; background: var(--border); }

/* Phone Mockup */
.hero-visual { position: relative; display: flex; justify-content: center; animation: floatUp 1s ease both; }
@keyframes floatUp { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }
.phone-frame {
  width: 280px;
  background: var(--indigo-dark);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: #fff;
  border-radius: 26px;
  padding: 22px 18px;
  overflow: hidden;
}
.pscreen-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.pscreen-logo { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--indigo); }
.pscreen-status { font-size: 11px; color: var(--success); font-weight: 600; }
.success-dot { display: flex; align-items: center; gap: 4px; }
.pscreen-amount { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--indigo); text-align: center; }
.pscreen-label { text-align: center; font-size: 11px; color: var(--text-3); margin-bottom: 16px; }
.pscreen-qr {
  width: 140px; height: 140px;
  margin: 0 auto 14px;
  background: var(--surface);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.qr-grid {
  position: absolute; inset: 8px;
  background-image:
    repeating-linear-gradient(var(--border) 0 2px, transparent 2px 12px),
    repeating-linear-gradient(90deg, var(--border) 0 2px, transparent 2px 12px);
  background-size: 12px 12px;
  opacity: 0.6;
}
.qr-center-logo {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--indigo);
  background: rgba(255,255,255,0.9);
  width: 36px; height: 36px; border-radius: 8px;
  margin: auto;
}
.pscreen-apps { display: flex; gap: 6px; justify-content: center; margin-bottom: 12px; }
.upi-app {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.upi-app.gpay { background: #e8f4ff; color: #1a73e8; }
.upi-app.phonepe { background: #f0e8ff; color: #6739b7; }
.upi-app.paytm { background: #e6f7ff; color: #00baf2; }
.upi-app.bhim { background: #fff3e6; color: #f57c00; }
.pscreen-timer { text-align: center; font-size: 11px; color: var(--text-3); }
.pscreen-timer span { color: var(--indigo); font-weight: 600; }

/* Floating Cards */
.floating-card {
  position: absolute;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  font-size: 13px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}
.fc1 { bottom: 40px; left: -30px; animation-delay: 0s; }
.fc2 { top: 60px; right: -20px; animation-delay: 2s; }
.floating-card strong { display: block; font-size: 14px; font-weight: 600; color: var(--indigo); }
.floating-card small { font-size: 11px; color: var(--text-3); }
.fc-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.fc-icon.success { background: #dcfce7; color: var(--success); }
.fc-icon.upi { background: #ede9fe; color: var(--indigo); font-size: 10px; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.trust-bar .container { display: flex; align-items: center; gap: 32px; overflow-x: auto; }
.trust-label { font-size: 13px; color: var(--text-3); white-space: nowrap; flex-shrink: 0; }
.trust-logos { display: flex; gap: 24px; align-items: center; }
.tlogo {
  font-size: 13px; font-weight: 600; color: var(--text-3);
  white-space: nowrap; padding: 6px 14px;
  border: 1px solid var(--border); border-radius: 8px;
  transition: all .2s;
}
.tlogo:hover { color: var(--indigo); border-color: var(--indigo-light); }

/* ── Sections ── */
.section { padding: 90px 0; }
.section-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--indigo-dark);
}
.section-sub { font-size: 16px; color: var(--text-2); max-width: 540px; margin-bottom: 48px; }

/* ── Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all .25s;
  cursor: default;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(107,82,200,0.3); }
.card-featured {
  background: linear-gradient(135deg, var(--indigo-dark) 0%, var(--indigo-mid) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.card-featured p, .card-featured .card-link { color: rgba(255,255,255,0.75); }
.card-featured .card-link:hover { color: var(--cyan); }
.card-icon { font-size: 28px; margin-bottom: 14px; }
.card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.card-link { font-size: 14px; font-weight: 600; color: var(--indigo); transition: color .2s; }
.card-link:hover { color: var(--cyan-dark); }

/* ── Steps ── */
.steps-section { background: var(--surface); }
.steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 180px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
}
.step h4 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-2); }
.step-arrow {
  font-size: 24px;
  color: var(--indigo-light);
  padding: 0 8px;
  flex-shrink: 0;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(107,82,200,0.25); }
.service-icon { font-size: 32px; margin-bottom: 14px; }
.service-card h4 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── Pricing ── */
.pricing-section { background: var(--surface); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.price-card {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: all .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card--featured {
  background: linear-gradient(145deg, var(--indigo-dark) 0%, var(--indigo-mid) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.price-card--featured:hover { transform: scale(1.05) translateY(-4px); }
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--indigo-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 99px;
  white-space: nowrap;
}
.price-name { font-size: 13px; font-weight: 600; color: var(--text-3); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.price-card--featured .price-name { color: rgba(255,255,255,0.6); }
.price-amount {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--indigo-dark);
  margin-bottom: 4px;
  line-height: 1;
}
.price-card--featured .price-amount { color: #fff; }
.price-amount span { font-size: 13px; font-weight: 400; color: var(--text-3); }
.price-card--featured .price-amount span { color: rgba(255,255,255,0.6); }
.price-limit { font-size: 13px; color: var(--text-3); margin-bottom: 20px; }
.price-card--featured .price-limit { color: rgba(255,255,255,0.6); }
.price-features { margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.price-features li { font-size: 13.5px; display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.price-card--featured .price-features li { color: rgba(255,255,255,0.8); }
.check { color: var(--success); font-weight: 700; }
.price-card--featured .check { color: var(--cyan); }

/* ── Manage Section ── */
.manage-section { background: var(--bg-alt); }
.manage-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.manage-items { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }
.manage-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: all .2s;
}
.manage-item:hover { border-color: var(--indigo-light); box-shadow: var(--shadow-card); }
.mi-icon { font-size: 24px; flex-shrink: 0; }
.manage-item h4 { font-weight: 600; margin-bottom: 4px; }
.manage-item p { font-size: 14px; color: var(--text-2); }

/* Dashboard Preview */
.dash-preview {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.dp-header {
  background: var(--indigo-dark);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.dp-logo { font-family: var(--font-display); font-weight: 700; }
.dp-user { opacity: 0.7; }
.dp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.dp-stat {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--border);
}
.dp-stat:last-child { border-right: none; }
.dp-val { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--indigo-dark); }
.dp-val.success { color: var(--success); }
.dp-lbl { font-size: 11px; color: var(--text-3); }
.dp-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 16px 18px;
  height: 80px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.dc-bar {
  flex: 1;
  background: var(--border);
  border-radius: 4px 4px 0 0;
  transition: height .5s;
}
.dc-bar.active { background: var(--indigo-light); }
.dp-txn-list { padding: 10px 0; }
.dp-txn {
  display: flex;
  justify-content: space-between;
  padding: 8px 18px;
  font-size: 13px;
}
.dp-txn:hover { background: var(--surface); }
.dp-txn-name { color: var(--text-2); }
.dp-txn-amt { font-weight: 600; }
.dp-txn-amt.success { color: var(--success); }
.dp-txn-amt.pending { color: var(--pending); }

/* ── CTA ── */
.cta-section { padding: 80px 0; }
.cta-box {
  background: linear-gradient(135deg, var(--indigo-dark) 0%, var(--indigo-mid) 60%, var(--indigo-light) 100%);
  border-radius: var(--radius-xl);
  padding: 70px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-bg-orb {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,196,180,0.2), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-box h2 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
}
.cta-box p { font-size: 17px; opacity: 0.8; margin-bottom: 36px; position: relative; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Footer ── */
.footer {
  background: var(--indigo-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 16px; display: inline-flex; }
.footer-brand .nav-logo strong { color: var(--cyan); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  transition: background .2s;
}
.footer-socials a:hover { background: var(--indigo-light); color: #fff; }
.footer-col h5 { color: #fff; font-family: var(--font-display); font-size: 14px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: 14px; }
.footer-col ul li a { transition: color .2s; }
.footer-col ul li a:hover { color: var(--cyan); }
.footer-badges { display: flex; gap: 8px; margin-top: 16px; }
.fbadge {
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  font-size: 12px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ── Auth Pages ── */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-side {
  background: linear-gradient(145deg, var(--indigo-dark) 0%, var(--indigo-mid) 100%);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.auth-side::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,196,180,0.15), transparent 60%);
  top: -100px; right: -100px;
  border-radius: 50%;
}
.auth-side-logo { margin-bottom: 48px; }
.auth-side h2 { font-family: var(--font-display); font-size: 34px; font-weight: 800; margin-bottom: 16px; }
.auth-side p { font-size: 16px; opacity: 0.75; line-height: 1.7; margin-bottom: 36px; }
.auth-perks { display: flex; flex-direction: column; gap: 14px; }
.auth-perk { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.auth-perk-icon { width: 32px; height: 32px; background: rgba(255,255,255,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--bg);
}
.auth-form-box { width: 100%; max-width: 460px; }
.auth-form-box h3 { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--indigo-dark); margin-bottom: 6px; }
.auth-form-box .auth-sub { font-size: 15px; color: var(--text-2); margin-bottom: 32px; }

/* Form elements */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus { border-color: var(--indigo-light); box-shadow: 0 0 0 3px rgba(107,82,200,0.12); }
.form-input.error { border-color: var(--error); }
.form-hint { font-size: 12px; color: var(--text-3); margin-top: 5px; }
.form-error { font-size: 12px; color: var(--error); margin-top: 5px; }

/* Alert */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.alert-error { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #d97706; border: 1px solid #fde68a; }
.alert-info { background: #ede9fe; color: var(--indigo); border: 1px solid rgba(107,82,200,0.3); }

/* ── Dashboard Layout ── */
.dash-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 240px;
  background: var(--indigo-dark);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 100;
  overflow-y: auto;
}
.sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-logo .nav-logo { color: #fff; }
.sidebar-logo .nav-logo strong { color: var(--cyan); }
.sidebar-nav { padding: 16px 10px; flex: 1; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
  margin-bottom: 3px;
  text-decoration: none;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.sidebar-nav a.active { background: var(--indigo-mid); }
.sidebar-nav .nav-icon { width: 18px; text-align: center; font-size: 15px; }
.sidebar-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 16px 14px 6px;
}
.sidebar-bottom { padding: 16px 10px; border-top: 1px solid rgba(255,255,255,0.1); }
.sidebar-bottom a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; color: rgba(255,255,255,0.5); font-size: 14px; transition: color .2s; text-decoration: none; }
.sidebar-bottom a:hover { color: #fff; }

.dash-main {
  flex: 1;
  margin-left: 240px;
  background: var(--bg);
  min-height: 100vh;
}
.dash-topbar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.dash-page-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--indigo-dark); }
.dash-topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-user { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 10px; background: var(--surface); font-size: 14px; font-weight: 500; color: var(--text); }
.user-avatar {
  width: 32px; height: 32px;
  background: var(--indigo);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 13px;
}
.dash-content { padding: 32px; }

/* Dashboard Stats Cards */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.stat-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all .2s;
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-card-label { font-size: 12px; color: var(--text-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.stat-card-value { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--indigo-dark); margin-bottom: 6px; }
.stat-card-change { font-size: 12px; color: var(--success); font-weight: 500; }
.stat-card-change.down { color: var(--error); }
.stat-card-icon { font-size: 22px; float: right; margin-top: -40px; }

/* Table */
.data-table-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.table-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.table-header h4 { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 12px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.data-table td { padding: 14px 22px; font-size: 14px; border-bottom: 1px solid var(--border-light); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--surface); }
.badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.badge-success { background: #dcfce7; color: var(--success); }
.badge-error { background: #fee2e2; color: var(--error); }
.badge-warning { background: #fef3c7; color: var(--warning); }
.badge-pending { background: #ede9fe; color: var(--pending); }

/* Plan Badge */
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), #fbc02d);
  color: var(--indigo-dark);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .manage-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); padding: 4px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .sidebar { transform: translateX(-100%); transition: transform .3s; }
  .sidebar.open { transform: translateX(0); }
  .dash-main { margin-left: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 36px 24px; }
  .cta-box h2 { font-size: 26px; }
  .hero-title { font-size: 36px; }
}
