:root {
  --bg: #050816;
  --bg-alt: #0f172a;
  --accent: #3b82f6;
  --accent-soft: rgba(59,130,246,0.15);
  --text: #e5e7eb;
  --muted: #9ca3af;
}

* { box-sizing:border-box; }

body {
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
  color:var(--text);
}

a { color:var(--accent); text-decoration:none; }
a:hover { text-decoration:underline; }

.page {
  max-width:1120px;
  margin:0 auto;
  padding:20px 16px 40px;
}

.promo-banner {
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg,#f97316,#ea580c);
  color: #111827;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.55);
}
.promo-banner strong {
  font-weight: 700;
}
.promo-banner-code {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  color: #fde68a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.promo-banner a {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Header */
.site-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:32px;
  flex-wrap: wrap;
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink: 0;
}
.brand-logo {
  width:36px;
  height:36px;
  border-radius:12px;
  background:radial-gradient(circle at 30% 20%, #60a5fa 0, #1e40af 40%, #020617 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.brand-logo img {
  width:28px;
  height:28px;
  display:block;
}
.brand-title {
  display:flex;
  flex-direction:column;
}
.brand-title span:first-child {
  font-weight:600;
  letter-spacing:0.02em;
}
.brand-title span:last-child {
  font-size:12px;
  color:var(--muted);
}
.header-cta {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Buttons */
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  border:1px solid transparent;
  cursor:pointer;
  text-decoration:none;
  white-space:nowrap;
}
.btn-primary {
  background:linear-gradient(135deg,#3b82f6,#2563eb);
  border-color:#1d4ed8;
  color:#fff;
  box-shadow:0 0 16px rgba(59,130,246,0.4);
}
.btn-outline {
  background:transparent;
  border-color:#4b5563;
  color:#e5e7eb;
}
.btn-primary:hover { filter:brightness(1.05); text-decoration:none; }
.btn-outline:hover { background:#111827; text-decoration:none; }

.btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: #4b5563;
  background: transparent;
  color: #e5e7eb;
}
.btn-icon:hover {
  background: #111827;
  text-decoration: none;
}
.btn-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Hero layout */
.hero {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  gap:28px;
  align-items:center;
}
.hero-title {
  font-size:32px;
  line-height:1.15;
  margin-bottom:14px;
}
.hero-subtitle {
  font-size:14px;
  color:var(--muted);
  margin-bottom:16px;
}
.pill-row {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:18px;
}
.pill {
  font-size:11px;
  padding:4px 9px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,0.6);
  color:#e5e7eb;
  background:rgba(15,23,42,0.85);
}
.pill.pro {
  border-color:#f97316;
  background:rgba(248,113,113,0.08);
  color:#fed7aa;
}
.hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:8px;
  margin-bottom:20px;
}
.hero-note {
  font-size:12px;
  color:var(--muted);
}

/* Screenshot card */
.hero-shot-wrap {
  position:relative;
}
.hero-shot-card {
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(148,163,184,0.45);
  background:radial-gradient(circle at top,#111827 0,#020617 60%);
  box-shadow:0 22px 45px rgba(15,23,42,0.75);
}
.hero-shot-card img {
  display:block;
  width:100%;
  height:auto;
}
.hero-shot-tag {
  position:absolute;
  top:-10px;
  right:10px;
  font-size:10px;
  padding:3px 8px;
  border-radius:999px;
  background:rgba(15,23,42,0.95);
  border:1px solid rgba(148,163,184,0.6);
  color:#e5e7eb;
}

/* Meta row */
.meta-row {
  margin-top:26px;
  font-size:11px;
  color:var(--muted);
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

/* Sections */
.section-block {
  margin-top:32px;
  padding:18px 16px;
  border-radius:16px;
  background:rgba(15,23,42,0.96);
  border:1px solid rgba(148,163,184,0.35);
}
.section-title {
  margin:0 0 10px;
  font-size:18px;
}
.section-sub {
  margin:0 0 14px;
  font-size:13px;
  color:var(--muted);
}

/* Core vs Pro cards */
.core-pro-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.core-card, .pro-card-mini {
  border-radius:12px;
  padding:12px 12px 10px;
  background:rgba(15,23,42,0.9);
  border:1px solid rgba(55,65,81,0.9);
  font-size:13px;
}
.core-card h3, .pro-card-mini h3 {
  margin:0 0 6px;
  font-size:14px;
}
.core-card ul, .pro-card-mini ul {
  margin:0;
  padding-left:18px;
  color:var(--muted);
  font-size:12px;
}
.core-card li, .pro-card-mini li {
  margin-bottom:3px;
}

/* Pro feature gallery */
.pro-feature-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.pro-feature-card {
  border-radius:12px;
  padding:12px 12px 10px;
  background:rgba(15,23,42,0.9);
  border:1px solid rgba(55,65,81,0.9);
  font-size:13px;
}
.pro-feature-card h3 {
  margin:0 0 6px;
  font-size:14px;
  display:flex;
  align-items:center;
  gap:6px;
}
.pro-feature-card p {
  margin:0 0 8px;
  font-size:12px;
  color:var(--muted);
}
.pro-feature-screens {
  margin-top:8px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:8px;
}
.pro-feature-screens img {
  display:block;
  width:100%;
  height:auto;
  border-radius:10px;
  border:1px solid rgba(148,163,184,0.5);
  background:#020617;
}

/* Zoomable thumbs */
.pro-feature-screens img.pro-zoomable {
  cursor: zoom-in;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out;
}
.pro-feature-screens img.pro-zoomable:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow:0 8px 20px rgba(15,23,42,0.8);
  border-color:rgba(129,140,248,0.9);
}

/* Badges */
.badge-tag {
  display:inline-block;
  font-size:10px;
  padding:2px 7px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,0.7);
  color:#cbd5f5;
  background:rgba(15,23,42,0.9);
  margin-left:6px;
}
.badge-tag.pro {
  border-color:#f97316;
  color:#fed7aa;
  background:rgba(248,113,113,0.08);
}

/* Roadmap */
.roadmap-list {
  margin:0;
  padding-left:18px;
  font-size:12px;
  color:var(--muted);
}
.roadmap-list li {
  margin-bottom:4px;
}
.roadmap-status {
  display: inline-block;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 0.35rem;
  vertical-align: middle;
}
.roadmap-status--shipped {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* FAQ */
.faq-item {
  margin-bottom:12px;
  font-size:13px;
}
.faq-q {
  font-weight:600;
  margin-bottom:2px;
}
.faq-a {
  color:var(--muted);
  font-size:12px;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  padding-top: 14px;
  border-top: 1px solid rgba(148,163,184,0.35);
  font-size: 11px;
  color: #6b7280;
  text-align: center;
}
.site-footer a {
  color: #9ca3af;
  text-decoration: none;
}
.site-footer a:hover {
  color: #e5e7eb;
  text-decoration: underline;
}
.site-footer .dot {
  margin: 0 6px;
}

/* Image lightbox */
.img-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.img-lightbox.is-open {
  display: flex;
}
.img-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.9);
  backdrop-filter: blur(4px);
}
.img-lightbox-dialog {
  position: relative;
  max-width: 96vw;
  max-height: 92vh;
  z-index: 1;
  padding: 10px;
  border-radius: 16px;
  background: radial-gradient(circle at top, #111827 0, #020617 60%);
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow: 0 24px 60px rgba(15,23,42,0.9);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.img-lightbox-img {
  max-width: 90vw;
  max-height: 78vh;
  border-radius: 12px;
  display: block;
}
.img-lightbox-caption {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.img-lightbox-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  outline: none;
  border-radius: 999px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.img-lightbox-close:hover {
  background: rgba(31,41,55,1);
}

/* Pricing page specific */
.pricing-hero {
  margin-top: 10px;
  margin-bottom: 24px;
}
.pricing-hero-title {
  font-size: 28px;
  margin: 0 0 8px;
}
.pricing-hero-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}
.pricing-meta {
  font-size: 11px;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pricing-card {
  border-radius: 16px;
  padding: 16px 14px 14px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(55,65,81,0.9);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-card--highlight {
  border-color: #f97316;
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.4);
  position: relative;
}
.pricing-pill {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(248, 113, 113, 0.7);
  color: #fed7aa;
}
.pricing-name {
  font-size: 15px;
  font-weight: 600;
}
.pricing-price {
  font-size: 20px;
  font-weight: 700;
}
.pricing-price span {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}
.pricing-desc {
  font-size: 12px;
  color: var(--muted);
}
.pricing-list {
  margin: 6px 0 0;
  padding-left: 16px;
  font-size: 12px;
  color: var(--muted);
}
.pricing-list li {
  margin-bottom: 3px;
}
.pricing-cta {
  margin-top: 10px;
}
.pricing-cta .btn-primary {
  width: 100%;
  justify-content: center;
}
.pricing-footnote {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .hero {
    grid-template-columns:1fr;
  }
  .pro-feature-grid {
    grid-template-columns:1fr;
  }
}

@media (max-width: 800px) {
  .core-pro-grid {
    grid-template-columns:1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }
  .header-cta {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 8px;
  }
  .header-cta .btn {
    font-size: 12px;
    padding: 6px 10px;
  }
  .header-cta .btn-icon {
    width: 28px;
    height: 28px;
  }
  .header-cta .btn-icon svg {
    width: 16px;
    height: 16px;
  }
}
