/* ============================================================
   BOLD TEXT GENERATOR — Main Stylesheet
   Theme: Educational Bright — warm cream, golden accent, ink blue
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --cream: #FDF8F0;
  --cream-dark: #F5EDD8;
  --ink: #1A1209;
  --ink-mid: #3D2E12;
  --gold: #D4891A;
  --gold-light: #F0A830;
  --gold-pale: #FFF3D6;
  --blue: #1B3A6B;
  --blue-mid: #2952A3;
  --blue-light: #E8F0FF;
  --teal: #0D7A6B;
  --teal-light: #E0F5F1;
  --red: #C0392B;
  --border: #E8DFC8;
  --shadow: rgba(26,18,9,0.08);
  --shadow-lg: rgba(26,18,9,0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --max-w: 1200px;
  --transition: 0.22s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* ── Utility ────────────────────────────────────────────────── */
.container { width: min(var(--max-w), 100% - 2rem); margin-inline: auto; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--ink);
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--ink-mid);
  max-width: 620px;
  margin-top: 0.5rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid #EEC97A;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.section-header { margin-bottom: 2.5rem; }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,137,26,0.35); }
  50% { box-shadow: 0 0 0 10px rgba(212,137,26,0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.animate-in { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.animate-in.visible { opacity: 1; transform: none; }

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled {
  background: rgba(253,248,240,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px var(--shadow);
  padding: 0.6rem 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-w), 100% - 2rem);
  margin-inline: auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  line-height: 1;
  color: white;
  font-style: normal;
}
.logo-accent { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-links a {
  color: var(--ink-mid);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover { background: var(--gold-pale); color: var(--gold); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition);
  display: block;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 6rem 0 3rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--cream) 0%, #FFF7E6 50%, var(--blue-light) 100%);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle, var(--ink) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-blob-1 {
  width: 400px; height: 400px;
  background: rgba(212,137,26,0.18);
  top: -100px; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.hero-blob-2 {
  width: 300px; height: 300px;
  background: rgba(27,58,107,0.12);
  bottom: 0; left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}
.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.7s ease both;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px var(--shadow);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulseGold 2s infinite;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1rem;
}
.hero-title .highlight {
  position: relative;
  color: var(--gold);
  display: inline-block;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-light);
  border-radius: 2px;
  opacity: 0.5;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--ink-mid);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.btn-primary {
  background: var(--gold);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--gold);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(212,137,26,0.4);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,137,26,0.45);
}
.btn-secondary {
  background: white;
  color: var(--ink);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--border);
  transition: all var(--transition);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
}
.hero-stat span {
  font-size: 0.82rem;
  color: var(--ink-mid);
}
.hero-bold-preview {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.preview-chip {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform var(--transition);
}
.preview-chip:hover { transform: translateY(-3px); }

/* ── GENERATOR ──────────────────────────────────────────────── */
#generator {
  padding: 5rem 0;
  background: white;
}
.generator-wrap {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 32px var(--shadow);
}
.generator-input-area {
  padding: 2rem;
  border-bottom: 1px solid var(--border);
  background: white;
}
.input-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-mid);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.input-wrap {
  position: relative;
}
#inputText {
  width: 100%;
  min-height: 120px;
  max-height: 280px;
  padding: 1rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  resize: vertical;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
#inputText:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,137,26,0.15);
  background: white;
}
#inputText::placeholder { color: #BBA980; }
.input-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.char-count {
  font-size: 0.82rem;
  color: var(--ink-mid);
}
.char-count strong { color: var(--gold); }
.input-actions {
  display: flex;
  gap: 0.5rem;
}
.btn-clear {
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--red);
  border: 1px solid #F5C6C2;
  border-radius: 100px;
  background: #FFF5F4;
  transition: all var(--transition);
  font-weight: 500;
}
.btn-clear:hover { background: #FFEDEB; }

/* Sample buttons */
.sample-row {
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  background: var(--gold-pale);
}
.sample-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-right: 0.25rem;
}
.sample-btn {
  padding: 4px 12px;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: white;
  color: var(--ink-mid);
  transition: all var(--transition);
  font-weight: 500;
}
.sample-btn:hover { background: var(--gold-pale); color: var(--gold); border-color: var(--gold); }

/* Output grid */
.output-grid-wrap {
  padding: 2rem;
}
.output-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.output-grid-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}
.output-grid-count {
  font-size: 0.82rem;
  color: var(--ink-mid);
  background: var(--cream-dark);
  padding: 3px 10px;
  border-radius: 100px;
}
#outputContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 1rem;
}
.output-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fadeUp 0.4s ease both;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.output-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--shadow-lg);
  border-color: var(--gold);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-emoji { font-size: 1rem; }
.card-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  padding: 2px 8px;
  border-radius: 100px;
}
.card-output {
  font-size: 1.05rem;
  line-height: 1.6;
  word-break: break-word;
  color: var(--ink);
  min-height: 3em;
  padding: 0.6rem 0.8rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.card-output.placeholder {
  color: #BBA980;
  font-style: italic;
}
.card-desc {
  font-size: 0.78rem;
  color: var(--ink-mid);
  line-height: 1.5;
}
.copy-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid #EEC97A;
  transition: all var(--transition);
  white-space: nowrap;
}
.copy-btn:hover:not(.disabled) {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}
.copy-btn.copied {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.copy-btn.disabled { opacity: 0.4; cursor: not-allowed; }

/* ── STYLES SHOWCASE ────────────────────────────────────────── */
#styles {
  padding: 5rem 0;
  background: linear-gradient(180deg, #EEF3FF 0%, var(--cream) 100%);
}
.styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.style-showcase-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}
.style-showcase-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 28px var(--shadow);
  transform: translateY(-3px);
}
.style-name {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-mid);
  margin-bottom: 0.5rem;
}
.style-preview {
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.style-desc-small {
  font-size: 0.78rem;
  color: var(--ink-mid);
}

/* ── HOW IT WORKS ───────────────────────────────────────────── */
#how-it-works {
  padding: 5rem 0;
  background: white;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
}
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
}
.step-card:hover {
  background: white;
  box-shadow: 0 8px 28px var(--shadow);
  transform: translateY(-4px);
}
.step-number {
  width: 52px;
  height: 52px;
  background: var(--gold);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1.2rem;
  box-shadow: 0 4px 14px rgba(212,137,26,0.4);
}
.step-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.step-text { font-size: 0.88rem; color: var(--ink-mid); }

/* ── USE CASES ──────────────────────────────────────────────── */
#uses {
  padding: 5rem 0;
  background: var(--cream);
}
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}
.platform-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all var(--transition);
}
.platform-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
}
.platform-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.platform-name { font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.25rem; }
.platform-tip { font-size: 0.75rem; color: var(--ink-mid); }
.uses-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.use-feature-card {
  display: flex;
  gap: 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all var(--transition);
}
.use-feature-card:hover { box-shadow: 0 4px 16px var(--shadow); }
.use-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-pale);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.use-title { font-weight: 600; font-size: 0.92rem; color: var(--ink); margin-bottom: 0.3rem; }
.use-text { font-size: 0.82rem; color: var(--ink-mid); line-height: 1.5; }

/* ── ABOUT UNICODE ──────────────────────────────────────────── */
#about-unicode {
  padding: 5rem 0;
  background: var(--blue);
  color: white;
}
#about-unicode .section-title { color: white; }
#about-unicode .section-subtitle { color: rgba(255,255,255,0.75); }
#about-unicode .section-tag {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  color: var(--gold-light);
}
.unicode-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.unicode-text p {
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.unicode-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.unicode-fact {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.unicode-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}
.unicode-fact span { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* ── TIPS ───────────────────────────────────────────────────── */
#tips {
  padding: 5rem 0;
  background: white;
}
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.tip-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--gold);
  transition: all var(--transition);
}
.tip-card:hover { background: white; box-shadow: 0 6px 20px var(--shadow); }
.tip-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tip-text { font-size: 0.85rem; color: var(--ink-mid); line-height: 1.6; }

/* ── FAQ ────────────────────────────────────────────────────── */
#faq {
  padding: 5rem 0;
  background: var(--cream);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: 0 4px 16px var(--shadow); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--gold); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: white;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--transition);
  padding: 0 1.4rem;
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 1.4rem 1.2rem;
}

/* ── CTA BANNER ─────────────────────────────────────────────── */
#cta-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--gold) 0%, #B8730E 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: white;
  margin-bottom: 1rem;
}
.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto 2rem;
}
.btn-white {
  background: white;
  color: var(--gold);
  padding: 0.9rem 2.5rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid white;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-white:hover {
  background: var(--gold-pale);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
#site-footer {
  background: var(--ink);
  color: white;
  padding: 4rem 0 0;
}
.footer-inner {
  width: min(var(--max-w), 100% - 2rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { color: white; }
.footer-logo .logo-accent { color: var(--gold-light); }
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.footer-socials a:hover { background: var(--gold); color: white; }
.footer-links-group h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-links-group ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links-group a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links-group a:hover { color: var(--gold-light); }
.footer-bottom {
  width: min(var(--max-w), 100% - 2rem);
  margin-inline: auto;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-legal { display: flex; gap: 0.75rem; }

/* ── TOAST ──────────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .unicode-content { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 20px var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all var(--transition);
    z-index: 999;
    gap: 0.25rem;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: all;
    transform: none;
  }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 1.5rem; }
  .hero-bold-preview { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .unicode-facts { grid-template-columns: 1fr; }
  .generator-input-area { padding: 1.25rem; }
  .output-grid-wrap { padding: 1.25rem; }
}
