:root {
  --bg: #0b1020;
  --panel: rgba(255, 255, 255, 0.09);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --text: #f7f8ff;
  --muted: #b8c0d9;
  --line: rgba(255, 255, 255, 0.15);
  --brand: #8b5cf6;
  --brand-2: #22d3ee;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(139, 92, 246, 0.38), transparent 34rem),
    radial-gradient(circle at 85% 10%, rgba(34, 211, 238, 0.24), transparent 30rem),
    linear-gradient(135deg, #09111f, #111827 45%, #160f2e);
  min-height: 100vh;
}
a { color: inherit; }
.page-shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  width: min(1160px, calc(100% - 32px));
  margin: 22px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 12px;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.site-nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 0.95rem; }
.site-nav a, .site-footer a { text-decoration: none; }
.site-nav a:hover, .site-footer a:hover { color: var(--text); }
.hero { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 28px; align-items: center; padding: 88px 0 34px; }
.badge, .eyebrow { color: #c4b5fd; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.76rem; }
h1 { font-size: clamp(2.6rem, 7vw, 5.8rem); line-height: 0.95; margin: 18px 0; letter-spacing: -0.07em; }
h2 { margin: 0 0 14px; font-size: clamp(1.45rem, 2.7vw, 2.2rem); letter-spacing: -0.04em; }
p { color: var(--muted); line-height: 1.7; }
.hero-text { font-size: 1.12rem; max-width: 740px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.primary-link, .secondary-link, .primary-button, .password-output button, .icon-button {
  border: 0;
  border-radius: 16px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.primary-link, .primary-button { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: white; padding: 14px 20px; box-shadow: 0 14px 38px rgba(34,211,238,.22); }
.secondary-link { border: 1px solid var(--line); color: var(--text); padding: 13px 19px; background: rgba(255,255,255,.06); }
.trust-card, .generator-card, .side-panel, .content-card, .legal-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}
.trust-card { padding: 28px; }
.trust-card ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.9; }
.ad-container { margin: 18px auto 28px; }
.ad-label { margin: 0 0 8px; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: #96a0bb; text-align: center; }
.ad-placeholder {
  min-height: 110px;
  border: 1px dashed rgba(255,255,255,.28);
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #9da7c2;
  background: rgba(255,255,255,.045);
  text-align: center;
  padding: 18px;
}
.generator-section { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; padding: 24px 0 56px; }
.generator-card { padding: clamp(22px, 4vw, 36px); }
.card-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.icon-button { width: 48px; height: 48px; color: white; background: var(--panel-strong); border: 1px solid var(--line); font-size: 1.35rem; }
.output-label { display: block; margin: 0 0 10px; color: var(--muted); font-weight: 700; }
.password-output { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch; }
textarea {
  width: 100%;
  resize: vertical;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  color: var(--text);
  background: rgba(7, 12, 25, 0.75);
  font: 700 1.05rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  outline: none;
}
textarea:focus, input[type="range"]:focus-visible { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(34,211,238,.14); }
.password-output button { min-width: 92px; color: #06111f; background: white; padding: 0 18px; }
.helper-text { font-size: .92rem; margin: 10px 0 0; }
.copy-message { min-height: 24px; margin: 8px 0 0; color: var(--success); font-weight: 700; }
.strength-panel { margin: 18px 0 24px; }
.strength-row { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; color: var(--muted); }
.strength-row strong { color: var(--text); }
.strength-track { height: 12px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.1); }
.strength-track span { display: block; height: 100%; width: 0%; border-radius: inherit; background: linear-gradient(90deg, var(--danger), var(--warning), var(--success)); transition: width .25s ease; }
.control-group { margin: 22px 0; }
.range-label { display: flex; justify-content: space-between; font-weight: 800; color: var(--text); margin-bottom: 10px; }
input[type="range"] { width: 100%; accent-color: var(--brand-2); }
.options-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.option-card { display: flex; gap: 12px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.055); cursor: pointer; }
.option-card input { width: 18px; height: 18px; accent-color: var(--brand-2); }
.option-card small { display: block; color: var(--muted); margin-top: 4px; }
.primary-button { width: 100%; font-size: 1rem; }
.side-panel { padding: 26px; }
.score-list { display: grid; gap: 10px; margin: 18px 0; }
.score-list span { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; color: var(--muted); }
.score-list b { color: var(--text); }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 70px; }
.content-card { padding: 26px; box-shadow: none; }
.legal-main { padding: 70px 0; }
.legal-card { padding: clamp(24px, 5vw, 44px); max-width: 900px; margin: 0 auto; }
.legal-card h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
.legal-card h2 { margin-top: 32px; }
.legal-card li { color: var(--muted); line-height: 1.8; margin-bottom: 8px; }
.notice-box { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: rgba(255,255,255,.055); color: var(--muted); }
.site-footer { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 38px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.site-footer p { margin: 0; }
@media (max-width: 900px) {
  .site-header, .hero, .generator-section, .content-grid { grid-template-columns: 1fr; }
  .site-header { align-items: flex-start; flex-direction: column; }
  .hero { padding-top: 54px; }
}
@media (max-width: 560px) {
  .password-output, .options-grid { grid-template-columns: 1fr; }
  .password-output button { min-height: 48px; }
}


.wide-card { grid-column: 1 / -1; }
.seo-section { margin-top: 36px; }
.faq-section {
  margin: 36px auto 70px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 30px;
  padding: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}
.faq-section details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.faq-section summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1.04rem;
}
.faq-section p { margin-bottom: 0; }
