@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary-navy: #0A1128; /* Deep Midnight Navy */
    --secondary-navy: #121E3B; /* Lighter Navy */
    --primary-gold: #D4AF37; /* Classic Gold */
    --gold-hover: #C5A028;
    --gold-light: #F9F1DC;
    --bg-light: #F8FAFC;
    --text-main: #334155;
    --text-muted: #64748B;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #E6C25B 100%);
    --gradient-navy: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 10px 25px -5px rgba(212, 175, 55, 0.4);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-navy);
    font-weight: 700;
}

/* Backgrounds & Colors */
.bg-navy { background: var(--primary-navy) !important; }
.bg-navy-gradient { background: var(--gradient-navy) !important; }
.bg-gold { background: var(--primary-gold) !important; }
.bg-gold-light { background: var(--gold-light) !important; }
.text-navy { color: var(--primary-navy) !important; }
.text-gold { color: var(--primary-gold) !important; }
.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.glass-dark {
    background: rgba(10, 17, 40, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
    font-family: 'Outfit', sans-serif;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--white);
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
    color: var(--white);
}
.btn-gold::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: left 0.5s ease;
}
.btn-gold:hover::after { left: 200%; }

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    background: transparent;
    font-weight: 600;
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-navy);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-navy {
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    background: transparent;
    font-weight: 600;
}
.btn-outline-navy:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    transition: all 0.4s ease;
    padding: 1.5rem 0;
    background: transparent !important;
    position: absolute;
    width: 100%;
    z-index: 1030;
}
.navbar.navbar-scrolled {
    background: rgba(10, 17, 40, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
}
.nav-link {
    position: relative;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 1rem;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: calc(100% - 2rem); }

/* Premium Cards */
.card-premium {
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
}
.card-premium::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}
.card-premium:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3); /* Gold tint border */
}
.card-premium:hover::before { opacity: 1; }

.icon-box {
    width: 60px; height: 60px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-navy);
    color: var(--white);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card-premium:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-gold);
    background: var(--gradient-gold);
}

/* Sections */
.section-padding { padding: 100px 0; }
.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 20px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}
.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px auto;
    line-height: 1.7;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: var(--primary-navy);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* offset navbar */
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(10, 17, 40, 0) 50%);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 2;
}

/* Trust Bar */
.trust-bar {
    background: var(--white);
    padding: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    z-index: 10;
    margin-top: -50px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
}
.trust-metric h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-navy);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: var(--gradient-navy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.trust-metric p {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-fade {
    opacity: 0;
    transition: opacity 1s ease;
}
.reveal-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered reveals for grids */
.stagger-reveal > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.stagger-reveal.reveal-visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-reveal.reveal-visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-reveal.reveal-visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-reveal.reveal-visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-reveal.reveal-visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-reveal.reveal-visible > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-reveal.reveal-visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer-modern {
    background: var(--primary-navy);
    color: #94A3B8;
    padding: 80px 0 30px 0;
    border-top: 5px solid var(--primary-gold);
}
.footer-modern h5 {
    color: var(--white);
    margin-bottom: 25px;
}
.footer-modern a {
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-modern a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

/* Utilities */
.text-justify { text-align: justify; }
.fw-medium { font-weight: 500; }
.z-index-10 { z-index: 10; }
.rounded-4 { border-radius: 1rem !important; }
.rounded-5 { border-radius: 1.5rem !important; }
