/* css/style.css — Nemonik shared stylesheet */

/* ─── Google Fonts ──────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─── CSS Custom Properties ─────────────────────────────────────────────── */
:root {
  --navy-deep:    #0A1628;
  --navy-mid:     #112240;
  --navy-card:    #1a2f4e;
  --teal:         #00D4FF;
  --teal-dim:     #00a8cc;
  --teal-glow:    rgba(0, 212, 255, 0.15);
  --teal-glow-strong: rgba(0, 212, 255, 0.3);
  --white:        #FFFFFF;
  --white-dim:    rgba(255, 255, 255, 0.7);
  --white-faint:  rgba(255, 255, 255, 0.08);
  --danger:       #FF4E4E;
  --danger-glow:  rgba(255, 78, 78, 0.2);
  --glass-bg:     rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(0, 212, 255, 0.4);
  --radius-card:  16px;
  --radius-btn:   10px;
  --radius-input: 10px;
  --transition:   0.25s ease;
  --font-main:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;
}

/* ─── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--navy-deep);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--white); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-main); border: none; }
input, select, textarea { font-family: var(--font-main); }

/* ─── Animated Background ────────────────────────────────────────────────── */
.bg-animated {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #0d1f3c 50%, var(--navy-deep) 100%);
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;
}

/* ─── Keyframe Animations ────────────────────────────────────────────────── */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes sonarPulse {
  0%   { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(3.5); opacity: 0; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 8px var(--teal-glow); }
  50%       { box-shadow: 0 0 22px var(--teal-glow-strong), 0 0 40px var(--teal-glow); }
}

@keyframes textGlowPulse {
  0%, 100% { text-shadow: 0 0 8px rgba(0, 212, 255, 0.4); }
  50%       { text-shadow: 0 0 20px rgba(0, 212, 255, 0.9), 0 0 40px rgba(0, 212, 255, 0.3); }
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 6px var(--teal); }
  50%       { transform: scale(1.5); opacity: 0.6; box-shadow: 0 0 18px var(--teal), 0 0 30px var(--teal-glow); }
}

@keyframes checkReveal {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 22, 40, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition), border-color var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.88);
  border-bottom-color: rgba(0, 212, 255, 0.15);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-cta .btn-primary {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.85rem 2rem;
  background: var(--teal);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-btn);
  border: 2px solid var(--teal);
  transition: all var(--transition);
  box-shadow: 0 0 14px var(--teal-glow);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy-deep);
  box-shadow: 0 0 28px var(--teal-glow-strong);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--teal);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-btn);
  border: 2px solid rgba(0, 212, 255, 0.4);
  transition: all var(--transition);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: var(--teal);
  background: var(--teal-glow);
  color: var(--white);
  box-shadow: 0 0 18px var(--teal-glow);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.875rem;
}

/* ─── Glass Card ─────────────────────────────────────────────────────────── */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition);
}

.card:hover {
  border-color: rgba(0, 212, 255, 0.25);
  transform: translateY(-2px);
}

/* ─── Teal Divider ───────────────────────────────────────────────────────── */
.teal-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  border: none;
  margin: 0;
  opacity: 0.5;
}

/* ─── Section Shared Styles ──────────────────────────────────────────────── */
.section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.section-title em {
  font-style: italic;
  color: var(--teal);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--white-dim);
  max-width: 620px;
  line-height: 1.7;
}

/* ─── Hero Section ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-headline span {
  color: var(--teal);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--white-dim);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ─── Sonar Pulse ────────────────────────────────────────────────────────── */
.sonar-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  height: 60px;
}

.sonar-dot {
  position: relative;
  width: 10px;
  height: 10px;
}

.sonar-dot .core {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  animation: dotPulse 2s ease-in-out infinite;
}

.sonar-dot .core:nth-child(1) { animation-delay: 0s; }

.sonar-dot .ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  opacity: 0;
  animation: sonarPulse 2s ease-out infinite;
}

.sonar-dot .ring:nth-child(2) { animation-delay: 0s; }
.sonar-dot .ring:nth-child(3) { animation-delay: 0.5s; }
.sonar-dot .ring:nth-child(4) { animation-delay: 1s; }

.sonar-dot:nth-child(2) .core,
.sonar-dot:nth-child(2) .ring { animation-delay: 0.33s; }
.sonar-dot:nth-child(2) .ring:nth-child(3) { animation-delay: 0.83s; }
.sonar-dot:nth-child(2) .ring:nth-child(4) { animation-delay: 1.33s; }

.sonar-dot:nth-child(3) .core,
.sonar-dot:nth-child(3) .ring { animation-delay: 0.66s; }
.sonar-dot:nth-child(3) .ring:nth-child(3) { animation-delay: 1.16s; }
.sonar-dot:nth-child(3) .ring:nth-child(4) { animation-delay: 1.66s; }

/* ─── Risk Section ───────────────────────────────────────────────────────── */
.risk-section {
  background: var(--navy-mid);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 2.5rem;
}

.risk-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 78, 78, 0.15);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition);
}

.risk-card:hover {
  border-color: rgba(255, 78, 78, 0.35);
  transform: translateY(-2px);
}

.risk-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.risk-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.risk-card p {
  font-size: 0.925rem;
  color: var(--white-dim);
  line-height: 1.7;
}

.risk-bottom-line {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal);
  padding: 1.25rem 2rem;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  animation: glowPulse 3s ease-in-out infinite;
  font-style: italic;
}

/* ─── Knowledge Section ──────────────────────────────────────────────────── */
.knowledge-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.knowledge-text {
  font-size: 1.05rem;
  color: var(--white-dim);
  line-height: 1.8;
}

.knowledge-text strong {
  color: var(--white);
  font-weight: 600;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--white-dim);
  opacity: 0;
  animation: checkReveal 0.4s ease forwards;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: var(--white-faint);
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.doc-item:hover {
  border-color: var(--glass-border);
}

.doc-item .check {
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.doc-item:nth-child(1)  { animation-delay: 0.1s; }
.doc-item:nth-child(2)  { animation-delay: 0.2s; }
.doc-item:nth-child(3)  { animation-delay: 0.3s; }
.doc-item:nth-child(4)  { animation-delay: 0.4s; }
.doc-item:nth-child(5)  { animation-delay: 0.5s; }
.doc-item:nth-child(6)  { animation-delay: 0.6s; }
.doc-item:nth-child(7)  { animation-delay: 0.7s; }
.doc-item:nth-child(8)  { animation-delay: 0.8s; }
.doc-item:nth-child(9)  { animation-delay: 0.9s; }

.doc-item.pulse-item {
  color: var(--teal);
  border-color: rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.06);
  animation: checkReveal 0.4s ease forwards, glowPulse 2.5s ease-in-out 1s infinite;
}

/* ─── Feature Rows ───────────────────────────────────────────────────────── */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.feature-icon-box {
  width: 160px;
  height: 160px;
  border-radius: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: glowPulse 4s ease-in-out infinite;
}

.feature-icon-box svg {
  width: 90px;
  height: 90px;
}

.feature-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.feature-content p {
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.8;
}

/* ─── Invitation Section ─────────────────────────────────────────────────── */
.invite-section {
  background: var(--navy-mid);
  text-align: center;
}

.invite-section .section-title {
  margin-left: auto;
  margin-right: auto;
}

.invite-body {
  font-size: 1.05rem;
  color: var(--white-dim);
  line-height: 1.8;
  max-width: 620px;
  margin: 1.5rem auto 2.5rem;
}

.invite-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 3rem 2rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  opacity: 0.85;
}

.footer-brand span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white-dim);
  letter-spacing: -0.01em;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}

/* ─── Signup Page Specific ───────────────────────────────────────────────── */
.signup-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.signup-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.signup-card {
  width: 100%;
  max-width: 500px;
  background: rgba(17, 34, 64, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  animation: fadeInUp 0.5s ease;
}

.signup-card-icon {
  text-align: center;
  margin-bottom: 1.5rem;
}

.signup-card-icon img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto;
  box-shadow: 0 0 28px var(--teal-glow);
}

.signup-card h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.signup-card .card-subtitle {
  font-size: 0.95rem;
  color: var(--white-dim);
  text-align: center;
  margin-bottom: 2rem;
}

/* ─── Form Elements ──────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(10, 22, 40, 0.7);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-input);
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300D4FF' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--navy-card);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

/* Code input special styling */
.code-input {
  font-family: var(--font-mono) !important;
  font-size: 1.8rem !important;
  letter-spacing: 0.35em !important;
  text-align: center !important;
  padding: 1rem !important;
  font-weight: 500 !important;
}

.form-helper {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.4rem;
}

.form-helper a {
  color: var(--teal);
}

.form-error-msg {
  display: none;
  font-size: 0.85rem;
  color: var(--danger);
  margin-top: 0.5rem;
  padding: 0.6rem 0.9rem;
  background: var(--danger-glow);
  border-radius: 8px;
  border: 1px solid rgba(255,78,78,0.2);
}

.form-error-msg.visible {
  display: block;
  animation: fadeInUp 0.2s ease;
}

/* ─── Progress Dots ──────────────────────────────────────────────────────── */
.progress-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.progress-dot.active {
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  width: 24px;
  border-radius: 4px;
}

.progress-dot.done {
  background: var(--teal-dim);
}

.step-label {
  font-size: 0.75rem;
  color: var(--white-dim);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Form Steps ─────────────────────────────────────────────────────────── */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInUp 0.3s ease;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--glass-border);
}

/* ─── Radio Group ────────────────────────────────────────────────────────── */
.radio-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.radio-option {
  flex: 1;
  min-width: 80px;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-option label {
  display: block;
  text-align: center;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-dim);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: none;
  letter-spacing: 0;
}

.radio-option input[type="radio"]:checked + label {
  border-color: var(--teal);
  background: var(--teal-glow);
  color: var(--teal);
  box-shadow: 0 0 10px var(--teal-glow);
}

/* ─── Summary Card ───────────────────────────────────────────────────────── */
.summary-card {
  background: var(--white-faint);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--white-dim);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row .label {
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.summary-row .value {
  color: var(--white);
  font-weight: 500;
}

.privacy-box {
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--teal);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* ─── Checkbox ───────────────────────────────────────────────────────────── */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--teal);
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.875rem;
  color: var(--white-dim);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

/* ─── Success Screen ─────────────────────────────────────────────────────── */
.success-screen {
  display: none;
  text-align: center;
  padding: 1rem 0;
  animation: fadeInUp 0.5s ease;
}

.success-screen.visible {
  display: block;
}

.success-screen img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 40px var(--teal-glow-strong);
}

.success-screen h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.success-screen p {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.sonar-center {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.sonar-large {
  position: relative;
  width: 20px;
  height: 20px;
}

.sonar-large .core {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  animation: dotPulse 2s ease-in-out infinite;
}

.sonar-large .ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  opacity: 0;
  animation: sonarPulse 2.5s ease-out infinite;
}

.sonar-large .ring:nth-child(2) { animation-delay: 0s; }
.sonar-large .ring:nth-child(3) { animation-delay: 0.6s; }
.sonar-large .ring:nth-child(4) { animation-delay: 1.2s; }

/* ─── Char Counter ───────────────────────────────────────────────────────── */
.char-counter {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-align: right;
  margin-top: 0.3rem;
  font-family: var(--font-mono);
}

/* ─── Waitlist Switch ────────────────────────────────────────────────────── */
.mode-switch {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.mode-switch a {
  color: var(--teal);
  font-weight: 500;
}

/* ─── Vessel SVG Icons ───────────────────────────────────────────────────── */
.vessel-svg { color: var(--teal); }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .risk-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }

  .feature-icon-wrap {
    min-height: auto;
  }

  .feature-icon-box {
    width: 100px;
    height: 100px;
  }

  .feature-icon-box svg {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 1.25rem;
  }

  .site-header {
    padding: 0 1.25rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .invite-ctas {
    flex-direction: column;
    align-items: center;
  }

  .invite-ctas .btn-primary,
  .invite-ctas .btn-ghost {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .signup-card {
    padding: 2rem 1.5rem;
  }

  .signup-main {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }

  .brand-name {
    font-size: 1rem;
  }
}
