/* Global WorX — Subpage styles */

.page-hero {
    position: relative;
    padding: 96px 0 72px;
    background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.page-hero::before {
    content: '';
    position: absolute; top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 640px; height: 640px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0,178,122,.18), transparent 70%);
    filter: blur(10px); pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-kicker { margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; max-width: 680px; margin: 16px auto 24px; color: var(--muted); }
.page-hero .btn { margin: 0 6px; }

.breadcrumb {
    font-size: .85rem; color: var(--muted);
    margin-bottom: 20px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

/* Roles page */
.roles-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.role-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 28px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.role-card:hover {
    transform: translateY(-3px); box-shadow: var(--shadow);
    border-color: var(--accent);
}
.role-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: var(--accent-grad); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 16px;
}
.role-card h3 { margin-bottom: 8px; }
.role-meta {
    margin-top: 16px; padding-top: 16px;
    border-top: 1px dashed var(--line);
    display: flex; justify-content: space-between;
    font-size: .85rem;
}
.role-meta strong { color: var(--accent); font-weight: 700; }
.role-meta span { color: var(--muted); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 20px 24px;
    margin-bottom: 12px;
}
.faq-item summary {
    cursor: pointer; font-weight: 600; color: var(--navy);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    display: flex; justify-content: space-between; align-items: center;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; font-size: 1.4rem; color: var(--accent); font-weight: 400;
    transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 12px 0 0; color: var(--muted); }

/* About page */
.about-grid {
    display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: flex-start;
}
.timeline { margin-top: 32px; position: relative; }
.timeline::before {
    content: ''; position: absolute;
    left: 9px; top: 6px; bottom: 6px;
    width: 2px; background: var(--line);
}
.timeline-item {
    position: relative;
    padding-left: 36px;
    margin-bottom: 24px;
}
.timeline-item::before {
    content: ''; position: absolute;
    left: 0; top: 6px;
    width: 20px; height: 20px; border-radius: 50%;
    background: #fff; border: 3px solid var(--accent);
}
.timeline-item h4 { margin: 0 0 4px; color: var(--navy); font-size: 1.05rem; }
.timeline-item p { margin: 0; font-size: .95rem; }
.timeline-item span { font-size: .82rem; color: var(--accent); font-weight: 600; }

.value-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    margin-top: 40px;
}
.value-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px;
}
.value-card i {
    color: var(--accent); font-size: 1.4rem; margin-bottom: 10px; display: block;
}

/* Blog page */
.blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.post-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-cover {
    height: 180px;
    background: linear-gradient(135deg, #0b1533, #0ea5a1);
    position: relative;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.9); font-size: 3rem;
}
.post-cover.c2 { background: linear-gradient(135deg, #00b27a, #2563eb); }
.post-cover.c3 { background: linear-gradient(135deg, #7c3aed, #ef4444); }
.post-cover.c4 { background: linear-gradient(135deg, #0ea5a1, #0b1533); }
.post-cover.c5 { background: linear-gradient(135deg, #f59e0b, #0ea5a1); }
.post-cover.c6 { background: linear-gradient(135deg, #2563eb, #00b27a); }
.post-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-tag {
    display: inline-block;
    font-size: .72rem; font-weight: 700;
    color: var(--accent);
    background: rgba(0,178,122,.1);
    padding: 3px 10px; border-radius: 999px;
    margin-bottom: 10px;
    text-transform: uppercase; letter-spacing: .06em;
}
.post-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.post-body p { flex: 1; font-size: .92rem; }
.post-meta {
    font-size: .82rem; color: var(--muted-2);
    margin-top: 12px;
}

/* Comparison table */
.comparison {
    width: 100%; border-collapse: collapse;
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.comparison th, .comparison td {
    padding: 18px 20px; text-align: left;
    border-bottom: 1px solid var(--line);
}
.comparison th {
    background: var(--navy); color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600; font-size: .95rem;
}
.comparison td { font-size: .95rem; }
.comparison tr:last-child td { border-bottom: 0; }
.comparison .yes { color: var(--accent); font-weight: 700; }
.comparison .no { color: #ef4444; font-weight: 700; }

@media (max-width: 960px) {
    .roles-grid, .blog-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .roles-grid, .blog-grid, .value-grid { grid-template-columns: 1fr; }
    .comparison { font-size: .85rem; }
    .comparison th, .comparison td { padding: 12px; }
}
