/* ════════════════════════════════════════════════════════════
   MonDocument — style.css
   Design: Dark luxury editorial · Playfair Display + DM Sans
   ════════════════════════════════════════════════════════════ */

/* ── RESET & VARIABLES ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0d0f14;
  --bg-2:        #131620;
  --bg-3:        #1a1e2b;
  --surface:     #1e2330;
  --surface-2:   #252b3b;
  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.12);
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --gold-dim:    rgba(201,168,76,0.15);
  --text:        #e8eaf0;
  --text-2:      #9ba3b8;
  --text-3:      #636a82;
  --accent:      #4f7cff;
  --accent-dim:  rgba(79,124,255,0.15);
  --success:     #2ecc71;
  --error:       #e74c3c;
  --info:        #3498db;
  --radius:      12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.6);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --transition:  0.22s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── CONTAINER ─────────────────────────────────────────────── */
.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,15,20,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0d0f14;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.logo-mark.small { width: 28px; height: 28px; font-size: 14px; }

.logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.logo-text strong { color: var(--gold); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-ghost {
  background: none;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0d0f14;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,0.3); }

/* ── CREDIT BADGE ─────────────────────────────────────────────── */
.credit-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
}
.credit-badge.credits-low {
  background: rgba(231,76,60,0.15);
  border-color: rgba(231,76,60,0.4);
  color: #ff6b6b;
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 90px 20px 80px;
  text-align: center;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold-light);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.stat { font-size: 14px; color: var(--text-2); }
.stat strong { color: var(--gold); font-weight: 600; }
.stat-sep { color: var(--text-3); }

/* ── TOOLS SECTION ────────────────────────────────────────────── */
.tools-section {
  padding: 60px 0 80px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 36px;
  text-align: center;
}

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

/* ── TOOL CARD ────────────────────────────────────────────────── */
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}
.tool-card:hover {
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.1);
  background: var(--surface-2);
}
.tool-card:hover::before { opacity: 1; }
.tool-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.card-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 4px;
}
.tool-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.tool-card p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
  flex: 1;
}
.card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.3px;
  transition: var(--transition);
}
.tool-card:hover .card-cta { transform: translateX(4px); display: inline-block; }

/* ── SEO SECTION ─────────────────────────────────────────────── */
.seo-section {
  background: var(--bg-2);
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
.seo-section h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 28px;
}
.seo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.seo-col p { color: var(--text-2); font-size: 14.5px; line-height: 1.75; margin-bottom: 16px; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.footer-links a { font-size: 13px; color: var(--text-3); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 12px; color: var(--text-3); }

/* ── MODAL OVERLAY ───────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.modal-overlay.active { display: flex; animation: fadeIn 0.2s ease; }

@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes slideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* ── MODAL ───────────────────────────────────────────────────── */
.modal {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  width: min(680px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.25s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-2);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition);
  z-index: 1;
  line-height: 1;
}
.modal-close:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px 24px;
  border-bottom: 1px solid var(--border);
}
.modal-icon { font-size: 36px; line-height: 1; flex-shrink: 0; }
.modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.modal-sub { font-size: 13.5px; color: var(--text-2); margin-top: 4px; }

.modal-body { padding: 24px 28px 28px; }

/* ── FORM FIELDS ─────────────────────────────────────────────── */
.form-area { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }

.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.2px;
}
.req { color: var(--gold); }

.field-group input,
.field-group textarea,
.field-group select {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 14px;
  transition: var(--transition);
  width: 100%;
  outline: none;
  resize: vertical;
  appearance: auto;
  -webkit-appearance: auto;
}
.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.field-group input::placeholder,
.field-group textarea::placeholder { color: var(--text-3); }

.field-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ba3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  appearance: none;
  -webkit-appearance: none;
}
.field-group select option { background: var(--bg-2); }

/* ── GENERATE BUTTON ─────────────────────────────────────────── */
.btn-generate {
  width: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #0d0f14;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-generate:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.35);
}
.btn-generate:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-generate-inner { display: flex; align-items: center; gap: 8px; }
.btn-loading { display: flex; align-items: center; gap: 10px; }

/* Spinner */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(13,15,20,0.3);
  border-top-color: #0d0f14;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESULT AREA ─────────────────────────────────────────────── */
.result-area { margin-top: 24px; animation: slideUp 0.25s ease; }

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.result-header h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.word-count {
  font-size: 12px;
  color: var(--text-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
}

.result-text {
  width: 100%;
  min-height: 200px;
  max-height: 380px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.7;
  padding: 16px;
  resize: vertical;
  outline: none;
  transition: var(--transition);
}
.result-text:focus { border-color: var(--gold); }

/* ── ACTION BAR ─────────────────────────────────────────────── */
.action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.btn-action {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  color: var(--text-2);
  border-radius: 8px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-action:hover { background: var(--surface-2); border-color: var(--border-2); color: var(--text); }
.btn-improve { border-color: rgba(201,168,76,0.3); color: var(--gold); }
.btn-improve:hover { background: var(--gold-dim); border-color: var(--gold); }

/* ── PAYWALL MODAL ───────────────────────────────────────────── */
.modal-paywall {
  width: min(600px, 100%);
  text-align: center;
}
.paywall-header { padding: 36px 28px 28px; }
.paywall-icon { font-size: 48px; margin-bottom: 16px; }
.paywall-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.paywall-header p { color: var(--text-2); font-size: 14px; }

.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 24px 24px;
}

.pack-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: var(--transition);
}
.pack-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.pack-popular {
  border-color: rgba(201,168,76,0.5);
  background: linear-gradient(135deg, var(--surface), rgba(201,168,76,0.06));
}
.pack-badge {
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0d0f14;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.pack-name { font-weight: 600; color: var(--text); font-size: 15px; }
.pack-credits { font-size: 22px; font-weight: 700; color: var(--gold); font-family: var(--font-display); }
.pack-price { font-size: 20px; font-weight: 600; color: var(--text); }
.pack-per { font-size: 11px; color: var(--text-3); margin-bottom: 8px; }

.btn-pack {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0d0f14;
  border: none;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}
.btn-pack:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(201,168,76,0.3); }

.paywall-secure {
  font-size: 12px;
  color: var(--text-3);
  padding: 0 24px 28px;
}

/* ── SIDE PANEL ─────────────────────────────────────────────── */
.side-panel {
  position: fixed;
  top: 0; right: -360px;
  width: 360px; height: 100vh;
  background: var(--bg-2);
  border-left: 1px solid var(--border-2);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
}
.side-panel.open { right: 0; }

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.panel-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
}
.panel-close {
  background: none; border: none;
  color: var(--text-2); font-size: 22px;
  cursor: pointer; line-height: 1;
  transition: var(--transition);
}
.panel-close:hover { color: var(--text); }

.panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
}
.btn-clear {
  font-size: 13px; padding: 6px 14px;
  color: #ff6b6b; border-color: rgba(231,76,60,0.3);
}
.btn-clear:hover { border-color: var(--error); color: var(--error); }

.empty-state {
  color: var(--text-3);
  font-size: 14px;
  text-align: center;
  padding: 32px 0;
}

.history-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  transition: var(--transition);
}
.history-item:hover { border-color: var(--border-2); }
.history-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.history-tool { font-size: 13px; font-weight: 500; color: var(--text); }
.history-date { font-size: 11px; color: var(--text-3); }
.history-preview {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-history-restore {
  background: none;
  border: 1px solid var(--border-2);
  color: var(--gold);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11.5px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-history-restore:hover { background: var(--gold-dim); border-color: var(--gold); }

.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 299;
  display: none;
}
.panel-overlay.active { display: block; }

/* ── TOAST ───────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-family: var(--font-body);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}
.toast.toast-visible { opacity: 1; transform: translateY(0); }
.toast.toast-success { border-color: rgba(46,204,113,0.4); color: #6ee89b; }
.toast.toast-error   { border-color: rgba(231,76,60,0.4);  color: #ff8a7a; }
.toast.toast-info    { border-color: rgba(52,152,219,0.4); color: #7cc5f0; }

/* ── SEO PAGE SPECIFIC ───────────────────────────────────────── */
.seo-page-hero {
  padding: 60px 0 20px;
}
.seo-page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}
.seo-page-hero p {
  font-size: 16px;
  color: var(--text-2);
  max-width: 600px;
  margin-bottom: 8px;
}

.seo-content {
  padding: 40px 0 60px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}
.seo-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}
.seo-content p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 760px;
}

/* ── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-2); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .header-nav { gap: 6px; }
  .btn-buy span { display: none; }
  .hero { padding: 60px 20px 50px; }
  .tools-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tool-card { padding: 20px 16px; }
  .seo-cols { grid-template-columns: 1fr; gap: 0; }
  .pack-grid { grid-template-columns: 1fr; gap: 12px; }
  .side-panel { width: 100%; right: -100%; }
  .modal { border-radius: var(--radius-lg); }
  .modal-header { padding: 20px 20px 16px; gap: 12px; }
  .modal-body { padding: 20px; }
  .action-bar { gap: 6px; }
  .btn-action { padding: 6px 10px; font-size: 12px; }
}
@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 28px; }
}
