/* ==========================================================================
   FASTCOPY — CONTENT & LEGAL PAGES STYLESHEET (content.css)
   Applies to: About, Privacy Policy, Terms & Conditions
   Prioritizes long-form reading, high legibility, and technical precision.
   ========================================================================== */

/* Page Content Wrapper */
.content-page-wrapper {
    min-height: calc(100vh - 70px - 140px);
    padding: 3rem 1.25rem 5rem;
}

.content-article-container {
    max-width: 680px;
    margin: 0 auto;
}

/* Header Breadcrumb / Back Link */
.header-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0.85rem;
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    transition: all 0.15s ease;
}

.header-back-link:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--surface-hover);
}

/* Article Header */
.article-header {
    margin-bottom: 2.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.article-title {
    font-family: var(--font-heading);
    font-size: 1.75rem; /* ~28px */
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.article-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.article-meta i {
    color: var(--amber);
}

/* Table of Contents Box */
.toc-box {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
}

.toc-title {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.toc-title i {
    color: var(--amber);
    font-size: 1rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.toc-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 40px;
    padding: 0.25rem 0;
}

.toc-link:hover {
    color: var(--amber);
    transform: translateX(2px);
}

.toc-link .toc-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    min-width: 1.3rem;
}

/* Legal Draft Disclaimer Notice */
.legal-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 8px;
    padding: 0.9rem 1.15rem;
    margin-bottom: 2rem;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #fbbf24;
}

.legal-notice i {
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Article Body Typography & Spacing */
.article-body {
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.96875rem; /* ~15.5px */
    line-height: 1.75;
}

.article-section {
    margin-bottom: 2.5rem;
}

.article-section h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem; /* ~20px */
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    scroll-margin-top: 90px;
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

.article-section h2 .sec-num {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--amber);
    font-weight: 500;
}

.article-section h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.article-section p {
    margin-bottom: 1.25rem;
}

.article-section p:last-child {
    margin-bottom: 0;
}

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

.article-section ul,
.article-section ol {
    margin: 0.75rem 0 1.25rem 1.25rem;
    padding: 0;
}

.article-section li {
    margin-bottom: 0.55rem;
    padding-left: 0.25rem;
}

.article-section li::marker {
    color: var(--amber);
}

.article-section a {
    color: var(--amber);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.15s ease;
}

.article-section a:hover {
    opacity: 0.85;
}

.article-section code {
    font-family: var(--font-mono);
    font-size: 0.84em;
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    color: #e2e8f0;
}

/* About Page Specific: Visual 3-Step Row */
.about-steps-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width: 580px) {
    .about-steps-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-step-card {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.about-step-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.about-step-card h4 {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.about-step-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Contact Card Box */
.contact-callout-box {
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9375rem;
}

.contact-row i {
    color: var(--amber);
    font-size: 1.15rem;
}

/* ==========================================================================
   POWERED BY PROMPTGALLERY INDIA & SHARED FOOTER
   ========================================================================== */

.site-footer {
    padding: 2.25rem 0 2rem;
    background: #08090c;
    border-top: 1px solid var(--border-subtle);
}

.footer-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    text-align: center;
}

/* Powered By Credit Line (Quiet, Non-competing) */
.footer-powered-by {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78125rem; /* ~12.5px */
    color: var(--text-muted);
}

.footer-powered-by a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.15s ease;
}

.footer-powered-by a:hover {
    color: var(--amber);
}

.footer-powered-by .pg-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
    display: inline-block;
}

.footer-tools-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
    max-width: 820px;
}

.footer-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--text-muted);
}

.footer-tools-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.25rem;
}

.footer-tool-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.15s ease;
}

.footer-tool-link:hover {
    color: var(--amber);
}

/* Footer Navigation Links */
.footer-nav-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
}

.footer-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.15s ease;
}

.footer-nav-link:hover {
    color: var(--text-primary);
}

.footer-copyright {
    font-family: var(--font-mono);
    font-size: 0.71875rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ==========================================================================
   RESPONSIVE DESIGN (LOW, MEDIUM, HIGH MOBILE TIERS)
   ========================================================================== */

/* Low Devices (<= 374px) — iPhone SE 1st gen, small budget Androids */
@media (max-width: 374px) {
    .content-page-wrapper {
        padding: 1.5rem 0.65rem 3rem;
    }

    .article-title {
        font-size: 1.35rem;
    }

    .article-meta {
        font-size: 0.75rem;
    }

    .toc-box {
        padding: 0.85rem 0.75rem;
        margin-bottom: 1.75rem;
    }

    .legal-notice {
        padding: 0.75rem;
        font-size: 0.75rem;
    }

    .article-section h2 {
        font-size: 1.125rem;
        margin-top: 1.5rem;
    }

    .article-body {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .about-step-card {
        padding: 0.85rem;
    }

    .contact-callout-box {
        padding: 0.85rem;
    }
}

/* Medium Devices (375px – 480px) — Standard iPhones, Pixels, Galaxy Phones */
@media (min-width: 375px) and (max-width: 480px) {
    .content-page-wrapper {
        padding: 2rem 1rem 3.5rem;
    }

    .article-title {
        font-size: 1.55rem;
    }

    .toc-box {
        padding: 1rem 1.15rem;
    }

    .about-step-card {
        padding: 1.15rem;
    }
}

/* High Mobile & Phablets (481px – 767px) — Large Phones, Landscape, Foldables */
@media (min-width: 481px) and (max-width: 767px) {
    .about-steps-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-steps-row .about-step-card:last-child {
        grid-column: span 2;
    }
}

/* Global Mobile Safe Area (< 768px) */
@media (max-width: 768px) {
    body {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .site-footer {
        padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    }
}
