/* ══════════════════════════════════════════════
   Inner Pages Shared Styles
   ══════════════════════════════════════════════ */

/* ── Page Hero Banner ── */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-body) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(0, 180, 216, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(0, 119, 182, 0.04) 0%, transparent 50%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ── Content Block ── */
.content-block {
    padding: 40px 0;
}

.content-block p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 1rem;
}

.content-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 32px 0 12px;
}

/* ── Feature List ── */
.feature-list {
    display: grid;
    gap: 16px;
    margin: 24px 0;
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
}

.feature-list-item i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.feature-list-item div h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.feature-list-item div p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ── Software Detail Cards ── */
.sw-detail-card {
    padding: 48px 36px;
    margin-bottom: 32px;
}

.sw-detail-card .sw-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.sw-detail-card .sw-detail-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    flex-shrink: 0;
}

.sw-detail-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
}

.sw-detail-card h2 small {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    margin-top: 4px;
}

.sw-detail-card .sw-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.sw-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sw-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
    padding: 8px 0;
}

.sw-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .sw-features {
        grid-template-columns: 1fr;
    }
}

/* ── Map Placeholder ── */
.map-placeholder {
    width: 100%;
    height: 300px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    gap: 12px;
    margin-top: 32px;
}

.map-placeholder i {
    font-size: 2.5rem;
    color: var(--primary);
}

/* ── Light theme page overrides ── */
[data-theme="light"] .page-hero {
    background: linear-gradient(180deg, #e3eaf2 0%, var(--bg-body) 100%);
}

[data-theme="light"] .sw-detail-card {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .sw-detail-card:hover {
    box-shadow: 0 8px 32px rgba(0, 180, 216, 0.12);
}

[data-theme="light"] .sw-features li {
    color: var(--text);
}
