:root {
  --background: #1d1f21;
  --background-lighter: #26282a;
  --background-darkest: #141517;
  --foreground: #e4e4e4;
  --foreground-muted: #a0a0a0;
  --accent: #d98c32;
  --accent-muted: rgba(217, 140, 50, 0.5);
  --border: rgba(255, 255, 255, 0.1);
  --radius: 8px;
  --transition: all 0.2s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --container-padding: 1rem;
  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--accent-muted);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(29, 31, 33, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.nav {
  display: none;
}

.nav a {
  margin-left: 1.5rem;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.carousel-container {
  height: 3rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.carousel {
  position: relative;
}

.carousel-item {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.carousel-item.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-animation {
  margin: 2rem auto;
  max-width: 200px;
}

.newsletter-stack {
  transition: transform 0.5s ease;
}

.newsletter-stack.animate {
  transform: translateY(-20px) !important;
}

.app-store-badge {
  display: inline-block;
  margin-top: 2rem;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background-color: var(--background-lighter);
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

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

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

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

.feature-icon {
  margin-bottom: 1.5rem;
  color: var(--accent);
}

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

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

/* Screenshots Section */
.screenshots {
  padding: 4rem 0;
}

.screenshots h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.screenshots-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 300px;
}

.screenshots-track {
  display: flex;
  transition: transform 0.5s ease;
}

.screenshot {
  min-width: 100%;
  padding: 0 1rem;
  text-align: center;
}

.screenshot img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

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

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.carousel-control {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}

.carousel-control:hover {
  color: var(--accent);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  margin: 0 1rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--foreground-muted);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background-color: var(--accent);
}

/* How It Works Section */
.how-it-works {
  padding: 4rem 0;
  background-color: var(--background-lighter);
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

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

/* Pricing Section */
.pricing {
  padding: 4rem 0;
  text-align: center;
  background-color: var(--background-lighter);
}

.pricing h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.pricing-subtext {
  margin-bottom: 2rem;
  color: var(--foreground-muted);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

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

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

/* FAQ Section */
.faq {
  padding: 4rem 0;
}

.faq h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  padding: 0 0 1.5rem;
  color: var(--foreground-muted);
}

/* Footer */
.footer {
  padding: 3rem 0;
  background-color: var(--background-darkest);
  text-align: center;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-icons a {
  color: var(--foreground);
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--accent);
}

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

/* Media Queries */
@media (min-width: 640px) {
  :root {
    --container-padding: 2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

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

  .screenshots-carousel {
    max-width: 600px;
  }

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

  .step {
    flex: 1;
  }

  .footer-links {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

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

  .hero h1 {
    font-size: 3.5rem;
  }

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

  .screenshots-carousel {
    max-width: 1000px;
  }

  .screenshot {
    padding: 0 2rem;
  }
}
