/* ============================================================
   QRCraft — style.css
   Two-color system: Indigo #4f46e5 (brand) + Slate neutrals
   Font: Inter (Google Fonts)
   Mobile-first, production SaaS design system
============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  --brand:       #4f46e5;
  --brand-dark:  #3730a3;
  --brand-light: #eef2ff;
  --brand-glow:  rgba(79, 70, 229, 0.22);
  --brand-border:rgba(79, 70, 229, 0.2);

  --accent:      #06b6d4;
  --accent-dark: #0891b2;

  --success:     #16a34a;
  --danger:      #dc2626;
  --warn:        #d97706;

  /* Dark theme (default) */
  --bg:          #0a0f1e;
  --bg2:         #0f1629;
  --bg3:         #141d35;
  --glass:       rgba(10, 15, 30, 0.9);
  --surf:        #1a2540;
  --surf2:       #1f2d4a;
  --bdr:         rgba(255, 255, 255, 0.07);
  --bdr2:        rgba(255, 255, 255, 0.12);
  --tx:          #e8eeff;
  --tx2:         #7c91c0;
  --tx3:         #3d5080;
  --shad:        0 8px 40px rgba(0, 0, 0, 0.5);
  --shad-brand:  0 4px 24px rgba(79, 70, 229, 0.3);
}

[data-theme="light"] {
  --bg:          #f5f7ff;
  --bg2:         #ffffff;
  --bg3:         #eef1ff;
  --glass:       rgba(245, 247, 255, 0.94);
  --surf:        #e8edff;
  --surf2:       #dce4ff;
  --bdr:         rgba(0, 0, 0, 0.08);
  --bdr2:        rgba(0, 0, 0, 0.14);
  --tx:          #0d1433;
  --tx2:         #3d5080;
  --tx3:         #8ba3cc;
  --shad:        0 8px 40px rgba(0, 0, 0, 0.1);
  --shad-brand:  0 4px 24px rgba(79, 70, 229, 0.18);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--tx);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
  line-height: 1.6;
}
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: 'Inter', sans-serif; border: none; background: none; }
input, textarea, select { font-family: 'Inter', sans-serif; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.025em; }

/* ── AMBIENT BACKGROUND ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 10% 10%, rgba(79, 70, 229, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 90% 85%, rgba(6, 182, 212, 0.06) 0%, transparent 65%);
}

/* ── LAYOUT ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section    { padding: 88px 0; position: relative; z-index: 1; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 900;
  height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 28px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bdr);
  transition: background 0.3s;
}
.nav-logo {
  font-size: 1.3rem; font-weight: 800; letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.nav-links {
  display: flex; align-items: center; gap: 2px; list-style: none;
}
.nav-links a {
  padding: 6px 14px; border-radius: 7px;
  font-size: 0.875rem; font-weight: 500; color: var(--tx2);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--tx); background: var(--surf); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-theme {
  height: 36px; padding: 0 14px; border-radius: 8px;
  background: var(--surf); border: 1.5px solid var(--bdr);
  color: var(--tx2); font-size: 0.8rem; font-weight: 600;
  transition: all 0.15s; white-space: nowrap;
}
.btn-theme:hover { color: var(--tx); background: var(--surf2); }
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--surf); border: 1.5px solid var(--bdr);
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--tx); border-radius: 2px; transition: all 0.25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none; position: fixed; top: 66px; left: 0; right: 0; z-index: 899;
  background: var(--glass); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bdr);
  flex-direction: column; gap: 2px; padding: 10px 20px 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 11px 14px; border-radius: 8px;
  font-size: 0.95rem; color: var(--tx2);
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover { color: var(--tx); background: var(--surf); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 9px;
  font-size: 0.92rem; font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  cursor: pointer; white-space: nowrap;
}
.btn:active { transform: scale(0.97) !important; }
.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; box-shadow: var(--shad-brand);
}
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--brand-glow); filter: brightness(1.08); }
.btn-ghost {
  background: var(--surf); border: 1.5px solid var(--bdr); color: var(--tx);
}
.btn-ghost:hover { background: var(--surf2); transform: translateY(-1px); }
.btn-outline-brand {
  background: transparent; border: 2px solid var(--brand); color: var(--brand);
}
.btn-outline-brand:hover { background: var(--brand-light); transform: translateY(-1px); }
.btn-lg  { padding: 14px 30px; font-size: 1rem; border-radius: 10px; }
.btn-sm  { padding: 7px 14px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ── BADGES ── */
.badge {
  display: inline-flex; align-items: center; padding: 3px 10px;
  border-radius: 100px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
}
.bdg-brand { background: var(--brand-light); color: var(--brand); border: 1px solid var(--brand-border); }
.bdg-success { background: rgba(22, 163, 74, 0.1); color: var(--success); border: 1px solid rgba(22, 163, 74, 0.25); }
.bdg-warn   { background: rgba(217, 119, 6, 0.1); color: var(--warn);    border: 1px solid rgba(217, 119, 6, 0.25); }

/* ── FORM ELEMENTS ── */
.fi {
  width: 100%; background: var(--surf); border: 1.5px solid var(--bdr);
  color: var(--tx); border-radius: 9px; padding: 11px 15px;
  font-size: 0.92rem; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}
.fi:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); }
.fi::placeholder { color: var(--tx3); }
.fi.error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15); }
select.fi { cursor: pointer; }
select.fi option { background: var(--bg2); color: var(--tx); }
.fi-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.fi-label {
  font-size: 0.8rem; font-weight: 600; color: var(--tx2);
  text-transform: uppercase; letter-spacing: 0.03em;
}
.fi-error { font-size: 0.78rem; color: var(--danger); margin-top: 3px; display: none; }
.fi-error.show { display: block; }
.fi-hint  { font-size: 0.78rem; color: var(--tx3); margin-top: 3px; }

/* ── SECTION HEADER ── */
.sec-head  { text-align: center; margin-bottom: 52px; }
.sec-tag   { display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.sec-title { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; margin-bottom: 12px; }
.sec-sub   { color: var(--tx2); font-size: 1rem; max-width: 520px; margin: 0 auto; }

/* ── HERO (landing page) ── */
.hero {
  min-height: calc(100vh - 66px);
  display: flex; align-items: center;
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(79, 70, 229, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 20%, transparent 100%);
}
.hero-content { max-width: 680px; position: relative; z-index: 1; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surf); border: 1px solid var(--brand-border);
  border-radius: 100px; padding: 6px 16px;
  font-size: 0.82rem; font-weight: 500; color: var(--brand);
  margin-bottom: 28px;
  animation: fsd 0.6s ease both;
}
.hero-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.5)} }
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 800; line-height: 1.07;
  margin-bottom: 22px;
  animation: fsd 0.6s 0.1s ease both;
}
.hero-grad {
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 1.1rem; color: var(--tx2); line-height: 1.75; max-width: 560px;
  margin-bottom: 38px;
  animation: fsd 0.6s 0.18s ease both;
}
.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fsd 0.6s 0.26s ease both;
  margin-bottom: 56px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: 0; width: fit-content;
  background: var(--bg2); border: 1px solid var(--bdr);
  border-radius: 14px; overflow: hidden;
  animation: fsd 0.6s 0.34s ease both;
}
.hstat {
  padding: 18px 28px; text-align: center;
  border-right: 1px solid var(--bdr);
}
.hstat:last-child { border-right: none; }
.hstat-num { display: block; font-size: 1.75rem; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 4px; }
.hstat-lbl { display: block; font-size: 0.78rem; color: var(--tx3); }
@keyframes fsd { from{opacity:0;transform:translateY(-14px)} to{opacity:1;transform:translateY(0)} }

/* Hero visual (right column) */
.hero-wrap { display: grid; grid-template-columns: 1fr 400px; gap: 52px; align-items: center; }
.hero-visual {
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: center;
}
.hero-qr-mockup {
  background: var(--bg2); border: 1.5px solid var(--bdr);
  border-radius: 20px; padding: 32px;
  box-shadow: var(--shad), 0 0 60px var(--brand-glow);
  text-align: center;
  animation: fsd 0.6s 0.4s ease both;
  width: 100%;
}
.hero-qr-mockup canvas, .hero-qr-mockup img { margin: 0 auto 16px; display: block; }
.hero-qr-caption { font-size: 0.82rem; color: var(--tx2); }
.hero-qr-url {
  font-size: 0.75rem; color: var(--brand); font-weight: 600;
  background: var(--brand-light); padding: 4px 10px; border-radius: 6px;
  margin-top: 6px; display: inline-block;
}

/* ── HOW IT WORKS ── */
.hiw-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.hiw-card {
  background: var(--bg2); border: 1.5px solid var(--bdr);
  border-radius: 16px; padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}
.hiw-card:hover { border-color: var(--brand-border); transform: translateY(-4px); }
.hiw-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; font-size: 1.1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.hiw-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.hiw-desc  { font-size: 0.88rem; color: var(--tx2); line-height: 1.65; }
.hiw-connector {
  position: absolute; top: 50px; right: -13px; z-index: 2;
  width: 24px; height: 2px; background: var(--brand-border);
}

/* ── REVIEWS ── */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.review-card {
  background: var(--bg2); border: 1.5px solid var(--bdr);
  border-radius: 16px; padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.review-card:hover { border-color: var(--brand-border); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(79, 70, 229, 0.12); }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.review-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--brand-border);
}
.review-name  { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.review-date  { font-size: 0.76rem; color: var(--tx3); }
.review-stars { display: flex; gap: 3px; margin-bottom: 12px; }
.star { color: #f59e0b; font-size: 0.95rem; }
.star-half { position: relative; display: inline-block; }
.review-text { font-size: 0.88rem; color: var(--tx2); line-height: 1.7; }

/* ── QR GENERATOR PAGE ── */
.generator-layout {
  display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start;
}
.gen-form-card {
  background: var(--bg2); border: 1.5px solid var(--bdr);
  border-radius: 18px; overflow: hidden;
}
.gen-form-head {
  padding: 20px 24px; background: var(--bg3);
  border-bottom: 1px solid var(--bdr);
  display: flex; align-items: center; justify-content: space-between;
}
.gen-form-title { font-size: 1rem; font-weight: 700; }
.gen-form-body  { padding: 24px; }

/* QR Type Selector */
.type-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 24px;
}
.type-btn {
  padding: 11px 8px; border-radius: 9px;
  border: 1.5px solid var(--bdr); background: var(--surf);
  color: var(--tx2); font-size: 0.8rem; font-weight: 600;
  cursor: pointer; transition: all 0.15s; text-align: center;
}
.type-btn:hover { border-color: var(--brand-border); color: var(--tx); }
.type-btn.active {
  border-color: var(--brand); background: var(--brand-light);
  color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow);
}
.type-icon { display: block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 4px; }

/* Dynamic fields */
.fields-group { display: flex; flex-direction: column; gap: 0; }

/* QR Customize */
.customize-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px;
  margin-top: 4px;
}
.color-input-wrap { display: flex; gap: 8px; align-items: center; }
.color-swatch { width: 40px; height: 40px; border-radius: 8px; border: 1.5px solid var(--bdr); cursor: pointer; padding: 2px; background: var(--surf); flex-shrink: 0; }
.color-swatch + .fi { flex: 1; }

/* QR Preview Panel */
.qr-panel {
  position: sticky; top: 82px;
  background: var(--bg2); border: 1.5px solid var(--bdr);
  border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
}
.qr-panel-head {
  padding: 16px 20px; background: var(--bg3);
  border-bottom: 1px solid var(--bdr);
  display: flex; align-items: center; justify-content: space-between;
}
.qr-panel-label { font-size: 0.92rem; font-weight: 700; }
.qr-panel-body  { padding: 28px 24px; display: flex; flex-direction: column; align-items: center; }
.qr-output {
  width: 220px; height: 220px;
  background: var(--surf); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; overflow: hidden;
  position: relative;
}
.qr-output canvas, .qr-output img { max-width: 100%; max-height: 100%; }
.qr-placeholder {
  text-align: center; color: var(--tx3); font-size: 0.82rem; padding: 20px;
  line-height: 1.6;
}
.qr-placeholder-icon {
  width: 52px; height: 52px; border-radius: 12px;
  border: 2px dashed var(--bdr2); margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; color: var(--tx3);
  letter-spacing: 0.04em;
}
.qr-actions { display: flex; flex-direction: column; gap: 9px; width: 100%; }
.qr-meta { font-size: 0.76rem; color: var(--tx3); text-align: center; margin-top: 8px; line-height: 1.5; }

/* ── FEATURES STRIP ── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px;
}
.feature-card {
  background: var(--bg2); border: 1.5px solid var(--bdr);
  border-radius: 14px; padding: 24px 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--brand-border); transform: translateY(-3px); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand-light); border: 1px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800; color: var(--brand);
  letter-spacing: 0.03em; margin-bottom: 14px;
}
.feature-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.feature-desc  { font-size: 0.83rem; color: var(--tx2); line-height: 1.6; }

/* ── HOW IT WORKS (generator page) ── */
.how-steps { display: flex; flex-direction: column; gap: 16px; max-width: 600px; margin: 0 auto; }
.how-step {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--bg2); border: 1.5px solid var(--bdr);
  border-radius: 14px; padding: 18px 20px;
}
.how-step-num {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; font-size: 0.8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.how-step-title { font-size: 0.92rem; font-weight: 700; margin-bottom: 3px; }
.how-step-desc  { font-size: 0.83rem; color: var(--tx2); line-height: 1.55; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--bdr); padding: 56px 0 32px;
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid; grid-template-columns: 260px 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
.footer-brand-desc { font-size: 0.86rem; color: var(--tx2); line-height: 1.7; margin-top: 12px; }
.footer-col-title  { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tx3); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 0.86rem; color: var(--tx2);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--bdr);
  font-size: 0.82rem; color: var(--tx3);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--tx3); transition: color 0.15s; }
.footer-bottom-links a:hover { color: var(--brand); }

/* Ad slot */
.ad-slot {
  background: var(--surf); border: 1.5px dashed var(--bdr2);
  border-radius: 12px; padding: 20px; text-align: center;
  color: var(--tx3); font-size: 0.78rem; margin-top: 32px;
  min-height: 90px; display: flex; align-items: center; justify-content: center;
}
.ad-slot:empty { display: none; }

/* ── TOAST ── */
.toast-region { position: fixed; bottom: 24px; right: 24px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg2); border: 1.5px solid var(--bdr);
  border-radius: 12px; padding: 12px 18px;
  box-shadow: var(--shad); font-size: 0.87rem; font-weight: 500;
  animation: tin 0.28s ease; max-width: 320px;
  transition: opacity 0.3s, transform 0.3s;
}
.toast.success { border-color: rgba(22, 163, 74, 0.35); }
.toast.error   { border-color: rgba(220, 38, 38, 0.35); }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.toast.success .toast-dot { background: var(--success); }
.toast.error   .toast-dot { background: var(--danger); }
@keyframes tin { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }

/* ── BACK TO TOP ── */
.btt {
  position: fixed; bottom: 24px; left: 24px; z-index: 500;
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shad-brand);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btt.vis { opacity: 1; pointer-events: all; }
.btt:hover { transform: translateY(-3px); }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--bdr); margin: 24px 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { display: flex; justify-content: center; order: -1; }
  .hero-qr-mockup { max-width: 300px; width: 100%; }
  .hero-content { text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .hero-pill { margin-left: auto; margin-right: auto; }
  .generator-layout { grid-template-columns: 1fr; }
  .qr-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hiw-grid { grid-template-columns: 1fr; }
  .hiw-connector { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .customize-row { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { grid-template-columns: 1fr; width: 100%; }
  .hstat { border-right: none; border-bottom: 1px solid var(--bdr); }
  .hstat:last-child { border-bottom: none; }
  .nav-cta { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 2.1rem; }
  .btn-lg { padding: 12px 22px; font-size: 0.92rem; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .customize-row { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}