/* ── Coming Soon Page — matches assessment.html look ───────────── */

.cs-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f1ee 0%, #e9ece4 45%, #dfe8d4 100%);
  font-family: var(--font-body);
  color: var(--text-primary);
  position: relative;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
}

/* Grid overlay — identical to assessment page */
.cs-body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,0,0,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0.06) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0.06) 100%);
}

/* ── Top bar — same treatment as assessment-progress-bar ─────────── */
.cs-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 12px 24px;
}
.cs-topbar-inner {
  max-width: 680px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cs-logo {
  width: 40px; height: 40px;
  background: var(--surface-dark); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 900; font-size: 18px;
  font-family: var(--font-heading); flex-shrink: 0;
  text-decoration: none; overflow: hidden;
}
.cs-logo img { display: block; }

.cs-topbar-meta { display: none; flex: 1; }
@media (min-width: 600px) {
  .cs-topbar-meta { display: block; }
  .cs-topbar-sub {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; color: var(--text-muted);
  }
  .cs-topbar-title {
    font-size: 13px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--text-primary);
    font-family: var(--font-heading);
  }
}

.cs-topbar-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: rgba(197,254,0,0.14);
  border: 1px solid rgba(197,254,0,0.35);
  border-radius: 100px;
  font-size: 11px; font-weight: 700;
  color: var(--accent-text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cs-topbar-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-text);
  box-shadow: 0 0 10px rgba(56,75,0,0.45);
  animation: cs-pulse 2s ease-in-out infinite;
}
@keyframes cs-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── Main container ─────────────────────────────────────────────── */
.cs-main {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 24px 60px;
  position: relative; z-index: 10;
  width: 100%;
}

.cs-header {
  text-align: center; margin-bottom: 40px;
  max-width: 680px; width: 100%;
}

.cs-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(197,254,0,0.18);
  border: 1px solid rgba(197,254,0,0.4);
  border-radius: 100px;
  font-size: 11px; font-weight: 700;
  color: var(--accent-text);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 24px;
}
.cs-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-text);
  animation: cs-pulse 2s ease-in-out infinite;
}

.cs-headline {
  font-family: var(--font-heading); font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 0.95; letter-spacing: -2px;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.cs-headline em {
  font-style: normal;
  color: var(--accent-text);
  background: var(--accent);
  padding: 0 8px;
  border-radius: 8px;
  display: inline-block;
  line-height: 1.05;
}

.cs-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 540px; margin: 0 auto;
  line-height: 1.7;
}

/* ── Card — white surface, rounded, ambient shadow (matches .question-card) ── */
.cs-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 40px;
  padding: 40px 48px;
  max-width: 520px; width: 100%;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.14),
              0 1px 0 rgba(255,255,255,1) inset,
              0 4px 24px rgba(0,0,0,0.07);
  position: relative;
  overflow: hidden;
}
/* Lime orb accent in card — visible glow behind the form */
.cs-card::after {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(197,254,0,0.38) 0%, rgba(197,254,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(30px);
}

.cs-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  position: relative; z-index: 1;
}
.cs-card-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
  position: relative; z-index: 1;
}

.cs-field {
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.cs-field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.cs-field input {
  width: 100%;
  padding: 14px 18px;
  background: #f6f6f4;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}
.cs-field input::placeholder { color: var(--text-muted); }
.cs-field input:focus {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(197,254,0,0.18);
}
.cs-field input:disabled {
  opacity: 0.5; cursor: not-allowed;
}

.cs-error {
  display: none;
  font-size: 12px;
  color: var(--error);
  margin-top: 6px;
  font-weight: 500;
}
.cs-error.show { display: block; }

.cs-captcha-wrap {
  margin: 14px 0 6px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.cs-submit {
  width: 100%;
  margin-top: 12px;
  padding: 15px 24px;
  background: var(--surface-dark);
  color: var(--text-on-dark);
  border: none;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative; z-index: 1;
}
.cs-submit:hover:not(:disabled) {
  background: #2d2f2f;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.cs-submit:hover:not(:disabled) .cs-submit-arrow { transform: translateX(2px); }
.cs-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.cs-submit-arrow { transition: transform var(--transition); }

.cs-spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid rgba(245,242,241,0.3);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: cs-spin 0.7s linear infinite;
}
.cs-submit.loading .cs-spinner { display: inline-block; }
.cs-submit.loading .cs-submit-arrow { display: none; }
@keyframes cs-spin { to { transform: rotate(360deg); } }

.cs-fine {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  position: relative; z-index: 1;
}

/* ── Success state ─────────────────────────────────────────────── */
.cs-success {
  display: none;
  text-align: center;
  padding: 8px 0;
  position: relative; z-index: 1;
}
.cs-success.show { display: block; }
.cs-card.is-success .cs-card-body { display: none; }

.cs-success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(197,254,0,0.4);
  animation: cs-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.cs-success-icon svg {
  width: 30px; height: 30px;
  stroke: var(--accent-text);
  fill: none; stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}
@keyframes cs-pop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cs-success-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.cs-success-msg {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
}
.cs-success-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 100px;
  text-decoration: none;
  transition: var(--transition);
}
.cs-success-link:hover {
  border-color: var(--text-primary);
  background: rgba(0,0,0,0.04);
}
.cs-success-link svg { transition: transform var(--transition); }
.cs-success-link:hover svg { transform: translateX(-2px); }

/* ── Footer ─────────────────────────────────────────────────────── */
.cs-footer {
  position: relative; z-index: 2;
  padding: 24px 24px 32px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .cs-body { padding-top: 72px; }
  .cs-main { padding: 24px 16px 48px; }
  .cs-card { padding: 28px 22px; border-radius: 28px; }
  .cs-headline { font-size: clamp(32px, 8vw, 44px); letter-spacing: -1.4px; }
  .cs-sub { font-size: 15px; }
  .cs-header { margin-bottom: 28px; }
  .cs-topbar-status { display: none; }
}
