/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial,
    sans-serif;
  color: #2d3748;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ===== Utilities ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a365d;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: #718096;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  padding: 0.875rem 0;
}

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

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a365d;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: #38a169;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9375rem;
  color: #4a5568;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #1a365d;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #38a169;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: #2f855a;
}

/* ===== Hero ===== */
.hero {
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, #1a365d 0%, #2a4a7f 50%, #1a365d 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(56, 161, 105, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(56, 161, 105, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: rgba(56, 161, 105, 0.2);
  border: 1px solid rgba(56, 161, 105, 0.35);
  color: #68d391;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span {
  color: #68d391;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: #38a169;
  color: #fff;
  padding: 0.9375rem 2rem;
  border-radius: 8px;
  font-size: 1.0625rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #2f855a;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 0.9375rem 2rem;
  border-radius: 8px;
  font-size: 1.0625rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #68d391;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

/* ===== Features ===== */
.features {
  background: #f7fafc;
}

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

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26, 54, 93, 0.08);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1.25rem;
}

.feature-icon--blue {
  background: #ebf4ff;
  color: #1a365d;
}

.feature-icon--green {
  background: #e6fffa;
  color: #38a169;
}

.feature-icon--purple {
  background: #faf5ff;
  color: #805ad5;
}

.feature-icon--gold {
  background: #fffff0;
  color: #d69e2e;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: #718096;
  line-height: 1.55;
}

/* ===== How It Works ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, #e2e8f0 0%, #38a169 50%, #e2e8f0 100%);
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #1a365d;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.2);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 0.375rem;
}

.step p {
  font-size: 0.9375rem;
  color: #718096;
  max-width: 260px;
  margin: 0 auto;
}

/* ===== Screenshot / Mockup ===== */
.screenshot {
  background: #f7fafc;
}

.screenshot-placeholder {
  background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
  border: 2px dashed #cbd5e0;
  border-radius: 16px;
  padding: 4rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: #a0aec0;
}

.screenshot-placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.screenshot-placeholder p {
  font-size: 1rem;
}

/* ===== FAQ ===== */
.faq {
  background: #f7fafc;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(26, 54, 93, 0.06);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1a365d;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  -webkit-user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.375rem;
  font-weight: 400;
  color: #a0aec0;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "\2212";
  color: #38a169;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: #718096;
  line-height: 1.65;
}

/* ===== Footer ===== */
.footer {
  background: #1a365d;
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

.footer a {
  color: #68d391;
  transition: color 0.2s;
}

.footer a:hover {
  color: #9ae6b4;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  list-style: none;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-stats {
    gap: 2rem;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

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

  .hero p {
    font-size: 1.0625rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.25rem;
  }

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

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

  .steps-grid::before {
    display: none;
  }

  .section-title {
    font-size: 1.625rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}
