:root {
    --navy: #16273f;
    --navy-dark: #0d1826;
    --gold: #b8902f;
    --gold-light: #f4ecd8;
    --bg: #fafaf8;
    --surface: #ffffff;
    --border: #e4e2da;
    --text: #1c2530;
    --text-muted: #5b6472;
    --success: #2f7a4f;
    --danger: #a4342a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
h1, h2, h3, .brand { font-family: 'Trebuchet MS', Arial, sans-serif; }
a { color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
header {
    background: var(--navy);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--gold);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}
.brand { font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.brand span { color: var(--gold); }
nav.main-nav { display: flex; align-items: center; gap: 26px; }
nav.main-nav a { text-decoration: none; color: #dfe4ea; font-size: 14px; font-weight: 500; }
nav.main-nav a:hover { color: var(--gold); }
.btn-pay-fee {
    background: var(--gold);
    color: var(--navy-dark);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}
.btn-pay-fee:hover { background: #cca43e; }

/* HERO */
.hero {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    padding: 80px 0 90px;
    text-align: center;
}
.hero h1 { font-size: 38px; margin-bottom: 16px; }
.hero p { font-size: 16px; color: #c2c9d3; max-width: 560px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-outline {
    border: 1px solid rgba(255,255,255,.5);
    color: #fff;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}
.btn-outline:hover { background: rgba(255,255,255,.08); }

/* SECTIONS */
section { padding: 64px 0; }
.section-label {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 8px;
}
.section-title { font-size: 26px; margin-bottom: 18px; }
.section-intro { color: var(--text-muted); max-width: 620px; margin-bottom: 36px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 26px;
}
.card .icon-badge {
    width: 42px; height: 42px;
    border-radius: 6px;
    background: var(--gold-light);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-muted); }

.stats-bar {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-bar .grid-3 { text-align: center; padding: 40px 0; }
.stat-num { font-size: 32px; font-weight: 700; color: var(--navy); }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.notice-box {
    background: var(--gold-light);
    border: 1px solid #e6d5a8;
    border-radius: 6px;
    padding: 22px 26px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.notice-box h3 { font-size: 15px; margin-bottom: 6px; }
.notice-box p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 12px; }

footer {
    background: var(--navy-dark);
    color: #aeb6c2;
    padding: 40px 0 26px;
    font-size: 13px;
}
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; color: #aeb6c2; }
footer .foot-cols { display: flex; gap: 60px; }
footer h4 { color: #fff; font-size: 13px; margin-bottom: 10px; }
footer li { list-style: none; margin-bottom: 6px; }
.foot-bottom { border-top: 1px solid #26344a; margin-top: 26px; padding-top: 18px; text-align: center; font-size: 12px; }

/* ICONS */
.icon { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 1.6; }
.icon-sm { width: 16px; height: 16px; }

/* FEES PAGE / FORMS */
.page-hero {
    background: var(--navy);
    color: #fff;
    padding: 46px 0;
    text-align: center;
}
.page-hero h1 { font-size: 26px; }
.page-hero p { color: #c2c9d3; font-size: 14px; margin-top: 6px; }

.form-wrap { max-width: 520px; margin: 50px auto; padding: 0 20px; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 30px; }
.form-group { margin-bottom: 16px; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text); font-family: 'Trebuchet MS', Arial, sans-serif; }
input, select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    font-family: Georgia, serif;
    background: #fff;
    color: var(--text);
}
input:focus, select:focus { outline: none; border-color: var(--navy); }
.fee-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.btn-submit {
    width: 100%;
    background: var(--navy);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: var(--navy-dark); }
.btn-submit:disabled { opacity: .5; cursor: not-allowed; }

.trust-line {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--text-muted);
    margin-top: 16px; justify-content: center;
}

.alert-box {
    padding: 12px 14px; border-radius: 4px; font-size: 13px;
    margin-top: 16px; display: none;
}
.alert-box.show { display: block; }
.alert-error { background: #fbeceb; color: var(--danger); border: 1px solid #f0cdc9; }

.status-panel { text-align: center; padding: 10px 0; }
.status-panel .spinner {
    width: 30px; height: 30px; margin: 0 auto 18px;
    border: 3px solid var(--gold-light); border-top-color: var(--gold);
    border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.status-amount { font-size: 28px; font-weight: 700; color: var(--navy); margin: 10px 0 4px; }
.status-ref { font-size: 12px; color: var(--text-muted); }
.status-result-ok { color: var(--success); font-weight: 700; }
.status-result-fail { color: var(--danger); font-weight: 700; }
.btn-link { display: inline-block; margin-top: 18px; font-size: 13px; color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--gold); }

/* RECEIPT PAGE */
.receipt-wrap { max-width: 480px; margin: 60px auto; padding: 0 20px; }
.receipt-card { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.receipt-head { background: var(--navy); color: #fff; padding: 26px; text-align: center; }
.receipt-head .status-tag { display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.receipt-head .status-tag.ok { background: #1f4d33; color: #b7f3cd; }
.receipt-head .status-tag.pending { background: #4d3f1f; color: #f3dab7; }
.receipt-head .status-tag.fail { background: #4d1f1f; color: #f3b7b7; }
.receipt-head .amount { font-size: 30px; font-weight: 700; }
.receipt-body { padding: 26px; }
.receipt-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.receipt-row:last-child { border-bottom: none; }
.receipt-row .label { color: var(--text-muted); }
.receipt-foot { padding: 18px 26px; background: var(--gold-light); font-size: 12px; color: var(--text-muted); text-align: center; }

@media (max-width: 768px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    nav.main-nav { display: none; }
    footer .container { flex-direction: column; }
}
