/* Variables */
:root {
  --color-primary: #3b82f6;
  --color-primary-hover: #2563eb;
  --color-secondary: #f3f4f6;
  --color-secondary-hover: #e5e7eb;
  --color-text: #1f2937;
  --color-text-muted: #6b7280;
  --color-background: #ffffff;
  --color-background-muted: #f9fafb;
  --color-border: #e5e7eb;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --border-radius: 0.375rem;
  --transition: all 0.2s ease-in-out;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.5;
  background-color: var(--color-background);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  height: 4rem;
  border-bottom: 1px solid var(--color-border);
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--color-text);
}

.nav-list {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 36rem;
}

.hero-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-hover);
}

/* Features Section */
.features {
  padding: 3rem 1rem;
  background-color: var(--color-background-muted);
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background-color: rgba(59, 130, 246, 0.1);
  margin-bottom: 1rem;
}

.feature-icon i {
  font-size: 2.5rem;
  color: var(--color-primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-description {
  color: var(--color-text-muted);
}

/* Testimonials Section */
.testimonials {
  padding: 3rem 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  background-color: var(--color-background);
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: var(--color-background-muted);
}

.author-name {
  font-size: 0.875rem;
  font-weight: 500;
}

.author-title {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* CTA Section */
.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 3rem 1rem;
  background-color: var(--color-background-muted);
  max-width: 1200px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-description {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  max-width: 36rem;
}

.cta-buttons {
  display: flex;
  gap: 0.5rem;
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.copyright {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.footer-nav-list {
  display: flex;
  gap: 1.5rem;
}

.footer-nav-link {
  font-size: 0.75rem;
  transition: var(--transition);
}

.footer-nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    order: -1;
  }
  
  .cta {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 4rem;
    left: 0;
    width: 100%;
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 10;
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons, .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title, .cta-title {
    font-size: 1.75rem;
  }
}