:root {
    --primary: #0B5ED7;
    --primary-dark: #084ab2;
    --accent: #00D4FF;
    --accent-glow: rgba(0, 212, 255, 0.4);
    --secondary: #FFFFFF;
    --text-main: #12141d;
    --text-muted: #5e6278;
    --bg-light: #f4f6fa;
    --bg-dark: #0a0b10;
    --white: #FFFFFF;
    --gray-100: #f1f1f4;
    --gray-200: #dbdfe9;
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --container-width: 95%;
    --container-max-width: 1700px;
}

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

html {
    scroll-behavior: smooth;
}

.bg-blob {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(11, 94, 215, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(50px);
    animation: blob-float 20s infinite alternate;
}

.blob-1 { top: -10%; left: -10%; background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%); }
.blob-2 { bottom: -10%; right: -10%; animation-delay: -5s; }

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, 50px) scale(1.1); }
    66% { transform: translate(-50px, 150px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: #fbfcfe;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: var(--container-width);
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.flex {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Glassmorphism & Cards */
.card {
    background: var(--white);
    padding: 30px; /* Reduced from 40px for better mobile fit */
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.card:hover::after {
    opacity: 1;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(11, 94, 215, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(11, 94, 215, 0.4);
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo, .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img, .footer-logo img {
    height: 45px;
    width: auto;
    display: block;
}

.logo span, .footer-logo span {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

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

.nav-links a.active {
    color: var(--primary);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    padding-top: 100px;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

.hero-content {
    flex: 1.2;
    max-width: 1000px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 35px;
    color: var(--text-muted);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 650px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 50px rgba(11, 94, 215, 0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.h-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.h-feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

.h-feature span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Partner Bar */
.partner-bar {
    padding: 60px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    background: var(--white);
}

.partners-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(1);
}

.partners-flex i {
    font-size: 2.5rem;
}

.partners-flex span {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

footer p {
    color: #aaa;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

.footer-links h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .section {
        padding: var(--section-padding);
    }

    .container {
        padding: 0 1rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 40px 0;
        box-shadow: var(--shadow-md);
        gap: 25px;
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .menu-btn {
        display: block;
    }
    
    .hero {
        text-align: center;
        padding-top: 120px;
    }

    .hero-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-btns {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-image {
        order: 2;
    }

    .hero-image img {
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }

    .partners-flex {
        justify-content: center;
    }
}

    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .logo span {
        font-size: 0.9rem;
    }
}
