/* ============================================
   RESEARCHOMETRY.COM — Redesigned Stylesheet
   Color: Deep Midnight + Electric Teal + Violet
   Fonts: Cormorant Garamond + Outfit
   ============================================ */

:root {
  /* New color palette */
  --midnight:   #0D1117;
  --deep:       #111827;
  --panel:      #1A2235;
  --panel-lt:   #202D42;
  --violet:     #845EF7;
  --violet-lt:  #A78BFA;
  --teal:       #00C9A7;
  --teal-lt:    #5EEAD4;
  --coral:      #FF6B6B;
  --gold:       #FFD166;
  --white:      #FFFFFF;
  --off-white:  #F8FAFC;
  --text:       #1E293B;
  --text-2:     #475569;
  --text-3:     #94A3B8;
  --border:     #E2E8F0;
  --border-dk:  #334155;
  --bg:         #F1F5F9;

  --shadow-sm:  0 2px 8px rgba(13,17,23,0.08);
  --shadow:     0 6px 24px rgba(13,17,23,0.12);
  --shadow-lg:  0 16px 56px rgba(13,17,23,0.18);
  --shadow-xl:  0 24px 80px rgba(13,17,23,0.28);

  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --font-head:  'Cormorant Garamond', Georgia, serif;
  --font-body:  'Outfit', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--violet); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal); }
img { max-width: 100%; display: block; }

/* ===== UTILITIES ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(135deg, var(--violet) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section { padding: 90px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,201,167,0.1);
  border: 1px solid rgba(0,201,167,0.25);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto 44px;
  text-align: center;
  line-height: 1.7;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--violet), var(--teal));
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 34px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, opacity .2s;
  box-shadow: 0 4px 20px rgba(132,94,247,0.4);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(132,94,247,0.55); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(13,17,23,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 24px;
  gap: 24px;
}
.logo-link { display: flex; align-items: center; }
.logo-svg { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 7px 16px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--bg); color: var(--text); }
.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--violet), var(--teal));
  color: #fff !important;
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 3px 14px rgba(132,94,247,0.35);
}
.nav-links .nav-cta:hover { background: linear-gradient(135deg, var(--violet), var(--teal)); opacity: 0.9; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--midnight);
  overflow: hidden;
  padding: 80px 24px;
  gap: 48px;
}

/* Noise texture overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
}
.blob-1 { width: 580px; height: 580px; background: var(--violet); top: -120px; right: -100px; animation: blobFloat 10s ease-in-out infinite; }
.blob-2 { width: 400px; height: 400px; background: var(--teal); bottom: -80px; left: -80px; animation: blobFloat 13s ease-in-out infinite reverse; }
.blob-3 { width: 280px; height: 280px; background: var(--coral); top: 45%; left: 32%; animation: blobFloat 16s ease-in-out infinite 2s; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(24px,-24px) scale(1.04); }
  66% { transform: translate(-18px,18px) scale(0.97); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  color: var(--white);
  animation: fadeUp .8s ease both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(132,94,247,0.18);
  border: 1px solid rgba(132,94,247,0.35);
  color: var(--violet-lt);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeUp .8s ease .1s both;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 22px;
  animation: fadeUp .8s ease .2s both;
  letter-spacing: -0.5px;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--teal-lt), var(--violet-lt));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.68);
  margin-bottom: 36px;
  line-height: 1.75;
  animation: fadeUp .8s ease .3s both;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
  animation: fadeUp .8s ease .4s both;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 28px; font-weight: 700; color: var(--white); font-family: var(--font-head); }
.stat span { font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: .5px; }
.stat-div { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

.hero-btn { animation: fadeUp .8s ease .5s both; }

.hero-visual {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 440px;
  margin-left: auto;
  animation: fadeUp .9s ease .35s both;
}
.hero-illustration { width: 100%; filter: drop-shadow(0 24px 64px rgba(0,0,0,0.4)); }

/* ===== ABOUT ===== */
.about-section { background: var(--white); text-align: center; }
.about-section h2 { font-family: var(--font-head); font-size: clamp(30px,4vw,46px); margin-bottom: 52px; font-weight: 700; letter-spacing: -0.3px; }

.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.about-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: left;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.about-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.about-card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.about-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.about-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ===== HOW IT WORKS ===== */
.hiw-section {
  background: var(--deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hiw-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(132,94,247,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hiw-section .section-label { background: rgba(0,201,167,0.1); border-color: rgba(0,201,167,0.2); color: var(--teal); }
.hiw-section h2 {
  font-family: var(--font-head);
  font-size: clamp(30px,4vw,46px);
  margin-bottom: 56px;
  color: var(--white);
  font-weight: 700;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  max-width: 280px;
  flex: 1;
  min-width: 220px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform .25s, background .25s, border-color .25s;
}
.step:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(132,94,247,0.4);
}
.step-num { font-size: 12px; font-weight: 700; color: var(--violet-lt); letter-spacing: 2px; margin-bottom: 10px; }
.step-icon { font-size: 34px; margin-bottom: 16px; }
.step h3 { font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.step p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.step-arrow { font-size: 24px; color: rgba(255,255,255,0.2); margin-top: 80px; flex-shrink: 0; }

/* ===== SPECIALIZATIONS ===== */
.spec-section { background: var(--off-white); text-align: center; }
.spec-section h2 { font-family: var(--font-head); font-size: clamp(30px,4vw,46px); margin-bottom: 16px; font-weight: 700; }

.spec-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}
.spec-tag {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 100px;
  transition: all .22s;
  cursor: default;
  box-shadow: var(--shadow-sm);
}
.spec-tag:hover {
  background: linear-gradient(135deg, var(--violet), var(--teal));
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(132,94,247,0.3);
}

/* ===== REGISTRATION FORM ===== */
.form-section {
  background: var(--deep);
  position: relative;
  overflow: hidden;
}
.form-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,201,167,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(132,94,247,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.form-section::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.form-container { position: relative; z-index: 2; }

.form-header { text-align: center; margin-bottom: 52px; color: var(--white); }
.form-header .section-label { background: rgba(132,94,247,0.15); border-color: rgba(132,94,247,0.3); color: var(--violet-lt); }
.form-header h2 {
  font-family: var(--font-head);
  font-size: clamp(30px,4vw,46px);
  color: var(--white);
  font-weight: 700;
}
.form-header p { color: rgba(255,255,255,0.6); font-size: 16px; margin-top: 14px; font-weight: 300; }

#registration-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.05);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }

.form-section-title {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--violet);
  border-bottom: 2px solid var(--border);
  padding-bottom: 10px;
  margin-top: 16px;
}

.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group.full-width { grid-column: 1 / -1; }
.field-group.phone-group { grid-column: span 1; }

label { font-size: 13px; font-weight: 600; color: var(--text); display: block; }
.req { color: var(--coral); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--off-white);
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
  -webkit-appearance: none;
}
input:focus, select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(132,94,247,0.14);
  background: var(--white);
}
input.error, select.error { border-color: var(--coral); }

.field-hint { font-size: 12px; color: var(--text-3); }
.field-error { font-size: 12px; color: var(--coral); font-weight: 500; display: none; }
.field-error.visible { display: block; }

.phone-row { display: flex; gap: 8px; }
.phone-row select { width: 135px; flex-shrink: 0; }
.phone-row input { flex: 1; }

.pwd-wrap { position: relative; }
.pwd-wrap input { padding-right: 46px; }
.pwd-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; font-size: 16px;
  color: var(--text-3); padding: 4px;
  transition: color .2s;
}
.pwd-toggle:hover { color: var(--violet); }

.pwd-strength {
  height: 4px; border-radius: 2px; background: var(--border);
  margin-top: 6px; overflow: hidden;
}
.pwd-strength::after {
  content: ''; display: block; height: 100%;
  border-radius: 2px; transition: width .3s, background .3s;
  width: var(--strength-width, 0%);
  background: var(--strength-color, var(--coral));
}

/* RADIO BUTTONS */
fieldset { border: none; }
legend { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 12px; display: block; width: 100%; }

.radio-grid, .radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.radio-label, .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 10px 15px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--off-white);
  transition: border-color .2s, background .2s, box-shadow .2s;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  user-select: none;
}
.radio-label:hover, .checkbox-label:hover {
  border-color: var(--violet);
  background: rgba(132,94,247,0.05);
  box-shadow: 0 2px 8px rgba(132,94,247,0.1);
}
.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] { display: none; }

.radio-custom, .checkbox-custom {
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  transition: border-color .2s, background .2s;
  position: relative;
  background: var(--white);
}
.checkbox-custom { border-radius: 5px; }

.radio-label input[type="radio"]:checked ~ .radio-custom {
  border-color: var(--violet);
  background: var(--violet);
}
.radio-label input[type="radio"]:checked ~ .radio-custom::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: white;
}
.radio-label:has(input:checked) {
  border-color: var(--violet);
  background: rgba(132,94,247,0.07);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom {
  border-color: var(--teal);
  background: var(--teal);
}
.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom::after {
  content: '✓';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 11px;
  color: white;
  font-weight: 700;
}
.checkbox-label:has(input:checked) {
  border-color: var(--teal);
  background: rgba(0,201,167,0.07);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.checkbox-label div { display: flex; flex-direction: column; gap: 2px; }
.checkbox-label strong { font-size: 13px; font-weight: 600; color: var(--text); }
.checkbox-label em { font-size: 11px; font-style: normal; color: var(--text-3); }

.terms-label {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  align-items: flex-start;
}
.terms-label span { font-size: 13px; color: var(--text-2); line-height: 1.65; }
.terms-label a { color: var(--violet); font-weight: 600; text-decoration: underline; }

/* UPLOAD ZONE */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  background: var(--off-white);
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--violet);
  background: rgba(132,94,247,0.04);
  box-shadow: 0 0 0 4px rgba(132,94,247,0.08);
}
.upload-icon { font-size: 38px; margin-bottom: 10px; }
.upload-text { font-size: 15px; color: var(--text-2); margin-bottom: 6px; }
.upload-text strong { color: var(--violet); }
.upload-info { font-size: 12px; color: var(--text-3); }
.upload-filename { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--teal); }

/* CAPTCHA */
.captcha-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha-box {
  background: linear-gradient(135deg, #EDE9FE, #CCFBF1);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 10px 20px;
  font-family: 'Courier New', monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 8px;
  color: var(--deep);
  user-select: none;
  min-width: 150px;
  text-align: center;
  position: relative;
}
.captcha-box::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 5px,
    rgba(132,94,247,0.04) 5px, rgba(132,94,247,0.04) 10px
  );
  border-radius: 8px;
}
.captcha-refresh {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  font-family: var(--font-body);
}
.captcha-refresh:hover { border-color: var(--violet); color: var(--violet); }
.captcha-row input { flex: 1; min-width: 140px; }

/* SUBMIT */
.submit-row { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 10px; }
.submit-btn { font-size: 16px; padding: 16px 52px; border-radius: 50px; width: 100%; max-width: 380px; justify-content: center; letter-spacing: 0.3px; }
.submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.submit-note { font-size: 12px; color: var(--text-3); text-align: center; }

/* ===== TESTIMONIALS ===== */
.testimonial-section { background: var(--white); text-align: center; }
.testimonial-section h2 { font-family: var(--font-head); font-size: clamp(30px,4vw,46px); margin-bottom: 52px; font-weight: 700; }

.test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; align-items: start; }
.test-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.test-card::after {
  content: '\201C';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 80px;
  line-height: 1;
  font-family: var(--font-head);
  color: var(--violet);
  opacity: 0.1;
}
.test-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.test-card.featured { border-color: var(--violet); box-shadow: 0 8px 32px rgba(132,94,247,0.18); }
.test-card.featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--teal));
}
.test-card p { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 22px; font-style: italic; }
.test-card footer strong { font-size: 14px; color: var(--text); display: block; font-weight: 600; }
.test-card footer cite { font-size: 12px; color: var(--text-3); font-style: normal; }

/* ===== FOOTER ===== */
.site-footer { background: var(--midnight); color: rgba(255,255,255,0.6); padding: 64px 0 0; }
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 52px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
}
.footer-brand p { font-size: 14px; margin-top: 16px; line-height: 1.75; font-weight: 300; }
.footer-email { margin-top: 12px !important; }
.footer-email a { color: var(--teal); }
.footer-links h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color .2s; font-weight: 300; }
.footer-links a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 22px 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero { flex-direction: column; padding: 64px 24px 44px; text-align: center; min-height: auto; }
  .hero-content { max-width: 100%; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin-top: 0; }
  .checkbox-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
    box-shadow: var(--shadow);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 14px; }
  .hamburger { display: flex; }
  .nav-inner { position: relative; }

  #registration-form { padding: 32px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-group.full-width { grid-column: 1; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .phone-row { flex-direction: column; }
  .phone-row select { width: 100%; }
  .captcha-row { flex-direction: column; align-items: stretch; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .stat-div { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .hero h1 { font-size: 34px; }
  .submit-btn { padding: 14px 24px; }
  .logo-svg { height: 38px; }
}
