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

  :root {
    --brand: #3C3FDE;
    --brand-dark: #2a2db8;
    --brand-darker: #1e2090;
    --brand-mid: #6366ef;
    --brand-50: #f0f0fe;
    --brand-100: #d4d5fb;
    --brand-200: #a9abf7;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
  }

  html { scroll-behavior: smooth; }
  body {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--slate-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }

  /* ── NAV ── */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--slate-200);
    padding: 0 2.5rem; height: 66px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-logo img { height: 36px; width: auto; display: block; }
  .nav-logo { text-decoration: none; }
  .nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
  .nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--slate-600); text-decoration: none; transition: color 0.2s; }
  .nav-links a:hover { color: var(--brand); }
  .nav-links a.active { color: var(--brand); font-weight: 600; }
  .nav-cta { background: var(--brand) !important; color: white !important; padding: 9px 22px; border-radius: var(--radius-sm); font-weight: 600 !important; transition: background 0.2s !important; }
  .nav-cta:hover { background: var(--brand-dark) !important; }

  /* ── HERO ── */
  .page-hero {
    background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand) 55%, var(--brand-mid) 100%);
    padding: 68px 2rem 64px;
    text-align: center;
    position: relative; overflow: hidden;
  }
  .page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px; pointer-events: none;
  }
  .page-hero-inner { position: relative; }
  .page-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.9);
    font-size: 0.78rem; font-weight: 500;
    padding: 6px 16px; border-radius: 100px; margin-bottom: 22px;
  }
  .badge-dot { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; display: inline-block; }
  .page-hero h1 {
    font-size: clamp(1.9rem, 5vw, 2.9rem); font-weight: 700;
    color: white; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 16px;
  }
  .page-hero h1 em { font-style: normal; color: #a5b4fc; }
  .page-hero p {
    font-size: 1rem; color: rgba(255,255,255,0.7);
    max-width: 500px; margin: 0 auto 32px; line-height: 1.7;
  }

  /* ── SEARCH + FILTER BAR ── */
  .filter-bar {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
  }

  .search-wrap {
    position: relative;
    margin-bottom: 20px;
  }

  .search-icon {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    width: 18px; height: 18px;
    stroke: rgba(255,255,255,0.5); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    pointer-events: none;
  }

  #toolSearch {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.2);
    color: white;
    padding: 13px 16px 13px 46px;
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
  }

  #toolSearch::placeholder { color: rgba(255,255,255,0.45); }
  #toolSearch:focus { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.16); }

  .filter-tabs {
    display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  }

  .filter-tab {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem; font-weight: 500;
    padding: 6px 16px; border-radius: 100px;
    border: 1.5px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.2s;
  }

  .filter-tab:hover { background: rgba(255,255,255,0.15); color: white; }
  .filter-tab.active { background: white; color: var(--brand); border-color: white; font-weight: 600; }

  /* ── TOOLS SECTION ── */
  .tools-section {
    max-width: 1140px;
    margin: 0 auto;
    padding: 72px 2.5rem;
  }

  .tools-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 36px; flex-wrap: wrap; gap: 12px;
  }

  .tools-count {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem; font-weight: 600;
    color: var(--slate-500);
  }

  .tools-count span { color: var(--brand); }

  .tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  /* ── TOOL CARD ── */
  .tool-card {
    background: var(--white);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 28px 24px 24px;
    text-decoration: none;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
    transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
  }

  .tool-card-bar {
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--c-accent, var(--brand));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.25s ease;
  }

  .tool-card:hover {
    border-color: var(--c-border, var(--brand-200));
    transform: translateY(-4px);
    box-shadow: 0 16px 40px var(--c-shadow, rgba(60,63,222,0.1));
  }

  .tool-card:hover .tool-card-bar { transform: scaleX(1); }

  .tool-card.hidden { display: none; }

  .tool-icon {
    width: 50px; height: 50px;
    border-radius: var(--radius-sm);
    background: var(--c-icon-bg, var(--brand-50));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px; flex-shrink: 0;
  }

  .tool-icon svg {
    width: 24px; height: 24px;
    stroke: var(--c-icon, var(--brand)); fill: none;
    stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  }

  .tool-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }

  .tool-tag {
    font-size: 0.68rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.07em;
    color: var(--c-tag, var(--brand));
    background: var(--c-tag-bg, var(--brand-50));
    padding: 3px 10px; border-radius: 100px;
  }

  .tool-badge-free {
    font-size: 0.65rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: #15803d; background: #f0fdf4;
    padding: 3px 8px; border-radius: 100px;
    border: 1px solid #bbf7d0;
  }

  .tool-card h3 {
    font-size: 1.02rem; font-weight: 600;
    color: var(--slate-900); margin-bottom: 8px;
    letter-spacing: -0.015em; line-height: 1.3;
  }

  .tool-card p {
    font-size: 0.855rem; color: var(--slate-500);
    line-height: 1.65; margin-bottom: 22px; flex: 1;
  }

  .tool-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto;
  }

  .tool-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.83rem; font-weight: 600;
    color: var(--c-tag, var(--brand));
    display: flex; align-items: center; gap: 6px;
    text-decoration: none;
    transition: gap 0.2s;
  }

  .tool-card:hover .tool-link { gap: 10px; }

  .tool-link svg {
    width: 15px; height: 15px;
    stroke: currentColor; fill: none;
    stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  }

  .tool-time {
    font-size: 0.75rem; color: var(--slate-400);
    display: flex; align-items: center; gap: 4px;
  }

  .tool-time svg {
    width: 13px; height: 13px;
    stroke: var(--slate-400); fill: none;
    stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  }

  /* Color variants */
  .card-aws    { --c-accent:#ea580c; --c-border:#fed7aa; --c-shadow:rgba(234,88,12,0.1); --c-icon-bg:#fff7ed; --c-icon:#c2410c; --c-tag:#c2410c; --c-tag-bg:#fff7ed; }
  .card-cert   { --c-accent:var(--brand); --c-border:var(--brand-100); --c-shadow:rgba(60,63,222,0.1); --c-icon-bg:var(--brand-50); --c-icon:var(--brand); --c-tag:var(--brand); --c-tag-bg:var(--brand-50); }
  .card-career { --c-accent:#16a34a; --c-border:#bbf7d0; --c-shadow:rgba(22,163,74,0.1); --c-icon-bg:#f0fdf4; --c-icon:#15803d; --c-tag:#15803d; --c-tag-bg:#f0fdf4; }
  .card-job    { --c-accent:#7c3aed; --c-border:#ddd6fe; --c-shadow:rgba(124,58,237,0.1); --c-icon-bg:#faf5ff; --c-icon:#7c3aed; --c-tag:#7c3aed; --c-tag-bg:#faf5ff; }
  .card-speed  { --c-accent:#e11d48; --c-border:#fecdd3; --c-shadow:rgba(225,29,72,0.1); --c-icon-bg:#fff1f2; --c-icon:#be123c; --c-tag:#be123c; --c-tag-bg:#fff1f2; }
  .card-link   { --c-accent:#0284c7; --c-border:#bae6fd; --c-shadow:rgba(2,132,199,0.1); --c-icon-bg:#f0f9ff; --c-icon:#0369a1; --c-tag:#0369a1; --c-tag-bg:#f0f9ff; }
  .card-geo {
    --c-accent: #3c3fde;
    --c-border: #a9abf7;
    --c-shadow: rgba(60, 63, 222, 0.12);
    --c-icon-bg: #f0f0fe;
    --c-icon: #3c3fde;
    --c-tag: #2a2db8;
    --c-tag-bg: #e8e9fd;
}

  /* ── NO RESULTS ── */
  .no-results {
    display: none;
    text-align: center;
    padding: 64px 24px;
    grid-column: 1 / -1;
  }

  .no-results-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--slate-100);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
  }

  .no-results-icon svg {
    width: 24px; height: 24px;
    stroke: var(--slate-400); fill: none;
    stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  }

  .no-results h3 {
    font-size: 1.1rem; font-weight: 600;
    color: var(--slate-700); margin-bottom: 8px;
  }

  .no-results p { font-size: 0.875rem; color: var(--slate-400); }

  /* ── COMING SOON STRIP ── */
  .coming-soon-section {
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
    padding: 56px 2.5rem;
    text-align: center;
  }

  .coming-soon-inner { max-width: 600px; margin: 0 auto; }

  .coming-soon-section h2 {
    font-size: 1.4rem; font-weight: 700;
    color: var(--slate-900); letter-spacing: -0.02em; margin-bottom: 10px;
  }

  .coming-soon-section p {
    font-size: 0.9rem; color: var(--slate-500); margin-bottom: 28px; line-height: 1.7;
  }

  .suggest-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem; font-weight: 600;
    background: var(--brand); color: white;
    padding: 12px 26px; border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: background 0.2s, transform 0.15s;
  }

  .suggest-btn:hover { background: var(--brand-dark); transform: translateY(-1px); }

  .suggest-btn svg {
    width: 16px; height: 16px;
    stroke: white; fill: none;
    stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  }

  /* ── FOOTER ── */
  footer { background: var(--slate-900); border-top: 1px solid rgba(255,255,255,0.06); padding: 40px 2.5rem; }
  .footer-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
  .footer-logo img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
  .footer-links { display: flex; gap: 1.75rem; list-style: none; flex-wrap: wrap; }
  .footer-links a { font-size: 0.84rem; color: rgba(255,255,255,0.42); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: rgba(255,255,255,0.8); }
  .footer-bottom { max-width: 1140px; margin: 24px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
  .footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
  .footer-tagline { font-size: 0.78rem; color: rgba(255,255,255,0.28); }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) {
    nav { padding: 0 1.25rem; }
    .nav-links { display: none; }
    .page-hero { padding: 52px 1.25rem 48px; }
    .tools-section { padding: 48px 1.25rem; }
    .tools-grid { grid-template-columns: 1fr; }
    .coming-soon-section { padding: 48px 1.25rem; }
    footer { padding: 36px 1.25rem; }
  }
