/* Modern CSS with a fresh color palette and different layout */
:root {
  --primary-color: #00C853;
  --secondary-color: #039BE5;
  --accent-color: #FFAB00;
  --text-light: #FFFFFF;
  --text-dark: #212121;
  --bg-color: #F5F5F5;
  --card-bg: #FFFFFF;
  --shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 20px 0;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 10;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
  margin-right: 15px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s;
}

nav ul li a:hover {
  opacity: 0.8;
}

.hero {
  padding: 100px 0 80px;
  text-align: center;
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(3, 155, 229, 0.1) 0%, rgba(0, 200, 83, 0.05) 70%, rgba(255, 255, 255, 0) 100%);
  border-radius: 50%;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.1) 0%, rgba(3, 155, 229, 0.05) 70%, rgba(255, 255, 255, 0) 100%);
  border-radius: 50%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

h1 span {
  color: var(--secondary-color);
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 400;
  color: var(--text-dark);
}

.tagline {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #757575;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.features {
  padding: 80px 0;
  background-color: #FAFAFA;
  position: relative;
}

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

.section-title h2 {
  color: var(--primary-color);
  display: inline-block;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

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

.feature-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.how-it-works {
  padding: 80px 0;
  background: #FFFFFF;
}

.steps {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  flex-wrap: wrap;
}

.step {
  width: 30%;
  text-align: center;
  position: relative;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -15%;
  width: 30%;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.testimonials {
  padding: 80px 0;
  background: #F5F5F5;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content::before {
  content: """;
  font-size: 60px;
  position: absolute;
  top: -20px;
  left: -15px;
  color: rgba(0, 200, 83, 0.1);
  z-index: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-name {
  font-weight: 600;
  color: var(--secondary-color);
}

.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  text-align: center;
}

.cta-section h2 {
  color: var(--text-light);
}

.cta-section .btn {
  background: white;
  color: var(--primary-color);
  font-weight: 700;
}

.cta-section .btn:hover {
  background: var(--accent-color);
  color: var(--text-light);
}

footer {
  padding: 60px 0 40px;
  background-color: #212121;
  color: var(--text-light);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
}

.footer-about p {
  opacity: 0.8;
  margin-bottom: 20px;
}

.footer-links h3, .footer-subscribe h3 {
  margin-bottom: 20px;
  color: var(--accent-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--text-light);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links ul li a:hover {
  opacity: 1;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
}

/* Responsive design */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .step:not(:last-child)::after {
    display: none;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 20px;
    box-shadow: var(--shadow);
    display: none;
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .step {
    width: 100%;
    margin-bottom: 40px;
  }
  
  .testimonial-grid, .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 80px 0 60px;
  }
}
