/* 
 * AFRISOVERA GLOBAL HOLDINGS
 * Ultra-Luxury Afrofuturist Design System
 * Colors: #000000 (Black), #D4AF37 (Gold), #FFFFFF (White)
 * Currency: ⟡ (SOV) - NO DOLLAR SIGNS
 */

/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
    --gold: #D4AF37;
    --dark-gold: #B8941F;
    --black: #000000;
    --charcoal: #1A1A1A;
    --deep-black: #0A0A0A;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray: #999999;
    --gray-dark: #333333;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    --font-display: 'Cinzel', serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold);
}

h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 6vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 3vw, 2rem); }

p {
    margin-bottom: var(--space-md);
    color: var(--gray-light);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--dark-gold);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.8));
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold);
}

.main-nav {
    padding: var(--space-md) 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.nav-logo a {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform var(--transition-base);
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-primary {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 2px;
}

.logo-secondary {
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-links a {
    color: var(--gray-light);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    padding: var(--space-xs) 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--gold);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.dropdown-icon {
    transition: transform var(--transition-base);
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: var(--space-md);
    min-width: 250px;
    background: var(--black);
    border: 2px solid var(--gold);
    border-radius: 10px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    color: var(--gray-light);
    transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.dropdown-menu li a::after {
    display: none;
}

.sov-icon {
    font-size: 1.2rem;
    color: var(--gold);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--gold);
    transition: var(--transition-base);
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--deep-black);
        padding: var(--space-lg);
        border-top: 2px solid var(--gold);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: var(--space-sm);
    }
    
    .nav-links a {
        display: block;
        width: 100%;
        padding: var(--space-sm);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: var(--space-sm);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .logo-text {
        display: none;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background: var(--dark-gold);
    border-color: var(--dark-gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
}

.btn-gold {
    background: var(--gold);
    color: var(--black);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.btn-gold:hover {
    background: var(--dark-gold);
    transform: scale(1.05);
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--black) 0%, var(--charcoal) 50%, var(--black) 100%);
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(212, 175, 55, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-lg);
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--gray-light);
    margin-bottom: var(--space-2xl);
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gold);
    border-radius: 20px;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.5; }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTIONS
   ============================================ */
.sectors-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(to bottom, var(--black), var(--charcoal), var(--black));
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
    font-size: 1.2rem;
    color: var(--gray);
}

/* Sectors Grid */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.sector-card {
    background: linear-gradient(135deg, var(--charcoal), var(--black));
    padding: var(--space-xl);
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: all var(--transition-slow);
    cursor: pointer;
}

.sector-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
}

.sector-icon {
    color: var(--gold);
    margin-bottom: var(--space-lg);
    width: 64px;
    height: 64px;
    transition: transform var(--transition-base);
}

.sector-card:hover .sector-icon {
    transform: scale(1.1);
}

.sector-icon svg {
    width: 100%;
    height: 100%;
}

.sov-symbol {
    font-size: 4rem;
    line-height: 1;
}

.sector-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
    transition: color var(--transition-base);
}

.sector-card:hover .sector-title {
    color: var(--white);
}

.sector-description {
    color: var(--gray);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.sector-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--deep-black), var(--black));
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-lg);
}

.cta-text {
    font-size: 1.5rem;
    color: var(--gray-light);
    margin-bottom: var(--space-2xl);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--deep-black);
    border-top: 2px solid var(--gold);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    height: 80px;
    margin-bottom: var(--space-md);
}

.footer-about h3 {
    margin-bottom: var(--space-md);
}

.footer-about p {
    color: var(--gray);
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul li a {
    color: var(--gray);
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-legal {
    border-top: 1px solid var(--gray-dark);
    padding-top: var(--space-lg);
    text-align: center;
}

.legal-text {
    margin-bottom: var(--space-lg);
}

.legal-text p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.legal-text strong {
    color: var(--gold);
}

.footer-bottom p {
    color: var(--gray-dark);
    font-size: 0.85rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-gold);
    transform: translateY(-5px);
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-gold);
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
    background: var(--gold);
    color: var(--black);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 0.875rem 2rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-black { background: var(--black); }
.bg-charcoal { background: var(--charcoal); }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }

/* ═══════════════════════════════════════════════════════
   AFRISOVERA — PREMIUM ADDITIONS (Feb 2026 Upgrade)
   ═══════════════════════════════════════════════════════ */

/* Cinzel font import (fallback if Google Fonts not loaded) */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&display=swap');

/* ── GLASS MORPHISM CARD ── */
.glass-card {
    background: rgba(26, 20, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
}

/* ── ANIMATED GOLD BORDER ── */
.imperial-border {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.imperial-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #D4AF37, #5a4200, #D4AF37, #5a4200);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderRotate 4s linear infinite;
}
@keyframes borderRotate {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* ── IMPERIAL SHIMMER BUTTON ── */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}
.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 35%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-20deg);
    animation: btn-shimmer-anim 3.5s infinite;
}
@keyframes btn-shimmer-anim {
    0% { left: -60%; }
    100% { left: 140%; }
}

/* ── PULSE GLOW ── */
.pulse-gold {
    animation: pulseGold 2.5s ease infinite;
}
@keyframes pulseGold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(212, 175, 55, 0); }
}

/* ── IMPERIAL MODAL OVERRIDE ── */
.imperial-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.2s ease;
}
.imperial-modal {
    background: #0A0A0A;
    border: 2px solid #D4AF37;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(0,0,0,0.9), 0 0 40px rgba(212,175,55,0.1);
    position: relative;
    animation: slideInUp 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes slideInUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.imperial-modal-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #D4AF37;
    margin-bottom: 1rem;
    padding-right: 2rem;
}
.imperial-modal-close {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    width: 32px; height: 32px;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #D4AF37;
    font-size: 1rem;
    transition: background 0.2s ease;
}
.imperial-modal-close:hover { background: rgba(212,175,55,0.2); }

/* ── STATUS BADGES ── */
.badge-verified { background: rgba(76,175,80,0.15); color: #4CAF50; border: 1px solid rgba(76,175,80,0.4); padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.badge-pending { background: rgba(255,170,0,0.12); color: #FFA500; border: 1px solid rgba(255,170,0,0.4); padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.badge-unverified { background: rgba(204,51,51,0.12); color: #CC3333; border: 1px solid rgba(204,51,51,0.4); padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }

/* ── LOADING SPINNER ── */
.imperial-spinner {
    width: 40px; height: 40px;
    border: 3px solid rgba(212,175,55,0.2);
    border-top-color: #D4AF37;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 2rem auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── PAGE HERO STANDARD ── */
.page-hero {
    padding: 140px 0 5rem;
    background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.06) 0%, transparent 60%), #000;
    border-bottom: 1px solid rgba(212,175,55,0.1);
    text-align: center;
}
.page-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.1;
}
.page-subtitle {
    color: rgba(255,255,255,0.5);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}
