.page-hero {
    text-align: center;
    padding: 3rem 1.5rem 2.5rem;
}

.page-hero .hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 5px 14px 5px 6px;
    font-size: 10px;
    font-weight: 600;
    color: var(--ink2);
    margin-bottom: 1.4rem;
}

.page-hero .hero-pill-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #A855F7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
}

.page-hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.page-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--primary), #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero p {
    font-size: 1rem;
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* STATS BAR */
.stats-bar {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.4rem 1.5rem;
}

.stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item .inf{
    font-size: 3rem;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1;
}

.stat-lbl {
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
    margin-top: 3px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* TOOLS WRAPPER */
.tools-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

/* TOOLS GRID */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* TOOL CARD */
.tool-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 22px 20px 18px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
    cursor: pointer;
}

.tool-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 24px rgba(91, 79, 233, 0.1);
    transform: translateY(-3px);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #A855F7);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.18s;
}

.tool-card:hover::before {
    opacity: 1;
}

/* ARROW */
.tool-arrow {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(4px);
    transition: opacity 0.18s, transform 0.18s;
}

.tool-card:hover .tool-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ICON */
.tool-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
    flex-shrink: 0;
}

/* TEXT */
.tool-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    line-height: 1.3;
}

.tool-desc {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 14px;
}

/* BADGE */
.tool-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    width: fit-content;
    background: var(--primary-light);
    color: var(--primary);
}

/* RESPONSIVE */
@media (max-width: 860px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .stats-inner {
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }
}