/* --- 1. Variables & Base Styles --- */
:root {
    --primary: #1e3a8a;
    --secondary: #22c55e;
    --accent: #ff5722;
    --bg-dark: #0b1120;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: #f8fafc;
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.page-wrapper {
    background: radial-gradient(circle at 0% 0%, #1e3a8a 0%, transparent 45%),
                radial-gradient(circle at 100% 100%, #111827 0%, transparent 45%);
    min-height: 100vh;
}

/* --- 2. Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    background: rgba(11, 17, 32, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary);
}

/* --- 3. Hero Section --- */
.hero {
    padding: 120px 5%;
    text-align: center;
    background: linear-gradient(rgba(30, 58, 138, 0.6), rgba(15, 24, 39, 0.8)), 
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80&w=1920') center/cover;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin: 0;
    line-height: 1.1;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 20px auto;
    max-width: 800px;
    color: white;
}

/* --- 4. Stats & Cards --- */
.stats-bar {
    background: var(--secondary);
    color: var(--primary);
    display: flex;
    justify-content: space-around;
    padding: 40px 5%;
    flex-wrap: wrap;
    text-align: center;
}

.stat-box h2 {
    font-size: 3rem;
    margin: 0;
}

.stat-box p {
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.gem-card, .hub-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 35px;
    border-radius: 28px;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.gem-card {
    border-left: 6px solid var(--secondary);
}

.gem-card:hover, .hub-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: var(--secondary);
}

.tag { 
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase; 
    font-weight: 800;
    margin-bottom: 12px;
    display: inline-block;
    background: rgba(34, 197, 94, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
}

/* --- 5. Layout & Components --- */
.cta-btn {
    background: var(--accent);
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(255,87,34,0.3);
}

.section { padding: 80px 8%; }
.section-title { font-size: 2.5rem; margin-bottom: 50px; text-align: center; }
.section-title span { color: var(--secondary); }

.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}

/* --- 6. Responsive Fixes --- */
@media (max-width: 768px) {
    .hero { padding: 80px 5%; }
    .section { padding: 50px 5%; }
    .hub-card, .gem-card { padding: 1.5rem; }
    .stat-box h2 { font-size: 2rem; }
}
