/* ─── PROJECT DIAMOND — Design System ─────────────────────────────────────── */
/* Font: Syne (headings) + DM Sans (body) | Theme: Dark tech / Midnight Navy  */

:root {
  --bg-base:       #060c1a;
  --bg-surface:    #0d1530;
  --bg-elevated:   #111d3d;
  --bg-card:       #0f1a35;
  --border:        rgba(255,255,255,0.07);
  --border-glow:   rgba(34,211,238,0.25);

  --cyan:          #22d3ee;
  --indigo:        #818cf8;
  --violet:        #a78bfa;
  --emerald:       #34d399;
  --amber:         #fbbf24;
  --rose:          #fb7185;

  --text-primary:  #f0f4ff;
  --text-secondary:#8899bb;
  --text-muted:    #4a5a7a;

  --sidebar-w:     260px;
  --topbar-h:      64px;
  --radius:        14px;
  --radius-sm:     8px;
  --radius-lg:     20px;

  --shadow-card:   0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow:   0 0 32px rgba(34,211,238,0.12);
  --transition:    0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--violet); }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

/* ─── SIDEBAR ────────────────────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 200;
  overflow-y: auto;
  transition: transform var(--transition);
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}
.brand-logo { display: flex; align-items: center; }
.brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex: 1;
}
.sidebar-close {
  display: none;
  color: var(--text-secondary);
  font-size: 1rem;
  padding: 4px;
  margin-left: auto;
}

.sidebar-wallet {
  margin: 16px 14px;
  background: linear-gradient(135deg, rgba(34,211,238,0.08), rgba(129,140,248,0.08));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 16px;
}
.wallet-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.wallet-amount {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 4px 0 10px;
}
.btn-fund-sm {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  color: var(--bg-base);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 30px;
}
.btn-fund-sm:hover { opacity: 0.85; color: var(--bg-base); }

.sidebar-nav { padding: 8px 10px; flex: 1; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  margin-bottom: 2px;
}
.nav-item:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
}
.nav-item.active {
  background: linear-gradient(135deg, rgba(34,211,238,0.12), rgba(129,140,248,0.08));
  color: var(--cyan);
  border: 1px solid rgba(34,211,238,0.15);
}
.nav-item.active svg { stroke: var(--cyan); }
.nav-sep {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 16px 12px 6px;
}
.admin-link { color: var(--amber); }
.admin-link:hover { color: var(--amber); background: rgba(251,191,36,0.06); }
.admin-link svg { stroke: var(--amber); }

.sidebar-footer {
  padding: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-chip { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.user-ava {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  color: var(--bg-base);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.user-name-sm { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role-sm { font-size: 0.68rem; color: var(--text-muted); }
.btn-logout {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  background: rgba(251,113,133,0.08);
  transition: all var(--transition);
  flex-shrink: 0;
}
.btn-logout:hover { background: rgba(251,113,133,0.2); color: var(--rose); }
.btn-logout svg { stroke: currentColor; }

/* ─── OVERLAY ────────────────────────────────────────────────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 199;
  backdrop-filter: blur(3px);
}

/* ─── TOPBAR ─────────────────────────────────────────────────────────────── */
.main-wrap {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  position: sticky;
  top: 0;
  height: var(--topbar-h);
  background: rgba(6,12,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  z-index: 100;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.topbar-title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.page-content { padding: 28px 24px; flex: 1; }

/* ─── FLASH MESSAGES ─────────────────────────────────────────────────────── */
.flash-container { padding: 0 24px; }
.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 8px;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.flash-success { background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.25); color: var(--emerald); }
.flash-error, .flash-danger { background: rgba(251,113,133,0.12); border: 1px solid rgba(251,113,133,0.25); color: var(--rose); }
.flash-warning { background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.25); color: var(--amber); }
.flash-info { background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.2); color: var(--cyan); }
.flash-close { background: none; color: currentColor; font-size: 1.1rem; opacity: 0.6; }
.flash-close:hover { opacity: 1; }

/* ─── CARDS ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}
.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.card-value {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}
.card-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* Stat cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.stat-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.stat-card:hover { border-color: var(--border-glow); box-shadow: var(--shadow-glow); }
.stat-card .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.stat-card .icon.cyan { background: rgba(34,211,238,0.12); color: var(--cyan); }
.stat-card .icon.indigo { background: rgba(129,140,248,0.12); color: var(--indigo); }
.stat-card .icon.emerald { background: rgba(52,211,153,0.12); color: var(--emerald); }
.stat-card .icon.amber { background: rgba(251,191,36,0.12); color: var(--amber); }
.stat-card .icon.violet { background: rgba(167,139,250,0.12); color: var(--violet); }
.stat-card .icon.rose { background: rgba(251,113,133,0.12); color: var(--rose); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.stat-value { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 700; }

/* ─── PROGRESS BAR ───────────────────────────────────────────────────────── */
.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0;
}
.progress-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--cyan), var(--indigo));
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}
.progress-fill.danger { background: linear-gradient(90deg, var(--amber), var(--rose)); }

/* ─── DATA PLAN CARDS ────────────────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.plan-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(34,211,238,0.1);
}
.plan-card.featured {
  border-color: rgba(129,140,248,0.4);
  background: linear-gradient(145deg, rgba(129,140,248,0.06), rgba(34,211,238,0.04));
}
.plan-card.featured::after {
  content: 'Popular';
  position: absolute;
  top: 14px; right: -22px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 28px;
  transform: rotate(45deg);
  text-transform: uppercase;
}
.plan-size {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2px;
}
.plan-validity { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 16px; }
.plan-speed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.2);
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.plan-price {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 12px 0 16px;
}
.plan-price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  color: var(--bg-base);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); color: var(--bg-base); }
.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.09); }
.btn-danger { background: rgba(251,113,133,0.15); color: var(--rose); border: 1px solid rgba(251,113,133,0.25); }
.btn-danger:hover { background: rgba(251,113,133,0.25); }
.btn-success { background: rgba(52,211,153,0.15); color: var(--emerald); border: 1px solid rgba(52,211,153,0.25); }
.btn-success:hover { background: rgba(52,211,153,0.25); }
.btn-sm { padding: 7px 14px; font-size: 0.8rem; border-radius: 8px; }
.btn-full { width: 100%; }

/* ─── FORMS ──────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34,211,238,0.1);
}
.form-input::placeholder { color: var(--text-muted); }
.form-input.error { border-color: var(--rose); }
.form-error { color: var(--rose); font-size: 0.78rem; margin-top: 4px; }
.errorlist { list-style: none; }
.errorlist li { color: var(--rose); font-size: 0.78rem; margin-top: 4px; }

.password-field {
  position: relative;
}
.password-field .form-input,
.password-field .password-input {
  padding-right: 44px;
}
.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.password-toggle:hover {
  color: var(--cyan);
  background: rgba(34,211,238,0.08);
}
.password-toggle .icon-hide { display: none; }
.password-toggle.is-visible .icon-show { display: none; }
.password-toggle.is-visible .icon-hide { display: block; }

/* ─── TABLE ──────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
thead tr { background: var(--bg-elevated); }
th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}
td {
  padding: 13px 16px;
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
}
tr:hover td { background: rgba(255,255,255,0.015); }
.td-primary { color: var(--text-primary); font-weight: 500; }

/* ─── BADGE / STATUS ─────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge-active, .badge-success { background: rgba(52,211,153,0.12); color: var(--emerald); border: 1px solid rgba(52,211,153,0.2); }
.badge-expired, .badge-failed { background: rgba(251,113,133,0.1); color: var(--rose); border: 1px solid rgba(251,113,133,0.2); }
.badge-pending { background: rgba(251,191,36,0.1); color: var(--amber); border: 1px solid rgba(251,191,36,0.2); }
.badge-suspended { background: rgba(251,113,133,0.1); color: var(--rose); border: 1px solid rgba(251,113,133,0.2); }

/* ─── AUTH PAGES ─────────────────────────────────────────────────────────── */
.auth-scene {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}
.auth-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(34,211,238,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(129,140,248,0.07) 0%, transparent 60%),
    var(--bg-base);
  z-index: 0;
}
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  justify-content: flex-start;
  min-width: 0;
}
.auth-logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.auth-brand-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--cyan);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
.auth-logo span {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cyan);
}
.auth-heading { font-size: 1.5rem; margin-bottom: 6px; text-align: center; }
.auth-sub { font-size: 0.875rem; color: var(--text-muted); text-align: center; margin-bottom: 28px; }
.auth-link { text-align: center; margin-top: 20px; font-size: 0.875rem; color: var(--text-muted); }
.auth-link a { color: var(--cyan); font-weight: 500; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.form-group-checkbox { margin-top: 4px; }
.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
  cursor: pointer;
}
.form-checkbox {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--cyan);
  cursor: pointer;
}
.form-checkbox-label a {
  color: var(--cyan);
  font-weight: 500;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.legal-links a {
  color: var(--text-muted);
  text-decoration: none;
}
.legal-links a:hover { color: var(--cyan); }
.legal-links span { opacity: 0.45; }

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 56px) clamp(20px, 4vw, 32px) 64px;
}
.legal-header { margin-bottom: 32px; }
.legal-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 12px;
}
.legal-intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.legal-section {
  margin-bottom: 28px;
}
.legal-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.125rem;
  margin-bottom: 10px;
  color: var(--text);
}
.legal-section p,
.legal-section li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.legal-section ul {
  margin: 8px 0 0;
  padding-left: 1.25rem;
}
.legal-section li + li { margin-top: 6px; }
.legal-related {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.legal-related a { color: var(--cyan); }

.dash-wallet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34,211,238,0.2);
  background: linear-gradient(135deg, rgba(34,211,238,0.08), rgba(129,140,248,0.06));
}
.dash-wallet-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.dash-wallet-value { font-family: 'Syne', sans-serif; font-size: 1.75rem; font-weight: 700; color: var(--cyan); margin-top: 4px; }
.dash-pp-account {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.875rem;
}
.dash-pp-label { color: var(--text-muted); margin-right: 4px; }
.dash-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin-bottom: 8px;
}
.dash-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 16px 8px;
  border: none;
  background: none;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.72rem;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background 0.15s;
  min-width: 0;
  width: 100%;
}
.dash-icon-label {
  display: block;
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.dash-icon-item:hover { background: rgba(255,255,255,0.04); color: var(--text-primary); }
.dash-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-primary);
  flex-shrink: 0;
}
.dash-icon-circle svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.dash-icon-circle.cyan { border-color: rgba(34,211,238,0.25); color: var(--cyan); }
.dash-icon-circle.emerald { border-color: rgba(52,211,153,0.25); color: var(--emerald); }
.dash-icon-circle.amber { border-color: rgba(251,191,36,0.25); color: var(--amber); }
.dash-icon-circle.indigo { border-color: rgba(129,140,248,0.25); color: var(--indigo); }
.dash-icon-circle.rose { border-color: rgba(251,113,133,0.25); color: var(--rose); }

.fund-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.fund-method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 22px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.15s, background 0.15s;
}
.fund-method-card:hover { border-color: rgba(34,211,238,0.35); background: rgba(34,211,238,0.05); }
.fund-method-unavailable { opacity: 0.55; }
.fund-method-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.fund-method-icon.cyan { color: var(--cyan); border-color: rgba(34,211,238,0.25); background: rgba(34,211,238,0.08); }
.fund-method-icon.emerald { color: var(--emerald); border-color: rgba(52,211,153,0.25); background: rgba(52,211,153,0.08); }
.fund-method-title { font-weight: 600; font-size: 0.95rem; }
.fund-method-sub { font-size: 0.75rem; color: var(--text-muted); line-height: 1.35; }
.fund-method-note { font-size: 0.68rem; color: var(--rose); margin-top: 4px; }

.va-details { display: flex; flex-direction: column; gap: 16px; }
.va-row { display: flex; flex-direction: column; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.va-row:last-child { border-bottom: none; padding-bottom: 0; }
.va-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.va-copy-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.va-account-num { font-family: 'Syne', sans-serif; font-size: 1.35rem; color: var(--cyan); letter-spacing: 0.04em; }
.va-empty { padding: 12px 0 4px; }

.network-code-input {
  letter-spacing: 0.2em;
  font-size: 1.125rem;
  text-align: center;
  font-family: monospace;
}
.network-detail-list { display: grid; gap: 12px; margin: 0; }
.network-detail-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.network-detail-list dt { font-size: 0.8125rem; color: var(--text-muted); margin: 0; }
.network-detail-list dd { margin: 0; font-size: 0.875rem; font-weight: 500; text-align: right; }
.receipt-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(52,211,153,0.15);
  color: var(--emerald);
  font-size: 1.5rem;
  line-height: 56px;
  font-weight: 700;
}
.badge-expired { background: rgba(251,113,133,0.12); color: var(--rose); border: 1px solid rgba(251,113,133,0.2); }

/* ─── DASHBOARD HERO ─────────────────────────────────────────────────────── */
.hero-plan {
  background: linear-gradient(135deg, rgba(34,211,238,0.08), rgba(129,140,248,0.06));
  border: 1px solid rgba(34,211,238,0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.hero-plan::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.08), transparent 70%);
  pointer-events: none;
}
.hero-plan-top { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-plan-name { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 700; }
.hero-plan-data {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-plan-data span { font-size: 1.2rem; }
.hero-plan-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.meta-item { font-size: 0.8rem; color: var(--text-muted); }
.meta-item strong { display: block; color: var(--text-primary); font-size: 0.95rem; }

/* ─── ADMIN ──────────────────────────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.page-header h1 { font-size: 1.6rem; }
.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search-bar .form-input { max-width: 340px; }

.field-saved-hint {
  font-size: 0.75rem;
  color: var(--emerald);
  margin-top: 6px;
}
.form-help {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.settings-status-ok {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(52,211,153,0.25);
  background: rgba(52,211,153,0.08);
  color: var(--emerald);
  font-size: 0.82rem;
}
.settings-status-warn {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(251,191,36,0.25);
  background: rgba(251,191,36,0.08);
  color: var(--amber);
  font-size: 0.82rem;
}

/* ─── VOUCHER ────────────────────────────────────────────────────────────── */
.voucher-code {
  font-family: 'Syne', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cyan);
}

/* ─── DEVICE CARDS ───────────────────────────────────────────────────────── */
.device-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.device-card.current-device { border-color: rgba(34,211,238,0.3); }
.device-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(34,211,238,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}
.device-info { flex: 1; min-width: 0; }
.device-name { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); }
.device-meta { font-size: 0.75rem; color: var(--text-muted); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 8px 0 40px rgba(0,0,0,0.5);
  }
  .sidebar-close { display: flex; }
  .sidebar-overlay.open { display: block; }
  .main-wrap { margin-left: 0; }
  .menu-toggle { display: flex; }
  .page-content { padding: 16px; overflow-x: hidden; }
  .topbar { padding: 0 16px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; }
  .hero-plan-data { font-size: 2.8rem; }
  .auth-card { padding: 28px 24px; }

  .dash-wallet-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    gap: 14px;
  }
  .dash-wallet-value { font-size: 1.5rem; }
  .dash-pp-account {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .dash-icon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
  }
  .dash-icon-item {
    padding: 12px 6px;
    gap: 8px;
    font-size: 0.68rem;
    -webkit-tap-highlight-color: transparent;
  }
  .dash-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .dash-icon-circle svg {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat-grid-3 { grid-template-columns: 1fr; }
  .stat-value { font-size: 1.3rem; }
  .page-content { padding: 14px 12px; }
  .dash-wallet-bar { padding: 14px 16px; }
  .dash-wallet-value { font-size: 1.35rem; }
  .dash-icon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 6px;
  }
  .dash-icon-item {
    padding: 10px 4px;
    font-size: 0.625rem;
  }
  .dash-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .dash-icon-circle svg {
    width: 18px;
    height: 18px;
  }
  .fund-method-grid { grid-template-columns: 1fr; }
}

/* ─── UTILITIES ──────────────────────────────────────────────────────────── */
.text-cyan { color: var(--cyan); }
.text-muted { color: var(--text-muted); }
.text-emerald { color: var(--emerald); }
.text-rose { color: var(--rose); }
.text-amber { color: var(--amber); }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.no-plan-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.no-plan-state h3 { font-size: 1.2rem; color: var(--text-secondary); margin: 16px 0 8px; }

/* ─── MODAL ──────────────────────────────────────────────────────────────── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 100%;
  max-width: 440px;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: none; } }
.modal-title { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.modal-footer { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* ─── APP DIALOG (global confirm / alert) ──────────────────────────────────── */
.app-dialog-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  z-index: 400;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.app-dialog-backdrop.open { display: flex; }
.app-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(34,211,238,0.06);
  animation: modalIn 0.25s ease;
  text-align: center;
}
.app-dialog-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid var(--border);
}
.app-dialog-icon svg { width: 24px; height: 24px; }
.app-dialog-icon.info {
  background: rgba(34,211,238,0.1);
  border-color: rgba(34,211,238,0.25);
  color: var(--cyan);
}
.app-dialog-icon.warning {
  background: rgba(251,191,36,0.1);
  border-color: rgba(251,191,36,0.25);
  color: var(--amber);
}
.app-dialog-icon.danger {
  background: rgba(251,113,133,0.1);
  border-color: rgba(251,113,133,0.25);
  color: var(--rose);
}
.app-dialog-icon.success {
  background: rgba(52,211,153,0.1);
  border-color: rgba(52,211,153,0.25);
  color: var(--emerald);
}
.app-dialog-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.app-dialog-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}
.app-dialog-body strong { color: var(--text-primary); font-weight: 600; }
.app-dialog-details {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-align: left;
}
.app-dialog-detail {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  font-size: 0.8125rem;
  border-top: 1px solid var(--border);
}
.app-dialog-detail:first-child { border-top: none; }
.app-dialog-detail span { color: var(--text-muted); }
.app-dialog-detail strong { color: var(--text-primary); font-weight: 600; }
.app-dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.app-dialog-actions .btn { min-width: 100px; flex: 1; max-width: 160px; }

.site-notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(34,211,238,0.25);
  background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(129,140,248,0.08));
}
.site-notice-icon {
  flex-shrink: 0;
  color: var(--cyan);
  margin-top: 2px;
}
.site-notice-content {
  flex: 1;
  min-width: 0;
}
.site-notice-content strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 0.9375rem;
  margin-bottom: 6px;
}
.site-notice-content p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.site-notice-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.site-notice-close:hover { color: var(--text-primary); }

/* ─── SCROLLBAR ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }

/* ─── COPY BUTTON ────────────────────────────────────────────────────────── */
.copy-btn {
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.2);
  color: var(--cyan);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.copy-btn:hover { background: rgba(34,211,238,0.18); }

/* ─── LOADING SPINNER ────────────────────────────────────────────────────── */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── LANDING PAGE ───────────────────────────────────────────────────────── */
.landing-page {
  min-height: 100vh;
  background: var(--bg-base);
  overflow-x: hidden;
}
.landing-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 10% 15%, rgba(34,211,238,0.09) 0%, transparent 50%),
    radial-gradient(ellipse 55% 45% at 90% 80%, rgba(129,140,248,0.1) 0%, transparent 50%),
    var(--bg-base);
  z-index: 0;
  pointer-events: none;
}
.landing-grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(6,12,26,0.75);
  backdrop-filter: blur(16px);
}
.landing-nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 4vw, 32px);
}
.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  min-width: 0;
  flex: 1;
}
.landing-brand-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.landing-brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--cyan);
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.landing-nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.landing-nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}
.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.landing-main { position: relative; z-index: 1; }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}
.btn-lg { padding: 14px 28px; font-size: 0.9375rem; border-radius: 12px; }

.text-gradient {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--indigo) 60%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero split */
.hero-split {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(56px, 10vw, 100px) clamp(20px, 4vw, 32px) clamp(64px, 8vw, 88px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}
.hero-eyebrow,
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.hero-split-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.hero-trust svg { color: var(--emerald); flex-shrink: 0; }

.hero-split-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.15), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.hero-mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(34,211,238,0.08);
  overflow: hidden;
}
.hero-mockup-bar {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.hero-mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.hero-mockup-bar span:first-child { background: rgba(251,113,133,0.5); }
.hero-mockup-bar span:nth-child(2) { background: rgba(251,191,36,0.5); }
.hero-mockup-bar span:nth-child(3) { background: rgba(52,211,153,0.5); }
.hero-mockup-body { padding: 24px; }
.mock-stat-main { margin-bottom: 20px; }
.mock-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.mock-value {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.mock-value small { font-size: 1rem; }
.mock-progress {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-top: 14px;
  overflow: hidden;
}
.mock-progress-fill {
  width: 62%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--cyan), var(--indigo));
}
.mock-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.mock-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.mock-value-sm {
  font-size: 1.25rem;
  display: block;
  margin-top: 2px;
}
.mock-btn {
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  color: var(--bg-base);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Sections */
.landing-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 80px) clamp(20px, 4vw, 32px);
}
.landing-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.landing-section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-lead {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition);
}
.step-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 16px;
}
.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Bento features */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.bento-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}
.bento-wide { grid-column: span 2; }
.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.bento-icon-cyan { background: rgba(34,211,238,0.12); color: var(--cyan); }
.bento-icon-emerald { background: rgba(52,211,153,0.12); color: var(--emerald); }
.bento-icon-indigo { background: rgba(129,140,248,0.12); color: var(--indigo); }
.bento-icon-violet { background: rgba(167,139,250,0.12); color: var(--violet); }
.bento-icon-amber { background: rgba(251,191,36,0.12); color: var(--amber); }
.bento-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.bento-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* CTA */
.landing-cta {
  padding: 0 clamp(20px, 4vw, 32px) clamp(64px, 8vw, 88px);
}
.landing-cta-inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(48px, 6vw, 64px) clamp(24px, 4vw, 48px);
  background: linear-gradient(135deg, rgba(34,211,238,0.08), rgba(129,140,248,0.06));
  border: 1px solid rgba(34,211,238,0.18);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.landing-cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(129,140,248,0.12), transparent 50%);
  pointer-events: none;
}
.landing-cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 10px;
  position: relative;
}
.landing-cta-inner p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 28px;
  position: relative;
}
.landing-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}

/* Footer */
.landing-footer {
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  background: rgba(6,12,26,0.6);
}
.landing-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px clamp(20px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.landing-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-primary);
}
.landing-footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
}
.landing-footer-links {
  display: flex;
  gap: 24px;
}
.landing-footer-links a {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.landing-footer-links a:hover { color: var(--cyan); }
.landing-footer-credit {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0 clamp(20px, 4vw, 32px) 24px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 0;
}
.landing-footer-credit a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition);
}
.landing-footer-credit a:hover { color: var(--cyan); }

@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-split-visual { order: -1; }
  .bento-wide { grid-column: span 1; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .auth-card { padding: 28px 20px; }
  .auth-logo-icon { width: 28px; height: 28px; }
  .auth-brand-name { font-size: 0.9375rem; }

  .landing-nav-inner {
    gap: 10px;
    padding: 10px 16px;
  }
  .landing-brand { gap: 8px; max-width: calc(100% - 90px); }
  .landing-brand-icon { width: 22px; height: 22px; }
  .landing-brand-name {
    font-size: 0.8125rem;
    max-width: 100%;
    -webkit-text-fill-color: var(--cyan);
    color: var(--cyan);
    background: none;
  }
  .landing-nav-actions { gap: 6px; }
  .landing-nav-actions .btn-sm {
    padding: 7px 12px;
    font-size: 0.75rem;
  }
  .landing-nav-links { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .landing-footer-inner { flex-direction: column; text-align: center; }
  .landing-footer-copy { order: 2; }
}

@media (max-width: 480px) {
  .auth-brand-name { font-size: 0.8125rem; }

  .landing-brand { max-width: calc(100% - 80px); }
  .landing-brand-icon { width: 20px; height: 20px; }
  .landing-brand-name { font-size: 0.75rem; }
  .landing-nav-cta { display: none; }
  .landing-nav-signin {
    padding: 7px 12px;
    font-size: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
  }
}
