/* ============================================================
   CSS VARIABLES — DESIGN SYSTEM
   ============================================================ */
:root {
  --brand: #0B63F6;
  --brand-dark: #0950C8;
  --brand-light: #E8F1FE;
  --brand-glow: rgba(11,99,246,0.12);
  --accent: #FF6B35;
  --accent-light: #FFF4EF;
  --dark: #0F1729;
  --dark-2: #1A2340;
  --gray-900: #1E293B;
  --gray-700: #475569;
  --gray-500: #64748B;
  --gray-400: #94A3B8;
  --gray-200: #E2E8F0;
  --gray-100: #F1F5F9;
  --gray-50: #F8FAFC;
  --white: #FFFFFF;
  --green: #10B981;
  --purple: #8B5CF6;
  --yellow: #F59E0B;
  --red: #EF4444;
  --cyan: #06B6D4;
  --shadow-sm: 0 1px 3px rgba(15,23,41,0.06);
  --shadow-md: 0 4px 16px rgba(15,23,41,0.08);
  --shadow-lg: 0 12px 40px rgba(15,23,41,0.12);
  --shadow-xl: 0 20px 60px rgba(15,23,41,0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --header-h: 72px;
  --mega-max-w: 1280px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--gray-50);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header__inner {
  max-width: var(--mega-max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), #3B82F6);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: 16px;
  font-family: var(--font-display);
  box-shadow: 0 2px 8px rgba(11,99,246,0.3);
}
.logo__text { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--dark); }
.logo__text span { color: var(--brand); }
.logo__badge {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  background: var(--accent-light); color: var(--accent); padding: 2px 8px;
  border-radius: 20px; letter-spacing: 0.5px;
}

/* ============================================================
   DESKTOP NAVIGATION + MEGA MENU
   ============================================================ */
.nav-desktop { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav-item {
  position: relative; height: 100%;
  display: flex; align-items: center;
}
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 500; color: var(--gray-700);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-item:hover > .nav-link { background: var(--brand-light); color: var(--brand); }
.nav-link svg { width: 14px; height: 14px; transition: transform .25s; }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }

/* Mega Panel */
.mega-panel {
  position: absolute; top: calc(var(--header-h) - 4px); left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 28px 32px;
  opacity: 0; visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  transform: translateX(-50%) translateY(8px);
}
.nav-item:hover > .mega-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Mega Grid Layouts */
.mega-panel--tools { width: 820px; }
.mega-panel--company { width: 400px; }
.mega-panel--resources { width: 540px; }

.mega-grid { display: grid; gap: 6px; }
.mega-grid--4 { grid-template-columns: repeat(4, 1fr); }
.mega-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mega-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mega-grid--1 { grid-template-columns: 1fr; }

.mega-section__title {
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--gray-400); margin-bottom: 12px; padding: 0 12px;
}

/* Mega Link Card */
.mega-link {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px; border-radius: var(--radius-md);
  transition: background .2s;
}
.mega-link:hover { background: var(--gray-50); }
.mega-link__icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px;
}
.mega-link__icon--blue { background: var(--brand-light); color: var(--brand); }
.mega-link__icon--green { background: #ECFDF5; color: var(--green); }
.mega-link__icon--purple { background: #F5F3FF; color: var(--purple); }
.mega-link__icon--orange { background: var(--accent-light); color: var(--accent); }
.mega-link__icon--cyan { background: #ECFEFF; color: var(--cyan); }
.mega-link__icon--yellow { background: #FFFBEB; color: var(--yellow); }
.mega-link__icon--red { background: #FEF2F2; color: var(--red); }
.mega-link__text { flex: 1; min-width: 0; }
.mega-link__name {
  font-weight: 600; font-size: 13.5px; color: var(--gray-900);
  line-height: 1.3; margin-bottom: 2px;
}
.mega-link__desc { font-size: 12px; color: var(--gray-500); line-height: 1.4; }

/* Mega Divider */
.mega-divider { height: 1px; background: var(--gray-200); margin: 16px 0; }

/* Mega Featured Box */
.mega-featured {
  background: linear-gradient(135deg, var(--brand), #3B82F6);
  border-radius: var(--radius-md); padding: 20px;
  color: var(--white); margin-top: 12px;
}
.mega-featured__title { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.mega-featured__desc { font-size: 12.5px; opacity: 0.85; line-height: 1.5; }
.mega-featured__link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 10px; font-size: 13px; font-weight: 600;
  color: var(--white); opacity: 0.95;
}
.mega-featured__link:hover { opacity: 1; }

/* Sub-dropdown (multi-level) */
.sub-menu { position: relative; }
.sub-menu__panel {
  position: absolute; left: 100%; top: -12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  min-width: 240px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, visibility .2s, transform .2s;
  transform: translateX(4px);
}
.sub-menu:hover > .sub-menu__panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(0);
}
.sub-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 500; color: var(--gray-700);
  transition: background .15s, color .15s;
}
.sub-link:hover { background: var(--brand-light); color: var(--brand); }
.sub-link svg { width: 13px; height: 13px; margin-left: auto; flex-shrink: 0; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; transition: all .2s;
  font-family: var(--font-display);
}
.btn--ghost { color: var(--gray-700); }
.btn--ghost:hover { background: var(--gray-100); color: var(--brand); }
.btn--primary {
  background: linear-gradient(135deg, var(--brand), #3B82F6);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(11,99,246,0.3);
}
.btn--primary:hover { box-shadow: 0 4px 16px rgba(11,99,246,0.4); transform: translateY(-1px); }
.btn--sm { padding: 8px 16px; font-size: 13px; }

.search-toggle {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500); transition: background .2s, color .2s;
}
.search-toggle:hover { background: var(--gray-100); color: var(--brand); }
.search-toggle svg { width: 20px; height: 20px; }

/* ============================================================
   MOBILE HAMBURGER
   ============================================================ */
.hamburger {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm); z-index: 1010;
}
.hamburger__lines { width: 22px; height: 16px; position: relative; }
.hamburger__lines span {
  display: block; position: absolute; height: 2px; width: 100%;
  background: var(--dark); border-radius: 2px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.hamburger__lines span:nth-child(1) { top: 0; }
.hamburger__lines span:nth-child(2) { top: 7px; }
.hamburger__lines span:nth-child(3) { top: 14px; }
.hamburger.active .hamburger__lines span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.hamburger.active .hamburger__lines span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.active .hamburger__lines span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 100%; height: 100dvh;
  background: var(--white); z-index: 1005;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }

/* Mobile Menu Header — logo + close button */
.mobile-menu__header {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.mobile-menu__close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--gray-500);
  transition: background .2s, color .2s;
}
.mobile-menu__close:hover { background: var(--gray-100); color: var(--red); }
.mobile-menu__close svg { width: 24px; height: 24px; }

.mobile-menu__inner { padding: 12px 20px 100px; }

/* Mobile accordion items */
.m-item { border-bottom: 1px solid var(--gray-100); }
.m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; font-size: 15.5px; font-weight: 600;
  color: var(--dark); font-family: var(--font-display);
}
.m-link svg {
  width: 18px; height: 18px; color: var(--gray-400);
  transition: transform .3s;
}
.m-link.expanded svg { transform: rotate(180deg); color: var(--brand); }
.m-link.expanded { color: var(--brand); }

.m-sub {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.m-sub.open { max-height: 2000px; }

.m-sub__section-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gray-400);
  padding: 12px 16px 6px;
}
.m-sub__link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; border-radius: var(--radius-sm);
  font-size: 14px; color: var(--gray-700); font-weight: 500;
  transition: background .15s;
}
.m-sub__link:hover { background: var(--gray-50); }
.m-sub__icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}

/* Multi-level nested mobile */
.m-nested-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; font-size: 14px; font-weight: 600;
  color: var(--gray-900); border-radius: var(--radius-sm);
  width: 100%; transition: background .15s;
}
.m-nested-toggle:hover { background: var(--gray-50); }
.m-nested-toggle svg { width: 14px; height: 14px; transition: transform .25s; color: var(--gray-400); }
.m-nested-toggle.expanded svg { transform: rotate(180deg); color: var(--brand); }
.m-nested {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  padding-left: 16px;
}
.m-nested.open { max-height: 1000px; }

.mobile-menu__cta {
  padding: 24px 4px;
  display: flex; flex-direction: column; gap: 12px;
}
.mobile-menu__cta .btn { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15,23,41,0.6);
  backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 120px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s, visibility .25s;
}
.search-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.search-box {
  width: 640px; max-width: 92vw; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(12px); transition: transform .3s;
}
.search-overlay.open .search-box { transform: translateY(0); }
.search-box__input-wrap {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 24px; border-bottom: 1px solid var(--gray-100);
}
.search-box__input-wrap svg { width: 22px; height: 22px; color: var(--gray-400); flex-shrink: 0; }
.search-box__input {
  flex: 1; border: none; outline: none; font-size: 17px;
  font-family: var(--font-body); color: var(--dark);
}
.search-box__input::placeholder { color: var(--gray-400); }
.search-box__kbd {
  font-size: 12px; color: var(--gray-400); background: var(--gray-100);
  padding: 3px 8px; border-radius: 5px; font-weight: 500;
}
.search-box__results { padding: 16px 24px 20px; }
.search-box__label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gray-400); margin-bottom: 10px;
}
.search-box__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 14px; color: var(--gray-700); transition: background .15s;
}
.search-box__item:hover { background: var(--brand-light); color: var(--brand); }
.search-box__item span { font-size: 17px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  margin-top: var(--header-h);
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}
.hero::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(11,99,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-light); color: var(--brand);
  padding: 6px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 24px; position: relative;
}
.hero__badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 800; line-height: 1.15;
  color: var(--dark);
  max-width: 780px; margin: 0 auto 20px;
  letter-spacing: -0.02em;
}
.hero__title span {
  background: linear-gradient(135deg, var(--brand), #3B82F6, var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__desc {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--gray-500); max-width: 600px;
  margin: 0 auto 36px; line-height: 1.65;
}
.hero__search {
  max-width: 560px; margin: 0 auto 40px;
  display: flex; align-items: center;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 60px;
  padding: 6px 6px 6px 24px;
  transition: border-color .3s, box-shadow .3s;
}
.hero__search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }
.hero__search input {
  flex: 1; border: none; outline: none; font-size: 16px;
  font-family: var(--font-body); color: var(--dark);
  background: transparent;
}
.hero__search input::placeholder { color: var(--gray-400); }
.hero__search .btn { border-radius: 50px; padding: 12px 28px; }
.hero__stats {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.hero__stat { text-align: center; }
.hero__stat-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 28px; color: var(--dark);
}
.hero__stat-label { font-size: 13px; color: var(--gray-500); margin-top: 2px; }

/* ============================================================
   TOOL CATEGORIES GRID
   ============================================================ */
.section { padding: 60px 24px; max-width: var(--mega-max-w); margin: 0 auto; }
.section__header { text-align: center; margin-bottom: 48px; }
.section__tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--brand);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-display); font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800; color: var(--dark); letter-spacing: -0.01em;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  position: relative; overflow: hidden;
}
.cat-card:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 30px rgba(11,99,246,0.1);
  transform: translateY(-3px);
}
.cat-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.cat-card__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 17px; color: var(--dark); margin-bottom: 6px;
}
.cat-card__desc { font-size: 13.5px; color: var(--gray-500); line-height: 1.55; margin-bottom: 16px; }
.cat-card__count {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; font-weight: 600; color: var(--brand);
}
.cat-card__count svg { width: 14px; height: 14px; }

/* ============================================================
   POPULAR TOOLS STRIP
   ============================================================ */
.tools-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.tool-chip {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.tool-chip:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
.tool-chip__icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.tool-chip__name { font-weight: 600; font-size: 13.5px; color: var(--gray-900); }
.tool-chip__cat { font-size: 11.5px; color: var(--gray-500); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  max-width: var(--mega-max-w); margin: 0 auto 60px;
  padding: 0 24px;
}
.cta-banner__inner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #1E3A5F 100%);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; position: relative; overflow: hidden;
}
.cta-banner__inner::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(11,99,246,0.2), transparent 70%);
}
.cta-banner__inner::after {
  content: '';
  position: absolute; bottom: -80px; left: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(139,92,246,0.15), transparent 70%);
}
.cta-banner__text { position: relative; z-index: 1; }
.cta-banner__title {
  font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px);
  font-weight: 800; color: var(--white); margin-bottom: 10px;
}
.cta-banner__desc { font-size: 15px; color: var(--gray-400); line-height: 1.6; max-width: 480px; }
.cta-banner__actions { position: relative; z-index: 1; flex-shrink: 0; display: flex; gap: 12px; }
.btn--white {
  background: var(--white); color: var(--dark);
  font-weight: 700; padding: 14px 28px;
}
.btn--white:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn--outline-white {
  border: 2px solid rgba(255,255,255,0.25);
  color: var(--white); padding: 12px 24px;
}
.btn--outline-white:hover { border-color: rgba(255,255,255,0.5); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  padding: 60px 24px 30px;
  color: var(--gray-400);
}
.footer__inner {
  max-width: var(--mega-max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer__brand-desc { font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 300px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08); display: flex;
  align-items: center; justify-content: center;
  color: var(--gray-400); transition: background .2s, color .2s;
}
.footer__social a:hover { background: var(--brand); color: var(--white); }
.footer__social a svg { width: 16px; height: 16px; }
.footer__col-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; color: var(--white); margin-bottom: 18px;
}
.footer__link {
  display: block; font-size: 13.5px; color: var(--gray-400);
  padding: 5px 0; transition: color .2s;
}
.footer__link:hover { color: var(--white); }
.footer__bottom {
  max-width: var(--mega-max-w); margin: 40px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { color: var(--gray-400); transition: color .2s; }
.footer__bottom-links a:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .header-actions .btn, .header-actions .search-toggle { display: none; }
  .hero { padding: 60px 20px 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .hero__search { flex-direction: column; border-radius: var(--radius-lg); padding: 12px; gap: 10px; }
  .hero__search input { width: 100%; text-align: center; }
  .hero__search .btn { width: 100%; border-radius: var(--radius-sm); }
  .hero__stats { gap: 24px; }
  .hero__stat-num { font-size: 22px; }
  .cat-grid { grid-template-columns: 1fr; }
  .tools-strip { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; text-align: center; padding: 40px 28px; }
  .cta-banner__desc { max-width: 100%; }
  .cta-banner__actions { flex-direction: column; width: 100%; }
  .cta-banner__actions .btn { width: 100%; justify-content: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-d1 { animation-delay: .1s; }
.fade-up-d2 { animation-delay: .2s; }
.fade-up-d3 { animation-delay: .3s; }
.fade-up-d4 { animation-delay: .4s; }