:root {
  --bg: #07111f;
  --bg-soft: #0f1a2f;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-strong: rgba(255, 255, 255, 0.08);
  --text: #eff6ff;
  --muted: #bfd3f3;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.18);
  --white: #ffffff;
  --accent: #83a8ff;
  --accent-2: #c7d7ff;
  --green: #98f3bf;
  --gold: #f3d58a;
  --dark-text: #0d1728;
  --shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top center, rgba(50, 90, 180, 0.18), transparent 0 32%), linear-gradient(180deg, #07101d 0%, #091427 32%, #101827 100%);
}
a { color: inherit; }
img { max-width: 100%; }
.container { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(860px, 100%); }
.page-main { min-height: calc(100vh - 180px); }
.section { padding: 4.25rem 0; }
.section-compact { padding: 2rem 0 0; }
.section-dark { background: rgba(0, 0, 0, 0.16); }
.section-soft { background: rgba(255, 255, 255, 0.03); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 13, 24, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-row, .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .08em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 10px 20px rgba(70, 120, 255, 0.18));
}
.brand span { font-size: 1.08rem; }
.nav-links, .footer-links, .cta-actions, .hero-actions, .chips, .preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}
.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: .55rem .85rem;
  border-radius: 999px;
}
.nav-link.active, .nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.hero {
  padding: 4rem 0 3rem;
}
.hero-grid, .two-col, .free-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.hero-grid { grid-template-columns: 1.1fr .9fr; }
.two-col { grid-template-columns: 1.1fr .9fr; }
.two-col-tight { grid-template-columns: 1fr .85fr; }
.free-grid { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
.eyebrow, .tiny-label {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
  color: var(--accent);
}
.tiny-label { font-size: .72rem; }
.tiny-label-green { color: var(--green); }
.tiny-label-blue { color: var(--accent-2); }
.tiny-label-gold { color: var(--gold); }
h1 {
  font-size: clamp(2.8rem, 6vw, 5.25rem);
  line-height: .98;
  margin: .8rem 0 1rem;
}
h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.06;
  margin: 0 0 1rem;
}
h3 { margin: .25rem 0 .8rem; font-size: 1.28rem; }
p {
  color: var(--muted);
  line-height: 1.72;
  margin: 0 0 1rem;
}
.lead { font-size: 1.1rem; max-width: 62ch; }
.section-note, .fair-use-note, .footer-copy, .form-note, .cta-copy { color: var(--muted); }
.hero-card, .feature-card, .rules-card, .price-card, .post-card, .blog-article, .code-block, .policy-card, .generator-card, .generator-preview {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 28px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.hero-card { padding: 1.4rem; }
.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.hero-logo { width: 44px; height: 44px; }
.mini-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem .7rem;
  color: var(--text);
  font-size: .8rem;
  font-weight: 700;
}
.qr-demo {
  display: grid;
  gap: 1rem;
  align-items: center;
  grid-template-columns: 128px 1fr;
}
.qr-box {
  height: 120px;
  width: 120px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff 0%, #d8e4ff 100%);
  color: #0c1728;
  font-weight: 800;
  font-size: 1.7rem;
}
.qr-box-large {
  width: 128px;
  height: 128px;
}
.hero-points, .rules-card ul, .price-card ul {
  margin: 1.35rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.hero-points li, .rules-card li, .price-card li { margin-bottom: .62rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .95rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
  border: none;
  cursor: pointer;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--white);
  color: var(--dark-text);
}
.button-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line-strong);
}
.button-inline { margin-top: .5rem; }
.button-block { width: 100%; }
.grid-3, .pricing-grid, .post-grid, .stacked-cards {
  display: grid;
  gap: 1.25rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.pricing-grid { grid-template-columns: repeat(2, 1fr); }
.pricing-grid-3 { grid-template-columns: repeat(3, 1fr); }
.post-grid { grid-template-columns: repeat(3, 1fr); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.section-head-wide { align-items: start; }
.feature-card, .rules-card, .price-card, .post-card, .policy-card, .generator-card, .generator-preview { padding: 1.5rem; }
.price-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin: .5rem 0 1rem;
}
.featured {
  outline: 2px solid rgba(243, 213, 138, 0.42);
  background: linear-gradient(180deg, rgba(243, 213, 138, 0.08), rgba(255, 255, 255, 0.06));
}
.featured-soft {
  outline: 2px solid rgba(131, 168, 255, 0.26);
}
.chips span {
  padding: .72rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  color: var(--text);
}
.code-block pre {
  margin: 0;
  white-space: pre-wrap;
  color: #dbeafe;
  font-size: .95rem;
  line-height: 1.8;
}
.post-card { overflow: hidden; }
.post-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 1rem;
}
.post-card a, .back-link { color: var(--white); font-weight: 800; text-decoration: none; }
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.brand-footer { margin-bottom: .75rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.blog-body {
  background: #eef4ff;
  color: #0f172a;
}
.blog-wrap { width: min(860px, calc(100% - 2rem)); margin: 2rem auto 4rem; }
.blog-article {
  padding: 2rem;
  background: #fff;
  border: 1px solid #dbe3f2;
  box-shadow: none;
}
.blog-article h1, .blog-article h2, .blog-article h3, .blog-article p, .blog-article li { color: #0f172a; }
.blog-article .meta { color: #475569; }
.blog-content p { margin: 0 0 1rem; }
.blog-content h2, .blog-content h3 { margin-top: 2rem; }
.blog-hero { width: 100%; display: block; border-radius: 20px; margin: 1rem 0 1.5rem; }
.back-link { display: inline-block; margin-bottom: 1rem; color: #0f172a; }
.policy-page .policy-card h2 { font-size: 1.3rem; }
.stacked-cards { grid-template-columns: 1fr; }
.generator-card label {
  display: block;
  margin-bottom: 1rem;
  color: var(--text);
  font-weight: 700;
}
.generator-card input {
  width: 100%;
  margin-top: .45rem;
  padding: .95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font: inherit;
}
.generator-preview {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.preview-shell {
  min-height: 360px;
  border-radius: 24px;
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.03);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.preview-shell img {
  max-width: min(100%, 320px);
  display: block;
  border-radius: 24px;
  background: #fff;
  padding: 1rem;
}
.preview-empty { margin: 0; }
.preview-actions a {
  text-decoration: none;
}
.cta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid, .two-col, .free-grid, .grid-3, .pricing-grid, .pricing-grid-3, .post-grid, .cta, .nav-row, .footer-row, .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }
  .nav-row, .footer-row { min-height: auto; padding: 1rem 0; }
  .nav-links, .footer-links { justify-content: flex-start; }
  .cta { align-items: start; }
  .post-grid, .pricing-grid-3 { grid-template-columns: 1fr; }
}
.generator-card textarea {
  width: 100%;
  margin-top: .45rem;
  padding: .95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font: inherit;
  resize: vertical;
}
.generator-card input[type="file"] {
  padding: .8rem;
}
.compact-list {
  margin-top: 0;
}
.inline-status {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--muted);
}
.inline-status-success {
  border-color: rgba(152,243,191,.35);
  color: var(--green);
}
.inline-status-error {
  border-color: rgba(255,120,120,.35);
  color: #ffb4b4;
}
.account-shell {
  display: grid;
  gap: 1rem;
}
.dashboard-summary,
.dashboard-grid {
  display: grid;
  gap: 1rem;
}
.dashboard-summary {
  grid-template-columns: repeat(2, 1fr);
}
.dashboard-grid {
  grid-template-columns: repeat(3, 1fr);
}
.dashboard-card {
  padding: 1.1rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.dashboard-card h3 {
  margin-top: 0;
}
.dashboard-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .75rem;
}
.dashboard-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: .65rem;
}
.dashboard-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
@media (max-width: 980px) {
  .dashboard-summary,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
