*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --ink: #0e0e0d;
    --paper: #f5f2eb;
    --cream: #ede9df;
    --accent: #c84b2f;
    --accent2: #2b6cb0;
    --muted: #7a7670;
    --border: #d6d1c5;
    --card: #faf8f4;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'DM Sans', sans-serif;
    --mono: 'JetBrains Mono', monospace;
  }





  html { scroll-behavior: smooth; }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ── NOISE TEXTURE OVERLAY ── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 180px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 48px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(245, 242, 235, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.3px;
  }

  .nav-logo span { color: var(--accent); font-style: italic; }

  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
  }

  .nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--ink); }

  .nav-cta {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    padding: 8px 18px;
    background: var(--ink);
    color: var(--paper);
    border: none;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: background 0.2s, transform 0.1s;
  }

  .nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 80px 48px 60px;
    gap: 48px;
    position: relative;
    overflow: hidden;
  }

  .hero-bg-number {
    position: absolute;
    right: -40px;
    bottom: -60px;
    font-family: var(--serif);
    font-size: 420px;
    color: var(--cream);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
  }

  .hero-left { position: relative; z-index: 1; }

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
  }

  .hero-tag::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
  }

  h1 {
    font-family: var(--serif);
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: var(--ink);
    margin-bottom: 28px;
  }

  h1 em {
    font-style: italic;
    color: var(--accent);
  }

  .hero-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 420px;
    margin-bottom: 44px;
    line-height: 1.7;
    font-weight: 300;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
  }

  .btn-primary {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
    padding: 14px 28px;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
  }

  .btn-primary:hover { background: #a63820; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,75,47,0.3); }

  .btn-ghost {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--muted);
    background: none;
    border: none;
    cursor: pointer;
    letter-spacing: 0.04em;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
    padding: 14px 0;
  }

  .btn-ghost:hover { color: var(--ink); }

  .hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
  }

  .stat-num {
    font-family: var(--serif);
    font-size: 36px;
    color: var(--ink);
    line-height: 1;
    display: block;
  }

  .stat-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-top: 4px;
  }

  /* ── HERO RIGHT — TOOL PREVIEW ── */
  .hero-right {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .tool-preview-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.6s both;
  }

  .tool-preview-card:nth-child(1) { animation-delay: 0.1s; }
  .tool-preview-card:nth-child(2) { animation-delay: 0.2s; }
  .tool-preview-card:nth-child(3) { animation-delay: 0.3s; }
  .tool-preview-card:nth-child(4) { animation-delay: 0.4s; }
  .tool-preview-card:nth-child(5) { animation-delay: 0.5s; }

  @keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
  }

  .tool-preview-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.2s;
    transform-origin: bottom;
  }

  .tool-preview-card:hover { border-color: var(--ink); transform: translateX(-4px); box-shadow: 4px 4px 0 var(--ink); }
  .tool-preview-card:hover::before { transform: scaleY(1); }

  .tool-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: var(--cream);
    flex-shrink: 0;
  }

  .tool-info { flex: 1; }

  .tool-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 2px;
  }

  .tool-desc {
    font-size: 12px;
    color: var(--muted);
    font-weight: 300;
  }

  .tool-badge {
    font-family: var(--mono);
    font-size: 9px;
    padding: 3px 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid;
  }

  .badge-free { color: #2b6cb0; border-color: #bee3f8; background: #ebf8ff; }
  .badge-hot { color: var(--accent); border-color: #fed7cc; background: #fff5f2; }

  .tool-preview-card.featured {
    background: var(--ink);
    border-color: var(--ink);
  }

  .tool-preview-card.featured .tool-icon { background: rgba(255,255,255,0.1); }
  .tool-preview-card.featured .tool-name { color: var(--paper); }
  .tool-preview-card.featured .tool-desc { color: var(--muted); }
  .tool-preview-card.featured::before { background: var(--accent); }
  .tool-preview-card.featured:hover { box-shadow: 4px 4px 0 var(--accent); }

  /* ── DIVIDER ── */
  .divider {
    padding: 0 48px;
    margin: 0;
  }

  .divider-inner {
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
  }

  .divider-text {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .divider-line { flex: 1; height: 1px; background: var(--border); }

  /* ── TOOLS SECTION ── */
  .tools-section {
    padding: 80px 48px;
  }

  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
  }

  .section-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
  }

  .section-title {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.8px;
  }

  .section-link {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
  }

  .section-link:hover { color: var(--ink); border-color: var(--ink); }

  /* ── CATEGORY TABS ── */
  .cat-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cat-tabs::-webkit-scrollbar {
    display: none;
  }

  .cat-tab {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 16px;
    cursor: pointer;
    color: var(--muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
    flex-shrink: 0;
    flex: none;
    min-width: fit-content;
    white-space: nowrap;
  }

  .cat-tab.active { color: var(--ink); border-bottom-color: var(--accent); }
  .cat-tab:hover { color: var(--ink); }

  /* ── TOOL GRID ── */
  .tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }

  .tool-card {
    background: var(--card);
    padding: 28px 28px 24px;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .tool-card:hover { background: var(--cream); }

  .tool-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .tool-card-icon {
    width: 36px;
    height: 36px;
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid var(--border);
  }

  .tool-card-tag {
    font-family: var(--mono);
    font-size: 9px;
    padding: 3px 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .tag-student { color: #276749; background: #f0fff4; border: 1px solid #c6f6d5; }
  .tag-dev { color: #2a4a7f; background: #ebf8ff; border: 1px solid #bee3f8; }
  .tag-finance { color: #744210; background: #fffff0; border: 1px solid #faf089; }

  .tool-card-name {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--ink);
    line-height: 1.2;
  }

  .tool-card-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 300;
    flex: 1;
  }

  .tool-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }

  .tool-usage {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
  }

  .tool-arrow {
    font-size: 16px;
    color: var(--muted);
    transition: all 0.2s;
    display: inline-block;
  }

  .tool-card:hover .tool-arrow { color: var(--accent); transform: translate(3px, -3px); }

  /* ── SEARCH BAR ── */
  .search-section {
    padding: 0 48px 80px;
  }

  .search-wrap {
    background: var(--ink);
    padding: 48px 56px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
  }

  .search-wrap::before {
    content: '{ }';
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--mono);
    font-size: 120px;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    pointer-events: none;
  }

  .search-label {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--paper);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .search-label em { font-style: italic; color: var(--accent); }

  .search-input-wrap {
    flex: 1;
    position: relative;
  }

  .search-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--paper);
    font-family: var(--mono);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
  }

  .search-input::placeholder { color: rgba(255,255,255,0.3); }
  .search-input:focus { border-color: var(--accent); }

  .search-btn {
    padding: 16px 28px;
    background: var(--accent);
    color: #fff;
    border: none;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
  }

  .search-btn:hover { background: #a63820; }

  /* ── HOW IT WORKS ── */
  .how-section {
    padding: 80px 48px;
    background: var(--cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 56px;
    border: 1px solid var(--border);
    background: var(--border);
  }

  .step {
    background: var(--paper);
    padding: 40px 36px;
    position: relative;
  }

  .step-num {
    font-family: var(--serif);
    font-size: 72px;
    color: var(--cream);
    line-height: 1;
    margin-bottom: 24px;
    display: block;
  }

  .step-title {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 12px;
  }

  .step-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 300;
  }

  /* ── MARQUEE ── */
  .marquee-section {
    padding: 24px 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--ink);
  }

  .marquee-track {
    display: flex;
    gap: 0;
    animation: marquee 18s linear infinite;
    width: max-content;
  }

  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  .marquee-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 40px;
    white-space: nowrap;
    font-family: var(--mono);
    font-size: 12px;
    color: rgba(245,242,235,0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-right: 1px solid rgba(255,255,255,0.08);
  }

  .marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

  /* ── TESTIMONIAL ── */
  .testimonial-section {
    padding: 80px 48px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
  }

  .testimonial-sidebar {}

  .testimonial-cards { display: flex; flex-direction: column; gap: 20px; }

  .t-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 24px 28px;
    transition: border-color 0.2s;
  }

  .t-card:hover { border-color: var(--ink); }

  .t-quote {
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink);
    font-style: italic;
    margin-bottom: 16px;
  }

  .t-author {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .t-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--paper);
    flex-shrink: 0;
  }

  .t-name { font-size: 13px; font-weight: 500; color: var(--ink); }
  .t-role { font-size: 11px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.04em; }

  /* ── FOOTER ── */
  footer {
    background: var(--ink);
    color: var(--paper);
    padding: 60px 48px 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 56px;
  }

  .footer-brand { }

  .footer-logo {
    font-family: var(--serif);
    font-size: 26px;
    color: var(--paper);
    margin-bottom: 16px;
    display: block;
  }

  .footer-logo span { color: var(--accent); font-style: italic; }

  .footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
    font-weight: 300;
    max-width: 260px;
    margin-bottom: 24px;
  }

  .footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 5px 12px;
  }

  .footer-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #48bb78; }

  .footer-col-title {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 20px;
  }

  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }

  .footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 300;
  }

  .footer-links a:hover { color: var(--paper); }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.07);
  }

  .footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    font-family: var(--mono);
    letter-spacing: 0.04em;
  }

  .footer-made {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    font-family: var(--mono);
  }

  .footer-made span { color: var(--accent); }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .fade-up {
    opacity: 0;
    animation: fadeUp 0.7s ease both;
  }

  .hero-left .hero-tag { animation: fadeUp 0.6s 0.1s both; }
  .hero-left h1 { animation: fadeUp 0.6s 0.2s both; }
  .hero-left .hero-sub { animation: fadeUp 0.6s 0.3s both; }
  .hero-left .hero-actions { animation: fadeUp 0.6s 0.4s both; }
  .hero-left .hero-stats { animation: fadeUp 0.6s 0.5s both; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { padding: 0 24px; }
    .nav-links { display: none; }
    .hero { grid-template-columns: 1fr; padding: 100px 24px 48px; }
    .hero-bg-number { display: none; }
    .tool-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .testimonial-section { grid-template-columns: 1fr; gap: 40px; }
    .search-wrap { flex-direction: column; padding: 32px 24px; text-align: center; }
    .search-wrap::before { display: none; }
    .tools-section, .how-section, .search-section, .testimonial-section { padding-left: 24px; padding-right: 24px; }
    .divider { padding: 0 24px; }
  }

  @media (max-width: 600px) {
    .tool-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .cat-tab { padding: 10px 14px; font-size: 11px; flex-shrink: 0; flex: none; }
    footer { padding: 40px 24px 24px; }
  }

  .tag-designer { background: rgba(236, 72, 153, 0.1); color: #db2777; border: 1px solid rgba(236, 72, 153, 0.2); }
