/*
 * Dudes Marketplace — Content Pages
 * Docs, privacy, terms, refunds, support — shared page styles
 */

/* ===== Legal Pages (Privacy, Terms, Refunds) ===== */
.legal-container {
    max-width: 900px;
    margin: 140px auto 80px;
    padding: 40px 5%;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    color: #cbd5e1;
    line-height: 1.8;
}
.legal-container h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.legal-container h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 16px;
    color: #f1f5f9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}
.legal-container h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: #f1f5f9;
}
.legal-container hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 30px 0;
}
.legal-container p {
    margin-bottom: 16px;
}
.legal-container ul, .legal-container ol {
    margin-bottom: 24px;
    padding-left: 20px;
}
.legal-container li {
    margin-bottom: 8px;
}
.legal-container strong {
    color: #fff;
}

/* ===== Documentation Page ===== */
.docs-container {
    max-width: 1100px;
    margin: 140px auto 80px;
    padding: 50px 5%;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    color: #cbd5e1;
    line-height: 1.8;
}
.docs-container h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.docs-container .subtitle {
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 40px;
}
.docs-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 992px) {
    .docs-layout {
        grid-template-columns: 280px 1fr;
    }
}
.docs-sidebar {
    position: static;
}
@media (min-width: 992px) {
    .docs-sidebar {
        position: sticky;
        top: 140px;
        height: fit-content;
    }
}
.docs-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
@media (min-width: 992px) {
    .docs-nav {
        flex-direction: column;
        gap: 10px;
        margin: 0;
    }
}
.docs-nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    transition: all 0.2s ease;
}
@media (min-width: 992px) {
    .docs-nav-link {
        background: transparent;
        border-radius: 0;
        border-left: 2px solid transparent;
        padding: 8px 16px;
    }
}
.docs-nav-link:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.08);
}
@media (min-width: 992px) {
    .docs-nav-link:hover {
        background: transparent;
        border-left-color: rgba(255,255,255,0.2);
    }
}
.docs-nav-link.active {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
    font-weight: 600;
}
@media (min-width: 992px) {
    .docs-nav-link.active {
        background: transparent;
        border-left-color: #60a5fa;
    }
}
.docs-content section {
    margin-bottom: 60px;
    scroll-margin-top: 140px;
}
.docs-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #f1f5f9;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}
.docs-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e2e8f0;
    margin-top: 30px;
    margin-bottom: 12px;
}
.step-card {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
.step-number {
    display: inline-block;
    background: #3b82f6;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.alert-box {
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid #6366f1;
    padding: 15px 20px;
    border-radius: 4px;
    margin: 20px 0;
    color: #cbd5e1;
}
code {
    font-size: 13px;
    color: #a78bfa;
    font-family: 'Courier New', Courier, monospace;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}
.badge-feature {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: 500;
}

/* ===== Support Page ===== */
.support-container {
    max-width: 900px;
    margin: 140px auto 80px;
    padding: 50px 6%;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    color: #cbd5e1;
    line-height: 1.8;
}
.support-container h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.support-container .subtitle {
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 40px;
}
.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}
@media (min-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.support-card {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.support-card:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.2);
}
.support-card h3 {
    color: #f1f5f9;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.support-card p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 25px;
    flex-grow: 1;
}
.email-box {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}
.email-box code {
    font-size: 15px;
    color: #60a5fa;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
}
.btn-support-email {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.btn-support-email:hover {
    background: linear-gradient(135deg, #6366f1, #0891b2);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4);
}
.support-faq {
    margin-top: 50px;
}
.support-faq h2 {
    font-size: 24px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}
.faq-item {
    margin-bottom: 25px;
}
.faq-item h4 {
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.faq-item p {
    font-size: 14px;
    color: #94a3b8;
}
.support-card.full-width {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4), rgba(79, 70, 229, 0.15)) !important;
    border: 1px solid rgba(99, 102, 241, 0.25) !important;
}
.support-card.full-width h3 {
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 22px;
}
.hire-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 25px;
}
.hire-badge {
    background: rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 500;
}
