/**
 * SEO Landing Page Styles
 * Location: /wp-content/plugins/teacherai-simple/assets/css/seo-landing.css
 * 
 * @package TeacherAI
 * @version 1.2.0
 * @author Claude 365 - TEAM TEACHAI (v1.0.0)
 * @author Claude 366 - TEAM TEACHAI (v1.1.0 - Hero banner integration)
 * @author Claude 371 - TEAM TEACHAI (v1.2.0 - Pillar cross-navigation styles)
 * @date April 9, 2026
 * 
 * PURPOSE:
 * Typography and layout for long-form SEO content pages.
 * Layered on top of home-page.css (base styles, header/footer, hero classes).
 * Designed for readability — teachers reading on phones at 10 PM.
 * 
 * DEPENDS ON: home-page.css (provides header, footer, base resets, .home-wrapper,
 *             .hero-bg, .hero-badge, .hero-headline, .hero-subheadline,
 *             .features-hero — all hero visual styles)
 */


/* =============================================
   SEO HERO — Overrides for SEO landing pages
   Base hero styles come from home-page.css
   (.features-hero, .hero-bg, .hero-badge, etc.)
   This class is a hook for SEO-specific tweaks only
============================================== */

/* No overrides needed yet — .features-hero from home-page.css
   provides the correct 60vh lighter hero treatment.
   If SEO pages ever need different hero sizing or spacing,
   add rules here scoped to .seo-hero */


/* =============================================
   LAYOUT — Content area structure
============================================== */

.seo-content-area {
    padding: 48px 0 40px;
    background: #ffffff;
    min-height: 60vh;
}

.seo-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}


/* =============================================
   PAGE TITLE — H1 (LEGACY)
   No longer used — H1 now lives in the hero banner.
   Kept commented for reference in case a future Claude
   needs a non-hero page variant.
============================================== */

/*
.seo-page-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a2e;
    margin: 0 0 32px 0;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .seo-page-title {
        font-size: 2rem;
        margin-bottom: 24px;
    }
}
*/


/* =============================================
   CONTENT TYPOGRAPHY — WordPress editor output
   Targets .seo-page-content children
============================================== */

.seo-page-content {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.125rem;
    line-height: 1.75;
    color: #374151;
}

/* Headings — specificity boosted to override WP theme defaults */
.seo-content-area .seo-page-content h1 {
    font-family: 'DM Serif Display', Georgia, serif !important;
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a2e;
    margin: 0 0 32px 0;
    letter-spacing: -0.02em;
}

.seo-content-area .seo-page-content h2 {
    font-family: 'DM Serif Display', Georgia, serif !important;
    font-size: 2rem;
    font-weight: 400;
    color: #1a1a2e;
    margin: 48px 0 16px 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* First H2 after hero needs less top margin — no gap needed */
.seo-content-area .seo-page-content h2:first-child {
    margin-top: 0;
}

.seo-content-area .seo-page-content h3 {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 1.375rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 36px 0 12px 0;
    line-height: 1.35;
}

.seo-content-area .seo-page-content h4 {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 1.125rem;
    font-weight: 600;
    color: #4b5563;
    margin: 28px 0 8px 0;
    line-height: 1.4;
}

/* Paragraphs */
.seo-page-content p {
    margin: 0 0 20px 0;
}

/* Links */
.seo-page-content a {
    color: #7c3aed;
    text-decoration: underline;
    text-decoration-color: rgba(124, 58, 237, 0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s ease;
}

.seo-page-content a:hover {
    text-decoration-color: #7c3aed;
}

/* Lists */
.seo-page-content ul,
.seo-page-content ol {
    margin: 0 0 20px 0;
    padding-left: 24px;
}

.seo-page-content li {
    margin-bottom: 8px;
}

/* Blockquotes — for Tony's voice / teacher quotes */
.seo-page-content blockquote {
    border-left: 4px solid #7c3aed;
    margin: 32px 0;
    padding: 20px 24px;
    background: #f5f3ff;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4b5563;
}

.seo-page-content blockquote p {
    margin-bottom: 0;
}

/* Bold and emphasis */
.seo-page-content strong {
    color: #1a1a2e;
    font-weight: 600;
}

/* Horizontal rules — section breaks */
.seo-page-content hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 40px 0;
}

/* Images from WordPress editor */
.seo-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

/* WordPress image alignment classes */
.seo-page-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.seo-page-content .alignleft {
    float: left;
    margin: 4px 24px 16px 0;
}

.seo-page-content .alignright {
    float: right;
    margin: 4px 0 16px 24px;
}

/* Tables — for comparison content (TPT vs AI page) */
.seo-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 1rem;
}

.seo-page-content th {
    background: #f9fafb;
    font-weight: 600;
    color: #1a1a2e;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid #e5e7eb;
}

.seo-page-content td {
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
}

.seo-page-content tr:last-child td {
    border-bottom: none;
}


/* =============================================
   FAQ SECTION — Schema-ready structure
   Use <h3> for questions, <p> for answers
   in the WordPress editor
============================================== */

/* No special styling needed — h3 + p handles it.
   FAQ schema markup will be added via Yoast or 
   manual JSON-LD in a future session if needed. */


/* =============================================
   BOTTOM CTA — Light style matching How It Works golden egg
   Colors from how-it-works.css variables resolved to values
============================================== */

.seo-bottom-cta {
    text-align: center;
    padding: 72px 24px 80px;
    background: #F1F5F9;
}

.seo-bottom-cta h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #0F172A;
}

.seo-bottom-cta p {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    color: #64748B;
    margin: 0 0 32px 0;
}

.seo-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #6B21A8 0%, #7C3AED 100%);
    padding: 16px 36px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seo-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.seo-cta-button .btn-arrow {
    transition: transform 0.2s ease;
}

.seo-cta-button:hover .btn-arrow {
    transform: translateX(4px);
}

.seo-cta-note {
    display: block;
    margin-top: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    color: #64748B;
}

.seo-hero.features-hero {
    min-height: auto;
    padding: 6rem 1.5rem 3rem;
}

@media (max-width: 768px) {
    .seo-content-area {
        padding: 36px 0 24px;
    }
    
    .seo-container {
        padding: 0 16px;
    }
    
    .seo-page-content {
        font-size: 1rem;
    }
    
    .seo-page-content h1 {
        font-size: 2rem;
        margin-bottom: 24px;
    }
    
    .seo-page-content h2 {
        font-size: 1.625rem;
        margin-top: 36px;
    }
    
    .seo-page-content h3 {
        font-size: 1.2rem;
    }
    
    .seo-page-content blockquote {
        padding: 16px 20px;
        margin: 24px 0;
    }

    .seo-hero.features-hero {
    padding: 5rem 1rem 2rem;

    }
    
    /* Tables scroll horizontally on mobile */
    .seo-page-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .seo-bottom-cta {
        padding: 48px 16px;
    }
}
/* =============================================
   SEO HERO — CTA Links + Trust Badge
   Renders inside .features-hero .hero-content
   Pulled from post meta fields per page
   Added by Claude 367 — v1.2.0
============================================== */

.seo-hero-cta {
    margin-top: 1.5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.0625rem;
}

.seo-hero-cta a {
    color: #7c3aed;
    text-decoration: underline;
    text-decoration-color: rgba(124, 58, 237, 0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.seo-hero-cta a:hover {
    text-decoration-color: #7c3aed;
}

.seo-hero-trust-badge {
    margin-top: 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    font-style: italic;
    color: #64748b;
    letter-spacing: 0.01em;
}


/* =============================================
   PILLAR CROSS-NAVIGATION
   Internal linking section for SEO pillar-cluster model.
   Cluster pages: links to siblings + back to hub.
   Hub pages: links down to cluster children.
   
   Added by Claude 371 — v1.2.0
============================================== */

.seo-pillar-nav {
    padding: 48px 24px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.seo-pillar-nav h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #1a1a2e;
    margin: 0 0 24px 0;
    letter-spacing: -0.01em;
}

.seo-pillar-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.seo-pillar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.0625rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
}

.seo-pillar-link:first-child {
    border-top: 1px solid #f3f4f6;
}

.seo-pillar-link:hover {
    color: #7c3aed;
    text-decoration: none;
}

.seo-pillar-link svg {
    flex-shrink: 0;
    color: #9ca3af;
    transition: color 0.2s ease, transform 0.2s ease;
}

.seo-pillar-link:hover svg {
    color: #7c3aed;
    transform: translateX(3px);
}

.seo-pillar-hub-link {
    display: inline-block;
    margin-top: 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #7c3aed;
    text-decoration: none;
    transition: color 0.2s ease;
}

.seo-pillar-hub-link:hover {
    color: #6B21A8;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .seo-pillar-nav {
        padding: 36px 16px;
    }

    .seo-pillar-link {
        font-size: 1rem;
        padding: 14px 0;
    }
}