:root {
  --bg: #050914;
  --panel: rgba(9, 15, 30, 0.75);
  --panel-strong: rgba(13, 24, 48, 0.9);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8f0ff;
  --muted: #c3d0eb;
  --accent: #2fd3a8;
  --accent-2: #4f9bff;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at 20% 20%, rgba(79, 155, 255, 0.08), transparent 35%),
              radial-gradient(circle at 80% 0%, rgba(47, 211, 168, 0.12), transparent 30%),
              var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Space Grotesk', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  position: relative;
}

.hero {
  background: linear-gradient(135deg, rgba(79, 155, 255, 0.14), rgba(47, 211, 168, 0.12));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-icon {
  width: 200px;
  max-width: 100%;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35));
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
}

h1 {
  margin: 14px 0 12px;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin: 22px 0 10px;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1px solid transparent;
}

.cta.primary {
  background: linear-gradient(120deg, var(--accent), #58f0c8);
  color: #03120d;
  box-shadow: 0 14px 40px rgba(47, 211, 168, 0.35);
}

.cta.ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--border);
}

.cta:hover { transform: translateY(-2px); }

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.meta-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.meta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.meta-value {
  font-size: 18px;
  font-weight: 700;
}

section {
  margin-top: 40px;
}

.section-title {
  font-size: 22px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.tool-screenshot {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin: 14px 0 12px;
  display: block;
  cursor: zoom-in;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tier-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  min-height: 100%;
}

.tier-header h3 {
  margin: 0 0 6px;
}

.tier-price {
  margin: 0;
  color: var(--muted);
}

.tier-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.tier-list li {
  margin-bottom: 8px;
}

.tier-card .cta-row {
  margin-top: auto;
}

.cta.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 9, 20, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}

.lightbox.open { display: flex; }

.lightbox-frame {
  width: min(1200px, 100%);
}

.lightbox-image {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #0b1222;
}

.no-scroll { overflow: hidden; }

.card-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

.support-section {
  position: relative;
  padding: 0;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  width: 100%;
}

.support-nav {
  position: sticky;
  top: 48px;
  background: linear-gradient(160deg, rgba(79, 155, 255, 0.12), rgba(47, 211, 168, 0.1));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
}

.support-nav-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.support-nav a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.support-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
}

.support-page .page {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.support-main-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.support-content {
  max-width: 900px;
}

.step {
  background: linear-gradient(135deg, rgba(79, 155, 255, 0.12), rgba(47, 211, 168, 0.08));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 211, 168, 0.16);
  color: var(--text);
  font-weight: 700;
  margin-bottom: 10px;
}

.stack-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  margin-right: 6px;
  margin-bottom: 6px;
}

footer {
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--text);
}

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

.credit a {
  color: var(--muted);
  text-decoration: none;
}

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

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 14px;
}

.subheading {
  color: var(--muted);
  margin: -8px 0 12px;
}

.screenshot-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px dashed var(--border);
  background: linear-gradient(135deg, rgba(79, 155, 255, 0.08), rgba(47, 211, 168, 0.06));
  overflow: hidden;
  margin-bottom: 12px;
}

.screenshot-frame::after {
  content: 'Add screenshot';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .hero { padding: 24px; }
  .cta-row { flex-direction: column; }
  .cta { width: 100%; text-align: center; }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    justify-content: flex-start;
  }
  .hero-icon {
    width: 160px;
  }
  .support-layout {
    grid-template-columns: 1fr;
  }
  .support-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    box-shadow: none;
    background: var(--panel);
  }
  .support-nav a {
    padding: 6px 10px;
  }
  .tier-grid {
    grid-template-columns: 1fr;
  }
}
