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

:root {
    /* Ultra-Premium Design Tokens */
    --primary: #0047AB;
    --primary-glow: rgba(0, 71, 171, 0.15);
    --primary-gradient: linear-gradient(135deg, #001f4d 0%, #0047AB 60%, #38bdf8 100%);
    --secondary: #0f172a; /* Navy/Slate Deep */
    --accent: #38bdf8; /* Sky Blue */
    --success: #10b981;
    --danger: #ef4444;
    
    --bg-base: #f8fafc;
    --bg-white: #ffffff;
    --text-head: #0f172a;
    --text-body: #475569;
    --text-muted: #94a3b8;
    
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    --shadow-heavy: 0 30px 60px -12px rgba(15, 23, 42, 0.12);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    --nav-height: 110px;
    --nav-scrolled: 80px;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-base);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Decorative elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 71, 171, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* Typography Overhaul */
h1, h2, h3, h4, .font-head {
    font-family: 'Outfit', sans-serif;
    color: var(--text-head);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Modern Navigation */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.main-nav.scrolled {
    height: var(--nav-scrolled);
    background: rgba(255, 255, 255, 0.9);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    font-size: 1.5rem;
}

.logo img { 
    height: 65px; 
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.nav-links {
    display: flex;
    gap: 4rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-head);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    padding: 0.5rem 0;
}

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

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

/* Hero Section - Super Premium Slider */
.hero {
    min-height: 85vh;
    padding-top: var(--nav-height); /* Spacer for fixed header */
    position: relative;
    overflow: hidden;
    background: var(--bg-white);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center; 
    justify-content: center;
    padding-top: var(--nav-height); /* Reserve space for header */
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slider-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 100;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.hero-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

.hero-bg-text {
    position: absolute;
    font-size: 25vw;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.02);
    z-index: -1;
    white-space: nowrap;
    top: calc(50% + (var(--nav-height) / 2)); /* Offset by half of header height */
    left: 50%;
    transform: translate(-50%, -50%);
    user-select: none;
}

.hero-bg-logo {
    position: absolute;
    height: 70vh;
    opacity: 0.04;
    z-index: -1;
    pointer-events: none;
    filter: grayscale(1);
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    z-index: 10;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    line-height: 0.95;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 1.2s 0.2s forwards;
}

/* Premium Components */
.card {
    background: var(--bg-white);
    border-radius: 32px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-heavy);
}

.section-title {
    margin-bottom: 6rem;
    text-align: center;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Buttons Luxury */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 3.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 20px 40px -10px rgba(0, 71, 171, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 30px 60px -10px rgba(0, 71, 171, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: #fff;
}

/* Animations Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

/* Grid Layouts */
.container { width: 90%; max-width: 1400px; margin: 0 auto; }
.section-padding { padding: 12rem 0; }
.grid { display: grid; gap: 4rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Custom Badge Styles */
.badge-result {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}
.res-W { background: #d1fae5; color: #059669; }
.res-D { background: #f1f5f9; color: #64748b; }
.res-L { background: #fee2e2; color: #dc2626; }

@media (max-width: 1024px) {
    .hero-content h1 { font-size: 5rem; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 3.5rem; }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
