/* ==========================================================================
   SHARED NAVBAR & PAGE STYLES - shared across all Zefa sub-pages
   ========================================================================== */

/* ─── Page wrapper ─────────────────────────────── */
.page-body {
    padding-top: 100px;
}

/* ─── Page Banner ──────────────────────────────── */
.page-banner {
    background: linear-gradient(135deg, var(--color-emerald-deep) 0%, #0d4a38 60%, #1a6b52 100%);
    padding: 70px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: rgba(212,175,55,0.08);
    border-radius: 50%;
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 280px; height: 280px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.page-banner .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 14px;
}
.page-banner .breadcrumb a {
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}
.page-banner .breadcrumb a:hover { color: var(--color-gold-light); }
.page-banner .breadcrumb i { font-size: 0.7rem; }
.page-banner h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.page-banner .banner-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.banner-gold-line {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--color-gold-medium), var(--color-gold-light));
    border-radius: 2px;
    margin: 18px auto 0;
}

/* ─── Page Content Area ────────────────────────── */
.page-content {
    padding: 70px 0;
}

/* ─── Prose / Text content ─────────────────────── */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 {
    font-size: 1.6rem; font-weight: 800;
    color: var(--color-emerald-deep);
    margin-bottom: 14px; margin-top: 36px;
}
.prose h3 {
    font-size: 1.15rem; font-weight: 700;
    color: var(--color-emerald-medium);
    margin-bottom: 10px; margin-top: 28px;
}
.prose p {
    color: var(--color-text-body);
    line-height: 1.85;
    margin-bottom: 16px;
}
.prose ul, .prose ol {
    padding-left: 22px;
    color: var(--color-text-body);
    line-height: 2;
    margin-bottom: 16px;
}
.prose li { margin-bottom: 6px; }

/* ─── Info Cards grid ──────────────────────────── */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.info-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(12,59,46,0.07);
    border: 1px solid rgba(12,59,46,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(12,59,46,0.12);
}
.info-card-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--color-emerald-soft), rgba(212,175,55,0.12));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--color-emerald-medium);
    margin-bottom: 18px;
}
.info-card h3 {
    font-size: 1.05rem; font-weight: 700;
    color: var(--color-emerald-deep);
    margin-bottom: 8px;
}
.info-card p {
    font-size: 0.9rem;
    color: var(--color-text-body);
    line-height: 1.7;
}

/* ─── Two-col layout ──────────────────────────── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
@media (max-width: 768px) {
    .two-col { grid-template-columns: 1fr; gap: 30px; }
    .two-col.reverse { direction: ltr; }
}

/* ─── Product grid page ────────────────────────── */
.product-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

/* ─── Ethics cards ─────────────────────────────── */
.ethics-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.ethics-page-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(12,59,46,0.07);
    border: 1px solid rgba(12,59,46,0.06);
    transition: all 0.3s ease;
}
.ethics-page-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(12,59,46,0.14);
    border-color: var(--color-gold-medium);
}
.ethics-page-card img {
    width: 80px; height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}
.ethics-page-card h3 {
    font-size: 1.1rem; font-weight: 800;
    color: var(--color-emerald-deep);
    margin-bottom: 10px;
}
.ethics-page-card p {
    font-size: 0.88rem; color: var(--color-text-body);
    line-height: 1.7;
}

/* ─── Marketing plan bonus table ──────────────── */
.bonus-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(12,59,46,0.08);
}
.bonus-table th {
    background: var(--color-emerald-deep);
    color: #fff;
    padding: 14px 20px;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 700;
}
.bonus-table td {
    padding: 13px 20px;
    font-size: 0.88rem;
    color: var(--color-text-dark);
    border-bottom: 1px solid rgba(12,59,46,0.06);
}
.bonus-table tr:nth-child(even) td { background: var(--color-emerald-soft); }
.bonus-table tr:last-child td { border-bottom: none; }
.bonus-table .badge-rank {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}
.badge-rank.bronze { background: #f4c17a; color: #7a4000; }
.badge-rank.silver { background: #d0d4db; color: #3a3a3a; }
.badge-rank.gold { background: linear-gradient(90deg,#d4af37,#f5e17a); color: #5a3d00; }
.badge-rank.platinum { background: linear-gradient(90deg,#a855f7,#7c3aed); color: #fff; }

/* ─── Check Authenticity form ─────────────────── */
.auth-form-wrapper {
    max-width: 540px;
    margin: 40px auto;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(12,59,46,0.1);
    border: 1px solid rgba(12,59,46,0.07);
}
.auth-form-wrapper h2 {
    text-align: center; font-size: 1.4rem; font-weight: 800;
    color: var(--color-emerald-deep); margin-bottom: 8px;
}
.auth-form-wrapper p.sub { text-align:center; color: var(--color-text-body); font-size:0.9rem; margin-bottom:28px; }
.auth-result {
    margin-top: 24px;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    display: none;
}
.auth-result.valid { background: #dcfce7; border: 1px solid #86efac; color: #166534; }
.auth-result.invalid { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }
.auth-result i { font-size: 2rem; margin-bottom: 10px; display: block; }

/* ─── Legalitas docs ───────────────────────────── */
.legal-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
}
.legal-doc-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(12,59,46,0.1);
    border: 1px solid rgba(12,59,46,0.07);
    background: #fff;
    transition: transform 0.25s, box-shadow 0.25s;
}
.legal-doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(12,59,46,0.16);
}
.legal-doc-card img {
    width: 100%;
    display: block;
}
.legal-doc-card .doc-info {
    padding: 20px;
}
.legal-doc-card .doc-info h3 {
    font-size: 1.05rem; font-weight: 800;
    color: var(--color-emerald-deep);
    margin-bottom: 6px;
}
.legal-doc-card .doc-info p {
    font-size: 0.85rem;
    color: var(--color-text-body);
    line-height: 1.6;
}
.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: linear-gradient(90deg, var(--color-gold-medium), var(--color-gold-light));
    color: #5a3d00;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 20px;
    margin-top: 12px;
}
