/* =========================================================
   PUBLIC SITE STYLES — Shared Components
   For: index, register, status, verify, landing, etc.
   ========================================================= */

/* ---------- ROOT VARIABLES ---------- */
:root {
    --navy:         #0a1e3c;
    --navy-light:   #1e3a5f;
    --navy-soft:    #2c4166;

    --maroon:       #7f1120;
    --maroon-dark:  #5a0a15;

    --gold:         #d4a017;
    --gold-light:   #f4c430;
    --gold-dim:     #a58220;

    --accent:       #e11d48;
    --accent-dark:  #be123c;

    --success:      #10b981;
    --success-dark: #047857;
    --warning:      #f59e0b;
    --danger:       #dc2626;

    --text:         #1e293b;
    --text-muted:   #64748b;
    --text-light:   #94a3b8;

    --bg:           #f8fafc;
    --border:       #e2e8f0;

    --radius:       14px;
    --radius-sm:    10px;
    --shadow-sm:    0 2px 8px rgba(10,30,60,0.06);
    --shadow-md:    0 8px 24px rgba(10,30,60,0.10);
    --shadow-lg:    0 20px 50px rgba(10,30,60,0.15);

    --container:    1140px;
}

/* ---------- RESET ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================
   TOP RNI BANNER
   ========================================================= */
.rni-banner {
    background: var(--navy);
    color: var(--gold-light);
    font-size: 12.5px;
    padding: 10px 0;
    border-bottom: 2px solid var(--gold);
}

.rni-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    text-align: center;
}

.rni-inner i { color: #fff; margin-right: 4px; }
.rni-inner strong { color: #fff; }

/* =========================================================
   HEADER / NAVBAR
   ========================================================= */
.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-text h1 {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
}

.brand-text p {
    font-size: 11.5px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Navigation */
.site-nav {
    display: flex;
    gap: 28px;
}

.site-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
    position: relative;
    padding: 4px 0;
}

.site-nav a:hover { color: var(--navy); }

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.25s;
}

.site-nav a:hover::after { width: 100%; }

/* Header Actions */
.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid var(--border);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    transition: 0.2s;
    background: #fff;
    cursor: pointer;
    white-space: nowrap;
}

.btn-outline-light:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14.5px;
    font-weight: 700;
    transition: 0.25s;
    box-shadow: 0 4px 12px rgba(225,29,72,0.28);
    white-space: nowrap;
}

.btn-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 8px 20px rgba(225,29,72,0.38);
}

/* =========================================================
   SECTION HEAD (Common)
   ========================================================= */
.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(10,30,60,0.06);
    color: var(--navy);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.section-head h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.2;
}

.section-head p {
    color: var(--text-muted);
    font-size: 16px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: var(--navy);
    color: #cbd5e1;
    padding: 55px 0 25px;
    margin-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--navy-light);
}

.footer-col h4 {
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-col h5 {
    color: var(--gold-light);
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p {
    font-size: 13.5px;
    line-height: 1.75;
    margin-bottom: 8px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }

.footer-col ul a {
    font-size: 13.5px;
    color: #cbd5e1;
    transition: 0.2s;
    display: inline-block;
}

.footer-col ul a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-col p i {
    color: var(--gold-light);
    margin-right: 8px;
    width: 14px;
    text-align: center;
}

.footer-col a {
    color: var(--gold-light);
    transition: 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: 0.25s;
}

.footer-social a:hover {
    background: var(--gold-light);
    color: var(--navy);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 22px;
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
}

.footer-bottom strong { color: var(--gold-light); }

.footer-bottom a {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.footer-bottom a:hover { color: #fff; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    background: var(--navy);
    color: var(--gold-light);
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 0.3s;
    z-index: 900;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: var(--navy-light);
    transform: translateY(-4px);
    color: var(--gold-light);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .section-head h2 { font-size: 28px; }
}

@media (max-width: 768px) {
    .container { padding: 0 15px; }
    .brand-logo { width: 42px; height: 42px; }
    .brand-text h1 { font-size: 16px; }
    .brand-text p { font-size: 10px; }
}

@media (max-width: 576px) {
    .rni-inner { font-size: 11px; gap: 8px; }
    .footer-top { grid-template-columns: 1fr; gap: 25px; }
    .section-head h2 { font-size: 22px; }
    .section-head p { font-size: 14.5px; }
    .btn-cta { padding: 8px 16px; font-size: 13px; }
    .header-inner { gap: 10px; }
    .back-top { width: 42px; height: 42px; bottom: 20px; right: 20px; }
}