@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #8b5cf6;
    /* Electric Violet */
    --primary-glow: rgba(139, 92, 246, 0.4);
    --secondary: #06b6d4;
    /* Cyber Cyan */
    --secondary-glow: rgba(6, 182, 212, 0.4);
    --bg-deep: #050b18;
    /* Deep Space */
    --bg-surface: rgba(15, 23, 42, 0.7);
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --border-light: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(139, 92, 246, 0.2);
    --radius-xl: 40px;
    --radius-lg: 24px;
    --prism-glass: rgba(15, 23, 42, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Cyber Background */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 10%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(6, 182, 212, 0.08) 0%, transparent 40%);
}

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border-light) 1px, transparent 1px), linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -2;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
    opacity: 0.3;
}

/* Prism Navbar */
.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1300px;
    background: var(--prism-glass);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    padding: 0.8rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.nav-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
}

.brand-icon i {
    transform: rotate(-45deg);
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.nav-cta {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
}

/* Hero Section High-Tech */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10rem 2rem 5rem;
    position: relative;
}

.hero-badge {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border-glow);
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3.5rem, 10vw, 7rem);
    line-height: 0.95;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom, #fff 50%, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -3px;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-dim);
    max-width: 800px;
    margin-bottom: 4rem;
    line-height: 1.5;
}

/* Glow Cards & Bento */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 8rem 2rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 400px);
    gap: 2rem;
}

.bento-card {
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
}

.bento-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: #fff;
    font-weight: 700;
}

.bento-card p {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.6;
}

.span-large {
    grid-column: span 2;
}

.row-large {
    grid-row: span 2;
}

/* Stats Portal */
.stats-section {
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.05), transparent);
    padding: 10rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.stat-card {
    text-align: center;
    padding: 4rem;
    background: var(--prism-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-dim);
    font-weight: 600;
}

/* Contact Strip (Homepage) */
.contact-cta {
    background: var(--bg-surface);
    padding: 6rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

/* Contact Page Specific Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    margin-top: 8rem;
    /* Increased for fixed navbar */
    align-items: start;
}

.contact-info-panel h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.contact-feature i {
    font-size: 1.5rem;
    color: var(--primary);
}

.form-prism-wrapper {
    background: var(--prism-glass);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border-light);
    padding: 4rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-uplink {
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    padding: 1.25rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-uplink:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px var(--primary-glow);
}

/* Footer Sophistication */
footer {
    padding: 6rem 2rem 3rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.footer-copy {
    color: var(--text-dim);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .span-large {
        grid-column: span 1;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .contact-cta {
        flex-direction: column;
        text-align: center;
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 100%;
        top: 0;
        border-radius: 0;
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}