/* RevOptix1 signup — midnight blue, gold & white (self-contained luxury) */

:root {
  --rvx-midnight: #00091e;
  --rvx-navy: #001737;
  --rvx-navy-mid: #002a5c;
  --rvx-navy-elevated: #0a2248;
  --rvx-gold: #c89b3f;
  --rvx-gold-bright: #d9b769;
  --rvx-gold-muted: #8f7549;
  --rvx-white: #ffffff;
  --rvx-cream: #f7f3ec;
  --rvx-text: rgba(247, 250, 255, 0.92);
  --rvx-muted: rgba(200, 210, 230, 0.62);
  --rvx-border: rgba(200, 155, 63, 0.24);
  --rvx-pdpm-accent: #6dc9b4;
  --rvx-font-display: "Cormorant Garamond", Georgia, serif;
  --rvx-font-sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.signup-page {
  margin: 0;
  font-family: var(--rvx-font-sans);
  background: var(--rvx-midnight);
  color: var(--rvx-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.signup-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 85% 50% at 50% -8%, rgba(200, 155, 63, 0.11) 0%, transparent 52%),
    radial-gradient(ellipse 55% 45% at 100% 60%, rgba(0, 42, 92, 0.4) 0%, transparent 48%),
    radial-gradient(ellipse 40% 35% at 0% 80%, rgba(0, 23, 55, 0.5) 0%, transparent 45%);
}

.signup-skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.signup-skip:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--rvx-gold);
  color: var(--rvx-midnight);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}

/* ── Header + hero band ── */
.signup-lux-header {
  position: relative;
  z-index: 2;
  background:
    radial-gradient(ellipse 90% 70% at 75% -20%, rgba(200, 155, 63, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(0, 42, 92, 0.35) 0%, transparent 50%),
    linear-gradient(168deg, #001737 0%, #00091e 55%, #00050f 100%);
  border-bottom: 1px solid var(--rvx-border);
  overflow: hidden;
}

.signup-lux-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 9, 30, 0.5) 100%);
  pointer-events: none;
}

.signup-lux-header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(200, 155, 63, 0.12);
}

.signup-lux-logo {
  font-family: var(--rvx-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rvx-white) !important;
  text-decoration: none;
}

.signup-lux-logo sup {
  font-size: 0.55em;
  color: var(--rvx-gold-bright);
  font-weight: 500;
}

.signup-lux-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signup-lux-nav a {
  color: rgba(247, 250, 255, 0.72) !important;
  text-decoration: none;
  transition: color 0.2s;
}

.signup-lux-nav a:hover {
  color: var(--rvx-gold-bright) !important;
}

.signup-lux-nav-cta {
  padding: 0.45rem 1rem;
  border: 1px solid var(--rvx-gold);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rvx-gold-bright) !important;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.signup-lux-nav-cta:hover {
  background: var(--rvx-gold);
  color: var(--rvx-midnight) !important;
}

.signup-lux-hero {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.25rem;
  text-align: center;
}

.signup-lux-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rvx-gold-bright);
}

.signup-lux-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--rvx-font-display);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--rvx-white);
  letter-spacing: 0.01em;
}

.signup-lux-gold {
  color: var(--rvx-gold-bright);
  font-weight: 500;
}

.signup-lux-lede {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--rvx-muted);
}

/* ── Brand bridge ── */
.signup-bridge {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  font-size: 0.8rem;
  line-height: 1.55;
  text-align: center;
  color: var(--rvx-muted);
  border-bottom: 1px solid rgba(200, 155, 63, 0.1);
}

.signup-bridge a {
  color: var(--rvx-pdpm-accent);
  font-weight: 600;
  text-decoration: none;
}

.signup-bridge a:hover {
  text-decoration: underline;
}

.signup-domain-tag {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  background: rgba(200, 155, 63, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rvx-gold-bright);
}

/* ── Main shell ── */
.signup-shell {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2.5rem;
}

/* Trust strip */
.signup-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.signup-trust-pill {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border-radius: 8px;
  border: 1px solid var(--rvx-border);
  background: rgba(10, 34, 72, 0.5);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.signup-trust-icon {
  flex-shrink: 0;
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0.9;
}

.signup-trust-pill strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rvx-gold-bright);
}

.signup-trust-pill p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--rvx-muted);
}

/* Grid — form first */
.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 1.5rem;
  align-items: start;
}

.signup-card-label {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rvx-gold-bright);
}

/* Form card */
.signup-form-card {
  padding: 1.65rem 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--rvx-border);
  background: rgba(10, 34, 72, 0.58);
  backdrop-filter: blur(14px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 20px 56px rgba(0, 0, 0, 0.35);
}

.signup-form-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rvx-gold);
}

.signup-form-card h2 {
  margin: 0 0 0.35rem;
  font-family: var(--rvx-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--rvx-white);
}

.signup-form-intro {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--rvx-muted);
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.signup-field label {
  display: block;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--rvx-cream);
}

.signup-field-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--rvx-muted);
}

.signup-form input {
  margin-top: 0.35rem;
  width: 100%;
  padding: 0.68rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--rvx-white);
  background: rgba(0, 9, 30, 0.65);
  border: 1px solid rgba(200, 155, 63, 0.18);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.signup-form input::placeholder {
  color: rgba(200, 210, 230, 0.35);
}

.signup-form input:focus {
  outline: none;
  border-color: var(--rvx-gold);
  box-shadow: 0 0 0 3px rgba(200, 155, 63, 0.2);
}

.signup-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.signup-submit {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--rvx-midnight);
  background: linear-gradient(180deg, #e8d4a8 0%, var(--rvx-gold-bright) 12%, var(--rvx-gold) 55%, var(--rvx-gold-muted) 100%);
  border: none;
  border-radius: 6px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.2) inset,
    0 8px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s, filter 0.2s;
}

.signup-submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.signup-submit:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.signup-alert {
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 6px;
  font-size: 0.86rem;
}

.signup-alert-success {
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.signup-alert-error {
  background: rgba(251, 113, 133, 0.1);
  color: #fda4af;
  border: 1px solid rgba(251, 113, 133, 0.28);
}

.signup-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: #93c5fd;
  font: inherit;
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.signup-link-btn:hover {
  color: #bfdbfe;
}

.signup-verify-panel {
  margin-top: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.signup-verify-panel--loading {
  background: rgba(148, 163, 184, 0.08);
  color: var(--rvx-muted);
  border: 1px solid var(--rvx-border);
}

.signup-verify-panel--success {
  background: rgba(52, 211, 153, 0.08);
  color: #a7f3d0;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.signup-verify-panel--error {
  background: rgba(251, 113, 133, 0.08);
  color: #fda4af;
  border: 1px solid rgba(251, 113, 133, 0.25);
}

.signup-verify-panel p {
  margin: 0.35rem 0 0;
}

.signup-verify-note {
  font-size: 0.78rem;
  opacity: 0.85;
}

.signup-verify-badge {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
}

.signup-verify-badge--success {
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
}

.signup-verify-badge--warn {
  background: rgba(251, 191, 36, 0.1);
  color: #fcd34d;
}

.signup-verify-badge--error {
  background: rgba(251, 113, 133, 0.1);
  color: #fda4af;
}

.signup-pending-steps {
  margin: 1rem 0;
  padding-left: 1.25rem;
  color: var(--rvx-muted);
  line-height: 1.6;
}

.signup-pending-steps li + li {
  margin-top: 0.5rem;
}

.signup-next {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--rvx-border);
  font-size: 0.82rem;
  color: var(--rvx-muted);
}

.signup-next strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rvx-cream);
}

.signup-next ol {
  margin: 0;
  padding-left: 1.2rem;
}

.signup-next li {
  margin-bottom: 0.3rem;
}

.signup-next em {
  color: var(--rvx-gold-bright);
  font-style: normal;
  font-weight: 600;
}

.signup-legal {
  margin: 1rem 0 0;
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--rvx-muted);
}

.signup-legal a {
  color: var(--rvx-gold-bright);
  text-decoration: none;
}

.signup-legal a:hover {
  text-decoration: underline;
}

.signup-foot {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.84rem;
  color: var(--rvx-muted);
}

.signup-foot a {
  color: var(--rvx-gold-bright);
  font-weight: 600;
  text-decoration: none;
}

.signup-foot a:hover {
  text-decoration: underline;
}

/* Sidebar */
.signup-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.signup-pricing-card {
  padding: 1.35rem 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(200, 155, 63, 0.32);
  background: linear-gradient(165deg, rgba(0, 23, 55, 0.9) 0%, rgba(0, 9, 30, 0.95) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.signup-pricing-card h2 {
  margin: 0 0 0.4rem;
  font-family: var(--rvx-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--rvx-white);
}

.signup-pricing-card > p {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  color: var(--rvx-muted);
}

.signup-tier-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.signup-tier-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--rvx-cream);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s, border-color 0.2s;
}

.signup-tier-list li.is-active {
  background: rgba(200, 155, 63, 0.15);
  border-color: rgba(200, 155, 63, 0.45);
}

.signup-tier-list li span:last-child {
  font-weight: 700;
  color: var(--rvx-gold-bright);
  white-space: nowrap;
}

.signup-tier-foot {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--rvx-muted);
}

.signup-quote {
  margin: 0;
  padding: 1.1rem 1.15rem;
  border-radius: 8px;
  border: 1px solid var(--rvx-border);
  border-left: 3px solid var(--rvx-gold);
  background: rgba(10, 34, 72, 0.4);
}

.signup-quote blockquote {
  margin: 0 0 0.5rem;
  font-family: var(--rvx-font-display);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--rvx-cream);
}

.signup-quote cite {
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 600;
  color: var(--rvx-muted);
}

.signup-reassure {
  padding: 1.1rem 1.15rem;
  border-radius: 8px;
  border: 1px solid var(--rvx-border);
  background: rgba(10, 34, 72, 0.4);
}

.signup-reassure h3 {
  margin: 0 0 0.5rem;
  font-family: var(--rvx-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--rvx-white);
}

.signup-reassure ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  color: var(--rvx-muted);
}

.signup-reassure li {
  margin-bottom: 0.35rem;
}

.signup-reassure a {
  color: var(--rvx-pdpm-accent);
  font-weight: 600;
  text-decoration: none;
}

.signup-reassure a:hover {
  text-decoration: underline;
}

/* Footer */
.signup-site-footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 1.35rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--rvx-border);
  background: rgba(0, 5, 15, 0.92);
  font-size: 0.82rem;
}

.signup-site-footer a {
  color: var(--rvx-gold-bright);
  text-decoration: none;
  font-weight: 600;
}

.signup-site-footer a:hover {
  text-decoration: underline;
}

.signup-site-footer-note {
  margin: 0.45rem 0 0;
  font-size: 0.74rem;
  color: var(--rvx-muted);
}

@media (max-width: 900px) {
  .signup-trust-strip {
    grid-template-columns: 1fr;
  }

  .signup-grid {
    grid-template-columns: 1fr;
  }

  .signup-aside {
    order: 2;
  }

  .signup-main {
    order: 1;
  }

  .signup-lux-nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .signup-form-row {
    grid-template-columns: 1fr;
  }

  .signup-lux-nav-cta {
    font-size: 0.62rem;
    padding: 0.4rem 0.65rem;
  }
}
