/* ====================================================
   pages.css  —  estilos específicos para páginas interiores
   ==================================================== */

/* Hero interior (page-hero) */
.page-hero {
    background: linear-gradient(135deg, #0F1729 0%, #1a2540 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(99,102,241,0.1) 0%, transparent 60%),
                radial-gradient(ellipse 40% 60% at 10% 30%, rgba(255,92,57,0.07) 0%, transparent 50%);
    pointer-events: none;
}
.page-hero .breadcrumb {
    font-size: .8rem;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.page-hero .breadcrumb a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color .2s;
}
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.2); }
.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.page-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    max-width: 620px;
    line-height: 1.7;
}

/* Inner content area */
.page-content {
    padding: 5rem 0;
    background: #fff;
}
.page-content.alt-bg {
    background: var(--bg-light);
}

/* Prose blocks */
.prose h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 3rem 0 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--bg-light);
}
.prose h2:first-child { margin-top: 0; border-top: none; }
.prose h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 2rem 0 .5rem;
}
.prose p {
    color: var(--text-muted);
    font-size: .97rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.prose ul {
    list-style: none;
    margin: .75rem 0 1.25rem;
}
.prose ul li {
    padding: .4rem 0 .4rem 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: .95rem;
}
.prose ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}
.prose a {
    color: var(--accent-blue);
    text-decoration: none;
}
.prose a:hover { text-decoration: underline; }

/* About timeline */
.timeline {
    position: relative;
    padding-left: 2.5rem;
    margin: 2rem 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: .6rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}
.tl-item {
    position: relative;
    margin-bottom: 2.5rem;
}
.tl-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: .35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(255,92,57,0.15);
}
.tl-year {
    font-size: .75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .3rem;
}
.tl-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .35rem;
}
.tl-item p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Team cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.team-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: all .3s;
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #ff8c6e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.25rem;
}
.team-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.team-card .role { font-size: .82rem; color: var(--primary); font-weight: 600; margin-bottom: .5rem; }
.team-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

/* FAQ accordion */
.faq-list { margin-top: 2rem; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow .2s;
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-question {
    width: 100%;
    background: #fff;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-family: inherit;
    font-size: .97rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background .2s;
}
.faq-question:hover { background: var(--bg-light); }
.faq-item.open .faq-question { background: var(--bg-light); color: var(--primary); }
.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 400;
    flex-shrink: 0;
    transition: transform .3s, background .2s;
    color: var(--text-muted);
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: rgba(255,92,57,0.1);
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(0,.2,.2,1);
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    font-size: .92rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.faq-categories {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.faq-cat-btn {
    padding: .5rem 1.25rem;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-muted);
    transition: all .2s;
    font-family: inherit;
}
.faq-cat-btn.active, .faq-cat-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Support page */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.support-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all .3s;
}
.support-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.support-card .icon-box { margin: 0 auto 1.5rem; }
.support-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; }
.support-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.support-contact-info { font-size: .9rem; font-weight: 600; color: var(--primary); }
.support-hours { font-size: .78rem; color: var(--text-muted); margin-top: .25rem; }

/* Support form area */
.support-form-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
}
.support-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-sm); }
.support-form h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .5rem; }
.support-form > p { font-size: .88rem; color: var(--text-muted); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group select {
    width: 100%;
    padding: .85rem 1.2rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: .93rem;
    outline: none;
    transition: border-color .2s;
    color: var(--text-main);
    background: #fff;
    cursor: pointer;
}
.form-group select:focus { border-color: var(--primary); }
.form-group textarea {
    width: 100%;
    padding: .85rem 1.2rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: .93rem;
    outline: none;
    transition: border-color .2s;
    color: var(--text-main);
    resize: vertical;
    min-height: 130px;
}
.form-group textarea:focus { border-color: var(--primary); }
.support-info-aside {}
.sia-block { margin-bottom: 2.5rem; }
.sia-block h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.sia-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.sia-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(59,130,246,0.08); color: var(--accent-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sia-item h5 { font-size: .88rem; font-weight: 700; margin-bottom: .15rem; }
.sia-item p { font-size: .82rem; color: var(--text-muted); }
.status-pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; padding: .4rem .9rem; border-radius: 50px; }
.status-pill.green { background: rgba(16,185,129,.1); color: #10B981; }
.status-pill.green::before { content:''; width:8px; height:8px; background:#10B981; border-radius:50%; animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }

/* Privacy prose layout */
.privacy-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 4rem;
    align-items: start;
}
.privacy-toc {
    position: sticky;
    top: 100px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border);
}
.privacy-toc h4 { font-size: .83rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 1rem; }
.privacy-toc ul { list-style: none; }
.privacy-toc li { margin-bottom: .5rem; }
.privacy-toc a { font-size: .85rem; color: var(--text-muted); text-decoration: none; display: block; padding: .35rem .75rem; border-radius: 8px; transition: all .2s; }
.privacy-toc a:hover, .privacy-toc a.active { background: rgba(255,92,57,0.08); color: var(--primary); font-weight: 600; }
.privacy-doc h2 { scroll-margin-top: 100px; }

/* Shared footer/nav re-use for interior pages */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    transition: color .2s;
}
.back-link:hover { color: #fff; }
.back-link svg { transition: transform .2s; }
.back-link:hover svg { transform: translateX(-3px); }

/* Highlight box */
.highlight-box {
    background: rgba(59,130,246,0.06);
    border: 1px solid rgba(59,130,246,0.15);
    border-left: 4px solid var(--accent-blue);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    font-size: .92rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.highlight-box strong { color: var(--text-main); }

@media(max-width:900px){
    .support-form-area { grid-template-columns: 1fr; gap: 2rem; }
    .privacy-layout { grid-template-columns: 1fr; }
    .privacy-toc { position: static; }
    .form-row { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 2.2rem; }
}
