/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #111827;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(45deg, #111827 0%, #1f2a44 50%, #172554 100%);
  animation: gradientShift 10s ease-in-out infinite;
}

.bg-animation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="grad" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%2316a34a" stop-opacity="0.15"/><stop offset="100%" stop-color="%2316a34a" stop-opacity="0"/></radialGradient></defs><circle cx="30" cy="30" r="2.5" fill="url(%23grad)"><animate attributeName="opacity" values="0;1;0" dur="2.5s" repeatCount="indefinite"/></circle><circle cx="70" cy="50" r="2" fill="url(%23grad)"><animate attributeName="opacity" values="1;0;1" dur="3.5s" repeatCount="indefinite"/></circle><circle cx="50" cy="80" r="1.5" fill="url(%23grad)"><animate attributeName="opacity" values="0;1;0" dur="2s" repeatCount="indefinite"/></circle></svg>') repeat;
  opacity: 0.25;
}

@keyframes gradientShift {
  0%, 100% { background: linear-gradient(45deg, #111827 0%, #1f2a44 50%, #172554 100%); }
  50% { background: linear-gradient(45deg, #172554 0%, #111827 50%, #1f2a44 100%); }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 40px;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(15px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(22, 163, 74, 0.1);
}

.navbar.scrolled {
  padding: 15px 40px;
  background: rgba(17, 24, 39, 0.98);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.logo {
  font-size: 1.7rem;
  font-weight: 700;
  background: linear-gradient(135deg, #16a34a, #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(135deg, #16a34a, #4ade80);
  transition: width 0.3s ease;
}

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

.nav-cta {
  background: linear-gradient(135deg, #16a34a, #4ade80);
  padding: 10px 25px;
  border-radius: 30px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(22, 163, 74, 0.2);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.85)), url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
}

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

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #16a34a, #4ade80, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #d1d5db;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #16a34a, #4ade80);
  color: #ffffff;
  padding: 15px 35px;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 15px rgba(22, 163, 74, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(22, 163, 74, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #e5e7eb;
  padding: 15px 35px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: #16a34a;
  background: rgba(22, 163, 74, 0.05);
  transform: translateY(-2px);
}

/* Stats Section */
.stats {
  padding: 80px 40px;
  text-align: center;
  background: #1f2a44;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-item {
  padding: 30px 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid rgba(22, 163, 74, 0.1);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-8px);
  border-color: rgba(22, 163, 74, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #16a34a, #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: #d1d5db;
}

/* Features Section */
.features {
  padding: 80px 40px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.05), rgba(31, 42, 68, 0.1));
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #16a34a, #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #d1d5db;
  max-width: 550px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(22, 163, 74, 0.1);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, #16a34a, #4ade80);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(22, 163, 74, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  color: #16a34a;
  margin-bottom: 15px;
}

.feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.feature-description {
  color: #d1d5db;
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  padding: 80px 40px;
}

.pricing-card {
  max-width: 450px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(31, 42, 68, 0.15));
  border-radius: 25px;
  padding: 40px;
  text-align: center;
  border: 2px solid rgba(22, 163, 74, 0.15);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.05), transparent);
  z-index: -1;
}

.pricing-badge {
  background: linear-gradient(135deg, #16a34a, #4ade80);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 25px;
  font-size: 0.85rem;
}

.pricing-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.pricing-amount {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #16a34a, #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.pricing-period {
  color: #d1d5db;
  margin-bottom: 25px;
}

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

.pricing-features li {
  padding: 8px 0;
  color: #d1d5db;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features .fa-check {
  color: #16a34a;
}

/* CTA Section */
.cta-section {
  padding: 80px 40px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(31, 42, 68, 0.15));
  text-align: center;
}

.cta-form {
  max-width: 550px;
  margin: 0 auto;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.form-input {
  flex: 1;
  min-width: 220px;
  padding: 15px 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 0.95rem;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

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

.form-input:focus {
  outline: none;
  border-color: #16a34a;
  background: rgba(255, 255, 255, 0.08);
}

/* Footer */
.footer {
  padding: 40px 40px 20px;
  border-top: 1px solid rgba(22, 163, 74, 0.1);
  text-align: center;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-text {
  color: #9ca3af;
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #16a34a;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.floating {
  animation: float 2.5s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 15px;
  }

  .nav-links {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .stats, .features, .pricing, .cta-section {
    padding: 50px 15px;
  }

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

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

  .form-input {
    min-width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #111827;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #16a34a, #4ade80);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #4ade80, #16a34a);
}