/* =============================================
   LayerHost Ferramentas — CSS Local (Light Only)
   ============================================= */

/* Fonts */
@font-face {
  font-family: 'Poppins';
  src: url('./fonts/poppins-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('./fonts/poppins-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('./fonts/poppins-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --radius: .75rem;
  --bg: #fff;
  --fg: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --accent: #3b82f6;
  --card: #fff;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ---- Utilities ---- */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-up         { opacity: 0; animation: fadeInUp .6s ease-out forwards; }
.fade-up.d1      { animation-delay: .1s; }
.fade-up.d2      { animation-delay: .2s; }
.fade-up.d3      { animation-delay: .3s; }
.fade-up.d4      { animation-delay: .4s; }
.fade-up.d5      { animation-delay: .5s; }

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.navbar__logo img { height: 36px; }
.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar__links a,
.navbar__links button {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius);
  border: none;
  background: none;
  transition: color .2s, background .2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.navbar__links a:hover,
.navbar__links button:hover {
  color: var(--fg);
  background: #f1f5f9;
}
.navbar__links a.active { color: var(--primary); font-weight: 700; }
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar__actions a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.navbar__actions a:hover { color: var(--fg); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all .2s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  border-radius: 8px;
  transition: background .2s;
}
.nav-dropdown__menu a:hover { background: #f1f5f9; }
.nav-dropdown__menu a svg { color: var(--primary); flex-shrink: 0; }
.nav-dropdown__menu a span { display: block; }
.nav-dropdown__menu a .item-label { font-weight: 600; font-size: 13px; }
.nav-dropdown__menu a .item-desc { font-size: 11px; color: var(--muted); font-weight: 400; }

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 18px;
  background: none;
  border: none;
  padding: 0;
}
.navbar__hamburger span {
  display: block;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: all .3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  color: var(--fg);
  transition: background .2s;
}
.mobile-menu a:hover { background: #f1f5f9; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: calc(var(--radius) + 4px);
  border: none;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(29,78,216,0.35); }
.btn-primary.active { background: var(--primary); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: calc(var(--radius) + 4px);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* ---- Promo Bar ---- */
.promo-bar {
  background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 50%, #1d4ed8 100%);
  padding: 12px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.promo-bar code {
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
}

/* ---- Hero Section ---- */
.hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  background: radial-gradient(at 30% 20%, rgba(29,78,216,0.07) 0%, transparent 60%),
              radial-gradient(at 80% 80%, rgba(59,130,246,0.05) 0%, transparent 50%),
              linear-gradient(180deg, #eef2ff 0%, #f8fafc 60%, #fff 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231e40af' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--primary); }
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Section base ---- */
section { padding: 80px 0; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(29,78,216,0.08);
  border: 1px solid rgba(29,78,216,0.15);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
}
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ---- Filter Bar ---- */
.filter-bar {
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 72px;
  z-index: 50;
}

/* ---- Tools Section ---- */
.tools-section { padding: 80px 0; }
.tools-section + .tools-section { padding-top: 0; }
.tools-section--alt { background: #f8fafc; }

.category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.category-header__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.category-header__info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 2px;
}
.category-header__info p {
  font-size: 14px;
  color: var(--muted);
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.tool-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29,78,216,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(29,78,216,0.12);
  border-color: rgba(29,78,216,0.25);
}
.tool-card:hover::before { opacity: 1; }

.tool-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(29,78,216,0.1) 0%, rgba(59,130,246,0.08) 100%);
  border: 1px solid rgba(29,78,216,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.tool-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}

.tool-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.tool-card__action {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  transition: gap .2s;
}
.tool-card:hover .tool-card__action { gap: 10px; }

/* ---- Tool Modal / Panel ---- */
.tool-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.45);
  z-index: 200;
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.tool-overlay.open { display: flex; }

.tool-panel {
  background: #fff;
  border-radius: calc(var(--radius) * 2);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
  animation: fadeInUp .3s ease-out;
}

.tool-panel__header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  border-radius: calc(var(--radius) * 2) calc(var(--radius) * 2) 0 0;
}

.tool-panel__title { font-size: 18px; font-weight: 700; color: var(--fg); }
.tool-panel__close {
  width: 32px; height: 32px;
  border: none; background: none;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.tool-panel__close:hover { background: #f1f5f9; color: var(--fg); }

.tool-panel__body { padding: 28px; display: flex; flex-direction: column; gap: 20px; }

/* ---- Form Elements ---- */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--fg); }

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 10px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--fg);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}
.form-textarea { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Result box */
.result-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 14px;
  color: var(--fg);
  min-height: 80px;
  word-break: break-word;
  white-space: pre-wrap;
  line-height: 1.7;
}

.result-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  padding: 16px;
}

/* Copy btn */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
}
.copy-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.copy-btn.copied { background: #10b981; border-color: #10b981; color: #fff; }

/* ---- About section ---- */
.about-section {
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}

/* ---- CTA Banner ---- */
.cta-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-section .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  border-radius: calc(var(--radius) + 4px);
  border: none;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
}
.cta-section .btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.cta-section .cta-trust {
  margin-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-trust span { display: flex; align-items: center; gap: 6px; }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background .2s;
}
.faq-question:hover { background: #f8fafc; }
.faq-question svg { flex-shrink: 0; transition: transform .3s; color: var(--muted); }
.faq-item.open .faq-question svg { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 20px 18px; }

/* Divider */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ---- Footer ---- */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { height: 32px; margin-bottom: 16px; filter: brightness(10); }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 260px; color: #64748b; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #e2e8f0; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: #64748b; transition: color .2s; }
.footer-col ul li a:hover { color: #e2e8f0; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 12px; color: #475569; }
.footer-bottom .footer-legal { display: flex; gap: 20px; }
.footer-bottom .footer-legal a { font-size: 12px; color: #475569; transition: color .2s; }
.footer-bottom .footer-legal a:hover { color: #94a3b8; }

/* ---- Tool-specific panels ---- */
.qr-canvas {
  display: flex;
  justify-content: center;
  padding: 12px;
}
.qr-canvas canvas, .qr-canvas img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.password-strength {
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  overflow: hidden;
  margin-top: 4px;
}
.password-strength__bar {
  height: 100%;
  border-radius: 3px;
  transition: width .4s, background .4s;
}

/* IP display */
.ip-display {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* Sorter list */
.sorter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 300px;
  overflow-y: auto;
  padding: 4px;
}
.sorter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.sorter-item.winner { background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: #fff; border-color: transparent; }

/* Link bio */
.link-bio-preview {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.link-bio-preview .bio-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.link-bio-preview .bio-name { font-size: 18px; font-weight: 700; color: var(--fg); }
.link-bio-preview .bio-links { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.bio-link-item {
  width: 100%;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: opacity .2s;
}
.bio-link-item:hover { opacity: 0.85; }

/* Tag badge */
.badge-new {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: #10b981;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar__links, .navbar__actions { display: none; }
  .navbar__hamburger { display: flex; }
  .tools-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  section { padding: 60px 0; }
  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 60px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .tool-panel { max-height: 95vh; }
  .result-value { font-size: 1.5rem; }
  .ip-display { font-size: 1.6rem; }
}
