/* Landing Page Specific Styles */

/* Variables */
:root {
    --landing-bg: #f8fafc;
    --hero-primary: #2563eb;
    --hero-text: #1e293b;
    --hero-text-sub: #64748b;
}

/* Hero Section */
.hero-section {
    padding: 80px 20px;
    background-color: var(--landing-bg);
    /* Stronger Abstract Background Pattern */
    background-image:
        radial-gradient(circle at 15% 25%, rgba(37, 99, 235, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 85% 75%, rgba(37, 99, 235, 0.1) 0%, transparent 25%),
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px, 100% 100%;
    /* Grid size */
    text-align: center;
    overflow: hidden;
    /* Ensure shapes don't overflow */
    position: relative;
}

/* Decorative Shapes */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(37, 99, 235, 0.03);
    border-radius: 50%;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 50px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: rgba(37, 99, 235, 0.03);
    transform: rotate(45deg);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    /* Keep content above shapes */
    z-index: 1;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--hero-text);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--hero-text-sub);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    background-color: var(--hero-primary);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.hero-note {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* CTA Utilities */
.section-cta {
    text-align: center;
    margin-top: 40px;
}

.final-cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section .container {
    position: relative;
    z-index: 2;
}

.final-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.final-cta-section p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    z-index: 1;
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background-color: #fff;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 40px 40px;
    /* Subtle dot grid */
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--hero-text);
    margin-bottom: 50px;
}

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

.feature-card {
    padding: 30px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(10, 25, 50, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: #ffffff;
    border-color: var(--hero-primary);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--hero-text);
}

.feature-card p {
    color: var(--hero-text-sub);
    line-height: 1.6;
}

/* SEO Content Section */
.seo-content-section {
    padding: 60px 20px;
    background-color: #fff;
    border-top: 1px solid #e2e8f0;
}

.seo-article {
    max-width: 800px;
    margin: 0 auto;
    color: #334155;
    line-height: 1.8;
}

.seo-article h2 {
    font-size: 1.8rem;
    color: var(--hero-text);
    margin-top: 40px;
    margin-bottom: 20px;
}

.seo-article h3 {
    font-size: 1.4rem;
    color: var(--hero-text);
    margin-top: 30px;
    margin-bottom: 15px;
}

.seo-article p {
    margin-bottom: 1.5rem;
}

.seo-article ol {
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.seo-article li {
    margin-bottom: 10px;
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* FAQ Section */
.faq-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.faq-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--hero-text);
    font-size: 2rem;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.faq-item[open] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

.faq-item summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--hero-text);
    list-style: none;
    position: relative;
    outline: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--hero-primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-answer {
    padding: 0 20px 16px;
    color: var(--hero-text-sub);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--hero-primary);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

@media (max-width: 600px) {
    .sticky-cta {
        bottom: 20px;
        right: 20px;
        left: 20px;
        text-align: center;
    }
}