/* Base Styles */
:root {
    --seo-primary: #FFAA17FF;
    --seo-dark-primary: #FFAA17FF;
    --seo-light-primary: rgb(255, 200, 106);
    --seo-secondary: #FFAA17FF;
    --seo-blue: #FFAA17FF;
    --seo-light-blue: rgb(253, 180, 54);
    --seo-gray: #6b7280;
    --seo-light-gray: #f3f4f6;
    --white: #ffffff;
    --black: #000000;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: var(--black);
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utility Classes */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.w-1\/2 {
    width: 50%;
}

.w-1\/3 {
    width: 33.333333%;
}

.w-3\/4 {
    width: 75%;
}

.w-5\/6 {
    width: 83.333333%;
}

/* Button Styles */
.btn-primary {
    background-color: var(--seo-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-primary_full {
    width: 100%;
}

.btn-white {
    background-color: var(--white);
    color: var(--seo-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--seo-primary);
    color: var(--white);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 64px;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
    background: var(--seo-primary);
    color: var(--white);
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 6rem 0;
    }
}

.hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hero-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 3.75rem;
    }
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-graphic {
    display: none;
    position: relative;
}

@media (min-width: 768px) {
    .hero-graphic {
        display: block;
    }
}

.graphic-blur {
    position: absolute;
    top: -3rem;
    right: -3rem;
    width: 16rem;
    height: 16rem;
    background-color: var(--seo-light-primary);
    opacity: 0.3;
    border-radius: 50%;
    filter: blur(3rem);
}

.graphic-container {
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.graphic-item {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 1rem;
}

.graphic-line {
    height: 1rem;
    background: linear-gradient(to right, var(--seo-primary), var(--seo-light-primary));
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.graphic-line.gray {
    background: #e5e7eb;
}

.graphic-dot {
    height: 1.5rem;
    width: 1.5rem;
    background-color: var(--seo-primary);
    border-radius: 50%;
    margin-right: 0.5rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}

.section-header p {
    font-size: 1.125rem;
    color: var(--seo-gray);
    max-width: 42rem;
    margin: 0 auto;
}

/* Templates Section */
.templates-section {
    padding: 4rem 0;
    background-color: var(--white);
}

@media (min-width: 768px) {
    .templates-section {
        padding: 6rem 0;
    }
}

.templates-grid {
    display: grid;
    gap: 1.5rem;
}

.templates-more {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

#loadMoreTemplates.disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}



@media (min-width: 768px) {
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .templates-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.template-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid transparent;
}

.template-card__body {
    padding: 1.5rem;
}

.template-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--seo-primary);
}


.template-icon i {
    color: var(--white);
}

.template-icon i::before {
    font-size: 26px;
}

.template-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.template-card p {
    color: var(--seo-gray);
    margin-bottom: 1.5rem;
}

.template-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: var(--seo-primary);
}

.template-link {
    color: var(--seo-primary);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.template-link:hover {
    text-decoration: underline;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: var(--seo-light-gray);
}

@media (min-width: 768px) {
    .features-section {
        padding: 6rem 0;
    }
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.feature-card__head {
    display: flex;
    align-items: center;
}

.feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.feature-icon i {
    color: var(--seo-blue);
    margin-right: 0.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--seo-gray);
    margin-top: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background-color: var(--white);
}

@media (min-width: 768px) {
    .testimonials-section {
        padding: 6rem 0;
    }
}

.testimonials-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.testimonial-icon {
    margin-bottom: 1rem;
}

.testimonial-icon svg {
    color: var(--black);
}

.testimonial-quote {
    color: var(--seo-gray);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author-name {
    font-weight: 600;
}

.author-position {
    color: var(--seo-gray);
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background-color:#241815;
    color: var(--white);
}

@media (min-width: 768px) {
    .cta-section {
        padding: 6rem 0;
    }
}

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-content h2 {
        font-size: 2.25rem;
    }
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 639px) {
    .hero-buttons {
        align-items: flex-start;
    }

    .hero-buttons .btn-outline-white {
        display: none;
    }
}