/* --- Home Page Specific Styles --- */

.home-container {
    padding: 2rem 0;
}

/* Section 1: Hero Text */
.home-hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 1rem;
}
.home-hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 1rem;
}
.home-hero p {
    font-size: 1.1rem;
    color: var(--light-text-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Section 2: Adsense Placeholder */
.adsense-container {
    min-height: 100px; /* Example height */
    margin-bottom: 4rem;
    /* background-color: #f0f0f0;  Optional: for visibility during development */
}

/* Common Section Heading Style */
.home-section-heading {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

/* Section 3: Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.category-card-link {
    display: block;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.category-card-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}
.category-card-content {
    padding: 1.5rem;
    text-align: center;
}
.category-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(13, 110, 253, 0.1); /* Light primary color background */
}
.category-icon-wrapper svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-color);
}
.category-card-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}
.category-card-count {
    font-size: 0.9rem;
    color: var(--light-text-color);
}

/* Section 4: Top AI Tools */
.home-tools-section {
    margin-bottom: 4rem;
}

/* Section 5: Why Choose Us */
.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.why-choose-us-item h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.why-choose-us-item p {
    color: var(--light-text-color);
    line-height: 1.6;
}
