/*
Theme Name: Apex Capital Partners
Theme URI: https://example.com
Author: Theme Designer
Description: Modern elite gold trading platform with navy blue, silver accents and contemporary design
Version: 1.0.0
Text Domain: goldtrade-elite
*/

:root {
    --navy-primary: #0A2540;
    --navy-deep: #051829;
    --silver-accent: #C0C5CE;
    --platinum: #E8EAED;
    --gold-accent: #D4AF37;
    --white: #FFFFFF;
    --light-bg: #F5F7FA;
    --text-dark: #1A1F36;
    --shadow-primary: rgba(10, 37, 64, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Modern Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(10, 37, 64, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Modern Header */
.site-header {
    background: #0A2540;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.35rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--navy-primary), var(--gold-accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.2);
}

.logo-icon::after {
    content: '◆';
    font-size: 18px;
    color: white;
    font-weight: bold;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: width 0.3s ease;
}

.main-nav a:not(.btn-primary):hover::after {
    width: 100%;
}

.main-nav a:not(.btn-primary):hover {
    color: var(--gold-accent);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--navy-primary), var(--navy-deep));
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(10, 37, 64, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--navy-primary);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--navy-primary);
}

.btn-outline:hover {
    background: var(--navy-primary);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-modern {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.02) 0%, rgba(245, 247, 250, 0.5) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(1.85rem, 4.2vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--navy-primary);
    letter-spacing: -2px;
}

.hero-text .highlight {
    background: linear-gradient(135deg, var(--gold-accent), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(10, 37, 64, 0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: var(--text-dark);
    opacity: 0.7;
    font-size: 0.95rem;
}

.hero-visual {
    position: relative;
    height: 550px;
}

.visual-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(10, 37, 64, 0.15);
    border: 1px solid rgba(10, 37, 64, 0.08);
    animation: float 6s ease-in-out infinite;
}

.visual-card:nth-child(1) {
    top: 50px;
    right: 100px;
    width: 280px;
    animation-delay: 0s;
}

.visual-card:nth-child(2) {
    top: 250px;
    right: 50px;
    width: 250px;
    animation-delay: 1s;
}

.visual-card:nth-child(3) {
    top: 150px;
    left: 50px;
    width: 220px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Sections */
.section-modern {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--navy-primary);
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.7;
    max-width: 700px;
    margin: 0 auto 4rem;
}

/* Cards */
.card-modern {
    background: white;
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(10, 37, 64, 0.12);
    border-color: var(--gold-accent);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.05), rgba(212, 175, 55, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Service Cards */
.service-card-modern {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(10, 37, 64, 0.08);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(10, 37, 64, 0.12);
}

.service-image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--light-bg);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-modern:hover .service-image {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-dark);
    opacity: 0.75;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-content a {
    color: var(--gold-accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-content a:hover {
    gap: 1rem;
}

/* Footer */
.site-footer-modern {
    background: var(--navy-primary);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    color: var(--gold-accent);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--gold-accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { height: 400px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-nav ul { flex-direction: column; gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .grid-modern { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; }
}
