/* Base styles and resets */
:root {
  --primary-color: #FF6B6B;
  --primary-dark: #FF4757;
  --secondary-color: #6C5CE7;
  --text-color: #2D3436;
  --light-text: #636E72;
  --background: #FFFFFF;
  --light-bg: #F9F9F9;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background);
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Header styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-color);
}

.logo h1 span {
  color: var(--primary-color);
}

nav ul {
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero section */
.hero {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 71, 87, 0.05) 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero h2 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h2 span {
  color: var(--primary-color);
  position: relative;
}

.hero h2 span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(255, 107, 107, 0.2);
  z-index: -1;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--light-text);
}

.hero-illustration {
  width: 100%;
  max-width: 500px;
}

/* Button styles */
.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
}

.cta-button:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
  border-color: var(--primary-dark);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
  }
}

/* Features section */
.features {
  background-color: var(--light-bg);
}

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

.feature-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.feature-card p {
  color: var(--light-text);
}

/* How it works section */
.how-it-works {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.1) 0%, rgba(72, 52, 212, 0.05) 100%);
}

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

.step {
  flex: 1;
  min-width: 300px;
  padding: 30px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: 700;
}

.step h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.cta-container {
  text-align: center;
  margin-top: 30px;
}

/* Testimonials section */
.testimonials {
  background-color: var(--light-bg);
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonial {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 350px;
}

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

.testimonial-content p {
  font-style: italic;
  color: var(--light-text);
}

.testimonial-content::before {
  content: """;
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: -15px;
  color: var(--primary-color);
  opacity: 0.2;
}

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

.testimonial-author span {
  font-weight: 600;
}

/* FAQ section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.faq-item {
  background-color: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.faq-item p {
  color: var(--light-text);
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  margin-bottom: 30px;
  font-size: 1.2rem;
  opacity: 0.9;
}

.cta-section .cta-button {
  background-color: white;
  color: var(--primary-color);
  border-color: white;
}

.cta-section .cta-button:hover {
  background-color: transparent;
  color: white;
}

/* Footer styles */
.site-footer {
  background-color: #2D3436;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.footer-logo p {
  font-weight: 600;
  font-size: 1.2rem;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column ul li a {
  color: #dfe6e9;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #b2bec3;
}

/* Create OpenGraph image SVG file */
.og-image {
  width: 1200px;
  height: 630px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* Responsive styles */
@media (max-width: 992px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .step {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  nav {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}

/* Menu toggle for mobile */
.nav-active {
  display: block;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.nav-active ul {
  flex-direction: column;
  padding: 20px;
}

.nav-active ul li {
  margin: 10px 0;
}

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

.feature-card, .step, .testimonial, .faq-item {
  animation: fadeIn 0.6s ease forwards;
}
