/* about/assets/css/style.css
   Shared chrome for all MPAZI marketing pages (index.php, features.php,
   contact.php) - navbar, buttons, footer, page header, feature cards. Kept
   in one file instead of duplicated <style> blocks per page. */

:root {
    --brand-start: #4361ee;
    --brand-end: #7209b7;
    --brand-gradient: linear-gradient(135deg, var(--brand-start) 0%, var(--brand-end) 100%);
    --gold: #ffd700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--brand-gradient);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
}

/* ===== Shared Navbar ===== */
.site-navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 0;
}

.site-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.navbar-brand {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
    font-size: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.nav-link {
    color: #fff;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-login,
.btn-register {
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    height: 42px;
    transition: all 0.3s;
}

.btn-login {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-login:hover {
    background: #fff;
    color: var(--brand-start);
    transform: translateY(-2px);
}

.btn-register {
    background: #fff;
    color: var(--brand-start);
    border: 2px solid #fff;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .site-navbar-inner {
        flex-direction: column;
    }

    .nav-links {
        justify-content: center;
    }
}

/* ===== Page Header (interior pages) ===== */
.page-header {
    text-align: center;
    color: #fff;
    padding: 60px 20px 40px;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }
}

/* ===== Section title (index.php sections) ===== */
.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

/* ===== Feature / service cards (reused for features.php + ecosystem cards) ===== */
.feature-card,
.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    color: #fff;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover,
.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon,
.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon,
.service-card:hover .service-icon {
    background: #fff;
    color: var(--brand-start);
    transform: rotate(360deg);
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-description {
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 18px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li i {
    color: #28a745;
    font-size: 13px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

/* ===== Ecosystem / audience group header ===== */
.audience-group {
    margin-bottom: 60px;
}

.audience-group-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.audience-group-header .audience-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.audience-group-header h3 {
    font-size: 26px;
    font-weight: 700;
}

.audience-group-header p {
    opacity: 0.85;
    max-width: 600px;
}

/* ===== Role-based onboarding callouts ===== */
.role-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.role-cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.role-cta-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-6px);
}

.role-cta-card i {
    font-size: 30px;
    color: var(--gold);
}

.role-cta-card strong {
    font-size: 17px;
}

.role-cta-card span {
    font-size: 14px;
    opacity: 0.85;
}

.role-cta-card.demo-cta {
    border-style: dashed;
}

/* ===== How It Works steps ===== */
.journey-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 900px;
    margin: 40px auto 0;
}

.journey-step {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: flex-start;
}

.journey-step:last-child {
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
}

.journey-step-content h4 {
    font-size: 19px;
    margin-bottom: 6px;
}

.journey-step-content p {
    opacity: 0.85;
    line-height: 1.6;
}

.journey-step-content .journey-app-tag {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 10px;
    border-radius: 50px;
}

/* ===== Screenshot frames ===== */
.screenshot-frame {
    background: #1e1e2e;
    border-radius: 14px;
    padding: 10px 10px 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    margin: 20px 0;
}

.screenshot-frame .frame-dots {
    display: flex;
    gap: 6px;
    padding: 6px 4px 10px;
}

.screenshot-frame .frame-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.screenshot-frame .frame-dots span:nth-child(1) {
    background: #ff5f56;
}

.screenshot-frame .frame-dots span:nth-child(2) {
    background: #ffbd2e;
}

.screenshot-frame .frame-dots span:nth-child(3) {
    background: #27c93f;
}

.screenshot-frame img {
    width: 100%;
    display: block;
    border-radius: 8px 8px 0 0;
}

.screenshot-caption {
    text-align: center;
    font-size: 14px;
    opacity: 0.75;
    margin-top: 12px;
}

/* ===== PWA callout ===== */
.pwa-callout {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px;
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.pwa-callout .pwa-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

.pwa-callout h4 {
    font-size: 20px;
    margin-bottom: 6px;
}

.pwa-callout p {
    opacity: 0.85;
    line-height: 1.6;
}

/* ===== CTA banner ===== */
.cta {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 70px 40px;
    text-align: center;
    margin: 60px 0;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-lg {
    min-width: 200px;
    padding: 14px 30px;
}

.btn-outline {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background: #fff;
    color: var(--brand-start);
    transform: translateY(-3px);
}

.btn-primary {
    background: #fff;
    color: var(--brand-start);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
.site-footer {
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    margin-bottom: 18px;
    font-size: 17px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #fff;
    color: var(--brand-start);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 14px;
}

.copyright a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

/* ===== Utility ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 70px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 45px 0;
    }

    .cta {
        padding: 45px 25px;
    }

    .cta h2 {
        font-size: 28px;
    }
}

/* ===== Help Center ===== */
.help-search-box {
    max-width: 700px;
    margin: 0 auto 10px;
    position: relative;
}

.help-search-box input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
}

.help-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.help-search-box input:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
}

.help-search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.help-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 25px 0 45px;
}

.help-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s;
}

.help-category-chip:hover,
.help-category-chip.active {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
}

.help-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.help-article-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 26px;
    text-decoration: none;
    color: #fff;
    display: block;
    transition: all 0.25s;
}

.help-article-card:hover {
    background: rgba(255, 255, 255, 0.17);
    transform: translateY(-4px);
}

.help-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.help-article-card h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.help-article-card p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.6;
    margin: 0;
}

.help-empty-state {
    text-align: center;
    padding: 60px 20px;
    opacity: 0.85;
}

.help-empty-state i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

/* ---- Article page ---- */
.help-breadcrumb {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.help-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

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

.help-article-header h1 {
    font-size: 34px;
    margin: 10px 0 15px;
}

.help-article-intro {
    font-size: 17px;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 760px;
    margin-bottom: 30px;
}

.help-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .help-article-layout {
        grid-template-columns: 1fr;
    }
}

.help-steps-list {
    counter-reset: help-step;
}

.help-step {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
}

.help-step-marker {
    counter-increment: help-step;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-step-marker::before {
    content: counter(help-step);
}

.help-step-body h4 {
    font-size: 17px;
    margin-bottom: 6px;
}

.help-step-body p {
    opacity: 0.9;
    line-height: 1.6;
}

.help-screenshot-annotated {
    position: relative;
    display: inline-block;
    width: 100%;
}

.help-screenshot-annotated .step-badge {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e74a3b;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 3px rgba(231, 74, 59, 0.35), 0 2px 8px rgba(0, 0, 0, 0.4);
    transform: translate(-50%, -50%);
}

.help-related-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 22px;
    position: sticky;
    top: 20px;
}

.help-related-box h4 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    margin-bottom: 14px;
}

.help-related-box a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.help-related-box a:last-child {
    border-bottom: none;
}

.help-related-box a:hover {
    opacity: 0.8;
}
