
:root {
    --ink: #172033;
    --muted: #69758b;
    --line: #e8ebf2;
    --primary: #5546e8;
    --bg: #ffffff;
    --soft: #f7f8fc;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
    height: 76px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.96);
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.7px; white-space: nowrap; }
.brand-mark {
    display: grid; place-items: center;
    width: 35px; height: 35px;
    border-radius: 11px;
    background: linear-gradient(135deg, #6855f5, #4939d0);
    color: white; font-size: 21px;
}
.brand-light { font-weight: 500; color: #69758b; }

nav { display: flex; gap: 25px; align-items: center; }
nav a { color: #687389; font-size: 13px; font-weight: 600; transition: color .2s; }
nav a:hover, nav .nav-active { color: var(--primary); }

.btn {
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 12px 17px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: .2s ease;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #4234cb; transform: translateY(-1px); }
.btn-outline { border-color: #e1e4ed; background: white; color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 24px; }

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fbfaff 0%, #fff 100%);
    border-bottom: 1px solid #f1f0fc;
}
.hero-inner { position: relative; z-index: 1; text-align: center; padding: 78px 0 67px; }
.eyebrow { color: #6c5be9; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: #36bd87; border-radius: 50%; margin-right: 7px; }
.eyebrow-divider { margin: 0 8px; color: #c1b9fa; }

.hero h1 {
    font-size: clamp(42px, 6vw, 66px);
    letter-spacing: -3.3px;
    line-height: 1.06;
    margin: 25px 0 18px;
    font-weight: 800;
}
.gradient-text { color: #6451e9; }
.hero-copy { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0 auto 30px; }

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 610px;
    margin: 0 auto;
    padding: 7px;
    background: white;
    border: 1px solid #e2e4ef;
    border-radius: 13px;
    box-shadow: 0 12px 35px rgba(46, 37, 118, .08);
}
.search-icon { padding-left: 12px; font-size: 28px; color: #8791a5; transform: rotate(-20deg); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.search-box input::placeholder { color: #9aa3b3; }
.search-hint { margin-top: 15px; color: #9299a9; font-size: 11px; }
.hint-link { background: none; border: 0; padding: 0; color: #6252db; font-size: inherit; }
.hint-link:hover { text-decoration: underline; }

.hero-decoration { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.decoration-one { width: 230px; height: 230px; background: #e9e6ff; opacity: .34; left: -125px; top: 30px; }
.decoration-two { width: 300px; height: 300px; background: #e7f0ff; opacity: .45; right: -160px; bottom: -150px; }

.tools-section { padding-top: 65px; padding-bottom: 75px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-eyebrow { font-size: 9px; }
.section-heading h2 { margin: 11px 0 8px; font-size: 30px; letter-spacing: -1px; }
.section-copy { color: var(--muted); font-size: 13px; margin: 0; }
.text-link { font-size: 12px; font-weight: 700; color: var(--primary); padding-bottom: 5px; }
.text-link span { margin-left: 7px; }

.category-filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 30px 0 23px; }
.filter-btn {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--line); border-radius: 8px;
    padding: 9px 13px; background: white;
    color: #667187; font-size: 11px; font-weight: 650;
}
.filter-btn:hover { border-color: #c7c0ff; color: var(--primary); }
.filter-btn.active { background: #f0eeff; border-color: #dcd6ff; color: #5947df; }
.filter-btn span { border-radius: 5px; padding: 2px 5px; background: #e1ddff; font-size: 10px; }

.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.tool-card {
    min-width: 0; min-height: 226px;
    padding: 22px;
    display: flex; flex-direction: column; align-items: flex-start;
    border: 1px solid var(--line); border-radius: 13px;
    background: white; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tool-card:hover { transform: translateY(-4px); border-color: #d5d0ff; box-shadow: 0 12px 28px rgba(40, 36, 91, .07); }
.tool-card-top { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.tool-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; font-size: 19px; font-weight: 800; }
.purple { background: #efedff; color: #6451e8; }
.blue { background: #e8f3ff; color: #2477ce; }
.orange { background: #fff1e3; color: #d47a20; }
.green { background: #e4f8ee; color: #198a59; }
.pink { background: #ffedf4; color: #d34d85; }
.tool-tag { border-radius: 5px; background: #f1efff; color: #6c5be9; font-size: 9px; font-weight: 700; padding: 5px 7px; }
.tool-category { color: #8a91a3; font-size: 10px; font-weight: 700; letter-spacing: .4px; }
.tool-card h3 { font-size: 15px; margin: 8px 0; letter-spacing: -.3px; }
.tool-card p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0 0 18px; }
.card-link { margin-top: auto; font-size: 11px; color: var(--primary); font-weight: 750; }
.card-link span { margin-left: 6px; }
.no-results { padding: 55px 15px; text-align: center; color: var(--muted); }
.no-results h3 { color: var(--ink); }
.empty-icon { font-size: 35px; }
.no-results p { font-size: 13px; margin-bottom: 22px; }

.benefits { background: #f8f9fc; border-top: 1px solid #edf0f5; border-bottom: 1px solid #edf0f5; }
.benefit-grid { padding-top: 29px; padding-bottom: 29px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.benefit { display: flex; align-items: center; gap: 13px; }
.benefit-icon { display: grid; place-items: center; flex-shrink: 0; width: 39px; height: 39px; border-radius: 11px; background: white; border: 1px solid var(--line); color: var(--primary); font-size: 18px; }
.benefit h3 { font-size: 12px; margin: 0 0 5px; }
.benefit p { font-size: 11px; color: var(--muted); margin: 0; line-height: 1.5; }

.site-footer { padding: 32px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 17px 25px; align-items: center; justify-content: space-between; }
.footer-inner .brand { font-size: 17px; }
.footer-inner .brand-mark { width: 29px; height: 29px; font-size: 17px; border-radius: 9px; }
.footer-inner p { font-size: 11px; color: var(--muted); margin: 0; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 11px; color: var(--muted); }
.footer-links a:hover { color: var(--primary); }
.copyright { width: 100%; padding-top: 17px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
    nav { gap: 13px; }
    nav a { font-size: 11px; }
    .nav { gap: 13px; }
    .nav-cta { padding: 10px; font-size: 11px; }
    .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
    .container { width: min(100% - 30px, 1120px); }
    .site-header { height: 66px; }
    .menu-toggle { display: block; margin-left: auto; }
    .nav { flex-wrap: wrap; }
    .nav nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; padding: 10px 0 17px; }
    .nav nav.open { display: flex; }
    .nav nav a { padding: 8px; font-size: 13px; }
    .nav-cta { display: none; }
    .hero-inner { padding: 60px 0 49px; }
    .hero h1 { letter-spacing: -2px; }
    .hero-copy { font-size: 14px; max-width: 340px; }
    .search-box { gap: 7px; }
    .search-box .btn { padding: 12px; }
    .search-icon { padding-left: 5px; }
    .search-box input { font-size: 12px; }
    .tools-section { padding-top: 43px; padding-bottom: 45px; }
    .section-heading h2 { font-size: 26px; }
    .section-heading { align-items: flex-start; }
    .text-link { display: none; }
    .category-filters { gap: 7px; margin-top: 23px; }
    .filter-btn { padding: 9px 10px; }
    .tool-grid { grid-template-columns: 1fr; gap: 12px; }
    .tool-card { min-height: 0; padding: 19px; }
    .tool-card-top { margin-bottom: 13px; }
    .tool-card p { margin-bottom: 15px; }
    .benefit-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .copyright { margin-top: 5px !important; }
}
