:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --secondary: #0d9488;
  --accent: #f59e0b;
  --bg-dark: #0f172a;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 30px -10px rgba(15, 23, 42, 0.12);
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--surface-alt);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Navigation */
header.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-badge {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.header-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-meta span.status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
}

/* Main Container */
main.main-content {
  flex: 1;
  max-width: 900px;
  width: 100%;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

/* Hero Section */
.hero-box {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  text-align: center;
}

.hero-box h1 {
  font-size: 2rem;
  color: var(--bg-dark);
  margin-bottom: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero-box p.subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

/* Quiz Card Container */
.quiz-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.quiz-progress-bar-wrap {
  width: 100%;
  background: var(--border);
  height: 8px;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 1.75rem;
}

.quiz-progress-bar {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

.step-indicator {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1.4rem;
  color: var(--bg-dark);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Option Grid */
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 600px) {
  .options-grid.two-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.option-btn {
  background: var(--surface-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  color: var(--text-main);
  position: relative;
}

.option-btn:hover {
  border-color: var(--primary);
  background: #f0f9ff;
  transform: translateY(-1px);
}

.option-btn.selected {
  border-color: var(--primary);
  background: #e0f2fe;
}

.option-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.option-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--bg-dark);
}

.option-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Buttons */
.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.btn {
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  color: var(--text-main);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Lead Form in Final Step */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.2rem;
}

.checkbox-group a {
  color: var(--primary);
  text-decoration: underline;
}

/* Information Box */
.info-notice {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* Footer */
footer.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 3rem 1.5rem 2rem;
  margin-top: auto;
  font-size: 0.85rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-col h5 {
  color: #f8fafc;
  font-size: 1rem;
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.footer-col p {
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-disclaimer {
  border-top: 1px solid #334155;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
}

/* Legal Pages Styling */
.legal-page-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}

.legal-page-card h1 {
  font-size: 1.85rem;
  color: var(--bg-dark);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.75rem;
}

.legal-page-card h2 {
  font-size: 1.25rem;
  color: var(--bg-dark);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-page-card p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.legal-page-card ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page-card li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.registry-details-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

.registry-details-table th, 
.registry-details-table td {
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  text-align: left;
}

.registry-details-table th {
  background: var(--surface-alt);
  color: var(--bg-dark);
  font-weight: 600;
  width: 35%;
}

/* Cookie Banner / Consent */
.consent-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.consent-banner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.consent-banner-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
