/* BASIC RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    background: #ffffff;
    color: #222222;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* LAYOUT WRAPPER */
.seo-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.seo-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* HERO */
.seo-hero {
    background: linear-gradient(135deg, #7a3cff 0%, #ff4dc8 40%, #9a4bff 100%);
    color: #ffffff;
    padding: 3.5rem 0 4rem;
}

.seo-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.seo-eyebrow {
    margin: 0 0 0.8rem;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.9;
    color: #ffffff;
}

.seo-hero-text h1 {
    margin: 0 0 1rem;
    font-size: 2.6rem;
    line-height: 1.1;
    color: #ffffff;
}

.seo-hero-subtitle {
    margin: 0 0 1.6rem;
    max-width: 34rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.seo-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.1rem;
}

.seo-btn-primary,
.seo-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.75rem 1.6rem;
    font-size: 0.96rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease,
        background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.seo-btn-primary i {
    margin-right: 0.45rem;
}

.seo-btn-primary {
    background: #ffffff;
    color: #111111;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.seo-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.seo-btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.7);
}

.seo-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.seo-hero-note {
    margin: 0;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 32rem;
}

.seo-hero-image {
    justify-self: flex-end;
    background: rgba(17, 17, 17, 0.2);
    border-radius: 1.8rem;
    padding: 1.1rem;
    box-shadow: 0 26px 62px rgba(0, 0, 0, 0.4);
}

.seo-hero-image img {
    display: block;
    max-width: 100%;
    border-radius: 1.4rem;
}

/* CTA BLOCK */
.guides-cta {
    padding: 2.8rem 0 3.1rem;
}

.guides-cta-inner {
    background: linear-gradient(120deg, #ff4dc8 0%, #7a3cff 40%, #151321 100%);
    color: #ffffff;
    border-radius: 1.8rem;
    padding: 2.1rem 2.2rem 2.4rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.guides-cta-inner h2 {
    margin: 0 0 0.8rem;
    font-size: 1.8rem;
    color: #ffffff;
}

.guides-cta-inner p {
    margin: 0 0 1.5rem;
    max-width: 46rem;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.93);
}

.guides-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 640px;
    background: #ffffff;
    color: #111111;
    border-radius: 999px;
    padding: 0.85rem 1.2rem;
    font-weight: 600;
    font-size: 0.98rem;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.guides-cta-button i {
    margin-right: 0.45rem;
}

.guides-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.45);
}

/* MAIN CONTENT */
.seo-main {
    flex: 1 0 auto;
    padding: 3rem 0 3.5rem;
}

.guides-section + .guides-section {
    margin-top: 2.8rem;
}

.guides-section h2 {
    margin: 0 0 0.4rem;
    font-size: 1.7rem;
}

.guides-section-intro {
    margin: 0 0 1.3rem;
    max-width: 48rem;
    font-size: 0.96rem;
    color: #555555;
}

/* GRID OF LINKS */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.guide-card {
    background: #ffffff;
    border-radius: 1.1rem;
    padding: 0.95rem 1.1rem;
    font-size: 0.96rem;
    font-weight: 500;
    border: 1px solid #ece6ff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease,
        border-color 0.15s ease;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
    border-color: rgba(122, 60, 255, 0.55);
}

/* FOOTER */
.seo-footer {
    border-top: 1px solid #eee7ff;
    background: #faf7ff;
    padding: 1rem 0;
}

.seo-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.86rem;
    color: #666666;
}

.seo-footer-link {
    font-weight: 600;
    color: #5a2ad8;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .seo-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .seo-hero-image {
        justify-self: stretch;
    }

    .guides-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .seo-hero {
        padding: 2.6rem 0 3rem;
    }

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

    .seo-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .guides-cta-inner {
        padding: 1.8rem 1.4rem 2rem;
    }

    .guides-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .seo-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
