/* =========================================================
   CDRS STATIC & PUBLIC PAGES (Terms, Privacy, Guide, Team)
   ========================================================= */

:root {
    --brand-green: #134415;
    --brand-green-hover: #1b5e20;
    --brand-green-light: #e8f5e9;
    --brand-gold: #c69214;
    --bg-page: #f4f6f8;
    --bg-card: #ffffff;
    --text-main: #222222;
    --text-muted: #555555;
    --text-light: #777777;
    --border-color: #e2e8f0;
    --radius-card: 16px;
    --radius-sm: 8px;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06);
}

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

body.static-page {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    padding: 32px 16px 64px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Floating / Top Navigation */
.static-nav-bar {
    width: 100%;
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.static-nav-bar.wide-container {
    max-width: 1100px;
}

.back-to-system-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--brand-green);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.back-to-system-btn:hover {
    background: var(--brand-green);
    color: #ffffff;
    border-color: var(--brand-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(19, 68, 21, 0.16);
}

.back-to-system-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
}

/* Card Container */
.static-card {
    width: 100%;
    max-width: 800px;
    background: var(--bg-card);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    padding: 40px 48px;
    margin-bottom: 32px;
}

.static-card.wide-container {
    max-width: 1100px;
    padding: 40px 48px;
}

@media (max-width: 768px) {
    .static-card,
    .static-card.wide-container {
        padding: 24px 20px;
    }
}

/* Header with Logo */
.static-header {
    text-align: center;
    padding-bottom: 28px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.static-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #f7faf7;
    border: 2px solid #d4e8d6;
    padding: 6px;
}

.static-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.static-system-tag {
    display: inline-block;
    background: var(--brand-green-light);
    color: var(--brand-green);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.static-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.static-header p {
    font-size: 13.5px;
    color: var(--text-light);
}

/* Content Typography Hierarchy */
.static-content h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-green);
    margin: 28px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #eef3ee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.static-content h2 svg {
    width: 20px;
    height: 20px;
    color: var(--brand-green);
    flex-shrink: 0;
}

.static-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.static-content ul,
.static-content ol {
    margin: 0 0 18px 24px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.static-content li {
    margin-bottom: 8px;
}

.static-notice-box {
    background: #f8faf8;
    border-left: 4px solid var(--brand-green);
    border-radius: 4px 8px 8px 4px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 13.5px;
    color: #334433;
}

.static-notice-box strong {
    color: var(--brand-green);
    display: block;
    margin-bottom: 4px;
}

/* Footer in Base Template */
.static-footer {
    text-align: center;
    font-size: 12.5px;
    color: var(--text-light);
    margin-top: 12px;
}

.static-footer a {
    color: var(--brand-green);
    text-decoration: none;
    font-weight: 500;
}

.static-footer a:hover {
    text-decoration: underline;
}

/* Table of Contents for User Manual */
.manual-toc {
    background: #fbfdfb;
    border: 1px solid #dbe8dd;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.manual-toc-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.manual-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.manual-toc li {
    margin-bottom: 8px;
}

.manual-toc a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.manual-toc a:hover {
    color: var(--brand-green);
    transform: translateX(3px);
    font-weight: 600;
}

/* Developer Team Grid */
.dev-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 16px;
}

.dev-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.dev-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-green);
    box-shadow: 0 10px 24px rgba(19, 68, 21, 0.08);
}

.dev-avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--brand-green-light);
    border: 3px solid #b8dfbc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.dev-name {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.dev-role-badge {
    display: inline-block;
    background: var(--brand-green);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.dev-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: var(--brand-gold);
    margin-bottom: 14px;
}

.dev-responsibilities {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    background: #f8faf9;
    border-radius: 8px;
    padding: 12px 14px;
    width: 100%;
    flex: 1;
    text-align: left;
}

.dev-responsibilities strong {
    color: var(--brand-green);
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
