*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #eff6ff;
  --navy: #0f172a;
  --slate: #1e293b;
  --gray: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --green: #059669;
  --green-light: #ecfdf5;
  --red: #dc2626;
  --red-light: #fef2f2;
  --yellow: #d97706;
  --yellow-light: #fef3c7;
  --purple: #7c3aed;
  --purple-light: #f5f3ff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.10), 0 4px 14px rgba(0,0,0,0.06);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }
body { overflow-x: hidden; max-width: 100vw; width: 100%; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }

body {
  font-family: 'Figtree', sans-serif;
  background: var(--light);
  color: var(--slate);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: hidden;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  flex-shrink: 0;
  min-width: 0;
}
.logo-icon {
  width: 30px;
  height: 30px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.15s;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .nav-links a { font-size: 0.72rem; padding: 6px 8px; }
  .nav-links a .nav-full { display: none; }
  .nav-links a .nav-short { display: inline; }
  .logo span { display: none; }
}
@media (min-width: 521px) {
  .nav-links a .nav-full { display: inline; }
  .nav-links a .nav-short { display: none; }
}
.nav-links a:hover { color: var(--blue); background: var(--blue-light); }
.nav-links a.active { color: var(--blue); background: var(--blue-light); font-weight: 600; }

/* ── PAGE LAYOUT ── */
.page {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  flex: 1;
}
.page-header {
  text-align: center;
  margin-bottom: 40px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-purple { background: var(--purple-light); color: var(--purple); }

.page-header h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.page-header p {
  color: var(--gray);
  font-size: 1rem;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.card-body { padding: 40px; }
@media (max-width: 600px) { .card-body { padding: 28px 20px; } }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  border-radius: 100px;
  padding: 14px 36px;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: white;
}
.btn-primary:hover:not(:disabled) {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.30);
}
.btn-primary:active:not(:disabled) { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-lg { padding: 16px 52px; font-size: 1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 28px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner p { color: var(--gray); font-size: 0.84rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: var(--gray);
  font-size: 0.84rem;
  text-decoration: none;
}
.footer-links a:hover { color: var(--blue); }

/* ── AD SLOTS ── */
.ad-slot {
  background: var(--light);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ad-top { height: 90px; margin-bottom: 32px; width: 100%; max-width: 100%; overflow: hidden; }
.ad-bottom { height: 90px; margin-top: 32px; width: 100%; max-width: 100%; overflow: hidden; }

/* ── UTILITIES ── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.fade-in { animation: fadeIn 0.4s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }


/* ── SUGGEST A TOOL ── */
.suggest-section {
  max-width: 780px;
  margin: 0 auto 56px;
  padding: 0 24px;
}
.suggest-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}
.suggest-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.suggest-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.suggest-header h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.suggest-header p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.65;
}
.suggest-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.suggest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 640px) {
  .suggest-section { padding: 0 16px; margin-bottom: 42px; }
  .suggest-card { padding: 22px; }
  .suggest-grid { grid-template-columns: 1fr; }
}
.suggest-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 6px;
}
.suggest-field input,
.suggest-field textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.suggest-field textarea {
  min-height: 96px;
  resize: vertical;
}
.suggest-field input:focus,
.suggest-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.suggest-hint {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.55;
  margin-top: -4px;
}
.suggest-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.suggest-status {
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 600;
  min-height: 1.2em;
}
.bot-field {
  display: none !important;
}
