/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-background: #ffffff;
  --color-foreground: #1a1f36;
  --color-primary: #e89b3c;
  --color-primary-foreground: #ffffff;
  --color-secondary: #f9fafb;
  --color-muted: #f3f4f6;
  --color-muted-foreground: #6b7280;
  --color-border: #e5e7eb;
  --color-accent: #f3f4f6;
  --radius: 0.625rem;
  --font-sans: "Onest", sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
.heading-xl {
  font-size: 3rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.heading-lg {
  font-size: 2.25rem;
  line-height: 1.111;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.heading-md {
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.heading-sm {
  font-size: 1.5rem;
  line-height: 1.333;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  padding: 0.875rem 0;
}

.nav-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-foreground);
  font-weight: 600;
  font-size: 1.125rem;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-foreground);
}

.close-icon {
  display: none;
}

.menu-toggle.active .menu-icon {
  display: none;
}

.menu-toggle.active .close-icon {
  display: block;
}

.nav-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 0.625rem;
}

.nav-menu.active {
  display: flex;
}

.nav-link {
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--color-foreground);
  border-radius: var(--radius);
  transition: background-color 0.2s;
}

.nav-link:hover {
  background-color: var(--color-accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
}

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

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-foreground);
}

.btn-outline:hover {
  background-color: var(--color-accent);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-foreground);
}

.btn-ghost:hover {
  background-color: var(--color-accent);
}

/* Hero Section */
.hero-section {
  background-color: var(--color-secondary);
  padding: 6rem 0;
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

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

.section-title {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tagline {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  width: fit-content;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-image {
  flex: 1;
  width: 100%;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

/* Logo Section */
.logo-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-border);
}

.logo-section-title {
  text-align: center;
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.logo-item img {
  max-width: 120px;
  height: auto;
  opacity: 0.6;
  filter: grayscale(100%);
}

/* Testimonial Section */
.testimonial-section {
  padding: 6rem 0;
  background-color: var(--color-secondary);
}

.testimonial-card {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial-quote {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 500;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
}

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

/* Features Section */
.features-section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.bento-item {
  background-color: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bento-description {
  color: var(--color-muted-foreground);
}

.bento-item img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 4px);
  margin-top: 1rem;
}

/* How it Works Section */
.how-it-works-section {
  padding: 6rem 0;
  background-color: var(--color-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.step-card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Stats Section */
.stats-section {
  padding: 6rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  color: var(--color-muted-foreground);
  margin-top: 0.5rem;
}

/* Pricing Section */
.pricing-section {
  padding: 6rem 0;
  background-color: var(--color-secondary);
  border-bottom: 1px solid var(--color-border);
}

.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pricing-card-highlighted {
  box-shadow: 0 0 0 6px rgba(232, 155, 60, 0.1);
}

.plan-name {
  font-size: 1.125rem;
  font-weight: 600;
}

.plan-name-highlighted {
  color: var(--color-primary);
}

.plan-description {
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
}

.price-amount {
  font-size: 2.25rem;
  font-weight: 600;
}

.price-period {
  color: var(--color-muted-foreground);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.features-title {
  font-weight: 500;
  font-size: 0.875rem;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
}

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  background-color: var(--color-background);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: var(--color-accent);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-muted-foreground);
}

/* Footer */
.footer {
  padding: 6rem 0;
  background-color: var(--color-background);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.footer-nav a {
  color: var(--color-muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-divider {
  height: 1px;
  background-color: var(--color-border);
}

.footer-bottom {
  display: flex;
  flex-direction: column-reverse;
  gap: 3rem;
  align-items: center;
  text-align: center;
}

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

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.footer-legal a {
  color: var(--color-muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

/* Responsive Design */
@media (min-width: 48rem) {
  .nav-container {
    flex-direction: row;
    align-items: center;
  }

  .menu-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    flex: 1;
    gap: 1.25rem;
    padding-bottom: 0;
  }

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

  .logo-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-large {
    grid-column: span 2;
  }

  .bento-wide {
    grid-column: span 2;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pricing-grid {
    flex-direction: row;
  }

  .footer-nav {
    flex-direction: row;
    gap: 2rem;
  }

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

  .footer-legal {
    flex-direction: row;
    gap: 2rem;
  }
}

@media (min-width: 64rem) {
  .hero-container {
    flex-direction: row;
    gap: 4rem;
  }

  .heading-xl {
    font-size: 3rem;
  }

  .heading-lg {
    font-size: 2.25rem;
  }
}

@media (max-width: 64rem) {
  .heading-xl {
    font-size: 1.875rem;
    line-height: 1.2;
    font-weight: 700;
  }

  .heading-lg {
    font-size: 1.875rem;
    line-height: 1.2;
    font-weight: 700;
  }

  .heading-md {
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
  }

  .heading-sm {
    font-size: 1.5rem;
    line-height: 1.333;
    font-weight: 700;
  }
}
