:root {
  --primary: #2d6a4f;
  --primary-dark: #1b4332;
  --secondary: #40916c;
  --accent: #b8860b;
  --background: #f0f2f1;
  --surface: #e8ecea;
  --surface-light: #dde3e0;
  --text: #1a1a1a;
  --text-muted: #5a6b63;
  --gradient: linear-gradient(135deg, #2d6a4f 0%, #40916c 50%, #52b788 100%);
  --gradient-gold: linear-gradient(
    135deg,
    #b8860b 0%,
    #d4a017 50%,
    #b8860b 100%
  );
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(240, 242, 241, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a.btn-primary {
  color: #ffffff;
}

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

.btn {
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--gradient);
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 106, 79, 0.3);
}

/* Hero */
.hero {
  padding: 160px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(45, 106, 79, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--surface-light);
  border: 1px solid rgba(184, 134, 11, 0.25);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge img {
  height: 54px;
  transition: transform 0.2s;
}

.store-badge:hover img {
  transform: translateY(-3px);
}

.hero-rating {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-rating .stars {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 2px;
}

.hero-rating .rating-text {
  color: var(--text-muted);
  font-size: 14px;
}

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

.phone-mockup {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  line-height: 0;
}

.phone-mockup .screenshot {
  width: 280px;
  height: auto;
  border-radius: 0;
  display: block;
  box-shadow: none;
}

.phone-mockup.small {
  border-radius: 0;
  padding: 0;
}

.phone-mockup.small .screenshot {
  width: 220px;
  border-radius: 0;
  box-shadow: none;
}

/* Social Proof / Stats */
.social-proof {
  padding: 60px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Features */
.features {
  padding: 120px 0;
  background: var(--background);
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 32px;
  transition:
    transform 0.2s,
    border-color 0.3s,
    box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 106, 79, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Screenshots */
.screenshots {
  padding: 120px 0;
  background: var(--surface);
}

.screenshots-scroll {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Testimonials */
.testimonials {
  padding: 120px 0;
  background: var(--background);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 32px;
  transition:
    transform 0.2s,
    border-color 0.3s,
    box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 134, 11, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

/* Download */
.download {
  padding: 120px 0;
  background: var(--surface);
  text-align: center;
}

.download-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download .hero-buttons {
  justify-content: center;
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.footer-links a {
  display: block;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* FAQ Section */
.faq {
  padding: 100px 0;
  background-color: var(--surface);
}

.faq-list {
  max-width: 800px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface-light);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.faq-item:hover {
  border-color: rgba(45, 106, 79, 0.2);
}

.faq-item[open] {
  border-color: rgba(45, 106, 79, 0.3);
  box-shadow: 0 4px 24px rgba(45, 106, 79, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}

.faq-question::-webkit-details-marker,
.faq-question::marker,
.faq-item summary::-webkit-details-marker,
.faq-item summary::marker {
  display: none;
  content: "";
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition:
    transform 0.3s ease,
    color 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  padding: 0 28px 24px;
  color: var(--text-muted);
  line-height: 1.8;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.faq-answer a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.faq-answer strong {
  color: var(--text);
  font-weight: 500;
  background: var(--surface);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-rating {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .faq-list {
    margin-left: 0;
    margin-right: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-number {
    font-size: 28px;
  }

  .phone-mockup .screenshot {
    width: 220px;
  }

  .phone-mockup.small .screenshot {
    width: 160px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }
}

/* Screen reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
