/* =========================================
   SIGN-UP REDESIGN – Modern Dark Finance Theme
   Mirrors: login-redesign.css / home-redesign.css
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── Scope ── */
body:has(.sup-page),
html:has(.sup-page) {
  background: #070b14 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body { background: #070b14; }

/* ── CSS Variables ── */
.sup-page {
  --accent:           var(--AppColor, #00d4aa);
  --accent-glow:      rgba(0, 212, 170, 0.25);
  --accent-dark:      #009e7e;
  --bg-base:          #070b14;
  --bg-card:          #0d1424;
  --bg-glass:         rgba(255,255,255,0.04);
  --bg-glass-border:  rgba(255,255,255,0.08);
  --text-primary:     #f0f4ff;
  --text-secondary:   #8b9bb4;
  --text-muted:       #4a5568;
  --border:           rgba(255,255,255,0.07);
  --shadow-card:      0 8px 40px rgba(0,0,0,0.5);
  --radius:           18px;
  --radius-sm:        10px;
  --radius-pill:      100px;

  font-family: 'Inter', 'Space Grotesk', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  box-sizing: border-box;
}
.sup-page * { box-sizing: border-box; }

/* ── hide old wrappers ── */
.sup-page > .preloader,
.sup-page > header.main-header,
.sup-page > .mobile-menu,
.sup-page > section.page-title,
.sup-page > footer.main-footer,
.sup-page > .sticky-header,
.sup-page > .scroll-top { display: none !important; }

/* ============================================================
   ANIMATED BACKGROUND
   ============================================================ */
.sup-bg {
  position: fixed;
  inset: 0; z-index: 0;
  background: var(--bg-base);
}
.sup-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 80% 40%, rgba(0,212,170,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 45% 45% at 10% 70%, rgba(99,102,241,0.06) 0%, transparent 60%);
}
.sup-bg-grid {
  position: absolute; 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: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 0%, transparent 100%);
}
.sup-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}
.sup-orb-1 { width: 480px; height: 480px; background: rgba(0,212,170,0.09); top: -120px; right: -100px; animation: supOrbFloat 9s ease-in-out infinite; }
.sup-orb-2 { width: 320px; height: 320px; background: rgba(99,102,241,0.08); bottom: -80px; left: 10%; animation: supOrbFloat 12s ease-in-out infinite reverse; }
.sup-orb-3 { width: 180px; height: 180px; background: rgba(0,212,170,0.07); top: 50%; left: 5%; animation: supOrbFloat 7s ease-in-out infinite 1.5s; }
@keyframes supOrbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(16px,-20px) scale(1.05); }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.sup-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: 68px;
  padding: 0 clamp(20px, 5vw, 80px);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(7,11,20,0.80);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.sup-nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.sup-nav-logo img { height: 36px; filter: brightness(1.1); }
.sup-nav-logo span { font-size: 20px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.4px; }
.sup-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.sup-nav-links a { font-size: 14px; font-weight: 500; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.sup-nav-links a:hover { color: var(--text-primary); }
.sup-nav-actions { display: flex; align-items: center; gap: 10px; }
.sup-nav-ghost {
  padding: 8px 20px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600;
  color: var(--text-primary); background: transparent; border: 1px solid var(--border);
  text-decoration: none; transition: all 0.25s;
}
.sup-nav-ghost:hover { border-color: var(--accent); color: var(--accent); }
.sup-nav-cta {
  padding: 8px 20px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600;
  color: #fff; background: var(--accent);
  text-decoration: none; transition: all 0.25s;
  box-shadow: 0 0 18px var(--accent-glow);
}
.sup-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 28px var(--accent-glow); color: #fff; }

/* ============================================================
   PAGE LAYOUT  (single column centered for sign-up)
   ============================================================ */
.sup-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px clamp(16px, 4vw, 60px) 60px;
  position: relative; z-index: 1;
}

/* ── Top text header ── */
.sup-header {
  text-align: center;
  margin-bottom: 36px;
  animation: supFadeUp 0.6s ease both;
}
.sup-header-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: var(--radius-pill); margin-bottom: 18px;
  background: rgba(0,212,170,0.10); border: 1px solid rgba(0,212,170,0.22);
  font-size: 11px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px;
  max-width: 100%; box-sizing: border-box;
}
.sup-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: supPulse 2s infinite; }
@keyframes supPulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:0.4; transform:scale(1.4); } }

.sup-header h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.1;
  color: var(--text-primary); margin: 0 0 12px;
  word-break: break-word;
}
.sup-header h1 em { font-style: normal; color: var(--accent); }
.sup-header p {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.7; max-width: 500px; margin: 0 auto;
}

/* ── Progress steps (visual only) ── */
.sup-steps {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 36px;
  animation: supFadeUp 0.6s ease 0.1s both;
}
.sup-step {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
}
.sup-step.active { color: var(--text-primary); }
.sup-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  background: var(--bg-glass); border: 1px solid var(--border);
  color: var(--text-muted);
}
.sup-step.active .sup-step-num {
  background: var(--accent); border-color: var(--accent);
  color: #fff; box-shadow: 0 0 12px var(--accent-glow);
}
.sup-step-line { width: 48px; height: 1px; background: var(--border); margin: 0 4px; }

/* ============================================================
   MAIN FORM CARD
   ============================================================ */
.sup-card {
  width: 100%;
  max-width: 680px;
  background: rgba(13,20,36,0.88);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 24px;
  padding: 48px clamp(16px, 5vw, 52px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05);
  animation: supFadeUp 0.7s ease 0.15s both;
  position: relative; overflow: hidden;
}
.sup-card::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,170,0.5), transparent);
}

.sup-card-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.sup-card-title {
  font-size: 22px; font-weight: 800; letter-spacing: -0.6px;
  color: var(--text-primary); margin: 0 0 4px;
}
.sup-card-sub {
  font-size: 13px; color: var(--text-muted); margin: 0 0 28px;
}

/* ── Alert/message area ── */
#Lblmsg { margin-bottom: 16px; }
#Lblmsg .alert { border-radius: var(--radius-sm); font-size: 14px; }

/* ── Section divider label inside form ── */
.sup-form-section {
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.2px;
  margin: 24px 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.sup-form-section::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ── Two-column row ── */
.sup-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .sup-row { grid-template-columns: 1fr; } }

/* ── Form field ── */
.sup-field { margin-bottom: 16px; }
.sup-field label {
  display: block;
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 7px; letter-spacing: 0.3px; text-transform: uppercase;
}
.sup-input-wrap { position: relative; }
.sup-input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 14px;
  pointer-events: none; transition: color 0.25s;
}
.sup-input {
  width: 100%;
  padding: 13px 16px 13px 40px;
  border-radius: var(--radius-sm);
  background: rgba(7,11,20,0.7);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text-primary);
  font-size: 14px; font-family: inherit;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  appearance: none;
}
.sup-input::placeholder { color: var(--text-muted); }
.sup-input:focus {
  border-color: var(--accent);
  background: rgba(0,212,170,0.04);
  box-shadow: 0 0 0 3px rgba(0,212,170,0.14);
}
.sup-input-wrap:focus-within .sup-input-icon { color: var(--accent); }

/* no-icon variant for dynamic repeater fields */
.sup-input.no-icon { padding-left: 16px; }

/* ── Password eye toggle ── */
.sup-eye-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text-muted);
  font-size: 14px; cursor: pointer; padding: 0; line-height: 1;
  transition: color 0.2s;
}
.sup-eye-toggle:hover { color: var(--accent); }

/* ── Upline badge ── */
.sup-upline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--radius-sm);
  background: rgba(0,212,170,0.07); border: 1px solid rgba(0,212,170,0.18);
  font-size: 13px; color: var(--text-secondary);
  margin-bottom: 20px;
}
.sup-upline strong { color: var(--accent); }

/* ── Terms checkbox ── */
.sup-terms {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 24px;
}
.sup-terms input[type="checkbox"] {
  width: 17px; height: 17px; flex-shrink: 0;
  accent-color: var(--accent);
  margin-top: 2px; cursor: pointer;
}
.sup-terms label {
  font-size: 13px; color: var(--text-muted); cursor: pointer; line-height: 1.5;
}
.sup-terms label a { color: var(--accent); text-decoration: none; }
.sup-terms label a:hover { text-decoration: underline; }

/* ── Custom validator message area ── */
.sup-card span[id*="CustomValidator"] {
  display: block; font-size: 13px; color: #ef4444; margin-top: -10px; margin-bottom: 12px;
}

/* ── Submit button ── */
.sup-submit {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius-sm); border: none;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 700; font-family: inherit;
  letter-spacing: 0.2px; cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px var(--accent-glow);
  position: relative; overflow: hidden;
}
.sup-submit::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.25s;
}
.sup-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }
.sup-submit:hover::after { opacity: 1; }
.sup-submit:active { transform: translateY(0); }

/* ── Bottom login link ── */
.sup-login-link {
  text-align: center; margin-top: 24px;
  font-size: 13px; color: var(--text-muted);
}
.sup-login-link a { color: var(--accent); text-decoration: none; font-weight: 600; transition: opacity 0.2s; }
.sup-login-link a:hover { opacity: 0.8; }

/* ── Trust strip below card ── */
.sup-trust-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 30px; margin-top: 32px; flex-wrap: wrap;
  animation: supFadeUp 0.6s ease 0.4s both;
}
.sup-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
}
.sup-trust-item i { color: var(--accent); font-size: 14px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes supFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .sup-wrapper { padding-top: 80px; }
  .sup-nav-links { display: none; }
  .sup-steps { display: none; }
  .sup-card { padding: 36px 22px; }
}
@media (max-width: 480px) {
  .sup-header h1 { letter-spacing: -1px; font-size: 26px; }
  .sup-trust-strip { gap: 16px; }
  .sup-card { padding: 32px 16px; }
  .sup-nav-cta {
    padding: 6px 14px;
    font-size: 12px;
  }
  .sup-nav-ghost {
    padding: 6px 12px;
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .sup-nav-cta {
    padding: 5px 10px;
    font-size: 11px;
  }
  .sup-nav-ghost {
    padding: 5px 8px;
    font-size: 11px;
  }
}
