:root {
  --primary-color: #1e3a8a;
  --secondary-color: #fbbf24;
  --accent-color: #10b981;
  --text-color: #1f2937;
  --light-color: #f9fafb;
  --dark-color: #111827;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light-color);
  color: var(--text-color);
  line-height: 1.6;
}

.header {
  background-color: rgba(255, 255, 255, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: var(--transition);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.8rem;
  transition: var(--transition);
}

.logo-icon {
  margin-right: 10px;
  font-size: 2rem;
  color: var(--secondary-color);
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a:hover::after {
  width: 100%;
}

.active-link {
  color: var(--primary-color) !important;
  font-weight: 600 !important;
}

.active-link::after {
  width: 100% !important;
  background-color: var(--accent-color) !important;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), #2563eb);
  color: white;
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,218.7C672,235,768,245,864,218.7C960,192,1056,128,1152,117.3C1248,107,1344,149,1392,170.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

.btn {
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

.btn-primary:hover {
  background-color: #f59e0b;
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }

  100% {
    transform: translateY(0) rotate(360deg);
  }
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0;
    height: 0;
    top: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    width: 100%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in, height 0.5s ease;
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .nav-links li {
    margin: 15px 0;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .burger {
    display: block;
  }

  .nav-active {
    transform: translateX(0%);
    height: 200px;
    padding: 20px 0;
  }

  .nav-active li {
    opacity: 1;
    transform: translateX(0);
  }

  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .toggle .line2 {
    opacity: 0;
  }

  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

/* Additional Styles for the new sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-title p {
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
}

/* Why Invest Section */
.why-invest {
  background-color: white;
}

.benefits-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.benefit-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  flex: 1 1 300px;
  max-width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
  z-index: -1;
}

.benefit-card:hover::before {
  width: 100%;
  opacity: 0.05;
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  display: inline-block;
  padding: 15px;
  background-color: rgba(251, 191, 36, 0.1);
  border-radius: 50%;
}

.benefit-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.benefit-card p {
  color: #4b5563;
  line-height: 1.7;
}

/* Investment Options Section */
.investment-options {
  background-color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.investment-options::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(251, 191, 36, 0.1) 0%,
    rgba(251, 191, 36, 0) 70%
  );
  border-radius: 50%;
}

.investment-options::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(30, 58, 138, 0.05) 0%,
    rgba(30, 58, 138, 0) 70%
  );
  border-radius: 50%;
}

.options-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.option-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.option-card:hover {
  transform: translateY(-5px);
}

.option-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.option-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}

.option-content {
  padding: 25px;
}

.option-card h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.option-icon {
  margin-right: 10px;
  color: var(--secondary-color);
  font-size: 1.6rem;
}

.option-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.option-list li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  color: #4b5563;
}

.option-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.learn-more {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.learn-more::after {
  content: "→";
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}

.learn-more:hover::after {
  margin-left: 10px;
}

@media screen and (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .benefit-card,
  .option-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ===== Common Section Styles ===== */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background-color: rgba(251, 191, 36, 0.1);
  color: #1e3a8a;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  color: #1e3a8a;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: #fbbf24;
}

.section-description {
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 700px;
  margin: 20px auto 0;
}

.btn-primary,
.btn-secondary,
.btn-large {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: #fbbf24;
  color: #1f2937;
  border: none;
}

.btn-primary:hover {
  background-color: #f59e0b;
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: #1e3a8a;
  border: 2px solid #1e3a8a;
}

.btn-secondary:hover {
  background-color: rgba(30, 58, 138, 0.05);
  transform: translateY(-3px);
}

.btn-large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* ===== Getting Started Section ===== */
.getting-started {
  background-color: #f9fafb;
  position: relative;
}

.getting-started::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(30, 58, 138, 0.05) 0%,
    rgba(30, 58, 138, 0) 70%
  );
  border-radius: 50%;
}

.steps-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto 60px;
}

.step-timeline {
  position: relative;
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e3a8a, #10b981);
  border-radius: 2px;
  z-index: 1;
}

.timeline-start,
.timeline-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-bottom: 8px;
}

.timeline-start .timeline-dot {
  background-color: #1e3a8a;
}

.timeline-end .timeline-dot {
  background-color: #10b981;
}

.timeline-start span,
.timeline-end span {
  font-size: 0.9rem;
  font-weight: 600;
}

.timeline-start span {
  color: #1e3a8a;
}

.timeline-end span {
  color: #10b981;
}

.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.step-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  position: relative;
  display: flex;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #1e3a8a, #10b981);
  border-radius: 2px;
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1e3a8a;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(251, 191, 36, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.step-image {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.step-title {
  font-size: 1.4rem;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.step-description {
  color: #4b5563;
  margin-bottom: 15px;
  line-height: 1.6;
}

.step-tip {
  background-color: rgba(16, 185, 129, 0.05);
  border-left: 3px solid #10b981;
  padding: 15px;
  border-radius: 0 5px 5px 0;
  margin-top: 15px;
}

.tip-label {
  display: inline-block;
  font-weight: 600;
  color: #10b981;
  margin-bottom: 5px;
}

.step-platforms {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.platform-logo {
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.step-calculator,
.calculator-preview {
  background-color: #f9fafb;
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
}

.calculator-label,
.calculator-text {
  color: #6b7280;
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.calculator-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e3a8a;
}

.calculator-link {
  display: inline-block;
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
  position: relative;
}

.calculator-link::after {
  content: "→";
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}

.calculator-link:hover::after {
  margin-left: 10px;
}

.portfolio-chart {
  margin-top: 20px;
  background-color: #f9fafb;
  border-radius: 8px;
  padding: 20px;
}

.portfolio-item {
  position: relative;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
  background-color: #e5e7eb;
}

.portfolio-item:nth-child(1) {
  background-color: rgba(30, 58, 138, 0.7);
}

.portfolio-item:nth-child(2) {
  background-color: rgba(16, 185, 129, 0.7);
}

.portfolio-item:nth-child(3) {
  background-color: rgba(251, 191, 36, 0.7);
}

.portfolio-item:nth-child(4) {
  background-color: rgba(239, 68, 68, 0.7);
}

.portfolio-label,
.portfolio-percentage {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.portfolio-label {
  left: 10px;
}

.portfolio-percentage {
  right: 10px;
}

.action-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
}

/* ===== Risk Management Section ===== */
.risk-management {
  background-color: white;
}

.risk-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.risk-visual {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.risk-meter {
  position: relative;
  width: 280px;
  height: 140px;
  margin-bottom: 40px;
}

.risk-scale {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #f9fafb;
  border-radius: 140px 140px 0 0;
  overflow: hidden;
}

.risk-level {
  position: absolute;
  width: 100%;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.risk-level.high {
  background-color: rgba(239, 68, 68, 0.2);
  height: 33.33%;
  top: 0;
  border-radius: 140px 140px 0 0;
  padding-top: 10px;
  color: #ef4444;
}

.risk-level.medium {
  background-color: rgba(251, 191, 36, 0.2);
  height: 33.33%;
  top: 33.33%;
  color: #f59e0b;
  padding-top: 20px;
}

.risk-level.low {
  background-color: rgba(16, 185, 129, 0.2);
  height: 33.33%;
  top: 66.66%;
  color: #10b981;
  padding-top: 15px;
}

.risk-needle {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform-origin: bottom center;
  width: 4px;
  height: 120px;
  background-color: #1f2937;
  border-radius: 4px;
  z-index: 2;
  transform: translateX(-50%) rotate(-60deg);
  transition: transform 1s ease;
}

.risk-needle::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background-color: #1f2937;
  border-radius: 50%;
}

.risk-main-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.risk-tips {
  flex: 1 1 500px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.risk-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.risk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.risk-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(251, 191, 36, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.risk-icon-image {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.risk-tip-title {
  font-size: 1.3rem;
  color: #1e3a8a;
  margin-bottom: 12px;
}

.risk-tip-description {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 20px;
}

.resources-block,
.warning-signs,
.verification-block {
  background-color: #f9fafb;
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
}

.resources-title,
.warning-title {
  font-size: 1rem;
  color: #1e3a8a;
  margin-bottom: 10px;
  font-weight: 600;
}

.resources-list,
.warning-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resources-list li,
.warning-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.resources-list li::before,
.warning-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

.warning-list li::before {
  color: #ef4444;
}

.resources-list a {
  color: #1e3a8a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.resources-list a:hover {
  color: #fbbf24;
  text-decoration: underline;
}

.verification-link {
  display: inline-block;
  background-color: #1e3a8a;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-bottom: 15px;
}

.verification-link:hover {
  background-color: #1e40af;
}

.regulators {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

.regulator-logo {
  background-color: white;
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cta-container {
  background-color: #1e3a8a;
  border-radius: 10px;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-message {
  flex: 1 1 350px;
}

.cta-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.cta-description {
  opacity: 0.9;
  line-height: 1.6;
}

.cta-container .btn-primary {
  flex: 0 0 auto;
  background-color: #fbbf24;
  color: #1f2937;
}

.cta-container .btn-primary:hover {
  background-color: #f59e0b;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .action-container,
  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .step-card {
    flex-direction: column;
  }

  .step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .risk-card {
    padding: 20px;
  }

  .cta-container {
    padding: 30px 20px;
  }

  .risk-tips {
    grid-template-columns: 1fr;
  }

  .risk-meter {
    width: 220px;
    height: 110px;
  }
}

/* Animations */
@keyframes needleSwing {
  0% {
    transform: translateX(-50%) rotate(-60deg);
  }
  50% {
    transform: translateX(-50%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) rotate(-30deg);
  }
}

.step-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.step-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.risk-needle.animate {
  animation: needleSwing 2s ease-in-out forwards;
}

/* Animation delay for step cards */
.step-card:nth-child(1) {
  transition-delay: 0.1s;
}
.step-card:nth-child(2) {
  transition-delay: 0.2s;
}
.step-card:nth-child(3) {
  transition-delay: 0.3s;
}
.step-card:nth-child(4) {
  transition-delay: 0.4s;
}
.step-card:nth-child(5) {
  transition-delay: 0.5s;
}

/* Base Styles */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #fbbf24;
  --accent-color: #10b981;
  --text-color: #1f2937;
  --light-color: #f9fafb;
  --dark-color: #111827;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Signup Section Styles */
.signup-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
  position: relative;
  overflow: hidden;
}

.signup-bg-shape {
  position: absolute;
  background-color: rgba(30, 58, 138, 0.03);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  width: 600px;
  height: 600px;
  z-index: 0;
}

.shape-1 {
  top: -250px;
  right: -150px;
  transform: rotate(45deg);
}

.shape-2 {
  bottom: -300px;
  left: -200px;
  transform: rotate(25deg);
  background-color: rgba(251, 191, 36, 0.03);
  width: 700px;
  height: 700px;
}

.signup-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.signup-content {
  flex: 1 1 400px;
}

.signup-form-container {
  flex: 1 1 500px;
}

.signup-badge {
  display: inline-block;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.signup-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.signup-description {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 25px;
}

.features-list {
  list-style: none;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-size: 0.9rem;
}

.feature-text {
  font-size: 1.05rem;
  color: #4b5563;
}

.signup-form {
  background-color: white;
  border-radius: 15px;
  box-shadow: var(--shadow);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.signup-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color),
    var(--accent-color)
  );
  z-index: 1;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  font-size: 1rem;
  color: var(--text-color);
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
  outline: none;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-col {
  flex: 1;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.checkbox-input {
  margin-right: 10px;
  margin-top: 4px;
}

.checkbox-label {
  font-size: 0.95rem;
  color: #6b7280;
}

.checkbox-label a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.btn-submit {
  display: inline-block;
  width: 100%;
  padding: 14px 25px;
  background: linear-gradient(to right, var(--primary-color), #2563eb);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #6b7280;
}

/* Footer Styles */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 70px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.footer-logo-icon {
  margin-right: 10px;
  font-size: 2rem;
  color: var(--secondary-color);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-column-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-link:hover {
  color: white;
  transform: translateX(5px);
}

.contact-item {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.contact-icon {
  width: 20px;
  height: 20px;
  margin-right: 15px;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.contact-text {
  color: rgba(255, 255, 255, 0.7);
}

.contact-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.contact-link:hover {
  color: white;
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 5px 0 0 5px;
  padding: 10px 15px;
  color: white;
  font-size: 0.95rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-button {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  border: none;
  border-radius: 0 5px 5px 0;
  padding: 0 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-button:hover {
  background-color: #f59e0b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.copyright a {
  color: var(--secondary-color);
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .signup-section {
    padding: 70px 0;
  }

  .signup-title {
    font-size: 2rem;
  }

  .signup-form {
    padding: 30px 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .social-links {
    margin-bottom: 20px;
  }
}

/* Responsive Header Fixes */

/* Base header fixes */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1001; /* Keep logo above mobile menu */
}

/* Mobile menu button improvements */
.burger {
  display: none;
  cursor: pointer;
  z-index: 1001; /* Keep burger above mobile menu */
  width: 30px;
  height: 24px;
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
}

.burger div {
  width: 100%;
  height: 3px;
  background-color: #1e3a8a;
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hero section padding adjustment for fixed header */
.hero {
  padding-top: 120px; /* Adjust based on header height */
}

/* Improved responsive styles */
@media screen and (max-width: 992px) {
  .nav-links {
    padding-left: 0;
  }

  .nav-links li {
    margin-left: 20px;
  }
}

@media screen and (max-width: 768px) {
  /* Better mobile menu toggle styling */
  .burger {
    display: block;
  }

  .nav-links {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in;
    padding: 0;
    margin: 0;
  }

  .nav-links li {
    margin: 0;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .nav-active {
    transform: translateX(0%);
  }

  .nav-active li {
    opacity: 1;
    transform: translateX(0);
  }

  /* Burger animation improvements */
  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .toggle .line2 {
    opacity: 0;
  }

  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  /* Fix for the logo on mobile */
  .logo {
    font-size: 1.5rem;
  }

  .logo-icon {
    font-size: 1.8rem;
  }

  /* Adjust hero for smaller screens */
  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
  }
}

/* Additional fixes for very small screens */
@media screen and (max-width: 480px) {
  .nav-container {
    padding: 10px 0;
  }

  .logo {
    font-size: 1.3rem;
  }

  .logo-icon {
    font-size: 1.6rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }
}

