/* ================================
   AI VIDEO TEMPLATES SEO PAGE
   Optimized for search engines and conversions
   ================================ */

/* SEO Hero Section */
.seo-hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, var(--cream-white) 0%, var(--primary-beige) 50%, var(--warm-beige) 100%);
    text-align: center;
}

.seo-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--deep-brown);
    margin-bottom: 1.5rem;
}

.seo-hero-title .highlight {
    background: linear-gradient(135deg, var(--golden-beige), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-hero-subtitle {
    font-size: 1.25rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.seo-hero-cta {
    margin-bottom: 3rem;
}

.seo-hero-cta .cta-button {
    font-size: 1.1rem;
    padding: 1.25rem 2.5rem;
}

.seo-hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.seo-hero-stats .stat-item {
    text-align: center;
}

.seo-hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.seo-hero-stats .stat-label {
    font-size: 0.9rem;
    color: var(--warm-gray);
    font-weight: 500;
}

/* Categories Section */
.seo-categories {
    padding: 6rem 0;
    background: var(--cream-white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--category-color, var(--golden-beige));
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep-brown);
    margin-bottom: 0.75rem;
}

.category-desc {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.category-count {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(196, 155, 122, 0.15), rgba(196, 155, 122, 0.25));
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-beige);
}

/* Templates Grid Section */
.seo-templates {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--cream-white) 0%, var(--primary-beige) 100%);
}

.templates-seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.template-seo-card {
    background: white;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.template-seo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(196, 155, 122, 0.25);
}

.template-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.template-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.template-seo-card:hover .template-thumbnail img {
    transform: scale(1.05);
}

.template-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.template-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.template-info {
    padding: 1.5rem;
}

.template-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--deep-brown);
    margin-bottom: 0.75rem;
}

.template-icon {
    font-size: 1.25rem;
}

.template-description {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.template-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(196, 155, 122, 0.2);
}

.template-credits,
.template-duration {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--golden-beige);
}

/* SEO CTA Section */
.seo-cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 4rem;
    background: linear-gradient(135deg, var(--golden-beige), var(--dark-beige));
    border-radius: 2rem;
    color: white;
}

.seo-cta-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.seo-cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.seo-cta-section .mega-cta {
    background: white;
    color: var(--dark-beige);
    font-size: 1.1rem;
    padding: 1.25rem 2.5rem;
}

.seo-cta-section .mega-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* SEO Content Section */
.seo-content {
    padding: 6rem 0;
    background: var(--cream-white);
}

.seo-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.seo-article {
    background: white;
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.seo-article h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--deep-brown);
    margin-bottom: 1rem;
}

.seo-article p {
    font-size: 1rem;
    color: var(--warm-gray);
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .seo-hero {
        padding: 8rem 0 4rem;
    }

    .seo-hero-title {
        font-size: 2.25rem;
    }

    .seo-hero-subtitle {
        font-size: 1.1rem;
    }

    .seo-hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .seo-hero-stats .stat-number {
        font-size: 2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .templates-seo-grid {
        grid-template-columns: 1fr;
    }

    .seo-cta-section {
        padding: 2.5rem 1.5rem;
    }

    .seo-cta-section h3 {
        font-size: 1.5rem;
    }

    .seo-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .seo-hero-title {
        font-size: 1.75rem;
    }

    .template-thumbnail {
        height: 160px;
    }
}
