/* Home Page Specific Styles */

.home-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    margin-bottom: 60px;
    color: var(--text-primary);
}

.hero-badge {
    display: inline-block;
    background: #ff6633;
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: bold;
    margin-bottom: 20px;
}

.home-hero h1 {
    font-size: 3em;
    margin: 20px 0;
    color: var(--text-primary);
}

.home-hero p {
    font-size: 1.2em;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Popular Tools Section */
.popular-tools {
    margin-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.section-header h2 {
    font-size: 2.2em;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tool-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    transition: box-shadow 0.3s;
    color: var(--text-primary);
}

.tool-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    font-size: 3em;
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.tool-card h3 {
    margin: 16px 0 8px 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-bottom: 16px;
}

.favorite-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.favorite-btn:hover {
    opacity: 1;
}

/* Category Browse Section */
.browse-categories {
    margin-bottom: 80px;
}

.browse-categories h2 {
    font-size: 2.2em;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-primary);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.category-card {
    color: white;
    padding: 32px;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 2.5em;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 0.95em;
    opacity: 0.95;
    margin-bottom: 20px;
    flex-grow: 1;
}

.category-count {
    font-weight: bold;
    opacity: 0.9;
}

/* Collections Section */
.collections {
    margin-bottom: 80px;
    text-align: center;
}

.collections h2 {
    font-size: 2.2em;
    margin-bottom: 12px;
}

.collections > p {
    color: #718096;
    margin-bottom: 40px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.collection-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-align: left;
}

.collection-card h3 {
    font-size: 1.1em;
    margin-bottom: 12px;
}

.collection-card p {
    color: #718096;
    font-size: 0.95em;
}

/* Why Use Section */
.why-use {
    margin-bottom: 80px;
}

.why-use h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.benefit {
    text-align: center;
}

.benefit-icon {
    font-size: 3em;
    margin-bottom: 16px;
}

.benefit h3 {
    font-size: 1.2em;
    margin-bottom: 12px;
}

.benefit p {
    color: #718096;
    font-size: 0.95em;
}

/* FAQ Section */
.faq {
    margin-bottom: 60px;
    background: #f9fafb;
    padding: 60px 20px;
    border-radius: 16px;
}

.faq h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item h4 {
    font-size: 1.1em;
    margin-bottom: 12px;
    color: #1a202c;
}

.faq-item p {
    color: #718096;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .home-hero h1 {
        font-size: 2em;
    }

    .tools-grid,
    .category-grid,
    .collections-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
