:root {

  --primary-color: var(--teal-primary);
  --secondary-color: var(--teal-soft);

  --text-primary: var(--white-soft);
  --text-secondary: rgba(248,251,253,0.75);

}
body {

  background:
    linear-gradient(
      180deg,
      var(--navy-dark),
      var(--navy-royal)
    );

  color: var(--white-soft);

  min-height: 100vh;

}

/* ==========================================
   HERO
========================================== */

.risk-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.risk-hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.risk-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
   color: var(--white-pure);
}

.risk-hero h1 span {
  background: var(--gradient-primary);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.risk-hero p {
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ==========================================
   GLOWS
========================================== */

.risk-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  z-index: 0;
}

.risk-glow-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  top: -100px;
  left: -100px;
}

.risk-glow-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary-color);
  bottom: -100px;
  right: -100px;
}

/* ==========================================
   FEATURES
========================================== */

.risk-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.risk-feature {
  padding: 12px 20px;
  border-radius: 999px;

  background: rgba(255,255,255,0.05);

  border: 1px solid rgba(255,255,255,0.08);

  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 0.95rem;
}

.risk-feature i {
  color: #4ade80;
}

/* ==========================================
   SECTION
========================================== */

.risk-section {
  padding: 80px 0;
}

/* ==========================================
   TABS
========================================== */

.assessment-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;

  margin-bottom: 40px;
}

.assessment-tab {
  border: none;
  cursor: pointer;

  padding: 14px 28px;

  border-radius: 999px;

  background: rgba(255,255,255,0.05);

  color: var(--text-primary);

  font-size: 1rem;
  font-weight: 600;

  transition: 0.3s ease;
}

.assessment-tab:hover {
  transform: translateY(-2px);
}

.assessment-tab.active {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );

  color: white;
}

/* ==========================================
   PANELS
========================================== */

.assessment-panel {
  display: none;
}

.assessment-panel.active {
  display: block;
}

/* ==========================================
   CARD
========================================== */

.assessment-card,
.result-card,
.consultation-card {

  background: rgba(255,255,255,0.04);

  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(20px);

  border-radius: 24px;

  padding: 40px;

  max-width: 900px;
  margin: 0 auto 32px;
}

.assessment-card h3,
.consultation-card h3 {

  text-align: center;
  margin-bottom: 30px;

  font-size: 1.8rem;
}

/* ==========================================
   FORMS
========================================== */

.form-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

  gap: 20px;

  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 10px;

  font-weight: 600;

  color: var(--text-primary);
}

.form-group input,
.form-group select {

  padding: 14px 16px;

  border-radius: 14px;

  border: 1px solid rgba(255,255,255,0.1);

  background: rgba(255,255,255,0.05);

  color: white;

  outline: none;

  transition: 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {

  border-color: var(--primary-color);
}

.full-width {
  grid-column: 1 / -1;
}

/* ==========================================
   BUTTON
========================================== */

.assessment-btn {

  display: block;

  width: 100%;

  border: none;

  cursor: pointer;

  padding: 16px;

  border-radius: 14px;

  font-size: 1rem;
  font-weight: 700;

  color: white;

  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );

  transition: 0.3s ease;
}

.assessment-btn:hover {

  transform: translateY(-2px);

  box-shadow:
    0 15px 35px rgba(0,0,0,0.25);
}

/* ==========================================
   RESULT
========================================== */

.result-card {
  text-align: center;
}

.result-score {

  font-size: 3rem;
  font-weight: 800;

  margin-bottom: 12px;
}

.result-category {

  font-size: 1.5rem;
  font-weight: 700;

  margin-bottom: 20px;
}

.result-message {

  max-width: 650px;

  margin: 0 auto;

  line-height: 1.8;

  color: var(--text-secondary);
}

/* ==========================================
   CONSULTATION
========================================== */

.consultation-card p {

  text-align: center;

  max-width: 650px;

  margin: 0 auto 30px;

  line-height: 1.8;

  color: var(--text-secondary);
}

/* ==========================================
   HELPERS
========================================== */

.hidden {
  display: none;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

  .assessment-card,
  .result-card,
  .consultation-card {

    padding: 24px;
  }

  .assessment-tabs {

    flex-direction: column;

    align-items: stretch;
  }

  .assessment-tab {
    width: 100%;
  }

  .risk-features {
    flex-direction: column;
    align-items: center;
  }

  .result-score {
    font-size: 2.3rem;
  }
}
select {
    background-color: #ffffff;
    color: #000000;
}

select option {
    background-color: #ffffff;
    color: #000000;
}
