/* =========================================================
   GENPIXELS — STATIC PAGES
   About, Contact, FAQ, Pricing, Login, Signup, Account,
   Privacy, Terms, 404 and tool SEO content.
   Uses the brand tokens defined in style.css / brand.css.
========================================================= */

/* ---------------------------------------------------------
   PAGE HERO
--------------------------------------------------------- */

.page-hero {
    max-width: 760px;
    margin: 0 auto;
    padding: 72px 24px 28px;
    text-align: center;
}

.page-hero .section-label {
    display: inline-block;
    margin-bottom: 14px;
}

.page-hero h1 {
    font-family: var(--gp-font-heading);
    font-size: clamp(2rem, 4.4vw, 3rem);
    line-height: 1.15;
    color: var(--gp-navy);
    margin: 0 0 14px;
}

.page-hero p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--gp-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}


/* ---------------------------------------------------------
   CONTENT CARD (About / Privacy / Terms / FAQ)
--------------------------------------------------------- */

.content-card,
.form-card,
.price-card {
    max-width: 860px;
    margin: 8px auto 72px;
    padding: 40px 44px;
    background: #ffffff;
    border: 1px solid var(--gp-border);
    border-radius: 16px;
    box-shadow: var(--gp-shadow);
}

.content-card h2 {
    font-family: var(--gp-font-heading);
    font-size: 1.28rem;
    color: var(--gp-navy);
    margin: 30px 0 12px;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card p {
    color: var(--gp-text-2);
    line-height: 1.85;
    margin: 0 0 4px;
}

.content-card ul {
    margin: 4px 0 0;
    padding-left: 22px;
    color: var(--gp-text-2);
    line-height: 1.9;
}

.content-card li {
    margin: 6px 0;
}


/* ---------------------------------------------------------
   FORMS (Contact / Login / Signup)
--------------------------------------------------------- */

.form-card form {
    display: grid;
    gap: 20px;
    margin-top: 22px;
}

.form-card label {
    display: grid;
    gap: 8px;
    font-weight: 600;
    color: var(--gp-navy);
    font-size: 0.92rem;
}

.form-card input,
.form-card textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid var(--gp-border-2);
    border-radius: 10px;
    font: inherit;
    font-size: 0.98rem;
    background: var(--gp-bg-soft);
    color: var(--gp-navy);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.form-card input:focus,
.form-card textarea:focus {
    outline: none;
    border-color: var(--gp-blue);
    background: #ffffff;
    box-shadow: var(--gp-ring);
}

.form-card textarea {
    resize: vertical;
    min-height: 130px;
}

.form-card .primary-btn {
    width: 100%;
    margin-top: 4px;
    font-weight: 700;
}


/* ---------------------------------------------------------
   FLASH MESSAGES
--------------------------------------------------------- */

.flash {
    padding: 13px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 0.92rem;
    font-weight: 600;
    background: var(--gp-bg-tint);
    color: var(--gp-blue-dark);
    border: 1px solid var(--gp-border);
}

.flash.error {
    background: #fef2f2;
    color: #b42318;
    border-color: #fecdca;
}

.flash.success {
    background: #ecfdf3;
    color: #05603a;
    border-color: #a6f4c5;
}


/* ---------------------------------------------------------
   AUTH PAGES (Login / Signup)
--------------------------------------------------------- */

.auth-wrap {
    padding: 64px 20px 90px;
    background: var(--gp-bg-soft);
}

.auth-card {
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
}

.auth-card .section-label {
    margin-bottom: 12px;
}

.auth-card h1 {
    font-family: var(--gp-font-heading);
    color: var(--gp-navy);
    margin: 0 0 24px;
    font-size: 1.7rem;
}

.auth-card form {
    text-align: left;
}

.auth-note {
    text-align: center;
    color: var(--gp-muted);
    font-size: 0.92rem;
    margin: 22px 0 0;
}

.auth-note a {
    font-weight: 700;
    color: var(--gp-blue);
    text-decoration: none;
}

.auth-note a:hover {
    text-decoration: underline;
}


/* ---------------------------------------------------------
   ACCOUNT PAGE
--------------------------------------------------------- */

.page-hero .secondary-btn {
    display: inline-block;
    margin-top: 26px;
}


/* ---------------------------------------------------------
   PRICING
--------------------------------------------------------- */

.pricing-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px 24px 90px;
    display: flex;
    justify-content: center;
}

.price-card {
    max-width: 400px;
    margin: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gp-gradient);
}

.price-card h2 {
    font-family: var(--gp-font-heading);
    color: var(--gp-navy);
    font-size: 1.2rem;
    margin: 6px 0 0;
}

.price-card .price {
    font-family: var(--gp-font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--gp-navy);
    margin: 10px 0 4px;
}

.price-card > p {
    color: var(--gp-muted);
    margin: 0 0 22px;
}

.price-card ul {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    text-align: left;
    display: grid;
    gap: 12px;
}

.price-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gp-text-2);
    font-size: 0.95rem;
}

.price-card li::before {
    content: "\2713";
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gp-bg-tint);
    color: var(--gp-blue);
    font-size: 0.72rem;
    font-weight: 700;
}

.price-card .primary-btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
}


/* ---------------------------------------------------------
   FAQ
--------------------------------------------------------- */

.faq-list {
    padding: 12px 44px 26px;
}

.faq-list details {
    padding: 20px 0;
    border-bottom: 1px solid var(--gp-border);
}

.faq-list details:last-child {
    border-bottom: 0;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--gp-navy);
    font-size: 1.02rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

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

.faq-list summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gp-bg-tint);
    color: var(--gp-blue);
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.15s ease;
}

.faq-list details[open] summary::after {
    content: "\2212";
}

.faq-list p {
    margin: 14px 0 0;
    color: var(--gp-text-2);
    line-height: 1.8;
}


/* ---------------------------------------------------------
   404
--------------------------------------------------------- */

.page-hero .primary-btn {
    display: inline-flex;
    margin-top: 20px;
    text-decoration: none;
    font-weight: 700;
}


/* ---------------------------------------------------------
   SHARED
--------------------------------------------------------- */

.nav-links > a:not(.is-soon) {
    text-decoration: none;
}

.footer-column a {
    display: block;
}


/* ---------------------------------------------------------
   TOOL SEO CONTENT (shared across every /tools/* page)
--------------------------------------------------------- */

.tool-seo-content {
    max-width: 980px;
    /* Sits at the bottom of the tool page, just above the footer */
    margin-top: 48px;
}

.tool-seo-content h2 {
    font-family: var(--gp-font-heading);
    color: var(--gp-navy);
    margin-top: 32px;
}

.tool-seo-content h2:first-of-type {
    margin-top: 0;
}

.tool-seo-content p {
    color: var(--gp-text-2);
    line-height: 1.85;
}

.tool-seo-content ol {
    padding-left: 24px;
    color: var(--gp-text-2);
    line-height: 1.9;
}

.tool-seo-content li {
    margin: 7px 0;
}

.tool-seo-content .faq-list {
    margin-top: 8px;
    padding: 0;
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 640px) {

    .page-hero {
        padding: 56px 20px 22px;
    }

    .content-card,
    .form-card,
    .price-card {
        padding: 28px 22px;
        margin: 8px 16px 56px;
        border-radius: 14px;
    }

    .tool-seo-content {
        margin-top: 32px;
    }

    .faq-list {
        padding: 4px 22px 10px;
    }

    .auth-wrap {
        padding: 44px 16px 64px;
    }
}
