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

:root {
    --primary: #0a192f;
    --secondary: #17a2b8;
    --accent: #00f2fe;
    --text-main: #e6f1ff;
    --text-dim: #8892b0;
    --bg-main: #020c1b;
    --bg-card: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.125);
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    --neon-blue: #00d2ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

/* Header & Nav */
.top-bar {
    background: var(--primary);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.top-bar a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--accent);
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 5%;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.cta-btn {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--bg-main);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.5);
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: brightness(0.6);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 650px;
}

.hero-tagline {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}

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

/* Services Grid */
.section {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-title div {
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--accent);
}
.mobile-only-btn { display: none; }

@media (max-width: 768px) {
    .top-bar { display: none; }
    header { padding: 15px 5%; align-items: center;}
    .hero { height: auto; padding: 120px 5% 60px; text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .hero-btns { display: flex; flex-direction: column; gap: 15px; align-items: center; }
    .hero-btns a.cta-btn { margin-left: 0 !important; width: 100%; max-width: 300px; text-align: center; }
    
    .menu-toggle { display: block; }
    .hide-mobile { display: none !important; }
    .mobile-only-btn { display: block; width: 100%; margin-top: 5px !important; }
    .client-login-btn { padding: 8px 12px !important; }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 25, 47, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
        padding: 0;
    }
    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        padding: 20px 0;
    }
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0 5%;
        gap: 10px;
        justify-content: center;
    }
    nav ul li {
        width: 47%;
        margin: 0;
    }
    nav ul li a {
        display: block;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--glass-border);
        border-radius: 8px;
        padding: 15px 5px;
        text-align: center;
        font-size: 0.9rem;
    }
    nav ul li.mobile-only-btn {
        width: 100%;
    }
    nav ul li.mobile-only-btn a {
        background: var(--accent);
        color: var(--bg-dark);
        border: none;
        padding: 12px 20px;
        font-weight: 700;
        display: inline-block;
    }
}
