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

:root {
    --primary: #2563EB; /* Modern Blue */
    --primary-light: #60A5FA;
    --primary-dark: #1D4ED8;
    --primary-rgb: 37, 99, 235;
    --secondary: #0F172A; /* Slate Navy */
    --secondary-rgb: 15, 23, 42;
    --bg-main: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-soft: 0 10px 40px rgba(37, 99, 235, 0.08);
    --shadow-strong: 0 20px 50px rgba(37, 99, 235, 0.15);
}

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

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

/* Modern Pattern Background */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(96, 165, 250, 0.05) 0%, transparent 40%);
}

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -2;
}

/* Premium Navbar */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 100px;
    padding: 0.8rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.nav-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.5px;
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
    border-radius: 2px;
}

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

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

/* Hero Section */
.hero {
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 12rem 2rem 6rem;
    position: relative;
}

.hero-badge {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.5rem, 9vw, 6rem);
    line-height: 1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    letter-spacing: -3px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

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

.hero h1 span {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 750px;
    margin-bottom: 3.5rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-actions {
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-image-wrapper {
    margin-top: 5rem;
    width: 100%;
    max-width: 1000px;
    padding: 2rem;
    perspective: 2000px;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-main-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 40px 100px rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: rotateX(15deg) rotateY(-5deg);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-main-image:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1.02);
    box-shadow: 0 60px 140px rgba(37, 99, 235, 0.25);
}

/* Bento Grid */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 8rem 2rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.bento-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.1);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: 0.3s;
}

.bento-card:hover .card-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(10deg);
}

.bento-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.bento-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.span-large {
    grid-column: span 2;
}

/* Stats Section */
.stats-section {
    background: var(--secondary);
    padding: 8rem 2rem;
    margin: 4rem 2rem;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #fff, rgba(255,255,255,0.5));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--primary-light);
}

/* Contact Page Layout Redesign */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    margin-top: 4rem;
    align-items: center;
}

.contact-info-panel h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--secondary);
    letter-spacing: -2px;
}

.contact-info-panel h2 span {
    color: var(--primary);
}

.contact-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.contact-feature:hover {
    border-color: var(--primary-light);
    background: #fff;
    transform: translateX(10px);
}

.contact-feature i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

.form-prism-wrapper {
    background: #fff;
    padding: 3.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-strong);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    padding: 1.1rem 1.4rem;
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-uplink {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-uplink:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

/* Footer */
footer {
    padding: 8rem 2rem 5rem;
    text-align: center;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    letter-spacing: -1px;
}

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

.footer-copy {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Mobile Adjustments */
.mobile-menu-toggle {
    display: none;
    background: var(--primary);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.mobile-nav {
    position: fixed;
    top: 6.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: 90%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.mobile-nav-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 1rem;
    border-radius: 12px;
    transition: 0.3s;
    text-align: center;
}

.mobile-nav-link:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary);
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .form-prism-wrapper {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.7rem 1.5rem;
    }
    
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stat-value {
        font-size: 4rem;
    }
}