:root {
    --bg-void: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --primary: #00C6FB;
    /* Cyan Blue base */
    --secondary: #005BEA;
    /* Deep Blue base */
    --accent: #7F00FF;
    /* Violet */
    --text-main: #ffffff;
    --text-muted: #a0a0a0;

    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Mesh similar to other pages but simpler */
.mesh-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -20%;
    left: -10%;
    animation: floatBlob 20s infinite ease-in-out;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    bottom: -10%;
    right: -10%;
    animation: floatBlob 15s infinite ease-in-out reverse;
}

@keyframes floatBlob {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 30px);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.main-content {
    flex-grow: 1;
    padding-top: 140px;
    /* Space for fixed header */
    padding-bottom: 80px;
}

/* HEADER FIX (Consistency) */
header {
    padding: 20px 0 !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 101;
}

/* PAGE HEADER */
.page-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative !important;
    /* Resetting fixed header for this specific section inside main */
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    z-index: 1 !important;
}

.page-header h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.pill {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
}

.text-gradient {
    background: linear-gradient(90deg, #00C6FB, #005BEA);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 100px;
}

.service-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-card.highlight {
    background: linear-gradient(135deg, rgba(0, 198, 251, 0.1), rgba(0, 91, 234, 0.05));
    border-color: rgba(0, 198, 251, 0.3);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--primary);
    color: black;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
    /* Push arrow down if needed, though grid handles height */
}

.arrow-link {
    margin-top: 20px;
    align-self: flex-end;
    opacity: 0.5;
    transition: var(--transition);
}

.service-card:hover .arrow-link {
    opacity: 1;
    transform: translateX(5px);
    color: var(--primary);
}

/* FINAL CTA */
.final-cta {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.final-cta p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: black;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: black;
        flex-direction: column;
        justify-content: center;
        z-index: 1000;
        transition: 0.4s;
    }

    .nav-links.active {
        right: 0;
        display: flex !important;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links .btn-primary {
        background: transparent !important;
        color: white !important;
        font-size: 1.5rem !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}