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

:root {
  --bg:         #0d1117;
  --surface:    #161b22;
  --surface-2:  #1c2128;
  --border:     #30363d;
  --accent:     #4d9de0;
  --accent-h:   #6ab0e8;
  --text:       #e6edf3;
  --text-2:     #8b949e;
  --text-3:     #484f58;
  --green:      #4caf6b;
  --orange:     #e6802a;
  --radius:     6px;
  --radius-lg:  12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-logo em { font-style: normal; color: var(--accent); }

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav-link {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.15s;
}
.nav-link:hover { color: var(--text); }

.nav-gh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding: 6px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}
.nav-gh:hover { border-color: var(--text-3); background: var(--surface); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 88px 24px 72px;
  text-align: center;
}

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

.hero-logo {
  width: 340px;
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto 28px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(38px, 6.5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--accent-h); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s;
}
.btn-secondary:hover { background: var(--surface-2); border-color: var(--text-3); }

/* Carousel */
.carousel {
  width: 100%;
}

.carousel-slides {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
  aspect-ratio: 1556 / 963;
  background: #0d1117;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.screenshot-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 13px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot:hover { background: var(--text-3); }

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.25);
}

/* ── Shared section scaffolding ───────────────────────────────────────────── */
section { padding: 80px 24px; }

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

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.65;
}

/* ── Pain points ──────────────────────────────────────────────────────────── */
.pain { border-top: 1px solid var(--border); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.pain-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.pain-card-icon { font-size: 22px; margin-bottom: 14px; line-height: 1; }

.pain-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.pain-card-body {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}

.feature-card {
  padding: 28px 28px 28px;
  background: var(--surface);
  transition: background 0.15s;
}
.feature-card:hover { background: var(--surface-2); }

.feature-icon { font-size: 20px; margin-bottom: 12px; line-height: 1; }

.feature-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-body {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── Download ─────────────────────────────────────────────────────────────── */
.download { border-top: 1px solid var(--border); }

.download-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  margin-top: 48px;
}

.download-box .section-title { margin-bottom: 10px; }

.download-box .section-sub {
  margin: 0 auto;
  max-width: 480px;
}

.download-platforms {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.dl-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 160px;
  transition: border-color 0.15s, background 0.15s;
}
.dl-btn:hover { border-color: var(--accent); background: rgba(77, 157, 224, 0.06); }

.dl-btn-platform {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.dl-btn-format {
  font-size: 11px;
  color: var(--text-3);
}

.dl-btn.coming-soon {
  opacity: 0.45;
  pointer-events: none;
}

.dl-btn.coming-soon .dl-btn-format { color: var(--text-3); }

.dl-btn-count {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}

.download-note {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 24px;
}
.download-note a { color: var(--accent); }
.download-note a:hover { text-decoration: underline; }

/* ── Support ──────────────────────────────────────────────────────────────── */
.support { border-top: 1px solid var(--border); }

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.support-card {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-card-coming {
  opacity: 0.6;
}

.support-card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(230, 128, 42, 0.12);
  border: 1px solid rgba(230, 128, 42, 0.25);
  border-radius: var(--radius);
  padding: 2px 8px;
  width: fit-content;
}

.support-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.support-card-body {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}

.support-card-link {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-top: 4px;
}
.support-card-link:hover { text-decoration: underline; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  color: var(--text-3);
}

.footer-logo-img {
  height: 28px;
  width: auto;
  opacity: 0.75;
}


.footer-links {
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.footer-link {
  color: var(--text-3);
  transition: color 0.15s;
}
.footer-link:hover { color: var(--text-2); }

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

  .download-box { padding: 40px 24px; }
}

@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .nav-links .nav-link { display: none; }

  .hero { padding: 64px 24px 56px; }

  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; justify-content: center; }
}
