/* ==============================================
   PAGES CSS - Fast Site Check
   ==============================================
   Styles for About, Contact, Privacy, Terms pages,
   navigation, footer, and ad slots
*/

/* ==============================================
   NAVIGATION
*/

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95em;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

/* ==============================================
   PAGE LAYOUT
*/

.page-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hero {
    text-align: center;
    padding: 60px 20px 40px;
    margin-bottom: 40px;
    position: relative;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: 2.4em;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.15em;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

/* ==============================================
   PAGE SECTIONS
*/

.page-section {
    margin-bottom: 60px;
}

.page-section h2 {
    font-family: var(--font-display);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.page-section p {
    color: var(--text-secondary);
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ==============================================
   FEATURES GRID
*/

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-primary);
}

.feature-icon {
    font-size: 2em;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.15em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.7;
}

/* ==============================================
   STEPS GRID (How It Works)
*/

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.step-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--accent-primary);
    color: var(--text-on-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.4em;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.7;
}

/* ==============================================
   CREATOR SECTION
*/

.creator-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 60px;
}

.creator-links {
    margin-top: 24px;
    display: flex;
    gap: 16px;
}

.creator-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 24px;
    border: 2px solid var(--accent-primary);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.creator-link:hover {
    background: var(--accent-primary);
    color: var(--text-on-accent);
}

.creator-link svg {
    fill: currentColor;
}

/* ==============================================
   CONTACT LAYOUT
*/

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.contact-form-section h2 {
    font-family: var(--font-display);
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95em;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95em;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.2s ease;
    min-height: auto;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

.form-group textarea {
    resize: vertical;
    line-height: 1.7;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 28px;
    transition: all 0.2s ease;
}

.info-card:hover {
    border-color: var(--accent-primary);
}

.info-icon {
    font-size: 1.6em;
    margin-bottom: 12px;
}

.info-card h3 {
    font-family: var(--font-display);
    font-size: 1.05em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.92em;
    line-height: 1.6;
    margin-bottom: 0;
}

.info-card a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.info-card a:hover {
    text-decoration: underline;
}

/* ==============================================
   FAQ
*/

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: var(--accent-primary);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1em;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
    border-radius: 0;
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-arrow {
    font-size: 1.2em;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-arrow {
    transform: rotate(90deg);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.7;
    margin: 0;
}

/* ==============================================
   LEGAL PAGES (Privacy, Terms)
*/

.legal-page {
    padding-bottom: 60px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.4em;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    color: var(--text-secondary);
    font-size: 0.98em;
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    color: var(--text-secondary);
    font-size: 0.98em;
    line-height: 1.8;
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ==============================================
   FOOTER
*/

.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 60px 32px;
    margin-top: 80px;
    transition: background 0.3s ease;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    /* gap: 12px; */
    margin-bottom: 16px;
}

.footer-logo {
    height: 28px;
    width: auto;
    color: var(--accent-primary);
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.3em;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1px;
    text-transform: uppercase;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.92em;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: 0.9em;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-group li {
    margin-bottom: 10px;
}

.footer-links-group a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92em;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85em;
}

/* ==============================================
   AD SLOTS - Google Ads / AdSense Placements
*/

.ad-slot {
    margin: 32px 0;
    text-align: center;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ad-slot-top {
    margin-top: 0;
    margin-bottom: 32px;
    min-height: 90px;
    /* Leaderboard: 728x90 */
}

.ad-slot-mid {
    margin: 40px 0;
    min-height: 250px;
    /* Medium Rectangle */
}

.ad-slot-bottom {
    margin-top: 40px;
    margin-bottom: 0;
    min-height: 280px;
    /* Large Rectangle: 336x280 */
}

.ad-slot-footer {
    margin-top: 0;
    margin-bottom: 40px;
    min-height: 90px;
    /* Leaderboard */
}

.ad-slot-inline {
    margin: 48px 0;
    min-height: 250px;
}

.ad-slot-sidebar {
    min-height: 250px;
    margin-top: 8px;
}

/* Placeholder styling (remove these when real ads are active) */
.ad-placeholder {
    width: 100%;
    max-width: 728px;
    min-height: 90px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85em;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.5;
    background: var(--bg-secondary);
    padding: 24px;
    transition: opacity 0.2s ease;
}

.ad-placeholder:hover {
    opacity: 0.7;
}

.ad-placeholder-vertical {
    max-width: 100%;
    min-height: 250px;
}

/* When real ads load, hide placeholders */
.ad-slot ins.adsbygoogle[data-ad-status="filled"]+.ad-placeholder,
.ad-slot ins.adsbygoogle~.ad-placeholder {
    display: none;
}

/* ==============================================
   RESPONSIVE - Page-specific
*/

@media (max-width: 768px) {
    .header-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
    }

    .main-nav {
        gap: 4px;
    }

    .nav-link {
        font-size: 0.85em;
        padding: 6px 12px;
    }

    .page-hero {
        padding: 40px 10px 30px;
    }

    .page-hero h1 {
        font-size: 1.8em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .creator-section {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .site-footer {
        padding: 40px 24px 24px;
    }

    /* Ad responsive */
    .ad-slot {
        margin: 20px 0;
    }

    .ad-placeholder {
        max-width: 100%;
        min-height: 60px;
        font-size: 0.75em;
    }

    .ad-slot-mid,
    .ad-slot-inline {
        min-height: 250px;
    }

    .ad-slot-bottom {
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ==============================================
   SEO LANDING CONTENT - Homepage
*/

.seo-landing {
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

/* Hero */
.seo-hero {
    text-align: center;
    padding: 40px 20px 50px;
    margin-bottom: 48px;
}

.seo-hero-title {
    font-family: var(--font-display);
    font-size: 2.2em;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    line-height: 1.25;
}

.seo-hero-desc {
    font-size: 1.1em;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 32px;
    line-height: 1.75;
    font-weight: 400;
}

.seo-hero-cta {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent-primary);
    color: var(--text-on-accent);
    font-family: var(--font-display);
    font-size: 1.05em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.seo-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
    filter: brightness(1.08);
}

/* Check lists inside feature cards */
.check-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.check-list li {
    color: var(--text-secondary);
    font-size: 0.92em;
    line-height: 1.7;
    padding: 4px 0 4px 22px;
    position: relative;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.9em;
}

/* Steps grid — 5 columns for how-to */
.seo-steps-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Closing CTA section */
.seo-cta-section {
    text-align: center;
    padding: 56px 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    margin-bottom: 40px;
}

.seo-cta-section h2 {
    font-family: var(--font-display);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.seo-cta-section p {
    color: var(--text-secondary);
    font-size: 1.05em;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 28px;
}

/* ==============================================
   RESPONSIVE — SEO Landing
*/

@media (max-width: 1024px) {
    .seo-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .seo-hero-title {
        font-size: 1.7em;
    }

    .seo-hero-desc {
        font-size: 1em;
    }

    .seo-steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .seo-landing {
        padding-top: 40px;
    }

    .seo-cta-section {
        padding: 36px 20px;
    }

    .seo-cta-section h2 {
        font-size: 1.4em;
    }
}