:root {
  --bg: #020617;
  --bg-soft: #020617;
  --panel: #020617;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --accent-2: #38bdf8;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: rgba(148, 163, 184, 0.35);
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-lg: 0 26px 70px rgba(15, 23, 42, 1);
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", -apple-system,
    sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 50%, #000 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

.app {
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 45%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.2), rgba(15, 23, 42, 0.98));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Top nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.6));
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(circle at 25% 0, #facc15, #22c55e 40%, #38bdf8 80%);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.85);
  overflow: hidden;
  flex-shrink: 0;
}

.logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  cursor: pointer;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-soft {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 11px;
  color: var(--muted);
  display: none;
}

.nav-button {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: radial-gradient(circle at 0 0, #22c55e, #06b6d4 40%, #3b82f6 80%);
  color: #020617;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 35px rgba(56, 189, 248, 0.7);
  white-space: nowrap;
}

.nav-button span.icon {
  font-size: 15px;
  transition: transform 0.18s ease-out;
}

.nav-button:hover span.icon {
  transform: translate(2px, -2px);
}

@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px;
  }
  .nav-links {
    display: none;
  }
  .badge-soft {
    display: inline-flex;
  }
}

/* Main body */
.body {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

@media (max-width: 720px) {
  .body {
    padding: 18px 16px 16px;
    gap: 28px;
  }
}

/* Hero section */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-heading {
  font-size: clamp(32px, 4.8vw, 46px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  line-height: 1.05;
}

.hero-heading span {
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 14px;
  max-width: 640px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.chip {
  font-size: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background-color: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background-color: var(--accent);
}

@media (max-width: 720px) {
  .hero-highlights {
    grid-template-columns: minmax(0, 1fr);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 14px;
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

.stat-card {
  border-radius: var(--radius-md);
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(55, 65, 81, 0.9);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.stat-kpi {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-tag {
  font-size: 11px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.stat-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.primary-cta {
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background: radial-gradient(circle at 0 0, #22c55e, #06b6d4 40%, #3b82f6 80%);
  color: #020617;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(56, 189, 248, 0.8);
}

.primary-cta span.icon {
  font-size: 17px;
  transition: transform 0.18s ease-out;
}

.primary-cta:hover span.icon {
  transform: translate(2px, -2px);
}

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

.hero-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.hero-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

/* Hero media */
.hero-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.screenshot-strip {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.thumbnail {
  flex: 1;
  max-width: 200px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: #020617;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.media-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  text-align: center;
}

/* Sections */
.section {
  border-radius: var(--radius-lg);
  padding: 18px 16px 16px;
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 13px;
  color: var(--muted);
  max-width: 640px;
}

.section a {
  color: inherit;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

.step-card {
  border-radius: var(--radius-md);
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.step-label span.badge {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #e5e7eb;
}

.step-title {
  font-size: 14px;
  font-weight: 700;
}

.step-text {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.feature-pill {
  border-radius: var(--radius-md);
  padding: 10px 12px;
  border: 1px dashed rgba(75, 85, 99, 0.9);
  background-color: rgba(15, 23, 42, 0.85);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-pill strong {
  font-size: 14px;
}

.feature-pill span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.feature-pill a {
  text-decoration: none;
}

.feature-pill a:hover {
  color: var(--accent-2);
}

.cta-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-row .muted {
  color: var(--muted);
  font-size: 13px;
}

/* Prose (guides / long-form) */
.prose {
  line-height: 1.75;
  color: var(--text);
  max-width: 860px;
}

.prose h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.prose h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-top: 18px;
  margin-bottom: 8px;
}

.prose h3 {
  font-size: 16px;
  margin-top: 14px;
  margin-bottom: 6px;
}

.prose p {
  margin-top: 10px;
  color: var(--muted);
}

.prose ul,
.prose ol {
  margin-top: 10px;
  padding-left: 20px;
  color: var(--muted);
}

.prose li {
  margin-top: 6px;
}

.prose a {
  color: var(--accent-2);
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

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

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

/* Page Hero (feature/guide pages) */
.page-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 8px;
}

@media (max-width: 800px) {
  .page-hero {
    grid-template-columns: 1fr;
  }
}

.page-hero-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-hero h1 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.page-hero h1 .accent {
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  color: transparent;
}

.page-hero-lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 580px;
  margin: 0;
}

.page-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-badge.alt::before {
  background: var(--accent-2);
}

.page-hero-screenshot {
  width: 160px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(55, 65, 81, 0.8);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.page-hero-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 800px) {
  .page-hero-screenshot {
    display: none;
  }
}

/* Highlight Cards */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.highlight-card {
  border-radius: var(--radius-md);
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(56, 189, 248, 0.06));
  border: 1px solid rgba(34, 197, 94, 0.2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.highlight-card.alt {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(139, 92, 246, 0.06));
  border-color: rgba(56, 189, 248, 0.2);
}

.highlight-card strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.highlight-card span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Related Features Section */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.related-card {
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(55, 65, 81, 0.7);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s, transform 0.2s;
}

.related-card:hover {
  border-color: var(--accent-2);
  transform: translateY(-2px);
}

.related-card strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.related-card span {
  font-size: 11px;
  color: var(--muted);
}

/* Enhanced CTA Section */
.cta-section {
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.25);
  text-align: center;
}

.cta-section .section-title {
  margin-bottom: 4px;
}

.cta-section .section-sub {
  margin-bottom: 16px;
}

.cta-section .cta-row {
  justify-content: center;
  margin-top: 0;
}

/* Quick Info Box */
.info-box {
  border-radius: var(--radius-md);
  padding: 14px 16px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  margin-top: 16px;
}

.info-box strong {
  color: var(--accent-2);
}

.info-box a {
  color: var(--accent-2);
  text-decoration: none;
}

.info-box a:hover {
  text-decoration: underline;
}

/* Feature Icon Badge */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-bottom: 10px;
  flex-shrink: 0;
}

/* Steps List (enhanced) */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  counter-reset: step-counter;
}

.step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  counter-increment: step-counter;
}

.step-item::before {
  content: counter(step-counter);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #020617;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-item-content {
  flex: 1;
  padding-top: 3px;
}

.step-item-content strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.step-item-content span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* FAQ */
.faq-list {
  border-radius: var(--radius-md);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background-color: rgba(15, 23, 42, 0.96);
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid rgba(31, 41, 55, 1);
}

.faq-header {
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  width: 100%;
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
}

.faq-question {
  font-size: 13px;
  line-height: 1.3;
}

.faq-toggle {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
}

.faq-body {
  padding: 0 12px 10px;
  font-size: 12px;
  color: var(--muted);
  display: none;
  line-height: 1.6;
}

.faq-item.open .faq-body {
  display: block;
}

.faq-item.open .faq-toggle {
  background-color: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

/* Footer */
footer {
  padding: 12px 22px 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.96);
}

footer a {
  color: inherit;
  text-decoration: none;
  margin-left: 10px;
}

footer a:first-child {
  margin-left: 0;
}

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

@media (max-width: 600px) {
  .nav-button,
  .primary-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile sticky CTA */
.sticky-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 50;
  display: none;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sticky-cta-copy strong {
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta-copy span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta a {
  flex-shrink: 0;
  padding: 10px 14px;
  font-size: 14px;
}

@media (max-width: 720px) {
  body {
    padding-bottom: 92px;
  }
  .sticky-cta {
    display: block;
  }
}

