/* ============================
   SEO PAGE STYLES
   Estilos para páginas de conteúdo SEO
   ============================ */

:root {
    --primary: #00e676;
    --primary-dark: #00c853;
    --accent: #69f0ae;
    --bg-dark: #050507;
    --bg-card: rgba(20, 20, 25, 0.6);
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    line-height: 1.7;
}

/* Background Grid */
.bg-grid {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* Container Principal */
.seo-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 24px 60px;
}

/* Hero Section */
.seo-hero {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.seo-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.1), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.seo-badge {
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.seo-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.seo-hero h1 .text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-hero-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 2rem;
}

/* CTA Buttons */
.seo-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 230, 118, 0.4);
    background: var(--accent);
}

.btn-secondary {
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(0, 230, 118, 0.08);
}

/* Content Sections */
.seo-content {
    margin-bottom: 3rem;
}

.seo-section {
    margin-bottom: 3rem;
}

.seo-section h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #fff;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 230, 118, 0.2);
}

.seo-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.seo-section ul, .seo-section ol {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.seo-section li {
    margin-bottom: 0.5rem;
}

.seo-section strong {
    color: var(--primary);
    font-weight: 600;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(0, 230, 118, 0.3);
    transform: translateY(-4px);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    margin-top: 4rem;
}

.faq-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-bottom: none;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #fff;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(0, 230, 118, 0.05);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.2rem;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Internal Links Section */
.internal-links {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 230, 118, 0.03);
    border: 1px solid rgba(0, 230, 118, 0.1);
    border-radius: 16px;
    text-align: center;
}

.internal-links h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: #fff;
}

.internal-links-list {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.internal-links-list a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.internal-links-list a:hover {
    text-decoration: underline;
}

/* Footer */
.footer-simple {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 1rem;
    background: #020203;
    text-align: center;
    color: #666;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Responsiveness */
@media (max-width: 768px) {
    .seo-container {
        padding: 100px 16px 40px;
    }

    .seo-hero h1 {
        font-size: 1.8rem;
    }

    .seo-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }
}
