/* Base styles and variables */
:root {
  --primary: #FF6B6B;
  --secondary: #4ECDC4;
  --dark: #292F36;
  --light: #F7F9F9;
  --gray: #A0A0A0;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

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

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.highlight {
  color: var(--primary);
  font-weight: 700;
  position: relative;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: var(--shadow);
}

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

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: white;
}

/* Layout */
section {
  padding: 5rem 0;
}

/* Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 1rem 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.domain {
  color: var(--secondary);
  font-weight: 400;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-weight: 500;
  position: relative;
  padding-bottom: 0.25rem;
  color: var(--dark);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

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

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

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

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 6rem;
  background-color: var(--light);
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content {
  flex: 1;
}

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

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--gray);
}

.hero-image {
  flex: 1;
  padding: 1rem;
}

/* Features Section */
.features {
  background-color: white;
}

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

.feature-card {
  padding: 2.5rem;
  border-radius: var(--radius);
  background-color: var(--light);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

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

.feature-card svg {
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

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

/* How It Works Section */
.how-it-works {
  background-color: var(--light);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  margin-bottom: 3rem;
}

.step {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  position: relative;
  padding: 2rem;
  text-align: center;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.step p {
  color: var(--gray);
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* Testimonials Section */
.testimonials {
  background-color: white;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.testimonial {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background-color: var(--light);
  position: relative;
}

.quote-icon {
  margin-bottom: 1rem;
}

.testimonial p {
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--dark);
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
}

/* About Section */
.about {
  background-color: var(--light);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* CTA Section */
.cta {
  background: var(--gradient);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
}

.cta .btn-primary {
  background: white;
  color: var(--primary);
}

.cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 1.5rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

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

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: white;
}

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

.footer-bottom p:first-child {
  margin-bottom: 0.5rem;
}

/* Responsive styles */
@media (max-width: 992px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .main-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  
  .main-nav ul li {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .footer-nav {
    width: 100%;
    justify-content: space-around;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .feature-card, .testimonial {
    padding: 1.5rem;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 2rem;
  }
}
