:root {
  --primary-green: #1d8348;
  --secondary-purple: #1a0938;
  --accent-green: #16a34a;
}

/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--secondary-purple);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid var(--accent-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-text {
  color: white;
  margin-top: 20px;
  font-size: 16px;
  text-align: center;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

body {
  font-family: 'Questrial', sans-serif;
  background: url('bg.png') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 1;
}

.nav-link {
  color: #fff !important;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 18px;
}

.nav-link:hover {
  color: var(--accent-green) !important;
}

.btn-custom {
  background: #fff;
  color: #000;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 18px;
  padding: 10px 25px;
  white-space: nowrap;
}

.btn-custom:hover {
  background: var(--accent-green);
  color: #fff;
}

.form-control {
  border: 1.5px solid #fff;
  border-radius: 25px;
  background: transparent;
  color: #fff;
  padding: 0.8rem 1.2rem;
  font-size: 16px;
}

.form-control::placeholder {
  color: rgba(255,255,255,0.7);
}

.form-check-input:checked {
  background-color: var(--accent-green);
  border-color: var(--accent-green);
}

.form-check-label {
  font-size: 16px;
}

.main-content {
  flex: 1;
}

footer {
  font-size: 14px;
  margin-top: 2rem;
  color: rgba(255,255,255,0.7);
  padding: 1rem 0;
}

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

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

.social-links a {
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-green);
}

.page-section {
  display: none;
  padding: 2rem 0;
  min-height: 70vh;
}

.page-section.active {
  display: block;
}

/* Logo styling */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 27px;
  color: white;
}

.logo-text {
  font-weight: 700;
  font-size: 30px;
}

/* Menu icon styling */
.menu-icon {
  font-size: 1.5rem;
  color: white;
  transition: transform 0.3s ease;
}

.menu-icon.rotate {
  transform: rotate(90deg);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--secondary-purple);
  z-index: 1050;
  transition: left 0.4s ease;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  left: 0;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.mobile-menu-nav .nav-link {
  font-size: 1.5rem;
  padding: 0.5rem 0;
}

.close-menu {
  align-self: flex-end;
  font-size: 1.8rem;
  color: white;
  background: none;
  border: none;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.close-menu:hover {
  transform: rotate(90deg);
}

/* Contact info in mobile menu */
.mobile-contact-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-item i {
  margin-right: 10px;
  width: 20px;
  color: var(--accent-green);
}

/* Mobile footer */
.mobile-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.mobile-footer .social-links {
  justify-content: flex-start;
  margin-top: 1rem;
}

/* Content width adjustments */
.content-container {
  max-width: 600px;
  margin-left: 0;
}

/* Typography sizes */
.almost-there {
  font-size: 22px;
  margin-bottom: 10px;
}

.coming-soon {
  font-size: 150px;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 20px;
}

.content-text {
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Form layout adjustments */
.form-row {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.form-check {
  margin-bottom: 0;
  flex: 1;
  min-width: 250px;
}

.form-check-label {
  white-space: nowrap;
}

/* Pricing Section */
.pricing-section {
  text-align: center;
  padding: 4rem 1rem;
  animation: fadeIn 1.5s ease;
}

.pricing-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.pricing-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 60px;
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.pricing-card {
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2.5rem 1.8rem;
  width: 320px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: slideUp 1.5s ease forwards;
  transform: translateY(50px);
  opacity: 0;
}

.pricing-card:nth-child(1) { animation-delay: 0.3s; }
.pricing-card:nth-child(2) { animation-delay: 0.6s; }
.pricing-card:nth-child(3) { animation-delay: 0.9s; }

.pricing-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  border: 1.5px solid var(--accent-green);
}

.plan-name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--accent-green);
}

.plan-price {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 15px;
}

.plan-price span {
  font-size: 20px;
  color: rgba(255,255,255,0.7);
}

.plan-features {
  text-align: left;
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.7;
}

.plan-features li {
  list-style: none;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.plan-features li i {
  color: var(--accent-green);
  margin-right: 10px;
  font-size: 1rem;
}

/* Features Section */
.features-section {
  padding: 5rem 1rem;
  text-align: center;
  animation: fadeIn 1.5s ease;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  backdrop-filter: blur(10px);
  animation: slideUp 1.5s ease forwards;
  transform: translateY(50px);
  opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border: 1.5px solid var(--accent-green);
}

.feature-icon {
  font-size: 3.5rem;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.feature-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

/* About Section */
.about-section {
  padding: 4rem 1rem;
  animation: fadeIn 1.5s ease;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 5rem;
}

.about-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.stats-section {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 4rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  min-width: 200px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

.values-section {
  margin: 5rem 0;
}

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

.value-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border: 1.5px solid var(--accent-green);
}

.value-icon {
  font-size: 3rem;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

.team-section {
  margin: 5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.team-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 3px solid var(--accent-green);
}

.btn-custom {
  background: var(--accent-green);
  color: #fff;
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

.btn-custom:hover {
  background: #fff;
  color: #000;
}

/* How It Works Section */
.how-it-works-section {
  padding: 5rem 1rem;
  text-align: center;
  animation: fadeIn 1.5s ease;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  backdrop-filter: blur(10px);
  animation: slideUp 1.5s ease forwards;
  transform: translateY(50px);
  opacity: 0;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }
.step-card:nth-child(5) { animation-delay: 0.5s; }
.step-card:nth-child(6) { animation-delay: 0.6s; }

.step-card:hover { 
  transform: translateY(-10px) scale(1.03); 
  box-shadow: 0 10px 25px rgba(0,0,0,0.3); 
  border: 1.5px solid var(--accent-green); 
}

.step-icon { 
  font-size: 3.5rem; 
  color: var(--accent-green); 
  margin-bottom: 1.5rem; 
}

.step-title { 
  font-size: 1.6rem; 
  font-weight: 600; 
  margin-bottom: 0.8rem; 
}

.step-desc { 
  color: rgba(255,255,255,0.8); 
  font-size: 1rem; 
  line-height: 1.6; 
}

/* Animations */
@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

/* Responsive */
@media (min-width: 768px) {
  body {
    background: url('bg.png') no-repeat center center fixed;
    background-size: cover;
  }
  
  .content-container {
    margin-left: 5%;
  }
}

@media (min-width: 1200px) {
  .content-container {
    margin-left: 10%;
  }
}

@media (max-width: 768px) {
  .coming-soon {
    font-size: 150px;
  }
  
  .almost-there {
    font-size: 22px;
  }
  
  .logo-text {
    font-size: 27px;
  }
  
  .nav-link {
    font-size: 16px;
  }
  
  .form-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .form-check {
    min-width: auto;
  }
  
  .section-title { 
    font-size: 36px; 
  }
  
  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card,
  .step-card {
    padding: 2rem 1.5rem;
  }
  
  .feature-icon,
  .step-icon {
    font-size: 3rem;
  }
  
  .pricing-title { 
    font-size: 36px; 
  }
  
  .pricing-card { 
    width: 90%; 
  }
  
  .about-content { 
    flex-direction: column; 
  }
  
  .stats-section { 
    flex-direction: column; 
  }
}

@media (max-width: 576px) {
  .coming-soon {
    font-size: 60px;
  }
  
  .almost-there {
    font-size: 16px;
  }
  
  .content-text {
    font-size: 14px;
  }
  
  .btn-custom {
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .features-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}