/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("images/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
  display: inline-block;
  background: #ff6b6b;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-animation {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 100px;
  height: 100px;
  z-index: 1;
  opacity: 0.8;
}

/* Warning Section */
.warning {
  background: #fff3cd;
  border-bottom: 4px solid #ffeaa7;
  text-align: center;
}

.warning-content h2 {
  color: #856404;
  font-size: 2rem;
  margin-bottom: 15px;
}

.warning-content p {
  font-size: 1.1rem;
  color: #856404;
  max-width: 800px;
  margin: 0 auto;
}

.warning-content img {
  width: 60px;
  height: 60px;
  margin-top: 20px;
}

/* Features Section */
.features {
  background: #f8f9fa;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #2c3e50;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.feature-card p {
  color: #666;
  line-height: 1.5;
}

.feature-animation {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  opacity: 0.7;
}

/* How It Works Section */
.how-it-works {
  text-align: center;
  background: white;
}

.how-it-works h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.how-it-works p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #666;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  flex: 1 1 250px;
  text-align: center;
  padding: 30px 20px;
  background: #f8f9fa;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.step-icon {
  margin-bottom: 20px;
}

.step-svg {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.step p {
  color: #666;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Responsive for steps */
@media (max-width: 768px) {
  .steps-container {
    flex-direction: column;
    gap: 20px;
  }

  .step {
    flex: none;
  }
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  section {
    padding: 60px 15px;
  }
}
