* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #1A1A1A;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

/* Global Canvas */
#global-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

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

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  z-index: 2;
  padding-left: 10%;
}

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

.hero-logo img {
  width: 200px;
  margin-bottom: 2rem;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.5rem;
  color: #D1D1D1;
  margin-bottom: 2rem;
}

.cta-button {
  background: #FFC107;
  color: #000;
  padding: 1rem 2rem;
  border: none;
  font-weight: bold;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.5);
}

/* Common Section Styles */
.mission-section,
.problem-section,
.benefits-section,
.solution-section,
.why-now-section,
.cta-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin: 20px;
  border: 1px solid rgba(255, 193, 7, 0.1);
}

.mission-section h2,
.problem-section h2,
.benefits-section h2,
.solution-section h2,
.why-now-section h2,
.cta-section h2 {
  font-weight: 800;
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 3rem;
  color: #D1D1D1;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.2);
}

/* Problem Section */
.problem-section {
  background-color: rgba(0, 0, 0, 0.02);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat {
  width: 200px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.stat-canvas {
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

.stat p {
  color: #D1D1D1;
  font-size: 1rem;
  margin-top: 1rem;
}

/* Solution Section */
.solution-section {
  background-color: rgba(0, 0, 0, 0.03);
}

.steps-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Step connector line */
.steps-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255, 193, 7, 0.3);
  z-index: 1;
}

.step {
  width: 200px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 193, 7, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
}

.step::before {
  content: attr(data-step-number);
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFC107;
  color: #000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.step-canvas {
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.step h3 {
  color: #D1D1D1;
  font-size: 1.5rem;
  margin: 1rem 0 0.5rem;
}

/* Arrow between steps */
.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  color: #FFC107;
  font-size: 24px;
  z-index: 3;
}

.step p {
  color: #D1D1D1;
  font-size: 1rem;
}

.solution-description {
  color: #D1D1D1;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 2rem auto 0;
  line-height: 1.6;
  padding: 0 20px;
}

/* CTA Section */
.cta-section {
  background-color: rgba(0, 0, 0, 0.05);
}

.cta-section p {
  color: #D1D1D1;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.signup-form {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  perspective: 1000px;
}

.signup-form input,
.signup-form button {
  padding: 1rem;
  font-size: 1rem;
  border: none;
  transform: translateZ(10px);
  transition: transform 0.3s;
}

.signup-form input {
  background: #333;
  color: #fff;
  width: 300px;
}

.signup-form button {
  background: #FFC107;
  color: #000;
  cursor: pointer;
}

.signup-form input:hover,
.signup-form button:hover {
  transform: translateZ(20px);
}

.privacy {
  color: #D1D1D1;
  font-size: 0.9rem;
}

.signup-counter {
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* Mission & Vision Section */
.mission-section {
  background-color: rgba(0, 0, 0, 0.01);
}

.mission-vision-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.mission-box, .vision-box {
  flex: 1;
  min-width: 300px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  border: 1px solid rgba(255, 193, 7, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-box:hover, .vision-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.mission-canvas, .vision-canvas {
  margin-bottom: 20px;
}

.mission-box h3, .vision-box h3 {
  color: #D1D1D1;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.mission-box p, .vision-box p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
  background-color: rgba(0, 0, 0, 0.025);
}

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

.benefit {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 193, 7, 0.1);
}

.benefit:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.benefit h3 {
  color: #D1D1D1;
  margin: 15px 0;
  font-size: 1.4rem;
}

.benefit p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
}

/* Why Now Section */
.why-now-section {
  background-color: rgba(0, 0, 0, 0.035);
}

.why-now-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  padding: 0 40px;
}

#why-now-canvas {
  flex: 0 0 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  aspect-ratio: 1/1; /* Ensure it's a perfect circle */
  width: 200px;
  height: 200px;
}

.why-now-text {
  flex: 1;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-now-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #D1D1D1;
}

.highlight-box {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 5px 5px 0;
}

.highlight-box p {
  font-size: 1.3rem;
  font-weight: 600;
  color: #D1D1D1;
  margin: 0;
}

/* Footer */
.footer {
  padding: 2rem;
  text-align: center;
  color: #D1D1D1;
  border-top: 1px solid #333;
  position: relative;
  z-index: 2;
}

.footer p {
  margin: 0.5rem 0;
  transform: translateZ(5px);
}

.footer a {
  color: #FFC107;
  text-decoration: none;
}

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.3s;
  z-index: 3;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #D1D1D1;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 2px solid #FFC107;
  border-bottom: 2px solid #FFC107;
  transform: rotate(45deg);
  animation: scrollArrow 2s infinite;
}

@keyframes scrollArrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-10px, -10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(10px, 10px);
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  background-color: #1a1a1a;
  margin: 10% auto;
  padding: 0;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 193, 7, 0.3);
  border: 1px solid rgba(255, 193, 7, 0.2);
  position: relative;
  animation: slideIn 0.5s ease-in-out;
  overflow: hidden;
}

.modal-header {
  padding: 20px;
  background-color: #FFC107;
  color: #000;
  border-radius: 10px 10px 0 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 2rem;
  text-align: center;
}

.modal-body {
  padding: 30px;
  text-align: center;
}

.modal-body p {
  color: #D1D1D1;
  font-size: 1.2rem;
  margin: 10px 0;
}

.close-modal {
  color: #000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
  color: #333;
}

/* Success Animation */
.success-animation {
  margin: 20px auto;
  width: 100px;
  height: 100px;
  position: relative;
}

.checkmark {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #4CAF50;
  stroke-miterlimit: 10;
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
  animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #4CAF50;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px rgba(76, 175, 80, 0.1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Center the hero content on mobile */
  .hero-section {
    padding-left: 0;
    justify-content: center;
    text-align: center;
  }
  
  .hero-content {
    padding: 0 20px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .hero-logo img {
    width: 180px; /* Bigger logo on mobile */
  }

  .problem-section h2,
  .solution-section h2,
  .cta-section h2 {
    font-size: 2rem;
  }

  .stats-container {
    flex-direction: column;
    align-items: center;
  }
  
  .steps-container {
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
  }
  
  .steps-container::before {
    /* Change the horizontal line to a vertical line for mobile */
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: 100%;
  }
  
  .step {
    margin-bottom: 30px;
    width: 80%;
  }
  
  .step:not(:last-child)::after {
    /* Change the right arrow to a down arrow for mobile */
    content: '↓';
    right: auto;
    top: auto;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Add more space for the logo in the last fold */
  .cta-section {
    padding-top: 150px; /* Extra space at the top for the logo */
    padding-bottom: 150px; /* Extra space at the bottom for the logo */
  }

  .signup-form {
    margin-top: 50px; /* More space between the form and content above */
    margin-bottom: 100px; /* More space below the form for the logo */
  }

  .signup-form input {
    width: 200px;
  }
  
  .mission-vision-container, .benefits-container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }
  
  .mission-box, .vision-box, .benefit {
    width: 100%;
    max-width: 350px;
  }
  
  .mission-canvas, .vision-canvas, .benefit-canvas {
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto 20px;
    display: block;
  }
  
  .why-now-content {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }
  
  #why-now-canvas {
    margin: 0 auto 20px;
    width: 180px !important;
    height: 150px !important;
    aspect-ratio: 1/1; /* Ensure it's a perfect circle */
    border-radius: 50%;
    overflow: hidden;
    display: block; /* Ensure it's displayed as a block element */
    box-sizing: content-box; /* Ensure padding doesn't affect dimensions */
  }
  
  .why-now-text {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .highlight-box {
    text-align: center;
  }
  
  /* Modal responsive styles */
  .modal-content {
    margin: 20% auto;
    width: 95%;
  }
  
  .modal-header h2 {
    font-size: 1.5rem;
  }
  
  .modal-body p {
    font-size: 1rem;
  }
  
  .success-animation {
    width: 80px;
    height: 80px;
  }
  
  .checkmark {
    width: 80px;
    height: 80px;
  }
}
