/* ═══════════════════════════════════════════════════════════════
   THE TOOLS HUB — Main Stylesheet
   Brand: Electric Purple #7B2FBE
   Slogan: Powering Possibilities
═══════════════════════════════════════════════════════════════ */

/* ─── ROOT & RESET ─────────────────────────────────────────── */
:root {
  --p900: #3A0A72;
  --p800: #52119E;
  --p700: #6B1FC4;
  --p600: #7B2FBE;
  --p500: #9147D4;
  --p400: #A96BE0;
  --p300: #C49AEE;
  --p200: #DFC5F8;
  --p100: #F2E8FD;

  --ink:  #08050F;
  --ink2: #100B1E;
  --ink3: #1C1530;
  --ink4: #2C2245;
  --ink5: #3E3360;

  --smoke: #8A7FAA;
  --mist:  #6A5F88;
  --ash:   #4A4068;

  --white: #FDFAFF;
  --off:   #F4EFFE;

  --green: #12B76A;
  --amber: #F79009;
  --red:   #F04438;
  --teal:  #0BA5A4;

  --border:     rgba(123,47,190,0.16);
  --border-mid: rgba(123,47,190,0.28);
  --border-hi:  rgba(169,107,224,0.45);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.55);
  --glow-sm:   0 0 20px rgba(123,47,190,0.3);
  --glow-md:   0 0 40px rgba(123,47,190,0.4);
  --glow-lg:   0 0 80px rgba(123,47,190,0.3);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --nav-h: 70px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: 'Epilogue', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink2); }
::-webkit-scrollbar-thumb { background: var(--p600); border-radius: 3px; }
::selection { background: var(--p700); color: var(--white); }

/* ─── CURSOR ────────────────────────────────────────────────── */
#cursor-dot {
  position: fixed; width: 8px; height: 8px;
  background: var(--p300); border-radius: 50%;
  pointer-events: none; z-index: 10000;
  transform: translate(-50%,-50%);
  transition: width .15s, height .15s, background .15s;
}
#cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid rgba(196,154,238,0.35);
  border-radius: 50%; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, border-color .2s;
}
body:hover #cursor-dot, body:hover #cursor-ring { opacity: 1; }

@media (hover: none) {
  #cursor-dot, #cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ─── BACKGROUND ────────────────────────────────────────────── */
#bg-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: -2; pointer-events: none;
}
.grid-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(123,47,190,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,47,190,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ─── NAV ───────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; z-index: 1000;
  background: rgba(8,5,15,0.8); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
nav.scrolled { background: rgba(8,5,15,0.95); }

.nav-brand {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
}
.nav-logo-img { width: 36px; height: 36px; border-radius: var(--radius-sm); }
.nav-brand-name {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 15px; letter-spacing: .06em; color: var(--white);
}
.nav-brand-name span { color: var(--p400); }
.nav-brand-tag {
  font-size: 10px; color: var(--smoke);
  letter-spacing: .1em; text-transform: uppercase; margin-top: -2px;
}

.nav-center { display: flex; gap: 32px; }
.nav-link {
  font-size: 12.5px; font-weight: 500; color: var(--smoke);
  letter-spacing: .03em; position: relative; padding: 4px 0;
  transition: color var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--p500);
  border-radius: 1px; transition: width var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--green); letter-spacing: .04em;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(18,183,106,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(18,183,106,0); }
}

.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative; padding: 0;
}
.nav-hamburger span {
  display: block; width: 100%; height: 2px; background: var(--white);
  border-radius: 1px; position: absolute; left: 0;
  transition: all var(--transition);
}
.nav-hamburger span:nth-child(1) { top: 2px; }
.nav-hamburger span:nth-child(2) { top: 11px; }
.nav-hamburger span:nth-child(3) { top: 20px; }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Epilogue', sans-serif; font-weight: 600;
  border: none; border-radius: var(--radius-md); cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
  text-decoration: none;
}
.btn-sm { font-size: 12px; padding: 8px 16px; }
.btn-md { font-size: 13.5px; padding: 11px 22px; }
.btn-lg { font-size: 15px; padding: 14px 28px; }
.btn-primary {
  background: var(--p600); color: var(--white);
}
.btn-primary:hover {
  background: var(--p500); transform: translateY(-1px);
  box-shadow: var(--glow-sm);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid var(--border-mid);
}
.btn-outline:hover {
  border-color: var(--p400); background: rgba(123,47,190,0.08);
}

/* ─── SECTIONS ──────────────────────────────────────────────── */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-alt {
  position: relative;
}
.section-alt::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: 100vw; height: 100%;
  background: var(--ink2); z-index: -1;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}

.section-head { text-align: center; margin-bottom: 56px; }
.section-label {
  font-size: 11px; font-weight: 600; color: var(--p400);
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px;
}
.section-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.15;
  color: var(--white); margin-bottom: 16px;
}
.section-sub {
  font-size: 15px; color: var(--smoke); max-width: 560px;
  margin: 0 auto; line-height: 1.7;
}

/* ─── HERO ──────────────────────────────────────────────────── */
.hero-section {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 60px; align-items: center;
  min-height: 100vh; padding: 120px 40px 80px;
  max-width: 1300px; margin: 0 auto;
  position: relative;
}
.hero-glow-1 {
  position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,47,190,0.15), transparent 70%);
  top: 10%; left: -10%; pointer-events: none;
}
.hero-glow-2 {
  position: absolute; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(11,165,164,0.08), transparent 70%);
  bottom: 10%; right: -5%; pointer-events: none;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; color: var(--p300);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px;
}
.hero-eyebrow-line {
  width: 32px; height: 2px; background: var(--p500); border-radius: 1px;
}

.hero-h1 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(36px, 5.5vw, 64px); line-height: 1.08;
  margin-bottom: 24px;
}
.hero-h1 .solid { display: block; color: var(--white); }
.hero-h1 .outline {
  display: block;
  -webkit-text-stroke: 1.5px var(--p400);
  color: transparent;
}
.hero-h1 .accent { display: block; color: var(--p400); }

.hero-desc {
  font-size: 16px; color: var(--smoke); line-height: 1.75;
  max-width: 520px; margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }

.hero-metrics {
  display: flex; gap: 40px;
}
.metric { text-align: left; }
.metric-val {
  font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 800;
  color: var(--white); line-height: 1;
}
.metric-val sup { font-size: 16px; color: var(--p400); }
.metric-label {
  font-size: 11px; color: var(--smoke); letter-spacing: .06em;
  text-transform: uppercase; margin-top: 4px;
}

/* ─── TERMINAL ──────────────────────────────────────────────── */
.hero-terminal-wrap { position: relative; }
.hero-terminal {
  background: var(--ink2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--ink3);
  border-bottom: 1px solid var(--border);
}
.tb-dot { width: 10px; height: 10px; border-radius: 50%; }
.tb-dot.r { background: #FF5F56; }
.tb-dot.y { background: #FFBD2E; }
.tb-dot.g { background: #27C93F; }
.tb-title {
  margin-left: auto; font-size: 11px; color: var(--ash);
  letter-spacing: .04em;
}
.terminal-body { padding: 20px; font-family: 'Courier New', monospace; font-size: 13px; }
.t-line {
  opacity: 0; animation: typeIn .4s forwards;
  margin-bottom: 4px; line-height: 1.6;
}
@keyframes typeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.t-line.prompt::before { content: '$ '; color: var(--p400); }
.c-purple { color: var(--p300); }
.c-green { color: var(--green); }
.c-amber { color: var(--amber); }
.c-teal { color: var(--teal); }
.c-white { color: var(--white); }
.t-cursor {
  display: inline-block; width: 8px; height: 16px;
  background: var(--p400); animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ─── SERVICES GRID ─────────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.svc-card {
  background: var(--ink2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px;
  transition: all var(--transition);
}
.svc-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.svc-icon-block {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: rgba(123,47,190,0.1); border: 1px solid var(--border);
  border-radius: var(--radius-md); margin-bottom: 20px;
}
.svc-icon-block svg {
  width: 22px; height: 22px; stroke: var(--p400);
  fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.svc-title {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 16px; color: var(--white); margin-bottom: 10px;
}
.svc-desc {
  font-size: 13.5px; color: var(--smoke); line-height: 1.65;
}

/* ─── TOOLS SHOWCASE ────────────────────────────────────────── */
.tools-showcase {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin-bottom: 56px;
}
.tool-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--ink3); border: 1px solid var(--border);
  border-radius: 100px; padding: 10px 20px;
  font-size: 13px; font-weight: 500; color: var(--white);
  transition: all var(--transition);
}
.tool-chip:hover {
  border-color: var(--p500); background: rgba(123,47,190,0.08);
}
.tool-chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--p500);
}

.tools-categories {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tool-cat {
  text-align: center; padding: 28px 20px;
  background: var(--ink3); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.tool-cat:hover {
  border-color: var(--border-mid); transform: translateY(-2px);
}
.tool-cat-icon {
  width: 44px; height: 44px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(123,47,190,0.1); border-radius: var(--radius-md);
}
.tool-cat-icon svg { width: 22px; height: 22px; stroke: var(--p400); }
.tool-cat-name {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 14px; color: var(--white); margin-bottom: 6px;
}
.tool-cat-desc { font-size: 12px; color: var(--smoke); }

/* ─── PROCESS STEPS ─────────────────────────────────────────── */
.process-steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; max-width: 900px; margin: 0 auto;
}
.step {
  flex: 1; text-align: center; padding: 0 24px;
}
.step-num {
  font-family: 'Syne', sans-serif; font-size: 48px; font-weight: 800;
  color: var(--p700); opacity: 0.4; line-height: 1; margin-bottom: 16px;
}
.step-title {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 18px; color: var(--white); margin-bottom: 10px;
}
.step-desc {
  font-size: 13.5px; color: var(--smoke); line-height: 1.65;
}
.step-connector {
  width: 60px; min-width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--border-mid), var(--p500), var(--border-mid));
  margin-top: 32px; border-radius: 1px;
}

/* ─── PRODUCTS ──────────────────────────────────────────────── */
.products-grid {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 24px; max-width: 900px; margin: 0 auto;
}
.product-card {
  background: var(--ink3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 30px;
  position: relative; overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover {
  border-color: var(--border-mid); transform: translateY(-2px);
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--p600), var(--p400), var(--teal));
}
.product-card-coming {
  display: flex; flex-direction: column; justify-content: center;
  border-style: dashed;
}
.product-card-coming::before { display: none; }
.product-badge {
  font-size: 10px; font-weight: 600; color: var(--p300);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px;
}
.product-name {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 22px; color: var(--white); margin-bottom: 12px;
}
.product-desc {
  font-size: 14px; color: var(--smoke); line-height: 1.7; margin-bottom: 16px;
}
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
  font-size: 11px; font-weight: 500; color: var(--p300);
  background: rgba(123,47,190,0.12); border: 1px solid var(--border);
  border-radius: 100px; padding: 4px 12px;
}

/* ─── CONTACT ───────────────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 40px; max-width: 1000px; margin: 0 auto;
}
.contact-form-wrap {
  background: var(--ink2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 12px; font-weight: 600; color: var(--smoke);
  letter-spacing: .04em; margin-bottom: 6px;
}
.form-input, .form-textarea {
  width: 100%; background: var(--ink3); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 14px;
  color: var(--white); font-family: 'Epilogue', sans-serif;
  font-size: 14px; outline: none;
  transition: border-color var(--transition);
}
.form-input:focus, .form-textarea:focus { border-color: var(--p500); }
.form-textarea { min-height: 120px; resize: vertical; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
  background: var(--ink2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: all var(--transition);
}
.contact-info-card:hover { border-color: var(--border-mid); }
.contact-info-icon {
  width: 40px; height: 40px; min-width: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(123,47,190,0.1); border-radius: var(--radius-md);
}
.contact-info-icon svg { width: 20px; height: 20px; stroke: var(--p400); }
.contact-info-label {
  font-size: 11px; font-weight: 600; color: var(--smoke);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px;
}
.contact-info-value { font-size: 14px; color: var(--white); }

/* ─── FOOTER ────────────────────────────────────────────────── */
footer {
  padding: 64px 40px 0;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; max-width: 1200px; margin: 0 auto;
}
.footer-brand p {
  font-size: 13px; color: var(--smoke); line-height: 1.65;
  margin-top: 16px; max-width: 280px;
}
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--ink3); border: 1px solid var(--border);
  border-radius: var(--radius-md); transition: all var(--transition);
}
.social-btn:hover { border-color: var(--p500); background: rgba(123,47,190,0.12); }
.social-btn svg {
  width: 16px; height: 16px; stroke: var(--smoke);
  fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.footer-col h5 {
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--white); letter-spacing: .04em; margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px; color: var(--smoke);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--p300); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; margin-top: 48px;
  border-top: 1px solid var(--border);
  max-width: 1200px; margin-left: auto; margin-right: auto;
}
.footer-bottom span { font-size: 12px; color: var(--ash); }
.footer-bottom a { color: var(--smoke); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--p300); }

/* ─── MOBILE NAV ────────────────────────────────────────────── */
.mobile-nav-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 1100;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-nav {
  position: fixed; top: 0; right: 0; width: 300px; height: 100%;
  background: var(--ink2); border-left: 1px solid var(--border);
  z-index: 1200; transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column; padding: 100px 24px 24px;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mobile-nav-link {
  display: block; padding: 14px 16px; font-size: 15px;
  font-weight: 500; color: var(--smoke); border-radius: var(--radius-md);
  transition: all var(--transition);
}
.mobile-nav-link:hover { background: var(--ink3); color: var(--white); }

.mobile-nav-footer { margin-top: auto; }

/* ─── REVEAL ANIMATION ──────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s, transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ─── DIRECTORY PAGE ────────────────────────────────────────── */
.directory-header {
  padding: 120px 40px 40px;
  max-width: 1200px; margin: 0 auto;
  text-align: center;
}
.directory-search-wrap {
  max-width: 500px; margin: 32px auto 0; position: relative;
}
.directory-search {
  width: 100%; background: var(--ink3); border: 1px solid var(--border);
  border-radius: 100px; padding: 14px 24px 14px 48px;
  color: var(--white); font-family: 'Epilogue', sans-serif;
  font-size: 15px; outline: none;
  transition: border-color var(--transition);
}
.directory-search:focus { border-color: var(--p500); }
.directory-search-icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
}
.directory-search-icon svg {
  width: 18px; height: 18px; stroke: var(--smoke); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.directory-filters {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; padding: 24px 40px;
  max-width: 1200px; margin: 0 auto;
}
.filter-btn {
  background: var(--ink3); border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 18px;
  font-family: 'Epilogue', sans-serif;
  font-size: 12.5px; font-weight: 500; color: var(--smoke);
  cursor: pointer; transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--border-mid); color: var(--white); }
.filter-btn.active {
  background: var(--p600); border-color: var(--p600); color: var(--white);
}

.directory-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; padding: 24px 40px 80px;
  max-width: 1200px; margin: 0 auto;
}
.dir-card {
  background: var(--ink2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: all var(--transition);
}
.dir-card:hover {
  border-color: var(--border-mid); transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.dir-card-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.dir-card-name {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 16px; color: var(--white);
}
.dir-card-badge {
  font-size: 10px; font-weight: 600; padding: 3px 10px;
  border-radius: 100px; letter-spacing: .04em;
}
.dir-card-badge.free { background: rgba(18,183,106,0.15); color: var(--green); }
.dir-card-badge.paid { background: rgba(247,144,9,0.15); color: var(--amber); }
.dir-card-badge.freemium { background: rgba(11,165,164,0.15); color: var(--teal); }
.dir-card-desc {
  font-size: 13px; color: var(--smoke); line-height: 1.6; margin-bottom: 16px;
}
.dir-card-footer { display: flex; align-items: center; justify-content: space-between; }
.dir-card-cat {
  font-size: 11px; font-weight: 500; color: var(--p300);
  background: rgba(123,47,190,0.1); border-radius: 100px; padding: 4px 12px;
}
.dir-card-link {
  font-size: 12px; font-weight: 600; color: var(--p400);
  display: flex; align-items: center; gap: 4px;
  transition: color var(--transition);
}
.dir-card-link:hover { color: var(--p300); }
.dir-card-link svg {
  width: 14px; height: 14px; stroke: currentColor;
  fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.directory-empty {
  text-align: center; padding: 60px 20px;
  color: var(--smoke); font-size: 15px;
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-section { grid-template-columns: 1fr; gap: 40px; padding-top: 100px; }
  .hero-terminal-wrap { max-width: 600px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-categories { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-center { display: none; }
  .nav-hamburger { display: block; }
  .nav-status { display: none; }

  .section { padding: 64px 20px; }
  .hero-section { padding: 90px 20px 60px; min-height: auto; }
  .hero-h1 { font-size: clamp(28px, 8vw, 40px); }
  .hero-metrics { gap: 24px; }
  .metric-val { font-size: 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .tools-categories { grid-template-columns: 1fr; }

  .process-steps { flex-direction: column; align-items: center; gap: 24px; }
  .step-connector { width: 2px; height: 32px; min-width: auto; margin: 0; }
  .step { padding: 0; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .directory-header { padding: 100px 20px 24px; }
  .directory-filters { padding: 16px 20px; }
  .directory-grid { grid-template-columns: 1fr; padding: 16px 20px 60px; }
}
