/* ════════════════════════════════════════════════
   echo. — web stylesheet
   Codes UI : dark bg #0a0e27, purple #7C3AED, blue #3B82F6
   ════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  --bg:        #0a0e27;
  --bg-card:   #1a1f3a;
  --bg-card2:  #1f2545;
  --purple:    #6C63FF;
  --pink:      #DE12CB;
  --orange:    #FFA22A;
  --blue:      #5D2BFF;
  --text:      #ffffff;
  --text-sub:  rgba(255,255,255,0.55);
  --text-muted:rgba(255,255,255,0.30);
  --border:    rgba(255,255,255,0.07);
  --radius:    20px;
  --radius-sm: 12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Gradient text ────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--pink), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity .18s, transform .18s;
  white-space: nowrap;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-sm { padding: 9px 18px; font-size: 13px; border-radius: 10px; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  position: relative;
  flex-direction: column;
  gap: 2px;
}
.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: var(--text);
  border: 1px solid var(--border);
  flex-direction: column;
  gap: 2px;
}
.btn-ghost {
  background: transparent;
  color: var(--text-sub);
  border: 1px solid var(--border);
}
.btn-full { width: 100%; }

.btn-sub {
  font-size: 11px;
  font-weight: 400;
  opacity: .65;
  letter-spacing: .3px;
}

.btn-google,
.btn-apple {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .18s;
  margin-bottom: 10px;
}
.btn-google:hover,
.btn-apple:hover  { background: rgba(255,255,255,0.09); }
.btn-apple:disabled { opacity: .5; cursor: not-allowed; }

/* ════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  position: relative;
  z-index: 10;
}

.nav-logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--blue), var(--pink), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dot { opacity: 1; }

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 80px;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(108, 99, 255, .15);
  border: 1px solid rgba(108, 99, 255, .35);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #a5a0ff;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: #6C63FF;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

.hero-title {
  font-size: clamp(48px, 10vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-subtitle {
  max-width: 480px;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Orbs ─────────────────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 500px; height: 500px;
  background: rgba(93,43,255,.2);
  top: -100px; left: -150px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: rgba(222,18,203,.1);
  top: 50px; right: -100px;
}
.orb-3 {
  width: 300px; height: 300px;
  background: rgba(108,99,255,.12);
  bottom: 0; left: 50%;
  transform: translateX(-50%);
}

/* ── Radar ────────────────────────────────────── */
.radar-wrap {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: .12;
  pointer-events: none;
}
.radar {
  position: relative;
  width: 340px;
  height: 340px;
}
.radar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid #6C63FF;
  animation: radar-pulse 3s ease-out infinite;
}
.r1 { animation-delay: 0s; }
.r2 { animation-delay: 1s; }
.r3 { animation-delay: 2s; }
@keyframes radar-pulse {
  0%   { transform: scale(.2); opacity: 1; }
  100% { transform: scale(1);  opacity: 0; }
}
.radar-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  background: #6C63FF;
  border-radius: 50%;
}
.radar-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: #DE12CB;
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
}
.d1 { top: 20%; left: 65%; animation-delay: 0s; }
.d2 { top: 55%; left: 25%; animation-delay: 1.2s; }
.d3 { top: 70%; left: 72%; animation-delay: 2.4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ════════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════════ */
.features {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover {
  border-color: rgba(124,58,237,.4);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px; height: 48px;
  background: color-mix(in srgb, var(--c) 15%, transparent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--c);
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════
   PREMIUM
   ════════════════════════════════════════════════ */
.premium { padding: 0 0 100px; }

.premium-card {
  background: linear-gradient(135deg, rgba(93,43,255,.15), rgba(222,18,203,.08));
  border: 1px solid rgba(108,99,255,.3);
  border-radius: 28px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.premium-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(93,43,255,.12), transparent);
  pointer-events: none;
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(180,20,80,.15);
  border: 1px solid rgba(180,20,80,.35);
  color: #e8588a;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.premium-badge svg {
  color: #fff;
  fill: currentColor;
}

.premium-card h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.premium-card p {
  color: var(--text-sub);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 32px;
}

.perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 340px;
  margin: 0 auto 36px;
  text-align: left;
}
.perks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
}
.perk-icon {
  width: 36px; height: 36px;
  background: color-mix(in srgb, var(--c) 15%, transparent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  flex-shrink: 0;
}

.premium-card .btn-primary { max-width: 320px; margin: 0 auto; }

/* ════════════════════════════════════════════════
   ACCOUNT
   ════════════════════════════════════════════════ */
.account { padding: 0 0 100px; }

.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px 40px;
  max-width: 420px;
  margin: 0 auto;
}

.account-card h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}
.account-sub {
  color: var(--text-sub);
  font-size: 14px;
  margin-bottom: 28px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 13px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-email {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-email input {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color .18s;
  font-family: inherit;
}
.form-email input:focus { border-color: rgba(108,99,255,.6); }
.form-email input::placeholder { color: var(--text-muted); }

.auth-error {
  color: #f87171;
  font-size: 13px;
  padding: 10px 14px;
  background: rgba(248,113,113,.1);
  border-radius: 8px;
  border: 1px solid rgba(248,113,113,.2);
}

/* ── User connected state ─────────────────────── */
.user-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800;
  margin: 0 auto 20px;
  overflow: hidden;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }

.account-status { margin-top: 4px; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(108,99,255,.15);
  border: 1px solid rgba(108,99,255,.3);
  color: #a5a0ff;
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
}
.status-badge.premium {
  background: rgba(180,20,80,.18);
  border-color: rgba(180,20,80,.4);
  color: #e8588a;
}

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 20px;
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer p { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .18s;
}
.footer-links a:hover { color: var(--text-sub); }

/* ════════════════════════════════════════════════
   LANDING — logged-in banner
   ════════════════════════════════════════════════ */
.logged-in-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(108,99,255,.1);
  border: 1px solid rgba(108,99,255,.25);
  border-radius: 14px;
}
.logged-in-check {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.logged-in-banner p {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  margin: 0;
}

/* ════════════════════════════════════════════════
   DASHBOARD
   ════════════════════════════════════════════════ */
.dash-body {
  min-height: 100vh;
  background: var(--bg);
}

/* ── Loading overlay ───────────────────────────── */
.dash-loading {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.dash-spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(108,99,255,.2);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Nav ───────────────────────────────────────── */
.dash-nav .nav-logo { text-decoration: none; }
.dash-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,14,39,.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.dash-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-nav-avatar {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}
.dash-nav-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── Main ──────────────────────────────────────── */
.dash-main {
  padding: 48px 20px 80px;
}

.dash-greeting {
  margin-bottom: 36px;
}
.dash-greeting h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 6px;
}
.dash-greeting-sub {
  color: var(--text-sub);
  font-size: 15px;
}

/* ── Grid ──────────────────────────────────────── */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* ── Cards ─────────────────────────────────────── */
.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.dash-card-header h2 {
  font-size: 17px;
  font-weight: 700;
}

/* ── Profile card ──────────────────────────────── */
.dash-profile-view {
  display: flex;
  align-items: center;
  gap: 18px;
}
.dash-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.dash-avatar-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B4145C, #7C1048);
  border: 2px solid var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 6px rgba(180,20,92,0.5);
}
[hidden].dash-avatar-badge { display: none !important; }
.dash-avatar {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800;
  overflow: hidden;
  flex-shrink: 0;
}
.dash-avatar img { width: 100%; height: 100%; object-fit: cover; }

.dash-profile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.dash-profile-name {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-profile-email {
  font-size: 13px;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Edit form */
.dash-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 8px;
}
.dash-input {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  font-family: inherit;
  transition: border-color .18s;
  margin-bottom: 16px;
}
.dash-input:focus { border-color: rgba(108,99,255,.6); }

.dash-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.dash-select option { background: #1a1f3a; color: #fff; }

.dash-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dash-form-row .dash-input { margin-bottom: 0; }

.dash-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.dash-label-opt {
  font-weight: 400;
  opacity: .55;
  font-size: 11px;
}

.dash-gender-group { margin-bottom: 16px; }

.dash-gender-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gender-chip {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.4);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.gender-chip:hover {
  background: rgba(108,99,255,.1);
  border-color: rgba(108,99,255,.4);
  color: rgba(255,255,255,.8);
}
.gender-chip.active {
  background: rgba(108,99,255,.18);
  border-color: rgba(108,99,255,.65);
  color: #fff;
}

/* ── Subscription card ─────────────────────────── */
.sub-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.sub-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.sub-row:last-child { border-bottom: none; }
.sub-label {
  font-size: 13px;
  color: var(--text-sub);
}
.sub-value {
  font-size: 14px;
  font-weight: 600;
}

.sub-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.sub-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}

.sub-premium-active {
  text-align: center;
  padding: 16px 0 4px;
}
.sub-premium-gem {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 12px rgba(196,30,106,.45));
}
.sub-premium-active p {
  font-size: 14px;
  color: var(--text-sub);
}

/* ── Diamond SVG icon (réutilisable via .icon-diamond) ── */
.icon-diamond {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-diamond svg {
  width: 1em;
  height: 1em;
}

/* ── Premium button ────────────────────────────── */
.btn-premium {
  background: linear-gradient(135deg, #7C1048, #B4145C, #C41E6A);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .18s, transform .18s;
  letter-spacing: .3px;
}
.btn-premium:hover { opacity: .88; transform: translateY(-1px); }
.btn-premium:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── Plan toggle ────────────────────────────────── */
.plan-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.plan-toggle-btn {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  cursor: pointer;
  text-align: center;
  transition: border-color .18s, background .18s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.plan-toggle-btn.active {
  border-color: rgba(180,20,80,.5);
  background: rgba(180,20,80,.1);
}
.plan-toggle-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.plan-toggle-price {
  font-size: 12px;
  color: var(--text-sub);
}
.plan-toggle-btn.active .plan-toggle-label { color: #e8588a; }

/* ── Banners ───────────────────────────────────── */
.dash-banner {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeIn .3s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.dash-banner-success {
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  color: #4ade80;
}
.dash-banner-info {
  background: rgba(108,99,255,.1);
  border: 1px solid rgba(108,99,255,.25);
  color: #a5a0ff;
}

/* ════════════════════════════════════════════════
   AUTH GATE
   ════════════════════════════════════════════════ */
#site-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #07091a;
  display: flex;
  align-items: center;
  justify-content: center;
}
#site-gate.gate-hidden { display: none; }
.gate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 48px 40px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  width: 100%;
  max-width: 360px;
  text-align: center;
}
.gate-sub {
  color: rgba(255,255,255,.4);
  font-size: .875rem;
  margin: 0;
}
.gate-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255,255,255,.1);
  border-top-color: #7C3AED;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.gate-error {
  color: #f87171;
  font-size: .85rem;
  margin: 0;
}

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .nav { padding: 16px 20px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 300px; }
  .premium-card { padding: 32px 24px; }
  .account-card { padding: 32px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer .container { flex-direction: column; text-align: center; }

  /* Dashboard responsive */
  .dash-nav { padding: 14px 16px; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-main { padding: 28px 16px 60px; }
  .dash-form-actions { flex-direction: column; }
  .dash-form-actions .btn { width: 100%; }
}
