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

:root {
    --primary-color: #0A66FF;
    --primary-hover: #004ecc;
    --primary-glow: rgba(10, 102, 255, 0.4);
    
    --secondary-color: #FFFFFF;
    --accent-light: #EAF4FF;
    --accent-dark: #071330; /* Ultra deep navy */
    --accent-navy: #0B1F4D;
    
    --text-main: #1E293B; /* Slate 800 */
    --text-muted: #64748B; /* Slate 500 */
    --bg-light: #F8FAFC;
    --bg-mesh: radial-gradient(at 0% 0%, hsla(217,100%,52%,0.1) 0px, transparent 50%),
               radial-gradient(at 100% 0%, hsla(217,100%,52%,0.05) 0px, transparent 50%),
               radial-gradient(at 100% 100%, hsla(217,100%,52%,0.08) 0px, transparent 50%);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    
    --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 30px -5px rgba(10, 102, 255, 0.08), 0 4px 10px -5px rgba(10, 102, 255, 0.04);
    --shadow-lg: 0 25px 50px -12px rgba(11, 31, 77, 0.15);
    --shadow-glow: 0 0 40px var(--primary-glow);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    background-image: var(--bg-mesh);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    line-height: 1.7;
}

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

a:hover {
    color: var(--primary-hover);
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

/* Typography Enhancements */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3B82F6 50%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563EB 100%);
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    padding: 14px 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 10px 25px -5px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.btn-primary-custom:hover::after {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px -5px var(--primary-glow);
    color: white;
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(10, 102, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 14px 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

.btn-outline-custom:hover {
    background-color: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* Section Spacing */
.section-padding {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-subtitle::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    display: inline-block;
}

/* Premium Cards */
.premium-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.8);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10,102,255,0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(10, 102, 255, 0.1);
}

.premium-card:hover::before {
    opacity: 1;
}

.icon-box {
    width: 65px;
    height: 65px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-light) 0%, white 100%);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 28px;
    transition: var(--transition);
    box-shadow: 0 10px 20px -5px rgba(10,102,255,0.1);
    border: 1px solid rgba(255,255,255,0.8);
}

.premium-card:hover .icon-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563EB 100%);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

/* Image styling */
.img-premium {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.img-premium:hover {
    transform: scale(1.02);
}

/* Mega Footer */
.mega-footer {
    background-color: var(--accent-dark);
    color: rgba(255,255,255,0.8);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.mega-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.mega-footer h5 {
    color: white;
    margin-bottom: 30px;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.mega-footer a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.mega-footer a:hover {
    color: white;
    transform: translateX(5px);
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 30px 0;
    margin-top: 60px;
    font-size: 0.9rem;
}

/* Badge Tweaks */
.badge-premium {
    background: rgba(10, 102, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(10, 102, 255, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Back to top */
#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
    border: none;
    font-size: 1.2rem;
}

#backToTop:hover {
    background: var(--accent-dark);
    transform: translateY(-5px);
}
