/* Reset body margin */
body {
  margin: 0;
  padding: 0;
}

/* Landing Page Styles */
.landing-page {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
}

/* Override shared.css styles for landing page */
.landing-page h1 {
  color: white;
  font-weight: 700;
}

.landing-page h2 {
  color: #2d3748;
  font-weight: 700;
}

.landing-page h3 {
  color: #2d3748;
  font-weight: 600;
  font-size: 1.6rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #002060 50%, #00B3e6 90%);
  color: white;
  padding: 75px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  animation: fadeInDown 0.8s ease-out;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.35rem;
  margin-bottom: 50px;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  line-height: 1.6;
}

.landing-page .cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  margin-top: 40px;
}

.landing-page .btn {
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.landing-page .btn-success-custom {
  background-color: #48a630;
  color: white !important;
}

.landing-page .btn-success-custom:hover {
  background-color: #48a630;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
  color: white !important;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.features-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: #2d3748;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.features-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

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

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: white;
  padding: 50px 35px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #00B3e6;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

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

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #2d3748;
  font-weight: 600;
}

.feature-card p {
  color: #718096;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Success Alert */
.landing-page .alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border: 2px solid #28a745;
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
  animation: slideInDown 0.5s ease-out;
}

.landing-page .alert-success h3 {
  color: #155724;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.landing-page .alert-success strong {
  color: #0f4419;
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 35px;
  }

  .landing-page .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .landing-page .btn {
    width: 100%;
    max-width: 280px;
  }

  .features-section {
    padding: 60px 0;
  }

  .features-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .features-grid {
    gap: 25px;
    margin-top: 40px;
  }

  .feature-card {
    padding: 35px 25px;
  }
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-card {
  background: white;
  padding: 50px 35px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 0 auto;
}

.contact-card h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #2d3748;
  font-weight: 600;
}

.contact-card p {
  font-size: 1.05rem;
  color: #718096;
  margin-bottom: 30px;
  line-height: 1.7;
}

.contact-card .btn {
  padding: 14px 35px;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-card {
    padding: 40px 25px;
  }

  .contact-card h2 {
    font-size: 1.8rem;
  }

  .contact-card p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }

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

  .features-section h2 {
    font-size: 1.7rem;
  }
}
