/* Base styles and resets */
:root {
  --primary-color: #3498db;
  --secondary-color: #7B68EE;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --bg-color: #f9f9f9;
  --text-color: #333;
  --gradient: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
  --radius: 10px;
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.main-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--secondary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

h3 {
  font-size: 1.6rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Button styles */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.6);
  color: white;
}

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

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

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

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo-svg {
  height: 40px;
  width: auto;
}

.logo-text {
  font-weight: bold;
  fill: var(--primary-color);
  font-size: 22px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  font-weight: 600;
  color: var(--dark-color);
  position: relative;
}

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

.nav-menu a:hover {
  color: var(--primary-color);
}

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

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  margin-bottom: 5px;
  position: relative;
  background: var(--dark-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero section */
.hero {
  padding: 80px 0;
  background: linear-gradient(170deg, #fff 55%, var(--light-color) 45%);
  overflow: hidden;
}

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

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  color: var(--dark-color);
}

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

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-graphic {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* How it works section */
.how-it-works {
  padding: 100px 0;
  background-color: white;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 60px;
}

.step {
  display: flex;
  align-items: flex-start;
  padding: 0 20px;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-right: 20px;
  opacity: 0.8;
}

.step-content {
  flex: 1;
}

.step h3 {
  margin-bottom: 10px;
}

/* Features section */
.features {
  padding: 100px 0;
  background-color: var(--light-color);
}

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

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

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

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
}

/* Testimonials section */
.testimonials {
  padding: 100px 0;
  background: var(--gradient);
  color: white;
}

.testimonials h2 {
  color: white;
}

.testimonials h2:after {
  background: rgba(255, 255, 255, 0.3);
}

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

.testimonial {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: var(--radius);
  max-width: 350px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
}

.author {
  font-weight: 600;
  text-align: right;
}

/* About section */
.about {
  padding: 100px 0;
  background-color: white;
  text-align: center;
}

.about p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-cta {
  margin-top: 40px;
}

/* Keywords section */
.keywords {
  padding: 40px 0;
  background-color: var(--light-color);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tag {
  background: white;
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.tag:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Footer */
footer {
  padding: 80px 0 20px;
  background-color: var(--dark-color);
  color: white;
  margin-top: auto;
}

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

.footer-logo, .footer-links, .footer-info {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-logo .logo-text {
  fill: white;
}

footer h4 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

footer h4:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-icon {
  width: 30px;
  height: 30px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .step {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    transition: 0.5s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu li {
    margin: 20px 0;
  }
  
  #menu-toggle:checked ~ .nav-menu {
    left: 0;
  }
  
  #menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  #menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  
  #menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .testimonials-slider {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial {
    width: 100%;
  }
}
