
/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --bg:       #0e0e0e;
  --surface:  #131313;
  --card:     #161616;
  --card-b:   #1c1c1c;
  --line:     #222222;
  --line-sub: #1a1a1a;

  --lime:     #EEFF41;
  --lime-05:  rgba(238,255,65,0.05);
  --lime-08:  rgba(238,255,65,0.08);
  --lime-12:  rgba(238,255,65,0.12);
  --lime-20:  rgba(238,255,65,0.20);
  --lime-30:  rgba(238,255,65,0.30);

  --white:    #F5F5F0;
  --white-90: #E8E8E3;
  --mid:      #777777;
  --sub:      #484848;
  --deep:     #383838;
  --muted:    #2a2a2a;

  --danger: #FF453A;
  --ok:     #30D158;

  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-full: 9999px;

  /* ── Neumorphic shadows ── */
  --neu-light: rgba(255,255,255,0.08);
  --neu-dark:  rgba(0,0,0,0.8);
  --neu-raised: 8px 8px 16px var(--neu-dark), -8px -8px 16px var(--neu-light);
  --neu-raised-sm: 4px 4px 10px var(--neu-dark), -4px -4px 10px var(--neu-light);
  --neu-inset: inset 4px 4px 10px var(--neu-dark), inset -4px -4px 10px var(--neu-light);

  /* ── Neumorphic surfaces ── */
  --neu-convex: linear-gradient(145deg, #1a1a1a, #131313);
  --neu-concave-bg: #0a0a0a;
  --neu-border: 1px solid rgba(255,255,255,0.03);

  --ease: cubic-bezier(.16,1,.3,1);
  --dur:  .2s;
}

/* ─── LIGHT MODE ─────────────────────────────────────── */
[data-theme="light"] {
  --bg:       #e4e4e4;
  --surface:  #e8e8e8;
  --card:     #e4e4e4;
  --card-b:   #dcdcdc;
  --line:     #d0d0d0;
  --line-sub: #d8d8d8;

  --lime:     #8B9A1B;
  --lime-05:  rgba(139,154,27,0.05);
  --lime-08:  rgba(139,154,27,0.08);
  --lime-12:  rgba(139,154,27,0.12);
  --lime-20:  rgba(139,154,27,0.20);
  --lime-30:  rgba(139,154,27,0.30);

  --white:    #1a1a1a;
  --white-90: #2a2a2a;
  --mid:      #666666;
  --sub:      #888888;
  --deep:     #aaaaaa;
  --muted:    #cccccc;

  --danger: #D32F2F;
  --ok:     #2E7D32;

  /* ── Neumorphic: light mode ── */
  --neu-light: rgba(255,255,255,0.7);
  --neu-dark:  rgba(0,0,0,0.15);
  --neu-raised: 6px 6px 14px var(--neu-dark), -6px -6px 14px var(--neu-light);
  --neu-raised-sm: 3px 3px 8px var(--neu-dark), -3px -3px 8px var(--neu-light);
  --neu-inset: inset 3px 3px 8px var(--neu-dark), inset -3px -3px 8px var(--neu-light);

  --neu-convex: linear-gradient(145deg, #ececec, #dcdcdc);
  --neu-concave-bg: #d8d8d8;
  --neu-border: 1px solid rgba(255,255,255,0.4);
}

[data-theme="light"] .topbar,
[data-theme="light"] .bottom-nav,
[data-theme="light"] .sticky-foot,
[data-theme="light"] .loader-overlay {
  background: rgba(228,228,228,.94);
}

[data-theme="light"] .power-icon {
  border-color: var(--lime);
  border-top-color: transparent;
}
[data-theme="light"] .power-icon::before {
  background: var(--lime);
}

[data-theme="light"] .plan-card.selected .plan-price { color: var(--lime); }
[data-theme="light"] .speed-tile.active .st-val { color: var(--lime); }
[data-theme="light"] .btn-lime { background: #8B9A1B; color: #fff; }
[data-theme="light"] #googleBtn { background: #fff; color: #333; border: 1px solid #d0d0d0; }
[data-theme="light"] .spinner { border-color: rgba(0,0,0,.06); border-top-color: var(--lime); }

/* ─── THEME TOGGLE ───────────────────────────────────── */
.theme-toggle {
  width: 34px; height: 34px; border-radius: 50%;
  border: var(--neu-border);
  background: var(--neu-convex);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  box-shadow: var(--neu-raised-sm);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.theme-toggle:hover { box-shadow: 6px 6px 12px var(--neu-dark), -6px -6px 12px var(--neu-light); }
.theme-toggle svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.theme-toggle:active svg { transform: rotate(30deg); }

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--white);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

.app {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.font-syne { font-family: 'Inter', sans-serif; }
.font-dm   { font-family: 'DM Sans', sans-serif; }

/* ─── LANDING ────────────────────────────────────────── */
.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 48px 28px;
  text-align: center;
}

.landing-logo-wrap { margin-bottom: 48px; }

.landing-wordmark {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  color: var(--white);
}

.landing-wordmark-sub {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -3px;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 20px;
}

.landing-tagline {
  font-size: 14px;
  color: var(--sub);
  font-weight: 300;
  max-width: 220px;
  line-height: 1.6;
  margin: 0 auto 52px;
}

.landing-cta { width: 100%; max-width: 320px; }

/* ─── LOGIN ──────────────────────────────────────────── */
.login-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.login-back { padding: 20px 20px 0; }

.login-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 24px;
}

.login-brand {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}

.login-heading {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.login-sub {
  font-size: 13px;
  color: var(--sub);
  font-weight: 300;
  margin-bottom: 36px;
  line-height: 1.5;
}

.login-terms {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.2px;
  font-weight: 300;
  margin-top: 14px;
  line-height: 1.5;
}

/* ─── HEADER ─────────────────────────────────────────── */
.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 20px 0;
}

.brand {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -0.5px;
}

.user-email {
  font-size: 11px;
  color: var(--sub);
  margin-top: 3px;
  font-weight: 300;
}

.power-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  flex-shrink: 0;
  box-shadow: var(--neu-raised-sm);
}
.power-btn:hover { border-color: var(--lime-30); box-shadow: 4px 4px 10px var(--neu-dark), -4px -4px 10px var(--neu-light); }

.power-icon {
  width: 14px; height: 14px;
  border: 1.5px solid var(--lime); border-radius: 50%;
  border-top-color: transparent;
  position: relative;
}
.power-icon::before {
  content: '';
  position: absolute; top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 5px;
  background: var(--lime); border-radius: 1px;
}

/* ─── TOPBAR ─────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: rgba(14,14,14,.94);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line-sub);
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
}

.topbar-title {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: -0.2px;
}

.back-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--muted);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); cursor: pointer; text-decoration: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  flex-shrink: 0;
  box-shadow: var(--neu-raised-sm);
}
.back-btn:hover { border-color: var(--lime-30); box-shadow: 4px 4px 10px var(--neu-dark), -4px -4px 10px var(--neu-light); }

/* ─── AUTH TAG ───────────────────────────────────────── */
.auth-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--neu-convex); border: 1px solid rgba(238,255,65,0.1);
  border-radius: 20px; padding: 5px 12px;
  font-size: 10px; color: var(--lime);
  letter-spacing: 1px; font-weight: 600; text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: var(--neu-raised-sm);
}
.auth-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.35; } }

/* ─── WELCOME ────────────────────────────────────────── */
.welcome { padding: 28px 20px 0; }

.welcome-heading {
  font-family: 'Inter', sans-serif;
  font-size: 28px; font-weight: 800;
  color: var(--white); line-height: 1.15; letter-spacing: -0.8px;
}
.welcome-heading span { color: var(--lime); }

/* ─── SECTION LABEL ──────────────────────────────────── */
.section-label {
  font-size: 10px; letter-spacing: 2px;
  color: var(--sub); text-transform: uppercase;
  font-weight: 600; padding: 22px 20px 10px;
}

/* ─── SERVICES ───────────────────────────────────────── */
.services-grid {
  padding: 0 20px;
  display: flex; flex-direction: column; gap: 10px;
}

.service-card {
  background: var(--neu-convex); border: var(--neu-border);
  border-radius: 18px; padding: 18px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer; text-decoration: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position: relative; overflow: hidden;
  box-shadow: var(--neu-raised);
}
.service-card::before {
  content: '';
  position: absolute; right: -30px; top: -30px;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--lime-05); pointer-events: none;
}
.service-card:hover { border-color: var(--lime-20); background: var(--card-b); box-shadow: 8px 8px 18px var(--neu-dark), -8px -8px 18px var(--neu-light); }

.service-icon-wrap {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--card-b); border: 1px solid var(--muted);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: var(--neu-raised-sm);
}
.service-info { flex: 1; min-width: 0; }
.service-name { font-size: 15px; font-weight: 600; color: var(--white-90); margin: 0 0 3px; }
.service-desc { font-size: 12px; color: var(--sub); margin: 0; font-weight: 300; }
.service-badge {
  background: var(--lime-12); border: 1px solid var(--lime-20);
  color: var(--lime); font-size: 10px;
  padding: 4px 10px; border-radius: 20px;
  font-weight: 600; white-space: nowrap; flex-shrink: 0;
}
.service-arrow { color: var(--deep); font-size: 20px; line-height: 1; flex-shrink: 0; }

/* ─── QUICK GRID ─────────────────────────────────────── */
.quick-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; padding: 0 20px;
}
.quick-card {
  background: var(--neu-convex); border: var(--neu-border);
  border-radius: 16px; padding: 20px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  cursor: pointer; text-decoration: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: var(--neu-raised);
}
.quick-card:hover { border-color: rgba(255,255,255,0.06); box-shadow: 10px 10px 20px var(--neu-dark), -10px -10px 20px var(--neu-light); }
.quick-icon {
  width: 36px; height: 36px;
  background: var(--card-b); border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--neu-raised-sm);
}
.quick-label { font-size: 12px; font-weight: 500; color: var(--mid); }

/* ─── BOTTOM NAV ─────────────────────────────────────── */
.bottom-nav {
  display: flex; justify-content: space-around; align-items: center;
  padding: 14px 0 30px;
  border-top: 1px solid var(--line-sub);
  background: rgba(14,14,14,.97);
  position: fixed; bottom: 0;
  width: 100%; max-width: 430px;
  left: 50%; transform: translateX(-50%);
  z-index: 50;
  box-shadow: 0 -6px 18px rgba(0,0,0,.5);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  flex: 1; text-decoration: none;
}
.nav-label {
  font-size: 9px; letter-spacing: 0.5px;
  text-transform: uppercase; font-weight: 600;
  color: var(--deep); transition: color var(--dur);
}
.nav-item.active .nav-label { color: var(--lime); }
.nav-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--lime); margin-top: 1px;
}

/* ─── CARD ───────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

/* ─── BADGE ──────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: var(--r-full);
  font-size: 10px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; white-space: nowrap;
}
.badge-ok   { background: rgba(48,209,88,0.1); color: var(--ok); border: 1px solid rgba(48,209,88,0.2); }
.badge-warn { background: rgba(255,69,58,0.1); color: var(--danger); border: 1px solid rgba(255,69,58,0.2); }

/* ─── INPUT ──────────────────────────────────────────── */
.field { margin-bottom: 20px; padding: 0 20px; }
.field label {
  display: block; font-size: 10px; font-weight: 600;
  color: var(--sub); margin-bottom: 8px;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.input-wrap { position: relative; }
.input-wrap svg {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%); pointer-events: none;
}
.input-wrap input {
  width: 100%; background: var(--neu-concave-bg);
  border: var(--neu-border); border-radius: var(--r-lg);
  padding: 16px 16px 16px 46px;
  font-size: 15px; font-family: 'DM Sans', sans-serif;
  color: var(--white); outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
  box-shadow: var(--neu-inset);
}
.input-wrap input::placeholder { color: var(--deep); font-weight: 300; }
.input-wrap input:focus { border-color: rgba(238,255,65,0.15); box-shadow: var(--neu-inset), 0 0 0 2px var(--lime-08); }

/* ─── HINT CHIPS ─────────────────────────────────────── */
.hint-chips {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 0 20px; margin-bottom: 24px;
}
.chip {
  background: var(--neu-convex); border: var(--neu-border);
  border-radius: 20px; padding: 6px 14px;
  font-size: 11px; color: var(--mid);
  cursor: pointer; font-weight: 400;
  transition: border-color var(--dur), color var(--dur), box-shadow var(--dur);
  box-shadow: var(--neu-raised-sm);
}
.chip:hover { border-color: rgba(255,255,255,0.06); color: var(--lime); box-shadow: 6px 6px 12px var(--neu-dark), -6px -6px 12px var(--neu-light); }

/* ─── BUTTON ─────────────────────────────────────────── */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 17px 24px;
  border: none; border-radius: var(--r-full);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all var(--dur) var(--ease);
  -webkit-user-select: none; user-select: none;
  letter-spacing: -0.1px;
}
.btn:active { opacity: .85; transform: scale(.98); }
.btn-lime { background: var(--lime); color: #000; box-shadow: 4px 4px 12px rgba(238,255,65,0.15), var(--neu-raised-sm); }
.btn-lime:hover { filter: brightness(1.05); box-shadow: 6px 6px 16px rgba(238,255,65,0.2), -4px -4px 12px var(--neu-light); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--line); box-shadow: var(--neu-raised-sm); }
.btn-ghost:hover { border-color: var(--muted); }
#googleBtn { background: #fff; color: #000; font-weight: 600; box-shadow: 4px 4px 12px rgba(0,0,0,.4), -3px -3px 8px rgba(255,255,255,.06); }
#googleBtn:hover { filter: brightness(.96); }

/* ─── PAGE HEADER ────────────────────────────────────── */
.page-header { padding: 28px 20px 20px; }

.page-heading {
  font-family: 'Inter', sans-serif;
  font-size: 26px; font-weight: 800;
  color: var(--white); letter-spacing: -0.8px;
  margin-bottom: 6px; line-height: 1.15;
}
.page-heading span { color: var(--lime); }
.page-sub { font-size: 12px; color: var(--sub); font-weight: 300; }

/* ─── EMPTY STATE ────────────────────────────────────── */
.empty-state { padding: 16px 20px; }
.empty-state-inner {
  border: 1px dashed rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  padding: 48px 24px; text-align: center;
  box-shadow: var(--neu-inset);
}
.empty-state-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--neu-convex); border: var(--neu-border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--neu-raised-sm);
}
.empty-state-title { font-size: 14px; font-weight: 500; color: var(--mid); margin-bottom: 4px; }
.empty-state-sub { font-size: 14px; color: var(--sub); line-height: 1.4; }

/* ─── GRID SELECTOR (BROADBAND) ─────────────────── */
.speed-slabel { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--sub); padding: 0 0 10px; }
.speed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
.speed-tile { background: var(--neu-convex); border: var(--neu-border); border-radius: 16px; padding: 16px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; transition: all .15s; text-align: center; box-shadow: var(--neu-raised); }
.speed-tile:hover { border-color: rgba(255,255,255,0.06); box-shadow: 10px 10px 20px var(--neu-dark), -10px -10px 20px var(--neu-light); }
.speed-tile.active { background: linear-gradient(145deg, rgba(238,255,65,0.08), #131313); border-color: rgba(238,255,65,.25); box-shadow: 10px 10px 20px var(--neu-dark), -10px -10px 20px var(--neu-light), 0 0 0 1px var(--lime-12); }
.st-val { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; color: var(--white-90); letter-spacing: -0.5px; line-height: 1.2; word-break: break-word;}
.speed-tile.active .st-val { color: var(--lime); }
.st-unit { font-size: 10px; font-weight: 500; color: var(--sub); text-transform: uppercase; letter-spacing: .3px; }

/* Sticky Summary Card */
.grid-summary { background: var(--neu-convex); border: var(--neu-border); border-radius: 18px; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 80px; width: 100%; text-align: left; box-shadow: var(--neu-raised); }
.grid-summary.has-plan { border-color: rgba(238,255,65,.15); box-shadow: 10px 10px 20px var(--neu-dark), -10px -10px 20px var(--neu-light); }
.sum-left { flex: 1; min-width: 0; }
.sum-speed { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; color: #777; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;}
.sum-price { font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 800; color: var(--lime); letter-spacing: -1.5px; line-height: 1; margin-bottom: 2px; }
.sum-dur { font-size: 11px; color: var(--sub); font-weight: 500; }
.cont-btn { background: var(--lime); color: #000; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 800; border: none; border-radius: 14px; padding: 12px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; flex-shrink: 0; opacity: .35; transition: opacity .2s; height: 100%; text-decoration: none; white-space: nowrap; }
.cont-btn.ready { opacity: 1; }
.cb-label { font-size: 11px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase;}
.cb-arrow { font-size: 16px; line-height: 1; margin-top:-2px;}
.no-plan-text { font-size: 13px; color: var(--sub); font-weight: 500; }

/* ─── RESULT ROW ─────────────────────────────────────── */
.result-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-sub);
  text-decoration: none;
  transition: background var(--dur) var(--ease);
}
.result-row:last-child { border-bottom: none; }
.result-row:hover { background: var(--card-b); }
.result-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--card-b); border: 1px solid var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: 15px; color: var(--lime); flex-shrink: 0;
  box-shadow: var(--neu-raised-sm);
}
.result-name { font-size: 14px; font-weight: 600; color: var(--white-90); }
.result-id   { font-size: 11px; color: var(--sub); margin-top: 2px; font-weight: 300; }

/* ─── PROFILE ────────────────────────────────────────── */
.profile-header {
  padding: 24px 20px;
  display: flex; align-items: center; gap: 16px;
}
.profile-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 800;
  color: var(--lime); flex-shrink: 0;
  box-shadow: var(--neu-raised);
}
.profile-name {
  font-family: 'Inter', sans-serif;
  font-size: 20px; font-weight: 800; color: var(--white);
  letter-spacing: -0.4px; line-height: 1.2; margin-bottom: 4px;
}
.profile-id {
  font-size: 11px; color: var(--sub); font-weight: 400;
  letter-spacing: 0.8px; text-transform: uppercase;
}

/* ─── CURRENT PLAN ───────────────────────────────────── */
.plan-summary { margin: 0 20px 10px; }
.plan-summary-inner {
  background: var(--neu-convex); border: var(--neu-border);
  border-radius: var(--r-lg); border-left: 3px solid var(--lime);
  padding: 18px;
  box-shadow: var(--neu-raised);
}
.plan-summary-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; margin-bottom: 14px; gap: 10px;
}
.plan-summary-name { font-size: 14px; font-weight: 600; color: var(--white-90); flex: 1; }
.plan-expiry { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--sub); }
.plan-expiry-val { color: var(--white-90); font-weight: 500; }

/* ─── DETAIL ROWS ────────────────────────────────────── */
.detail-rows { padding: 0 18px; }
.detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 0; border-bottom: 1px solid var(--line-sub);
}
.detail-row:last-child { border-bottom: none; }
.detail-key { font-size: 12px; color: var(--sub); font-weight: 300; }
.detail-val { font-size: 13px; font-weight: 500; color: var(--white-90); text-align: right; max-width: 60%; }

/* ─── PLAN SELECT CARD ───────────────────────────────── */
.plan-card {
  display: block; cursor: pointer;
  background: var(--neu-convex); border: var(--neu-border);
  border-radius: 18px; padding: 20px; margin-bottom: 10px;
  position: relative; overflow: hidden;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: var(--neu-raised);
}
.plan-card:hover { border-color: rgba(255,255,255,0.06); box-shadow: 10px 10px 20px var(--neu-dark), -10px -10px 20px var(--neu-light); }
.plan-card.selected {
  border-color: var(--lime-30);
  background: linear-gradient(145deg, rgba(238,255,65,0.06) 0%, #131313 60%);
  box-shadow: 10px 10px 20px var(--neu-dark), -10px -10px 20px var(--neu-light), 0 0 0 1px var(--lime-12);
}
.plan-card input[type="radio"] { display: none; }
.plan-check {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--deep);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease);
}
.plan-card.selected .plan-check { background: var(--lime); border-color: var(--lime); }
.plan-price {
  font-family: 'Inter', sans-serif;
  font-size: 28px; font-weight: 800;
  color: var(--white); letter-spacing: -1.5px;
  margin-bottom: 4px; line-height: 1;
}
.plan-card.selected .plan-price { color: var(--lime); }
.plan-name { font-size: 12px; font-weight: 400; color: var(--sub); width: 75%; line-height: 1.4; }

/* ─── STICKY FOOTER ──────────────────────────────────── */
.sticky-foot {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  padding: 16px 20px 32px;
  background: rgba(14,14,14,.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--line-sub);
  z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  box-shadow: 0 -6px 18px rgba(0,0,0,.5);
}
.amount-block p {
  font-size: 9px; font-weight: 600; color: var(--sub);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px;
}
.amount-block h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px; font-weight: 800; letter-spacing: -1px; color: var(--white);
}
.sticky-foot .btn-lime { width: auto; padding: 15px 28px; border-radius: var(--r-full); white-space: nowrap; }

/* ─── CHECKOUT ───────────────────────────────────────── */
.order-summary { padding: 0 20px; }
.order-summary-card {
  background: var(--neu-convex); border: var(--neu-border);
  border-radius: var(--r-lg); padding: 18px; margin-bottom: 10px;
  box-shadow: var(--neu-raised);
}
.order-pkg-name { font-size: 15px; font-weight: 600; color: var(--white-90); margin-bottom: 4px; }
.order-pkg-sub  { font-size: 11px; color: var(--sub); font-weight: 300; margin-bottom: 20px; }
.order-total-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-top: 1px solid var(--line); padding-top: 16px;
}
.order-total-label {
  font-size: 10px; color: var(--sub); font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.order-total-amount {
  font-family: 'Inter', sans-serif;
  font-size: 28px; font-weight: 800;
  color: var(--lime); letter-spacing: -1.5px; line-height: 1;
}
.pay-method-row {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: var(--neu-convex); border: var(--neu-border);
  border-radius: var(--r-lg); margin-bottom: 24px;
  box-shadow: var(--neu-raised);
}
.pay-method-logo {
  width: 38px; height: 38px; background: #fff;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  padding: 6px; flex-shrink: 0;
}
.pay-method-logo img { width: 100%; height: auto; display: block; }
.pay-method-info { flex: 1; }
.pay-method-name { font-size: 13px; font-weight: 600; color: var(--white-90); margin-bottom: 2px; }
.pay-method-sub  { font-size: 11px; color: var(--sub); font-weight: 300; }
.pay-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(48,209,88,0.1); border: 1px solid rgba(48,209,88,0.25);
  display: flex; align-items: center; justify-content: center;
}
.pay-secured { font-size: 10px; color: var(--deep); text-align: center; margin-top: 12px; font-weight: 300; }

/* ─── SUCCESS ────────────────────────────────────────── */
.success-screen {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 100dvh; padding: 40px 24px; text-align: center;
}
.success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(48,209,88,0.1); border: 1px solid rgba(48,209,88,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  box-shadow: var(--neu-raised), 0 0 24px rgba(48,209,88,0.08);
}
.success-heading {
  font-family: 'Inter', sans-serif;
  font-size: 32px; font-weight: 800; color: var(--white);
  letter-spacing: -1.5px; margin-bottom: 10px;
}
.success-sub {
  font-size: 13px; color: var(--sub); font-weight: 300;
  max-width: 240px; line-height: 1.6; margin: 0 auto 36px;
}
.success-card {
  width: 100%; background: var(--neu-convex); border: var(--neu-border);
  border-radius: var(--r-lg); padding: 0 18px; margin-bottom: 28px;
  box-shadow: var(--neu-raised);
}
.success-actions { width: 100%; display: flex; flex-direction: column; gap: 10px; }

/* ─── ERROR BANNER ───────────────────────────────────── */
.error-banner {
  background: rgba(255,69,58,0.07); color: var(--danger);
  border: 1px solid rgba(255,69,58,0.15);
  border-radius: var(--r-lg); padding: 14px 16px;
  font-size: 13px; display: flex; align-items: center; gap: 10px;
  margin: 0 20px 16px; line-height: 1.4;
}

/* ─── LOADER ─────────────────────────────────────────── */
.loader-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(14,14,14,.75);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
}
.loader-overlay.active { display: flex; }
.spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.06); border-top-color: var(--lime);
  animation: spin .6s cubic-bezier(.6,.1,.4,.9) infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── MOTION ─────────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(16px);
  animation: fadeUp .45s var(--ease) forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.d1 { animation-delay: .06s; }
.d2 { animation-delay: .12s; }
.d3 { animation-delay: .18s; }
.d4 { animation-delay: .24s; }
.d5 { animation-delay: .30s; }

/* ─── UTILS ──────────────────────────────────────────── */
.px-20  { padding-left: 20px; padding-right: 20px; }
.py-20  { padding-top: 20px; padding-bottom: 20px; }
.mt-8   { margin-top: 8px; }
.mt-16  { margin-top: 16px; }
.mt-20  { margin-top: 20px; }
.mt-24  { margin-top: 24px; }
.mt-28  { margin-top: 28px; }
.mb-8   { margin-bottom: 8px; }
.mb-12  { margin-bottom: 12px; }
.mb-16  { margin-bottom: 16px; }
.mb-20  { margin-bottom: 20px; }
.mb-24  { margin-bottom: 24px; }
.pb-88  { padding-bottom: 88px; }
.pb-120 { padding-bottom: 120px; }
.pb-20  { padding-bottom: 20px; }
.flex   { display: flex; }
.items-center { align-items: center; }
.gap-8  { gap: 8px; }
.gap-10 { gap: 10px; }
.flex-1 { flex: 1; }
.text-lime  { color: var(--lime); }
.text-mid   { color: var(--mid); }
.text-sub   { color: var(--sub); }
.text-white { color: var(--white); }
.text-ok    { color: var(--ok); }
.text-sm    { font-size: 12px; }
.text-xs    { font-size: 10px; }
.text-base  { font-size: 14px; }
.font-300 { font-weight: 300; }
.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }
.font-800 { font-weight: 800; }
.text-right  { text-align: right; }
.text-center { text-align: center; }
