/* ═══════════════════════════════════════════════
   pages.css — Shared styles for static pages
   (About, Contact, Terms of Use, Privacy, etc.)
   ═══════════════════════════════════════════════ */

/* ── PAGE HEADER ── */
.static-page-header {
    text-align: center;
    padding: 6rem 2rem 3rem;
    position: relative;
    z-index: 1;
}

.static-page-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.static-page-header .back-link:hover {
    color: #c4b5fd;
}

.static-page-header .page-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.static-page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.static-page-header h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.static-page-header .page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.7;
}

/* ── PAGE CONTENT WRAPPER ── */
.page-content {
    position: relative;
    z-index: 1;
    padding: 0 2rem 6rem;
    max-width: 960px;
    margin: 0 auto;
}

.content-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ── SECTION BLOCKS ── */
.content-section {
    padding: 2.5rem 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(132, 94, 194, 0.3);
    display: inline-block;
}

.content-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #a78bfa;
    margin: 1.5rem 0 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-section p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.85;
    margin-bottom: 0.9rem;
}

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

.content-section strong {
    color: #e2e8f0;
    font-weight: 600;
}

.content-section em {
    color: #c4b5fd;
    font-style: italic;
}

.content-section a {
    color: #c4b5fd;
    text-decoration: none;
    border-bottom: 1px solid rgba(196, 181, 253, 0.3);
    transition: all 0.2s ease;
}

.content-section a:hover {
    color: #e0d5ff;
    border-bottom-color: rgba(196, 181, 253, 0.7);
}

.content-section ul,
.content-section ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section li {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.85;
    margin-bottom: 0.4rem;
}

.content-section li strong {
    color: #e2e8f0;
}

/* ── FEATURE / HIGHLIGHT CARDS (About page) ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.feature-item {
    background: rgba(132, 94, 194, 0.06);
    border: 1px solid rgba(132, 94, 194, 0.18);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(132, 94, 194, 0.1);
    border-color: rgba(132, 94, 194, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.7;
    margin: 0;
}

/* ── STAT BANNER (About page) ── */
.stat-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.3rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: rgba(132, 94, 194, 0.3);
    background: rgba(132, 94, 194, 0.06);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── TEAM CARD (About) ── */
.team-highlight {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(132, 94, 194, 0.06);
    border: 1px solid rgba(132, 94, 194, 0.18);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.team-highlight .team-avatar {
    font-size: 3rem;
    line-height: 1;
    flex-shrink: 0;
}

.team-highlight h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.team-highlight p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.7;
    margin: 0;
}

/* ── CONTACT FORM ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(132, 94, 194, 0.06);
    border: 1px solid rgba(132, 94, 194, 0.18);
    border-radius: 14px;
    padding: 1.2rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(132, 94, 194, 0.1);
    border-color: rgba(132, 94, 194, 0.35);
    transform: translateY(-2px);
}

.contact-card-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.contact-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.3px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    color: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: rgba(132, 94, 194, 0.5);
    box-shadow: 0 0 0 3px rgba(132, 94, 194, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form select option {
    background: #1a1d2e;
    color: #ffffff;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--primary-gradient);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(132, 94, 194, 0.35);
    filter: brightness(1.1);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ── TERMS ORDERED LIST STYLES ── */
.terms-list {
    counter-reset: terms-counter;
    list-style: none;
    padding-left: 0;
}

.terms-list>li {
    counter-increment: terms-counter;
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.6rem;
}

.terms-list>li::before {
    content: counter(terms-counter) ".";
    position: absolute;
    left: 0;
    color: #a78bfa;
    font-weight: 700;
    font-size: 0.95rem;
}

/* ── HIGHLIGHT BOX ── */
.highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(132, 94, 194, 0.08);
    border: 1px solid rgba(132, 94, 194, 0.25);
    border-radius: 14px;
    padding: 1.1rem 1.3rem;
    margin-top: 1.2rem;
}

.highlight-box .box-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-box p {
    font-size: 0.88rem !important;
    color: #94a3b8 !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

.highlight-box strong {
    color: #c4b5fd !important;
}

/* ── PAGE FOOTER ── */
.static-page-footer {
    text-align: center;
    padding: 2.5rem 2rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

.static-page-footer a {
    color: #c4b5fd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.static-page-footer a:hover {
    color: #e0d5ff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #c4b5fd;
}

/* ── SOCIAL LINKS (Contact Page) ── */
.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(132, 94, 194, 0.1);
    border: 1px solid rgba(132, 94, 194, 0.25);
    border-radius: 10px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(132, 94, 194, 0.2);
    border-color: rgba(132, 94, 194, 0.5);
    transform: translateY(-2px);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .static-page-header {
        padding: 4rem 1rem 2rem;
    }

    .static-page-header h1 {
        font-size: 2.2rem;
    }

    .static-page-header .page-icon {
        font-size: 2.8rem;
    }

    .page-content {
        padding: 0 1rem 4rem;
    }

    .content-section {
        padding: 2rem 1.5rem;
    }

    .content-section h2 {
        font-size: 1.15rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .team-highlight {
        flex-direction: column;
        text-align: center;
    }

    .stat-banner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .static-page-header h1 {
        font-size: 1.8rem;
    }

    .content-section {
        padding: 1.5rem 1.2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .stat-banner {
        grid-template-columns: 1fr 1fr;
    }
}