/* ==========================================================================
   Apex Capitals - Global Stylesheet
   ========================================================================== */

:root {
    --bg-dark: #070B19;
    --bg-card: #0F172A;
    --navy-accent: #1E293B;
    --gold-primary: #D4AF37;
    --gold-hover: #F3E5AB;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-light: #FFFFFF;
    --border-color: rgba(212, 175, 55, 0.2);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* --- Utility Classes --- */
.text-gold {
    color: var(--gold-primary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.bg-gold {
    background-color: var(--gold-primary) !important;
    color: #000000 !important;
}

/* --- Buttons --- */
.btn-gold {
    background-color: var(--gold-primary);
    color: #000000;
    font-weight: 700;
    border-radius: 8px;
    padding: 12px 28px;
    transition: all 0.3s ease;
    border: 1px solid var(--gold-primary);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    color: #000000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--gold-primary);
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 28px;
    border: 1px solid var(--gold-primary);
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--gold-primary);
    color: #000000;
    transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
    background: rgba(7, 11, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    margin: 0 10px;
    transition: 0.3s;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--gold-primary);
}

/* --- Page Headers & Hero --- */
.hero-section {
    padding: 140px 0 100px;
    background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.08) 0%, rgba(7, 11, 25, 1) 70%);
}

.page-header {
    padding: 130px 0 60px;
    background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.08) 0%, rgba(7, 11, 25, 1) 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Cards & Feature Components --- */
.custom-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.custom-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured {
    border: 2px solid var(--gold-primary);
    position: relative;
    background: linear-gradient(180deg, rgba(30, 41, 59, 1) 0%, rgba(15, 23, 42, 1) 100%);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gold-primary);
    color: #000000;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.referral-banner {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid var(--gold-primary);
    border-radius: 16px;
}

/* --- Legal Pages (Terms & Privacy) --- */
.terms-card, 
.policy-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

.terms-section, 
.policy-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terms-section:last-child, 
.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-title, 
.policy-title {
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.terms-title i, 
.policy-title i {
    margin-right: 10px;
}

/* --- Callout & Alert Boxes --- */
.highlight-box {
    background: rgba(212, 175, 55, 0.05);
    border-left: 4px solid var(--gold-primary);
    padding: 18px 20px;
    border-radius: 0 8px 8px 0;
    margin: 15px 0;
}

.warning-box {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
}

.subtext-disclaimer {
    font-size: 0.78rem;
    color: #BBBBBB;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

/* --- Footer --- */
footer {
    background-color: #040711;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}