/* ============================================
   G100 Ltd - Public Styles & Design System
   Theme: Navy Blue (#142536 / #1a2a3a), Gold (#c9a14b), Clean Neutrals
   Mobile-first, high contrast, WCAG 2.1 AA compliant
   ============================================ */

:root {
    --navy: #142536;
    --navy-light: #1e334a;
    --gold: #c9a14b;
    --gold-light: #f4d993;
    --gold-dark: #b8923a;
    --light-bg: #f8fafc;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 12px 32px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--g100-text, #0f172a);
    background: var(--g100-bg, #f8fafc);
    line-height: 1.7;
}

a {
    transition: all 0.2s ease;
}

.text-gold {
    color: var(--gold) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
    color: #0f172a !important;
}

/* Primary and Outline Buttons */
.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #0f172a !important;
    font-weight: 700;
    transition: all 0.25s ease;
}
.btn-gold:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 161, 75, 0.3);
}

.btn-outline-gold {
    color: var(--gold) !important;
    border-color: var(--gold);
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-outline-gold:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #0f172a !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(201, 161, 75, 0.25);
}

/* ---------- Header & Navbar ---------- */
.navbar {
    padding: 0.75rem 0;
    background: var(--g100-surface, #ffffff) !important;
    border-bottom: 1px solid var(--g100-border, #cbd5e1);
    transition: all 0.25s ease;
}

.brand-nav-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: all 0.2s ease;
}

.brand-nav-title {
    color: var(--g100-text, #0f172a);
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--g100-text, #0f172a) !important;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--gold) !important;
}

@media (max-width: 991px) {
    .brand-nav-logo {
        height: 46px;
    }
    .navbar-collapse {
        padding: 1rem 0;
        background: var(--g100-surface, #ffffff);
        border-top: 1px solid var(--g100-border, #e2e8f0);
        margin-top: 0.5rem;
    }
}

/* ---------- Modern Hero Section ---------- */
.hero-gateway {
    background: linear-gradient(135deg, #111a24 0%, #162434 50%, #22374d 100%);
    color: #ffffff;
    padding: 5.5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-gateway::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(201, 161, 75, 0.08);
    pointer-events: none;
}

.hero-tag {
    display: inline-block;
    background: rgba(244, 217, 147, 0.15);
    color: #f4d993;
    border: 1px solid rgba(244, 217, 147, 0.35);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e2e8f0;
    line-height: 1.65;
    font-weight: 400;
    max-width: 680px;
}

.trust-badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #f1f5f9;
}

/* ---------- Gateway Navigation Cards (Homepage Hub) ---------- */
.gateway-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--g100-surface, #ffffff);
    border: 1px solid var(--g100-border, #cbd5e1);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-decoration: none;
    color: var(--g100-text, #0f172a);
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.gateway-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
    color: var(--g100-text, #0f172a);
}

.gateway-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(201, 161, 75, 0.12);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all 0.25s ease;
}

.gateway-card:hover .gateway-icon-box {
    background: var(--gold);
    color: #0f172a;
    transform: scale(1.05);
}

.gateway-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--g100-text, #0f172a);
}

.gateway-desc {
    font-size: 0.925rem;
    color: var(--g100-text-muted, #475569);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.gateway-link-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold-text, #855b00);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.gateway-card:hover .gateway-link-text {
    color: var(--gold);
    gap: 10px;
}

/* ---------- Purpose Preview Cards ---------- */
.purpose-card {
    background: var(--g100-surface, #ffffff);
    border: 1px solid var(--g100-border, #cbd5e1);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.purpose-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--g100-border-2, #94a3b8);
}

/* ---------- Footer Styles ---------- */
.footer-quick-links a:hover {
    color: var(--gold) !important;
    padding-left: 4px;
}
.text-hover-gold:hover {
    color: var(--gold) !important;
}

/* ---------- Dark Mode Overrides ---------- */
:root[data-g100-theme-resolved="dark"] .gateway-card,
:root[data-g100-theme-resolved="dark"] .purpose-card {
    background: var(--g100-surface);
    border-color: var(--g100-border);
    color: var(--g100-text);
}

:root[data-g100-theme-resolved="dark"] .gateway-card:hover {
    border-color: var(--gold);
}

:root[data-g100-theme-resolved="dark"] .gateway-title {
    color: var(--g100-text);
}

:root[data-g100-theme-resolved="dark"] .gateway-desc {
    color: var(--g100-text-muted);
}

:root[data-g100-theme-resolved="dark"] .gateway-link-text {
    color: var(--gold-text, #f1cf7a);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gateway {
        padding: 4rem 0 4.5rem;
        text-align: center;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
}