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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #0a0a0b;
  color: #e4e4e7;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.05rem;
  color: #a1a1aa;
  line-height: 1.7;
}

a {
  color: #a78bfa;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #c4b5fd;
}

/* ── Section Shared ── */
.section {
  padding: 6rem 1.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 3rem;
  color: #a1a1aa;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.logo img {
  border-radius: 8px;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #a1a1aa;
  transition: color 0.2s ease;
}

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

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(108, 92, 231, 0.12), transparent),
    radial-gradient(ellipse 500px 500px at 80% 30%, rgba(162, 155, 254, 0.08), transparent),
    radial-gradient(ellipse 400px 400px at 50% 80%, rgba(167, 139, 250, 0.06), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 800px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  color: #a1a1aa;
}

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

.hero-meta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  font-size: 0.85rem;
  color: #71717a;
  flex-wrap: wrap;
}

.hero-meta span::before {
  content: "✦";
  margin-right: 0.4rem;
  color: #a78bfa;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #6C5CE7, #A29BFE);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(108, 92, 231, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ── Overview Grid ── */
.overview {
  background: #0e0e10;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.overview-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.25s ease;
}

.overview-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(167, 139, 250, 0.2);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(167, 139, 250, 0.1);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: #a78bfa;
}

.overview-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.overview-card p {
  font-size: 0.95rem;
}

/* ── Features Grid ── */
.features {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.25s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(167, 139, 250, 0.2);
  transform: translateY(-3px);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.95rem;
}

/* ── How It Works ── */
.how-it-works {
  background: #0e0e10;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.step {
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.25s ease;
}

.step:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(167, 139, 250, 0.2);
  transform: translateY(-3px);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(167, 139, 250, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.95rem;
}

/* ── FAQ ── */
.faq {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

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

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(167, 139, 250, 0.2);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #e4e4e7;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s ease;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: #a78bfa;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  color: #ffffff;
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
}

/* ── CTA ── */
.cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.06), rgba(162, 155, 254, 0.06));
  border-top: 1px solid rgba(167, 139, 250, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cta h2 {
  margin-bottom: 0.75rem;
}

.cta p {
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* ── Footer ── */
.footer {
  background: #080809;
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.footer-brand img {
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: #71717a;
}

.footer-links a:hover {
  color: #a1a1aa;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #52525b;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 7rem 1.25rem 4rem;
  }

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

  .section {
    padding: 4rem 1.25rem;
  }

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

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

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}
