/* ================================================================
   RemiTracker — Sign-Up Page  |  redesigned_signup_20260527
   ================================================================ */

:root {
  --bg: #0A0A0A;
  --bg-2: #111111;
  --ink: #0A0A0A;
  --fg-1: #FAFAFA;
  --fg-2: rgba(255,255,255,0.72);
  --fg-3: rgba(255,255,255,0.55);
  --fg-4: rgba(255,255,255,0.40);
  --line: rgba(255,255,255,0.10);
  --line-2: rgba(255,255,255,0.06);
  --green: #00C896;
  --green-2: #00E6B0;
  --green-soft: rgba(0,200,150,0.14);
  --warn: #FFB860;
  --danger: #FF6B6B;
}
@property --mx { syntax: '<percentage>'; inherits: false; initial-value: 30%; }
@property --my { syntax: '<percentage>'; inherits: false; initial-value: 25%; }

* { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, sans-serif !important;
  background: var(--bg) !important;
  color: var(--fg-1) !important;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  perspective: 1200px;
}

/* ---------- Animated background ---------- */
/* ---- bg elements use z-index:0 so they paint above the body canvas ---- */
.bg-mesh {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,200,150,0.18), transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(0,150,255,0.10), transparent 60%),
    var(--bg);
  transform: translate3d(0, var(--py-mesh, 0), 0);
  will-change: transform;
}
.bg-grid {
  position: fixed; inset: -80px; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,230,176,0.55) 1px, transparent 1.6px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle 460px at var(--mx,30%) var(--my,25%), black 0%, rgba(0,0,0,0.5) 35%, transparent 70%);
  mask-image: radial-gradient(circle 460px at var(--mx,30%) var(--my,25%), black 0%, rgba(0,0,0,0.5) 35%, transparent 70%);
  animation: drift 40s linear infinite, roam 24s ease-in-out infinite;
  opacity: 0.6;
  transform: translate3d(0, var(--py-grid, 0), 0);
  will-change: transform;
}
@keyframes drift { from { background-position: 0 0 } to { background-position: 280px 280px } }
@keyframes roam {
  0%   { --mx: 18%; --my: 22% }
  25%  { --mx: 78%; --my: 18% }
  50%  { --mx: 82%; --my: 78% }
  75%  { --mx: 22%; --my: 70% }
  100% { --mx: 18%; --my: 22% }
}
.bg-halo {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  transform: translate3d(0, var(--py-halo, 0), 0);
  will-change: transform;
}
.bg-halo::before, .bg-halo::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px);
  mix-blend-mode: screen;
}
.bg-halo::before {
  width: 600px; height: 600px; left: -120px; top: -120px;
  background: radial-gradient(circle, rgba(0,230,176,0.45), transparent 60%);
  animation: h1 18s ease-in-out infinite;
}
.bg-halo::after {
  width: 520px; height: 520px; right: -120px; bottom: -120px;
  background: radial-gradient(circle, rgba(120,90,255,0.35), transparent 60%);
  animation: h2 22s ease-in-out infinite;
}
@keyframes h1 { 0%,100% { transform: translate(0,0) scale(1); opacity: .55 } 50% { transform: translate(80px,60px) scale(1.10); opacity: .85 } }
@keyframes h2 { 0%,100% { transform: translate(0,0) scale(1); opacity: .45 } 50% { transform: translate(-100px,-40px) scale(1.08); opacity: .75 } }

/* Lift all page content above the z-index:0 bg layer */
.su-hero-wrap,
.su-features-wrap {
  position: relative;
  z-index: 1;
}

/* ---------- Hero shell ---------- */
.su-hero-wrap {
  padding: 60px 40px 100px;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 80px;
  align-items: start;
  perspective: 1400px;
}
.su-copy {
  transform-style: preserve-3d;
  transition: transform 200ms ease-out;
  padding-top: 40px;
}
.su-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px; background: var(--green-soft); color: var(--green-2);
  border-radius: 999px; font-size: 12px; font-weight: 500; margin-bottom: 24px;
}
.su-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(0,200,150,0.18);
}
.su-copy h1 {
  font-size: 64px; font-weight: 600; letter-spacing: -0.04em;
  line-height: 1.02; margin: 0 0 22px;
  color: #fff !important;
  text-shadow: 0 24px 48px rgba(0,0,0,0.45);
}
.su-copy h1 .grad {
  background: linear-gradient(180deg, var(--green-2), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.su-copy p.lead {
  font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.72) !important;
  margin: 0 0 40px; max-width: 520px;
}

/* Stats */
.su-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px;
}
.su-stats .s {
  padding: 18px 20px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  border-radius: 14px; backdrop-filter: blur(12px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.30), 0 1px 0 rgba(255,255,255,0.06) inset;
}
.su-stats .num { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #fff !important; white-space: nowrap; }
.su-stats .num em { font-style: normal; color: var(--green-2) !important; }
.su-stats .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.55) !important; margin-top: 4px; }

/* Points */
.su-pts { margin-top: 8px; display: grid; gap: 14px; }
.su-pt { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,0.72) !important; line-height: 1.5; }
.su-pt .pt-icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--green-soft); color: var(--green-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0; margin-top: 1px;
}
.su-pt strong { color: #fff; font-weight: 600; }

/* ---------- Signup card ---------- */
.signup-card {
  background: linear-gradient(160deg, rgba(20,20,20,0.95), rgba(15,15,15,0.95));
  border: 1px solid var(--line); border-radius: 22px;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 1px 0 rgba(255,255,255,0.06) inset;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
}
.signup-card::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: radial-gradient(500px circle at var(--cx,50%) var(--cy,0%), rgba(0,230,176,0.18), transparent 60%);
  opacity: 0.5; pointer-events: none; transition: opacity 300ms;
}

.sc-head { padding: 28px 32px 0; }
.sc-trial {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; background: var(--green-soft); color: var(--green-2);
  border: 1px solid rgba(0,230,176,0.3); border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 12px;
}
.sc-trial i { font-size: 11px; }
.sc-head h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 4px; color: #fff; }
.sc-head .sub { font-size: 13.5px; color: var(--fg-3); margin: 0; }

/* Progress steps */
.sc-progress {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0; align-items: center; padding: 24px 32px 4px;
}
.sc-step { display: flex; align-items: center; gap: 10px; }
.sc-step .n {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--fg-3); flex-shrink: 0;
  transition: background 250ms, color 250ms, border-color 250ms, box-shadow 250ms;
}
.sc-step .lbl { font-size: 12px; color: var(--fg-3); font-weight: 500; white-space: nowrap; }
.sc-step.active .n {
  background: linear-gradient(160deg, var(--green-2), var(--green));
  color: var(--ink); border-color: rgba(0,230,176,0.6);
  box-shadow: 0 8px 20px rgba(0,200,150,0.35);
}
.sc-step.active .lbl { color: #fff; font-weight: 600; }
.sc-step.done .n { background: rgba(0,200,150,0.15); color: var(--green-2); border-color: rgba(0,230,176,0.3); }
.sc-step.done .n i { font-size: 11px; }
.sc-step.done .lbl { color: var(--fg-2); }
.sc-line {
  height: 2px; background: var(--line); position: relative;
  min-width: 24px; flex: 1; align-self: center; margin: 0 8px; overflow: hidden;
}
.sc-line .fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--green-2), var(--green));
  width: 0%; transition: width 400ms cubic-bezier(.2,.7,.3,1);
}
.sc-line.done .fill { width: 100%; }

/* Form body */
.sc-body { padding: 18px 32px 32px; }
.sc-section { margin-bottom: 22px; }
.sc-section h6 {
  font-size: 11px; font-weight: 700; color: var(--fg-3);
  text-transform: uppercase; letter-spacing: 0.14em;
  margin: 0 0 14px; display: flex; align-items: center; gap: 8px;
}
.sc-section h6 i { color: var(--green-2); font-size: 12px; }

/* Field */
.fld { display: grid; gap: 6px; margin-bottom: 14px; }
.fld label {
  font-size: 12.5px; font-weight: 500; color: var(--fg-2);
  display: flex; justify-content: space-between; align-items: center;
}
.fld label .req { color: var(--green-2); margin-left: 2px; }
.fld label .help { font-size: 11px; color: var(--fg-4); font-weight: 400; }
.fld .input-wrap { position: relative; }

.fld input,
.fld select {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(20,20,20,0.55);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  font-family: inherit; font-size: 14px; color: #fff;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms, background-color 150ms;
  -webkit-appearance: none; appearance: none;
}
.fld select {
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.5) 50%),
                    linear-gradient(135deg, rgba(255,255,255,0.5) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  background-color: rgba(20,20,20,0.55);
}
.fld input.has-suffix { padding-right: 44px; }
.fld input:hover, .fld select:hover { border-color: rgba(255,255,255,0.20); background: rgba(30,30,30,0.70); }
.fld input:focus, .fld select:focus {
  border-color: var(--green); background: rgba(30,30,30,0.80);
  box-shadow: 0 0 0 4px rgba(0,200,150,0.14);
}
.fld input::placeholder { color: var(--fg-4); }

/* Validation */
.fld input.is-invalid, .fld select.is-invalid {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 4px rgba(255,107,107,0.12) !important;
}

/* Eye toggle */
.fld .eye {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; color: var(--fg-4);
  cursor: pointer; padding: 8px 12px; font-size: 14px;
}
.fld .eye:hover { color: #fff; }

/* Hint */
.fld .hint {
  font-size: 11.5px; color: var(--fg-4);
  display: inline-flex; align-items: center; gap: 6px; line-height: 1.45;
}
.fld .hint i { color: var(--green-2); }

/* Password strength */
.pw-strength { display: flex; gap: 4px; margin-top: 4px; }
.pw-strength .seg {
  flex: 1; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.08); transition: background 250ms;
}
.pw-strength.s1 .seg:nth-child(-n+1) { background: var(--danger); }
.pw-strength.s2 .seg:nth-child(-n+2) { background: var(--warn); }
.pw-strength.s3 .seg:nth-child(-n+3) { background: var(--green); }
.pw-strength.s4 .seg { background: var(--green-2); }
.pw-strength-label { font-size: 11px; color: var(--fg-4); margin-top: 4px; }
.pw-strength-label.s3, .pw-strength-label.s4 { color: var(--green-2); }

/* 2-col */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Trial / secure alerts */
.trial-alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: 12px;
  background: linear-gradient(160deg, rgba(0,230,176,0.10), rgba(20,20,20,0.6));
  border: 1px solid rgba(0,230,176,0.25);
  font-size: 12.5px; color: var(--fg-2); line-height: 1.5; margin-bottom: 18px;
}
.trial-alert i { color: var(--green-2); margin-top: 1px; flex-shrink: 0; }
.trial-alert strong { color: #fff; font-weight: 600; }
.secure-alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  font-size: 12px; color: var(--fg-3); line-height: 1.5; margin-top: 8px;
}
.secure-alert i { color: var(--green-2); margin-top: 2px; flex-shrink: 0; }

/* Terms */
.terms {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px; color: var(--fg-2); line-height: 1.5;
  margin: 6px 0 18px; padding: 12px 14px;
  background: rgba(255,255,255,0.025); border: 1px solid var(--line); border-radius: 10px;
}
.terms input { flex-shrink: 0; margin-top: 2px; accent-color: var(--green); width: 16px; height: 16px; }
.terms a { color: var(--green-2); text-decoration: none; font-weight: 500; }
.terms a:hover { text-decoration: underline; }

/* Buttons */
.btn-row { display: flex; gap: 10px; }
.btn-row.split > * { flex: 1; }

.btn-primary,
button.btn-primary {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important;
  width: 100%; padding: 13px 22px !important;
  background: var(--green) !important; color: var(--ink) !important;
  border: 0 !important; border-radius: 12px !important;
  font-family: inherit; font-weight: 600 !important; font-size: 14.5px !important;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0,200,150,0.25) !important;
  transition: transform 150ms, background 150ms, box-shadow 150ms !important;
  text-decoration: none;
}
.btn-primary:hover,
button.btn-primary:hover {
  background: var(--green-2) !important; color: var(--ink) !important;
  transform: translateY(-1px); box-shadow: 0 10px 32px rgba(0,200,150,0.4) !important;
}
.btn-primary .arr {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--ink); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; transition: transform 200ms;
}
.btn-primary:hover .arr { transform: translateX(2px); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px 22px;
  background: rgba(255,255,255,0.04); color: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer;
  transition: background 150ms, border-color 150ms;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }

.foot-link { text-align: center; margin-top: 18px; font-size: 13px; color: var(--fg-3); }
.foot-link a { color: var(--green-2); font-weight: 600; text-decoration: none; }
.foot-link a:hover { text-decoration: underline; }

/* ---------- Features section ---------- */
.su-features-wrap {
  padding: 80px 40px;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
}
.eyebrow-sec {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px;
  background: var(--green-soft); color: var(--green-2); border-radius: 999px;
  font-size: 12px; font-weight: 500; margin-bottom: 18px;
}
.su-h2 {
  font-size: 44px; font-weight: 600; letter-spacing: -0.035em;
  line-height: 1.05; margin: 0 0 16px; max-width: 720px;
  color: #fff !important;
}
.su-h2 em {
  font-style: normal;
  background: linear-gradient(180deg, var(--green-2), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.lead-sec { font-size: 16px; color: rgba(255,255,255,0.72) !important; line-height: 1.6; margin: 0 0 48px; max-width: 640px; }

.su-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card3d {
  padding: 28px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  backdrop-filter: blur(8px);
  transform-style: preserve-3d;
  transition: transform 280ms cubic-bezier(.2,.7,.3,1), border-color 200ms, box-shadow 280ms;
  position: relative; overflow: hidden;
}
.card3d::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: radial-gradient(380px circle at var(--cx,50%) var(--cy,50%), rgba(0,230,176,0.18), transparent 60%);
  opacity: 0; transition: opacity 240ms; pointer-events: none;
}
.card3d:hover { border-color: rgba(0,230,176,0.4); box-shadow: 0 28px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,230,176,0.25); }
.card3d:hover::after { opacity: 1; }
.card3d .ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(160deg, var(--green-2), var(--green));
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); margin-bottom: 16px; transform: translateZ(40px);
  box-shadow: 0 10px 24px rgba(0,200,150,0.30);
}
.card3d .ic i { font-size: 18px; }
.card3d h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; transform: translateZ(30px); color: #fff !important; }
.card3d p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.55) !important; margin: 0; transform: translateZ(15px); }

/* Trust strip */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
  padding: 32px 0 0; border-top: 1px solid var(--line); margin-top: 40px;
}
.trust-strip .badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.03); border-radius: 999px;
  font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.72) !important;
}
.trust-strip .badge i { color: var(--green-2); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .su-hero-wrap { grid-template-columns: 1fr; gap: 50px; padding: 40px 24px 80px; }
  .su-copy { padding-top: 0; }
  .su-copy h1 { font-size: 44px; }
  .su-cards { grid-template-columns: 1fr 1fr; }
  .su-features-wrap { padding: 60px 24px; }
}
@media (max-width: 720px) {
  .row2 { grid-template-columns: 1fr; }
  .sc-progress { padding: 24px 24px 4px; }
  .sc-step .lbl { display: none; }
  .sc-body { padding: 18px 24px 28px; }
  .sc-head { padding: 24px 24px 0; }
  .su-cards { grid-template-columns: 1fr; }
  .su-stats { grid-template-columns: 1fr; }
  .su-h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-grid, .bg-halo::before, .bg-halo::after { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
