@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #e0c66a;
  --gold-glow: rgba(201, 168, 76, 0.3);
  --gold-dim: rgba(201, 168, 76, 0.08);
  --gold-deep: #a8882e;

  --dark: #0a0a0c;
  --dark-2: #141416;
  --dark-3: #1e1e22;
  --dark-4: #2a2a30;
  --surface: rgba(20, 20, 23, 0.85);
  --panel: #121214;
  --border: rgba(255, 255, 255, 0.06);

  --text: #f5f4f0;
  --text-dim: #9a9490;
  --muted: #6b6560;

  --silver: #b8c5d0;
  --danger: #dc4444;
  --success: #22b55e;
  --warning: #d99a0b;
  --info: #4a7fff;

  --sans: 'Outfit', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;
}

.light {
  --dark: #f8f7f4;
  --dark-2: #f0efeb;
  --dark-3: #e8e7e2;
  --dark-4: #dddcd6;
  --surface: rgba(255, 255, 255, 0.9);
  --panel: #ffffff;
  --border: rgba(0, 0, 0, 0.06);
  --text: #1a1816;
  --text-dim: #6b6560;
  --muted: #9a9490;
}

body.light .nav-header,
body.light header:not(.admin-nav) { background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(20px); }
body.light input, body.light .search-box, body.light input[type="date"], body.light input[type="text"], body.light input[type="email"], body.light input[type="password"], body.light input[type="number"], body.light input[type="tel"], body.light select, body.light textarea { background: #fff; color: #1a1816; border-color: #dddcd6; }
body.light input:focus, body.light .search-box:focus { border-color: var(--gold); }
body.light .btn-nav, body.light .nav-btn, body.light .btn-history { background: #f0efeb; color: #1a1816; border-color: #dddcd6; }
body.light .btn-nav:hover, body.light .nav-btn:hover, body.light .btn-history:hover { border-color: var(--gold); color: var(--gold); background: #fff; }
body.light table { border-color: #dddcd6; }
body.light th { border-color: #dddcd6; background: #f0efeb; color: #6b6560; }
body.light td { border-color: #dddcd6; }
body.light tr:hover td { background: rgba(0,0,0,0.015); }
body.light .stat-card, body.light .order-card, body.light .control-panel, body.light .modal-content { background: #fff; border-color: #dddcd6; }
body.light .stat-val { color: #1a1816; }
body.light .market-banner { background: rgba(255, 255, 255, 0.4); }
body.light .tile:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
body.light .auth-box { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1); }
body.light .badge-dim { background: rgba(0,0,0,0.04); }
body.light .loading-msg { color: #6b6560; }
body.light .order-card:hover { background: #f8f7f4; }
body.light .btn-ghost:hover { background: rgba(0,0,0,0.04); }
body.light .modal-overlay { background: rgba(255, 255, 255, 0.85); }
body.light .btn:disabled { background: #f0efeb; color: #9a9490; }
body.light .sidebar { background: #fff; }
body.light .sidebar-nav a:hover { background: #f0efeb; }
body.light .mobile-bottom-nav { background: #fff; }
body.light .sub-banner.sub-expired { background: rgba(220, 68, 68, 0.08); color: var(--danger); }
body.light .sub-banner.sub-trial, body.light .sub-banner.sub-warning { background: rgba(217, 154, 11, 0.08); color: #b45309; }
body.light label, body.light .stat-card h3, body.light .date-label, body.light .summary-line, body.light .btn-history { color: #6b6560; }
body.light button.submit-btn:disabled { background: #dddcd6; color: #9a9490; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--dark);
  background-image: radial-gradient(ellipse at top right, rgba(201, 168, 76, 0.04), transparent 60%);
  color: var(--text);
  font-family: var(--body);
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.light { background-image: radial-gradient(ellipse at top right, rgba(201, 168, 76, 0.025), transparent 60%); }

h1, h2, h3, h4, h5, h6 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }

::selection { background: rgba(201, 168, 76, 0.25); color: var(--text); }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--dark-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Status badges */
.badge { font-size: 0.6rem; padding: 5px 12px; border-radius: var(--radius-pill); font-weight: 700; letter-spacing: 0.04em; border: 1px solid var(--border); display: inline-flex; align-items: center; gap: 5px; }
.badge-gold { background: var(--gold); color: #0a0a0c; border-color: var(--gold); }
.badge-success { background: rgba(34, 181, 94, 0.12); color: var(--success); border-color: rgba(34, 181, 94, 0.25); }
.badge-danger { background: rgba(220, 68, 68, 0.12); color: var(--danger); border-color: rgba(220, 68, 68, 0.25); }
.badge-dim { background: rgba(255, 255, 255, 0.04); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 600; cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--text); transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease; font-family: var(--sans); }
.btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.btn-gold { background: var(--gold); color: #0a0a0c; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); color: #0a0a0c; }
.btn-nav { background: var(--surface); color: var(--text); border: 1px solid var(--border); padding: 8px 15px; border-radius: var(--radius); text-decoration: none; cursor: pointer; font-size: 0.8rem; display: inline-flex; align-items: center; gap: 8px; }
.btn-ghost { border: none; background: transparent; color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.btn-icon { padding: 8px; border-radius: 12px; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Cards */
.card { background: var(--surface); border: none; border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: box-shadow 0.3s ease, transform 0.2s ease; }
.card:hover { box-shadow: 0 8px 30px rgba(201, 168, 76, 0.06); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
th { background: var(--panel); color: var(--text-dim); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; padding: 14px 16px; text-align: left; font-family: var(--sans); }
td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255, 255, 255, 0.015); }

/* Gold text */
.gold { color: var(--gold); }
.text-dim { color: var(--text-dim); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }

/* Layout utilities */
.container { max-width: 1250px; margin: 0 auto; padding: 30px 20px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

/* Nav header */
.nav-header { background: rgba(10, 10, 12, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 14px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
.nav-header a { color: var(--text-dim); transition: color 0.2s; font-size: 0.85rem; }
.nav-header a:hover { color: var(--gold); }
.nav-title { color: var(--gold); margin: 0; font-size: 0.9rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

/* Loading */
.loading { text-align: center; padding: 60px 20px; color: var(--text-dim); }
.loading i { font-size: 1.5rem; margin-bottom: 12px; }

/* Errors */
.error-box { text-align: center; padding: 40px; color: var(--danger); }
.error-box .retry-btn { margin-top: 12px; }

/* Modals */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(6px); z-index: 1000; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal-box { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto; }

/* Responsive table → cards */
@media (max-width: 768px) {
  .container { padding: 16px 12px; }
  .table-responsive { border: none; }
  .table-responsive thead { display: none; }
  .table-responsive tr { display: block; margin-bottom: 10px; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; background: var(--surface); }
  .table-responsive td { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.78rem; }
  .table-responsive td:last-child { border-bottom: none; }
  .table-responsive td::before { content: attr(data-label); font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-dim); font-family: var(--sans); }
}

/* Theme toggle */
.theme-toggle { background: transparent; border: 1px solid var(--border); color: var(--gold); cursor: pointer; padding: 8px; border-radius: 10px; transition: 0.2s; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; }
.theme-toggle:hover { background: var(--gold); color: #0a0a0c; }

/* Subscription banner */
.sub-banner { display: none; padding: 10px 20px; font-size: 0.72rem; font-weight: 700; text-align: center; }
.sub-banner.sub-expired { display: block; background: rgba(220, 68, 68, 0.12); color: var(--danger); }
.sub-banner.sub-trial { display: block; background: rgba(217, 154, 11, 0.12); color: #d99a0b; }
.sub-banner.sub-warning { display: block; background: rgba(220, 68, 68, 0.08); color: var(--danger); animation: pulse-warning 2s infinite; }

@keyframes pulse-warning {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ── Landing Page ── */

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.4;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,12,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}
.nav-brand .gold { color: var(--gold); }
.nav-brand .dim { color: var(--text-dim); font-weight: 300; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 50%, var(--gold-glow) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(201,168,76,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-left {
  position: relative;
  z-index: 2;
  padding-top: 40px;
}

.hero-title {
  font-family: var(--sans);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

.hero-title .accent { color: var(--gold); }

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.35s;
}

.hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

.hero-screen {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--dark-2);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px var(--gold-dim);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s ease;
}

.hero-screen:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.hero-screen-bar {
  background: var(--dark-3);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.screen-dot { width: 10px; height: 10px; border-radius: 50%; }
.screen-dot.red { background: #ff5f56; }
.screen-dot.yellow { background: #ffbd2e; }
.screen-dot.green { background: #27c93f; }

.screen-url {
  margin-left: 12px;
  font-size: 0.7rem;
  color: var(--muted);
  font-family: monospace;
}

.hero-preview {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.preview-tile {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}

.preview-tile-val {
  font-family: var(--sans);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
}

.preview-tile-label {
  font-size: 0.58rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
  font-family: var(--sans);
}

.preview-section-label {
  font-size: 0.58rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 0;
  font-family: var(--sans);
}

.preview-row-item {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
}

.preview-row-item .name { color: var(--text); }
.preview-row-item .val { color: var(--gold); font-weight: 600; }

.preview-badge {
  font-size: 0.55rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(34,197,94,0.1);
  color: var(--success);
  border: 1px solid rgba(34,197,94,0.2);
}

.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 32px 60px;
  flex-wrap: wrap;
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  background: rgba(20,20,23,0.5);
  opacity: 0;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.trust-item i { color: var(--gold); }

.ticker {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.ticker-inner {
  display: flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--sans);
}

.ticker-item .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

section {
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 520px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  margin-top: 60px;
}

.feature-card {
  background: var(--dark-2);
  padding: 44px 40px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.feature-card:hover { background: var(--dark-3); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-card.featured {
  background: linear-gradient(135deg, var(--gold-dim), var(--dark-2) 60%);
}
.feature-card.featured:hover {
  background: linear-gradient(135deg, rgba(201,168,76,0.08), var(--dark-3) 60%);
}

.feature-icon {
  width: 46px; height: 46px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
}

.feature-title {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
}

#demo {
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.demo-checkpoints {
  list-style: none;
  margin-top: 36px;
  margin-bottom: 40px;
}

.demo-checkpoints li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-dim);
}

.demo-checkpoints li i {
  color: var(--gold);
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.demo-checkpoints li:last-child { border-bottom: none; }

.demo-visual { position: relative; }

.demo-screen {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--dark-2);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.demo-screen-bar {
  background: var(--dark-3);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.demo-screen-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.demo-metric {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.demo-metric .label {
  font-size: 0.6rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--sans);
}

.demo-metric .value {
  font-family: var(--sans);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 700;
  margin-top: 4px;
}

.demo-metric .value .unit {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

#pricing { text-align: center; }
#pricing .section-subtitle { margin: 0 auto; }

.pricing-toggle {
  display: inline-flex;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin: 30px auto;
  gap: 4px;
}

.toggle-btn {
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
}

.toggle-btn.active {
  background: var(--gold);
  color: var(--dark);
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.price-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  text-align: left;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.price-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: var(--gold-dim);
  background: linear-gradient(135deg, var(--gold-dim), var(--dark-2) 60%);
}

.price-card.featured::before {
  content: 'BEST VALUE';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
}

.price-plan {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: var(--sans);
}

.price-amount {
  font-family: var(--sans);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.price-amount sup {
  font-size: 1.4rem;
  vertical-align: super;
  color: var(--muted);
  font-weight: 400;
}

.price-period {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 30px;
}

.price-saving {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--success);
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 30px;
  font-weight: 500;
}

.price-features {
  list-style: none;
  margin-bottom: 36px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}

.price-features li i {
  color: var(--gold);
  flex-shrink: 0;
}

#trust-metrics {
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  margin-top: 60px;
}

.metric-card {
  background: var(--dark-2);
  padding: 48px 32px;
  transition: background 0.3s;
}

.metric-card:hover { background: var(--dark-3); }

.metric-number {
  font-family: var(--sans);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.metric-card .note {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 8px;
  display: block;
}

.cta-section {
  padding: 100px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, var(--gold-glow) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section .section-subtitle { margin: 0 auto 40px; }

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 50px 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.72rem;
  color: var(--muted);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.light.landing .landing-hero { background: transparent; }
.light.landing .landing-bg { opacity: 0.3; }

.light.landing nav { background: rgba(245,245,244,0.85); }
.light.landing .trust-bar { background: rgba(250,250,249,0.8); }
.light.landing .hero-screen, .light.landing .demo-screen { background: var(--dark-2); }
.light.landing .feature-card { background: var(--dark-2); }
.light.landing .feature-card:hover { background: var(--dark-3); }
.light.landing .price-card { background: var(--dark-2); }
.light.landing .metric-card { background: var(--dark-2); }
.light.landing .metric-card:hover { background: var(--dark-3); }
.light.landing footer { background: var(--dark-2); }

#udhyam-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: var(--sans);
}

#udhyam-toggle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--gold-glow);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
}

#udhyam-toggle:hover {
  background: var(--gold-light);
  transform: scale(1.08);
}

#udhyam-toggle .toggle-icon {
  font-size: 1.3rem;
  color: var(--dark);
  transition: transform 0.3s;
}

#udhyam-toggle .notif-dot {
  position: absolute;
  top: 2px; right: 2px;
  width: 12px; height: 12px;
  background: var(--success);
  border-radius: 50%;
  border: 2px solid #0a0a0c;
}

#udhyam-window {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 360px;
  height: 520px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  transform: scale(0.92) translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom right;
}

#udhyam-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.udhyam-header {
  background: linear-gradient(135deg, #1a1400 0%, var(--dark-3) 100%);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.udhyam-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1.5px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.udhyam-info { flex: 1; }
.udhyam-name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.udhyam-status { font-size: 0.65rem; color: var(--success); display: flex; align-items: center; gap: 5px; }

.udhyam-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 0 24px; gap: 40px; }
  .hero-left { padding-top: 100px; }
  .hero-right { display: none; }
  section { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 32px 28px; }
  .demo-layout { grid-template-columns: 1fr; gap: 40px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-card { padding: 32px 20px; }
  .metric-number { font-size: 2rem; }
  .trust-bar { padding: 24px 20px; gap: 20px; }
  #demo { padding: 60px 24px; }
  #trust-metrics { padding: 60px 24px; }
  .cta-section { padding: 60px 24px; }
  footer { padding: 30px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  #udhyam-window { width: 320px; right: -20px; }
}

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

/* ==================== MOBILE RESPONSIVE ==================== */

@media (max-width: 768px) {
  .nav-header { flex-wrap: wrap !important; gap: 8px !important; padding: 10px 14px !important; }
  .nav-header .nav-btn { padding: 6px 10px !important; font-size: 0.7rem !important; }
  .nav-header > span:not(.nav-btn):not(.badge), .nav-header h2 { font-size: 0.82rem !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 28vw; flex-shrink: 1; min-width: 0; }
  .nav-header .theme-toggle { flex-shrink: 0 !important; width: 34px !important; height: 34px !important; margin-left: auto; }
}

@media (max-width: 768px) {
  header:not(.top-header):not(.admin-nav) { flex-wrap: wrap !important; gap: 10px !important; padding: 14px 18px !important; }
  header:not(.top-header):not(.admin-nav) h1 { font-size: 1.05rem !important; }
  header:not(.top-header):not(.admin-nav) .header-sub { display: none; }
}

@media (max-width: 768px) {
  .admin-nav { flex-wrap: wrap !important; gap: 10px !important; padding: 14px !important; }
  .admin-nav > * { font-size: 0.78rem !important; }
}

@media (max-width: 480px) {
  .top-header { padding: 0 10px !important; height: 50px !important; }
  .top-header .top-header-right { gap: 6px !important; }
  .top-header .top-header-right .badge { font-size: 0.5rem !important; padding: 2px 6px !important; }
  .top-header .top-header-left h1 { font-size: 0.85rem !important; }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .stat-card { padding: 14px !important; }
  .stat-val { font-size: 1.3rem !important; }
}
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr !important; } }

@media (max-width: 768px) {
  table:not(.no-mobile-scroll) { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  th, td { white-space: nowrap; }
  td.diff-cell-wrap, .diff-cell { white-space: normal !important; }
}

@media (max-width: 480px) { .container:not(.no-mobile-pad) { padding: 10px 12px !important; } }

@media (max-width: 480px) {
  .modal-content, #sub-modal { width: 94% !important; margin: 30px auto !important; padding: 20px !important; max-height: 85vh !important; }
  .modal-box { width: 94% !important; padding: 20px !important; }
}

@media (max-width: 768px) {
  .btn, .nav-btn, .btn-nav, .btn-action, .btn-gold, .btn-sm, .btn-filter, .btn-export { min-height: 40px; }
  .btn-sm { min-height: 36px; }
  input, select, textarea { font-size: 16px !important; }
}

@media (max-width: 768px) {
  .container[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .grid-2 { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .auth-box { padding: 20px !important; margin: 20px !important; max-width: none !important; }
  .auth-box.signup-mode { max-width: none !important; }
  .auth-box .auth-grid { grid-template-columns: 1fr !important; }
  .auth-box.signup-mode .auth-grid { grid-template-columns: 1fr !important; }
  .auth-box .full-width-span { grid-column: span 1 !important; }
  .auth-box.signup-mode .full-width-span { grid-column: span 1 !important; }
}

@media (max-width: 768px) {
  .filter-row { flex-direction: column !important; gap: 10px !important; }
  .filter-row .filter-group { width: 100%; }
  .filter-row input[type="date"] { width: 100%; }
  .filter-row .btn-filter, .filter-row .btn-export { width: 100%; height: auto !important; padding: 12px !important; }
}

@media (max-width: 768px) {
  .control-panel { flex-direction: column !important; gap: 10px !important; padding: 16px !important; }
  .control-panel .filter-group { width: 100%; }
  .control-panel .btn-action { width: 100%; }
}

@media (max-width: 480px) {
  .tile { padding: 12px 14px !important; }
  .tile i { font-size: 1.05rem !important; }
  .tile b { font-size: 0.78rem !important; }
}

@media (max-width: 480px) {
  div[style*="display:flex"][style*="gap:10px"]:has(.search-box) { flex-direction: column !important; }
  div[style*="display:flex"][style*="gap:10px"]:has(.search-box) .btn-nav { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
  .order-card { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; padding: 14px !important; }
  .order-card > div { width: 100%; }
}

@media (max-width: 768px) {
  .box { padding: 20px !important; margin: 20px !important; }
  .inv-header { flex-direction: column !important; gap: 12px !important; }
  .summary-box { width: 100% !important; }
}

@media (max-width: 480px) { .modal-content[style*="width: 350px"] { width: 94% !important; } }
