/* ================================================================ */
/* Home Page                                                         */
/* ================================================================ */

.hp {
    padding: 0;
}

/* Hero */
.hp-hero {
    text-align: center;
    padding: 48px 20px 36px;
}

    .hp-hero h1 {
        font-size: 36px;
        font-weight: 800;
        color: var(--text-heading);
        margin: 0 auto 14px;
        max-width: 680px;
        line-height: 1.3;
    }

    .hp-hero p {
        font-size: 15px;
        color: var(--text-faint);
        max-width: 600px;
        margin: 0 auto 24px;
        line-height: 1.7;
    }

.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    background: var(--surface-badge);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 18px;
    letter-spacing: .3px;
}

    .hp-hero-badge i {
        font-size: 14px;
    }

.hp-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    border: 1px solid var(--accent);
}

    .hp-btn-primary:hover {
        background: var(--accent-hover);
        border-color: var(--accent-hover);
        box-shadow: 0 6px 18px var(--accent-shadow);
        transform: translateY(-1px);
        color: #fff;
    }

    .hp-btn-primary i {
        font-size: 16px;
    }

.hp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--btn-sec-bg);
    color: var(--btn-sec-color);
    border: 1px solid var(--btn-sec-border);
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}

    .hp-btn-secondary:hover {
        background: var(--btn-sec-hover-bg);
        border-color: var(--btn-sec-hover-border);
        color: var(--btn-sec-hover-color);
        transform: translateY(-1px);
    }

    .hp-btn-secondary i {
        font-size: 16px;
    }

/* Stats */
.hp-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 24px 0;
    flex-wrap: wrap;
}

.hp-stat {
    text-align: center;
}

.hp-stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.2;
}

.hp-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 2px;
    display: block;
}

.hp-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 8px 0 32px;
}

/* Sections */
.hp-section {
    margin-bottom: 40px;
}

.hp-section-head {
    margin-bottom: 20px;
}

    .hp-section-head h2 {
        font-size: 22px;
        font-weight: 800;
        color: var(--text-heading);
        margin: 0 0 6px;
    }

    .hp-section-head p {
        font-size: 14px;
        color: var(--text-faint);
        margin: 0;
        line-height: 1.6;
    }

/* Tools Grid */
.hp-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.hp-tool-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    padding: 18px;
    text-decoration: none;
    transition: all .25s;
    position: relative;
    overflow: hidden;
}

    .hp-tool-card:hover {
        border-color: var(--accent);
        box-shadow: 0 8px 24px rgba(109, 93, 252, .12);
        transform: translateY(-3px);
    }

.hp-tool-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--accent);
    margin-bottom: 10px;
}

.hp-tool-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--surface-badge);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

    .hp-tool-icon i {
        font-size: 18px;
        color: var(--accent);
    }

.hp-tool-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 4px;
    line-height: 1.3;
}

.hp-tool-desc {
    font-size: 15px;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

/* Category Label */
.hp-cat-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 28px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

    .hp-cat-label i {
        font-size: 18px;
        color: var(--accent);
    }

.hp-cat-inline-count {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-faint);
    background: var(--surface-badge);
    border-radius: 12px;
    padding: 2px 10px;
    margin-left: auto;
}

/* Features Grid */
.hp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.hp-feature {
    display: flex;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 18px;
    transition: border-color .2s, box-shadow .2s;
}

    .hp-feature:hover {
        border-color: var(--accent);
        box-shadow: 0 4px 14px rgba(109, 93, 252, .08);
    }

.hp-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--surface-badge);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .hp-feature-icon i {
        font-size: 20px;
        color: var(--accent);
    }

.hp-feature-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 4px;
}

.hp-feature-text p {
    font-size: 15px;
    color: var(--text-faint);
    margin: 0;
    line-height: 1.6;
}

/* SEO Prose */
.hp-seo-prose {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
}

    .hp-seo-prose p {
        font-size: 15px;
        color: var(--text-secondary);
        line-height: 1.8;
        margin: 0 0 14px;
    }

        .hp-seo-prose p:last-child {
            margin-bottom: 0;
        }

    .hp-seo-prose a {
        color: var(--accent);
        text-decoration: none;
        font-weight: 600;
    }

        .hp-seo-prose a:hover {
            text-decoration: underline;
        }

/* FAQ */
.hp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-faq-item {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 18px 22px;
    transition: border-color .2s;
}

    .hp-faq-item:hover {
        border-color: var(--accent);
    }

    .hp-faq-item h3 {
        font-size: 14px;
        font-weight: 700;
        color: var(--text-heading);
        margin: 0 0 6px;
    }

    .hp-faq-item p {
        font-size: 15px;
        color: var(--text-faint);
        margin: 0;
        line-height: 1.6;
        text-align: justify;
    }

/* Responsive */
@media (max-width: 767.98px) {
    .hp-hero h1 {
        font-size: 24px;
    }

    .hp-stats {
        gap: 20px;
    }

    .hp-stat-num {
        font-size: 22px;
    }

    .hp-tools-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hp-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hp-tools-grid {
        grid-template-columns: 1fr;
    }
}
