/* Global Variables */
:root {
  --primary-color: #1A73E8; /* Google Blue */
  --accent-color: #FFCA28; /* Soft Yellow */
  --neutral-light: #FFFFFF;
  --neutral-gray: #F5F7FA;
  --text-dark: #333333;
  --text-darker: #111111;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--neutral-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #0d5bbc;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #0d5bbc;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: rgba(26, 115, 232, 0.1);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--text-darker);
}

.btn-accent:hover {
  background-color: #e6b000;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
}

.nav-links a:hover {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* Mobile Menu */
.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: var(--shadow-md);
  padding: 20px 0;
  text-align: center;
}

.nav-links.active li {
  margin: 15px 0;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  min-width: 200px;
  z-index: 1000;
  display: none;
  overflow: hidden;
}

.dropdown-menu.active {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background-color: var(--neutral-gray);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background-color: var(--neutral-light);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-darker);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 32px;
  color: var(--text-dark);
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  width: 40%;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background-color: var(--neutral-gray);
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: var(--text-darker);
}

.steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.step {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  text-align: center;
  flex: 1;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-10px);
}

.step-icon {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.step-description {
  color: var(--text-dark);
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background-color: var(--neutral-light);
}

.testimonials-container {
  text-align: center;
}

.testimonial-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 40px;
}

.testimonial-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  max-width: 350px;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.profile-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 15px;
}

.profile-name {
  font-weight: 600;
}

.testimonial-stars {
  color: var(--accent-color);
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
}

.trust-badge {
  display: inline-block;
  background-color: var(--neutral-gray);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--neutral-gray);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
}

.feature-icon {
  font-size: 24px;
  color: var(--primary-color);
  margin-right: 20px;
  padding: 12px;
  background-color: rgba(26, 115, 232, 0.1);
  border-radius: 50%;
}

.feature-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Referral Banner */
.referral-banner {
  background-color: var(--accent-color);
  padding: 40px 0;
}

.referral-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.referral-text {
  font-size: 20px;
  font-weight: 600;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  text-align: center;
  background-color: var(--neutral-light);
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Footer */
.footer {
  background-color: var(--neutral-gray);
  padding: 50px 0 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.footer-links a {
  margin: 0 15px;
  color: var(--text-dark);
}

.copyright {
  text-align: center;
  color: var(--text-dark);
  font-size: 14px;
}

/* Animation Styles */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for multiple elements */
.steps .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.steps .animate-on-scroll:nth-child(2) { transition-delay: 0.3s; }
.steps .animate-on-scroll:nth-child(3) { transition-delay: 0.5s; }

.testimonial-cards .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.testimonial-cards .animate-on-scroll:nth-child(2) { transition-delay: 0.3s; }
.testimonial-cards .animate-on-scroll:nth-child(3) { transition-delay: 0.5s; }

.feature-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.feature-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.feature-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.feature-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 40px;
  }
  
  .hero-image {
    width: 45%;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 40px;
  }
  
  .hero-image {
    width: 80%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .testimonial-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .referral-container {
    flex-direction: column;
    text-align: center;
  }
  
  .referral-text {
    margin-bottom: 20px;
  }
} 