:root {
    --bg:          #f7faf7;
    --bg-white:    #ffffff;
    --bg-green:    #e8f5e9;
    --bg-green2:   #c8e6c9;
    --border:      #c8e6c9;
    --border2:     #a5d6a7;
    --accent:      #43a047;
    --accent-dark: #2e7d32;
    --accent-light:#e8f5e9;
    --purple:      #7b2d8b;
    --purple-light:#f3e5f5;
    --text:        #1b2e1b;
    --text2:       #4a6a4a;
    --muted:       #7a9a7a;
    --muted2:      #adc8ad;
    --mono:        'DM Mono', monospace;
    --sans:        'Outfit', sans-serif;
    --shadow-sm:   0 1px 4px rgba(46,125,50,0.08);
    --shadow-md:   0 4px 20px rgba(46,125,50,0.12);
    --shadow-lg:   0 8px 40px rgba(46,125,50,0.16);
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
  }
  
  /* ===== NAV ===== */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1.5px solid var(--border);
    padding: 0 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    height: 56px;
  }
  .nav-fav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .nav-fav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text2);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
  }
  .nav-fav-link:hover {
    border-color: var(--border2);
    color: var(--accent-dark);
    box-shadow: var(--shadow-sm);
  }
  .nav-fav-link img {
    width: 13px;
    height: 13px;
    border-radius: 3px;
    flex-shrink: 0;
  }
  .nav-logo {
    font-family: var(--sans);
    font-size: 21px; font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex; align-items: center; gap: 4px;
    line-height: 1;
  }
  .nl-gene { color: var(--purple); }
  .nl-q    { color: var(--accent); }
  .nl-uick { color: var(--purple); }
  .nav-links {
    display: flex; gap: 28px; list-style: none;
  }
  .nav-links a {
    font-size: 14px; color: var(--text2); text-decoration: none;
    font-weight: 400; transition: color 0.15s;
  }
  .nav-links a:hover { color: var(--accent-dark); }
  .nav-links a.active { color: var(--accent-dark); font-weight: 500; }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .nav-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1.5px solid var(--border2);
    background: var(--bg-white);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
  }
  .nav-lang-btn:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    transform: translateY(-1px);
  }
  .nav-app-btn {
    background: var(--accent); color: #fff;
    padding: 7px 18px; border-radius: 8px;
    font-size: 14px; font-weight: 500;
    text-decoration: none; transition: background 0.15s;
    white-space: nowrap;
  }
  .nav-app-btn:hover { background: var(--accent-dark); }
  
  /* ===== HERO ===== */
  .hero {
    padding: 22px 40px 16px;
    background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
    border-bottom: 1.5px solid var(--border);
    position: relative; overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(var(--border) 1px, transparent 1px),
      linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    pointer-events: none;
  }
  .hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
  }
  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 22px;
    align-items: start;
  }
  .hero-content {
    min-width: 0;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 13px;
    color: var(--accent-dark); letter-spacing: 1.7px; text-transform: uppercase;
    background: var(--accent-light); border: 1px solid var(--border2);
    padding: 3px 12px; border-radius: 100px; margin-bottom: 10px;
  }
  .hero-eyebrow::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); animation: blink 2s ease infinite;
  }
  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
  
  .hero h1 {
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 700; letter-spacing: -1.3px;
    line-height: 1.3; margin-bottom: 8px;
  }
  .hero h1 .hl { color: var(--accent-dark); }
  .hero p {
    font-size: 14px; color: var(--text2); max-width: 560px;
    margin: 0 0 12px; font-weight: 300; line-height: 1.55;
  }
  .hero-stats {
    display: flex; gap: 22px; justify-content: flex-start; flex-wrap: wrap;
  }
  .hero-stat {
    text-align: left;
  }
  .hero-stat-num {
    font-family: var(--mono); font-size: 19px; font-weight: 500;
    color: var(--accent-dark); line-height: 1;
  }
  .hero-stat-label {
    font-size: 13px; color: var(--muted); margin-top: 2px;
  }
  
  /* ===== SEARCH ===== */
  .search-bar {
    max-width: 560px; margin: 0 0 12px;
    position: relative;
  }
  .search-bar input {
    width: 100%; padding: 9px 16px 9px 40px;
    background: var(--bg-white); border: 1.5px solid var(--border2);
    border-radius: 12px; font-size: 15px; font-family: var(--sans);
    color: var(--text); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  }
  .search-bar input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(67,160,71,0.12);
  }
  .search-bar input::placeholder { color: var(--muted2); }
  .search-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--muted); pointer-events: none;
  }
  
  /* ===== HERO PROMO ===== */
  .hero-promo {
    background: linear-gradient(135deg, var(--purple) 0%, #5c1a6b 100%);
    border-radius: 16px;
    padding: 20px 35px;
    position: relative;
    overflow: hidden;
    color: #fff;
    box-shadow: var(--shadow-md);
    min-height: 100%;
  }
  .hero-promo::before {
    content: '';
    position: absolute; right: -50px; top: -50px;
    width: 180px; height: 180px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
  }
  .hero-promo::after {
    content: '';
    position: absolute; right: 36px; bottom: -72px;
    width: 160px; height: 160px; border-radius: 50%;
    background: rgba(255,255,255,0.05);
  }
  .hero-promo-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
  }
  .hero-promo-eyebrow {
    font-family: var(--mono); font-size: 13px; letter-spacing: 2px;
    color: rgba(255,255,255,0.65); text-transform: uppercase;
  }
  .hero-promo-title {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
  }
  .hero-promo-text {
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255,255,255,0.8);
  }
  .hero-promo-features {
    display: grid;
    gap: 3px;
    margin-top: 0;
    padding: 15px 5px;
  }
  .hero-promo-feature {
    display: flex; align-items: flex-start; gap: 7px;
    font-size: 15px; line-height: 1.35; color: rgba(255,255,255,0.9);
  }
  .hero-promo-feature::before {
    content: '✓';
    color: #7fe182;
    font-weight: 700;
    margin-top: 1px;
  }
  .hero-promo-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
  .hero-promo-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #fff; color: var(--purple);
    padding: 8px 14px; border-radius: 9px;
    font-size: 13px; font-weight: 600;
    text-decoration: none; white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.15s, background 0.15s;
  }
  .hero-promo-btn:hover { background: var(--bg-green); transform: translateY(-2px); }
  .hero-promo-os {
    font-family: var(--mono); font-size: 13px;
    color: rgba(255,255,255,0.72);
  }
  
  /* ===== MAIN ===== */
  main { max-width: 1280px; margin: 0 auto; padding: 20px 32px 64px; }
  .header-logo { font-weight: 700; font-size: 20px; text-decoration: none;}
  .header-logo .nl-gene { color: var(--purple); }
  .header-logo .nl-q    { color: var(--accent); }
  .header-logo .nl-uick { color: var(--purple); }
  
  /* ===== CATEGORY ===== */
  .category { margin-bottom: 50px; }
  .cat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
    padding-bottom: 7px;
    border-bottom: 2px solid var(--border);
  }
  .cat-icon {
    font-size: 16px; line-height: 1;
  }
  .cat-title {
    font-size: 19px; font-weight: 600; color: #649869;
    letter-spacing: -0.3px;
  }
  .cat-count {
    font-family: var(--mono); font-size: 13px;
    color: var(--muted); background: var(--bg-green);
    border: 1px solid var(--border); border-radius: 4px;
    padding: 2px 7px;
  }
  
  /* ===== TOOL GRID ===== */
  .tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
  }
  
  /* ===== TOOL CARD ===== */
  .tool-card {
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 9px 10px 8px;
    text-decoration: none;
    color: inherit;
    display: grid;
    grid-template-columns: 26px 1fr;
    grid-template-areas:
      "icon title"
      "desc desc"
      "tags tags";
    gap: 5px 8px;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    position: relative;
    overflow: hidden;
    min-height: 96px;
  }
  .tool-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    opacity: 0; transition: opacity 0.15s;
  }
  .tool-card:hover {
    border-color: var(--border2);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
  .tool-card:hover::before { opacity: 1; }
  
  .tool-card.ready { border-color: var(--border2); }
  
  .tool-card.soon::after {
    content: 'Soon';
    position: absolute; top: 6px; right: 6px;
    font-family: var(--mono); font-size: 13px;
    color: var(--muted); background: var(--bg);
    border: 1px solid var(--border); border-radius: 4px;
    padding: 0 5px;
  }
  .tool-card.soon {
    opacity: 0.72;
    pointer-events: none;
  }
  .tool-card-icon {
    grid-area: icon;
    width: 26px; height: 26px; border-radius: 7px;
    background: var(--bg-green); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; line-height: 1; flex-shrink: 0;
  }
  .tool-card-title {
    grid-area: title;
    font-size: 17px; font-weight: 600; color: var(--text);
    line-height: 1.25;
    padding-right: 20px;
    align-self: center;
  }
  .tool-card-desc {
    grid-area: desc;
    font-size: 14px; color: var(--text2); line-height: 1.7;
    font-weight: 300;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .tool-card-tags {
    grid-area: tags;
    display: flex; gap: 3px; flex-wrap: wrap;
    margin-top: 0;
  }
  .tool-tag {
    font-family: var(--mono); font-size: 11px;
    color: var(--muted); background: var(--bg);
    border: 1px solid var(--border); border-radius: 3px;
    padding: 1px 5px; letter-spacing: 0.15px;
  }
  .tool-card-arrow {
    display: none;
  }
  .tool-card:hover .tool-card-arrow {
    color: var(--accent); transform: translateX(3px);
  }
  
  
  /* ===== FAVORITE LINKS ===== */
  .favorite-links {
    background: rgba(255,255,255,0.86);
    border-bottom: 1.5px solid var(--border);
    padding: 10px 32px;
  }
  .favorite-links-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .favorite-links-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-dark);
    background: var(--accent-light);
    border: 1px solid var(--border2);
    border-radius: 999px;
    padding: 4px 10px;
    margin-right: 2px;
    white-space: nowrap;
  }
  .favorite-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text2);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
  }
  .favorite-link:hover {
    border-color: var(--border2);
    color: var(--accent-dark);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
  }
  .favorite-link img {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
  }
  
  /* ===== FOOTER ===== */
  
  footer {
    border-top: 1.5px solid var(--border);
    padding: 8px 40px;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    background: var(--bg-white);
  }
  .footer-logo { font-weight: 700; font-size: 17px; }
  .footer-logo .nl-gene { color: var(--purple); }
  .footer-logo .nl-q    { color: var(--accent); }
  .footer-logo .nl-uick { color: var(--purple); }
  .footer-copy { font-family: var(--mono); font-size: 13px; color: var(--muted); }
  .footer-links { display: flex; gap: 20px; }
  .footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
  .footer-links a:hover { color: var(--accent-dark); }
  
  /* ===== ANIMATIONS ===== */
  .reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.visible { opacity: 1; transform: none; }
  
  
  @media (min-width: 1180px) {
    .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @media (min-width: 980px) and (max-width: 1179px) {
    .tool-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  }
  
  @media (max-width: 980px) {
    .hero-layout {
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 768px) {
    nav { padding: 0 20px; }
    .nav-links { display: none; }
    .hero { padding: 24px 18px 18px; }
    main { padding: 16px 18px 52px; }
    .hero-promo { padding: 22px 20px; }
    .hero-promo-actions {
      align-items: flex-start;
      flex-direction: column;
    }
    footer { padding: 24px 20px; }
    .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  }
  @media (max-width: 480px) {
    .tool-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 18px; }
  }
  
  @media (max-width: 768px) {
    .favorite-links { padding: 8px 18px; }
    .favorite-links-inner { gap: 6px; }
    .favorite-link { height: 26px; padding: 0 8px; font-size: 13px; }
  }
  
  
  /* ===== IMAGE MODAL ===== */
  .img-modal-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: fadeInModal 0.18s ease;
  }
  .img-modal-overlay.active { display: flex; }
  @keyframes fadeInModal { from{opacity:0} to{opacity:1} }
  .img-modal-img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 10px;
    box-shadow: 0 16px 64px rgba(0,0,0,0.6);
    object-fit: contain;
    cursor: default;
    animation: scaleInModal 0.2s cubic-bezier(.22,.68,0,1.2);
  }
  @keyframes scaleInModal { from{transform:scale(0.88)} to{transform:scale(1)} }
  .img-modal-close {
    position: fixed; top: 20px; right: 28px;
    color: rgba(255,255,255,0.85); font-size: 29px;
    cursor: pointer; line-height: 1;
    background: rgba(255,255,255,0.12);
    border-radius: 50%; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
    z-index: 10000;
  }
  .img-modal-close:hover { background: rgba(255,255,255,0.25); }
  .genequick-floating-promo {
    position: fixed;
    right: 22px;
    bottom: 52px;
    z-index: 5000;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    border-radius: 999px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #7b2d8b 0%, #4d1760 100%);
    color: #fff;
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s;
  }
  
  .genequick-floating-promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(91, 26, 107, 0.45);
  }
  
  .genequick-floating-promo__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
  }
  
  .genequick-floating-promo__text {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    white-space: nowrap;
  }
  
  .genequick-promo-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 6000;
    background: rgba(20, 10, 28, 0.62);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  
  .genequick-promo-modal.active {
    display: flex;
  }
  
  .genequick-promo-dialog {
    position: relative;
    width: min(760px, 100%);
    border-radius: 24px;
    padding: 34px;
    background:
      radial-gradient(circle at top right, rgba(255,255,255,0.16), transparent 34%),
      linear-gradient(135deg, #7b2d8b 0%, #4d1760 100%);
    color: #fff;
    box-shadow: 0 24px 80px rgba(0,0,0,0.38);
    animation: genequickPopup 0.22s ease-out;
  }
  
  @keyframes genequickPopup {
    from {
      opacity: 0;
      transform: translateY(12px) scale(0.96);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  
  .genequick-promo-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-size: 25px;
    cursor: pointer;
  }
  
  .genequick-promo-badge {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
  }
  
  .genequick-promo-dialog h2 {
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.35;
    margin-bottom: 14px;
  }
  
  .genequick-promo-lead {
    color: rgba(255,255,255,0.86);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  
  .genequick-promo-list {
    display: grid;
    gap: 10px;
    margin-bottom: 26px;
  }
  
  .genequick-promo-list div {
    position: relative;
    padding-left: 25px;
    font-size: 15px;
    line-height: 1.55;
  }
  
  .genequick-promo-list div::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #8df28f;
    font-weight: 800;
  }
  
  .genequick-promo-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  .genequick-promo-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: 12px;
    background: #fff;
    color: #7b2d8b;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  }
  
  .genequick-promo-actions span {
    color: rgba(255,255,255,0.74);
    font-size: 13px;
  }
  
  @media (max-width: 640px) {
    .genequick-floating-promo {
      right: 14px;
      bottom: 14px;
      padding: 10px 12px;
    }
  
    .genequick-floating-promo__text {
      font-size: 12px;
    }
  
    .genequick-promo-dialog {
      padding: 28px 22px;
    }
  }
  .hero-app-banner {
    display: block;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(46, 125, 50, 0.16);
    transition: transform 0.18s, box-shadow 0.18s;
  }
  
  .hero-app-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 52px rgba(91, 26, 107, 0.22);
  }
  
  .hero-app-banner img {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .hero-layout {
    align-items: center;
  }
  
  @media (max-width: 980px) {
    .hero-app-banner {
      margin-top: 20px;
    }
  }