:root {
  --qorza-neon: #39ff14;
  --qorza-teal: #15495e;
  --qorza-bg-dark: #020617;
  --qorza-bg-hero-top: #0b1020;
  --qorza-bg-hero-bottom: #141c3a;
  --text-dark: #020617;
  --text-main: #0b1020;
  --text-muted: #6b7280;
  --radius-lg: 1.25rem;
  --container: 1120px;
  --transition-fast: 170ms ease-out;
}

/* Reset-ish */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.96),
    rgba(2, 6, 23, 0.8),
    transparent
  );
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  color: #f9fafb;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #082f49;
  border: 2px solid var(--qorza-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.6);
  position: relative;
  overflow: hidden;
}

/* CSS brand mark */
.logo-key {
  position: relative;
  width: 14px;
  height: 28px;
}
.logo-key::before,
.logo-key::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  border-radius: 999px;
  background: var(--qorza-neon);
}
.logo-key::before {
  top: 0;
  height: 100%;
}
.logo-key::after {
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 0 0 4px var(--qorza-neon);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.brand-name {
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #f9fafb;
}
.brand-tagline {
  font-size: 0.72rem;
  color: #f9fafb; /* now white to match hero title */
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: #f9fafb; /* same soft white as hero-title */
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}
.nav-links a {
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--qorza-neon);
  border-radius: 999px;
  transition: width var(--transition-fast);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.7);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a:hover {
  color: var(--qorza-neon);
}

.nav-cta {
  display: flex;
  gap: 0.7rem;
}

.btn {
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--qorza-neon);
  color: #02131a;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(57, 255, 20, 0.4);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.9);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.7);
  color: #f9fafb;
  background: rgba(15, 23, 42, 0.85);
}
.btn-outline:hover {
  border-color: var(--qorza-neon);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.4);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: #f9fafb;
  font-size: 1.5rem;
}

/* HERO */
.hero {
  background: radial-gradient(
    circle at 0% 0%,
    #1d2a4d 0%,
    var(--qorza-bg-hero-top) 45%,
    var(--qorza-bg-hero-bottom) 100%
  );
  color: #f9fafb;
  padding: 3.5rem 0 4.2rem;
}

.hero-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.75rem;
  color: #e0f2fe;
  margin-bottom: 1rem;
}
.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--qorza-neon);
  box-shadow: 0 0 13px rgba(57, 255, 20, 0.95);
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
}
.hero-title span {
  color: var(--qorza-neon);
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #cbd5f5;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.7rem;
}

.hero-trust {
  font-size: 0.8rem;
  color: #9ca3af;
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.hero-trust span::before {
  content: "• ";
  color: var(--qorza-neon);
}

/* LIGHT SOLUTIONS SECTION */
.section-light {
  padding: 3.2rem 0 3.6rem;
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #4f46e5;
  margin-bottom: 0.25rem;
}
.section-title {
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.section-title span {
  color: #2563eb;
}
.section-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0.25rem auto 0;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  background: #f9fafb;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  color: white;
  font-size: 1.1rem;
}

.card-title {
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.card-text {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* DARK METRICS BAND */
.section-band {
  background: radial-gradient(circle at 0% 0%, #1e293b 0%, #020617 55%, #020617 100%);
  color: #f9fafb;
  padding: 2.3rem 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.metric-card {
  border-radius: 999px;
  padding: 1rem 1.4rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.15rem;
}

.metric-label {
  font-size: 0.8rem;
  color: #e5e7eb;
}
.metric-value {
  font-weight: 600;
}

/* LIGHT STEPS SECTION */
.section-steps {
  padding: 3.3rem 0 3.8rem;
  background: #f3f4ff;
}

/* SIGN-IN SECTION */
.section-signin {
  padding: 3.4rem 0 3.6rem;
  background: #ffffff;
}

.signin-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.2rem;
  align-items: center;
}

.signin-copy .section-title span {
  color: #2563eb;
}

.signin-points {
  margin-top: 1.2rem;
  list-style: none;
  padding-left: 0;
}
.signin-points li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.2rem;
}
.signin-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--qorza-neon);
}

/* Card */
.signin-card {
  position: relative; /* REQUIRED for loader overlay */
  background: #f9fafb;
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem 1.8rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.signin-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.signin-hint {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.signin-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.86rem;
}
.field span {
  color: #374151;
}
.field input {
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.field input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.6);
}

.signin-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.remember {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.remember input {
  width: 14px;
  height: 14px;
}

.signin-link {
  color: #4f46e5;
}
.signin-link:hover {
  text-decoration: underline;
}

/* full-width buttons inside form */
.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-ghost {
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #111827;
  background: #ffffff;
}
.btn-ghost:hover {
  border-color: #4f46e5;
  box-shadow: 0 0 12px rgba(79, 70, 229, 0.25);
}

.signin-divider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0.2rem 0;
}
.signin-divider::before,
.signin-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(148, 163, 184, 0.6);
}

.signin-small {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.7rem;
}

/* EARLY ACCESS SECTION */
.section-early {
  padding: 3.4rem 0 3.6rem;
  background: #f9fafb;
}

.early-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.2rem;
  align-items: flex-start;
}

.early-copy .section-title span {
  color: #2563eb;
}

.early-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem 1.8rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.early-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.early-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* Make select + textarea match inputs */
.early-form select,
.early-form textarea {
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  font-size: 0.88rem;
  outline: none;
  resize: vertical;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.early-form select:focus,
.early-form textarea:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.6);
}

/* Reuse error/success styles */
#earlyError,
#earlySuccess {
  margin-top: 0.4rem;
}

/* Responsive for early access section */
@media (max-width: 900px) {
  .early-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* responsive for sign-in section */
@media (max-width: 900px) {
  .signin-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
  position: relative;
}

.steps-line {
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: rgba(129, 140, 248, 0.35);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4f46e5;
  background: #eef2ff;
  margin-bottom: 0.7rem;
}

.step-title {
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.step-text {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* DARK CTA + FOOTER */
.section-cta {
  padding: 3.4rem 0 3.8rem;
  background: radial-gradient(circle at 0% 0%, #1d2a4d 0%, #020617 55%, #020617 100%);
  color: #f9fafb;
  text-align: center;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.78rem;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.95);
  margin-bottom: 1rem;
}

.cta-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.cta-title span {
  color: var(--qorza-neon);
}

.cta-subtitle {
  font-size: 0.96rem;
  color: #cbd5f5;
  max-width: 520px;
  margin: 0 auto 1.6rem;
}

.cta-benefits {
  font-size: 0.82rem;
  color: #9ca3af;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.cta-benefits span::before {
  content: "✔ ";
  color: var(--qorza-neon);
}

footer {
  background: #020617;
  color: #9ca3af;
  font-size: 0.8rem;
  padding: 1.6rem 0 2.1rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links a:hover {
  color: #e5e7eb;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .solutions-grid,
  .metrics,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps-line {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav.nav-open .nav-links,
  .nav.nav-open .nav-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    position: absolute;
    top: 52px;
    left: 0;
    padding: 0.8rem 1.5rem 1.1rem;
    background: #020617;
    border-bottom: 1px solid rgba(148, 163, 184, 0.45);
    gap: 0.7rem;
  }

  .solutions-grid,
  .metrics,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-inner {
    padding-top: 0.7rem;
  }
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.brand-text:hover .brand-name {
  color: var(--qorza-neon);
}

