/* Base styles */
:root {
  --primary-red: #f05336;
  --primary-yellow: #f9b233;
  --primary-blue: #29abe2;
  --primary-green: #39b54a;
  --primary-orange: #f15a29;
  --primary-purple: #662d91;
  --background: #faf7f5;
  --foreground: #333333;
  --muted-foreground: #666666;
  --border: #e5e5e5;
  --card: #ffffff;
  --card-foreground: #333333;
  --radius: 0.5rem;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.5;
}

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

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

ul {
  list-style: none;
}

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

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

h1 {
  font-size: 2.5rem;
  background: linear-gradient(
    to right,
    var(--primary-red),
    var(--primary-yellow),
    var(--primary-blue),
    var(--primary-green)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-red);
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-yellow);
}

p {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  height: 2.5rem;
  padding: 0 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-lg {
  height: 3rem;
  padding: 0 1.5rem;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: #d83e20;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

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

.btn-block {
  width: 100%;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  height: 5rem;
  border-bottom: 1px solid var(--border);
  background-color: rgba(250, 247, 245, 0.95);
  backdrop-filter: blur(8px);
}

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

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

.logo-image {
  height: 60px;
  width: auto;
}

.logo-image-small {
  height: 50px;
  width: auto;
}

.nav {
  display: none;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(
    to right,
    var(--primary-red),
    var(--primary-yellow),
    var(--primary-blue),
    var(--primary-green)
  );
  transition: width 0.3s ease;
}

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

.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .header-actions {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }
}

/* Hero Section */
.hero {
  padding: 3rem 0;
}

.hero-content {
  display: grid;
  gap: 2rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-text h1 {
  margin-bottom: 0.5rem;
}

.hero-text p {
  color: var(--muted-foreground);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.hero-image img {
  border-radius: var(--radius);
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0;
  }

  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 8rem 0;
  }

  .hero-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* Section styles */
section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.badge {
  display: inline-block;
  background-color: var(--primary-yellow);
  color: white;
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
}

.badge-secondary {
  background-color: var(--primary-green);
}

.section-header p {
  color: var(--muted-foreground);
}

/* Mission Section */
.mission {
  background-color: white;
}

.mission-content {
  display: grid;
  gap: 2rem;
}

.mission-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.mission-list .icon {
  color: var(--primary-green);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) {
  .mission-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* Features Section */
.features {
  background-color: var(--background);
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

.features .icon {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card styles */
.card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-header {
  padding: 1.5rem;
}

.card-content {
  padding: 0 1.5rem 1.5rem;
}

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

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: var(--primary-yellow);
  margin-bottom: 1rem;
}

.testimonial-author {
  margin-top: 1.5rem;
}

.author-name {
  font-weight: 600;
  margin-bottom: 0;
}

.author-role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.cta-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-group input {
  flex: 1;
  height: 3rem;
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

/* Footer */
.footer {
  background-color: white;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-col a:hover {
  color: var(--foreground);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--primary-red), var(--primary-yellow));
  color: white;
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hide {
  display: none;
}
