/* css/pages/misc.css */

/* ===== PAGE HEADER (Used in FAQ & About) ===== */
.page-header {
    padding: 4rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg) 100%);
    text-align: center;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 1rem;
    letter-spacing: -0.03em;
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* ===== FAQ PAGE STYLES ===== */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-light);
    letter-spacing: -0.02em;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: rgba(0, 191, 255, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent-light);
}

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-contact {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg,
            rgba(0, 191, 255, 0.1) 0%,
            rgba(249, 200, 80, 0.05) 100%);
    border-radius: var(--radius);
    text-align: center;
}

.faq-contact h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.faq-contact p {
    color: var(--text-muted);
    margin: 0 0 1.5rem;
}

/* ===== ABOUT PAGE STYLES ===== */

/* Story Section */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.story-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.story-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats Div */
.stats-div {
    padding: 4rem 0;
    background: var(--bg-elevated);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition:
        transform 0.3s ease,
        border-color 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 191, 255, 0.3);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.value-card p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    background: var(--bg-elevated);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    text-align: center;
}

.team-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border);
    transition: border-color 0.3s;
}

.team-card:hover .team-image {
    border-color: var(--accent);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    user-select: none;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg,
            rgba(0, 191, 255, 0.1) 0%,
            rgba(249, 200, 80, 0.05) 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== ACCESS DENIED PAGE ===== */
.access-denied-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem 1rem;
}

.access-denied-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 520px;
    width: 100%;
}

.access-denied-icon .material-icons {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.access-denied-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
}

.access-denied-message {
    margin-bottom: 1.5rem;
}

.access-denied-message p {
    color: var(--text-muted);
    margin: 0.3rem 0;
}

.text-muted-light {
    color: var(--text-muted) !important;
}

.access-denied-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.access-denied-help {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.access-denied-help a {
    color: var(--accent);
    text-decoration: underline;
}