:root {
    /* Brand Colors */
    --electric-blue: #00A3FF;
    --neon-blue: #0066FF;
    --deep-navy: #1A1F2B;
    --charcoal-black: #0D0F14;
    --silver: #C7CCD6;
    --white: #FFFFFF;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--neon-blue), var(--electric-blue));
    --surface-gradient: linear-gradient(145deg, rgba(26, 31, 43, 0.7), rgba(13, 15, 20, 0.9));

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --glass-bg: rgba(26, 31, 43, 0.4);
    --glass-border: rgba(199, 204, 214, 0.1);
    --neon-glow: 0 0 20px rgba(0, 163, 255, 0.4), 0 0 40px rgba(0, 102, 255, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--charcoal-black);
    color: var(--silver);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.glow-orb.top-left {
    top: -200px;
    left: -200px;
    background: var(--neon-blue);
    animation: float 10s ease-in-out infinite alternate;
}

.glow-orb.bottom-right {
    bottom: -200px;
    right: -200px;
    background: var(--electric-blue);
    animation: float 12s ease-in-out infinite alternate-reverse;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Typography Elements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--silver);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(26, 31, 43, 0.8);
    border-color: var(--electric-blue);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--electric-blue);
}

.btn-outline:hover {
    background: rgba(0, 163, 255, 0.1);
    box-shadow: inset 0 0 10px rgba(0, 163, 255, 0.2);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(13, 15, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal-black);
    background: linear-gradient(135deg, var(--white), var(--silver));
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.logo-mark::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--primary-gradient);
    z-index: -1;
    border-radius: 5px;
    filter: blur(4px);
    opacity: 0.7;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--silver);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-blue);
    transition: var(--transition);
    box-shadow: 0 0 8px var(--electric-blue);
}

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

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

.nav-mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 163, 255, 0.1);
    border: 1px solid rgba(0, 163, 255, 0.3);
    border-radius: 50px;
    color: var(--electric-blue);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 10px rgba(0, 163, 255, 0.1);
}

.hero h1 {
    font-size: 5rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--silver);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

.hero-graphics {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    z-index: 1;
    pointer-events: none;
}

.abstract-shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--surface-gradient);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 50px;
    right: 50px;
    animation: morph 8s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(0, 163, 255, 0.1);
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 102, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.2);
    animation: morph 10s ease-in-out infinite reverse;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
    position: relative;
}

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

.service-card {
    background: var(--surface-gradient);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 163, 255, 0.1);
    border-color: rgba(0, 163, 255, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--electric-blue);
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(0, 163, 255, 0.5));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--silver);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: linear-gradient(to bottom, rgba(13, 15, 20, 0), rgba(26, 31, 43, 0.3));
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--silver);
    margin-bottom: 2rem;
}

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

.stat-item {
    border-left: 2px solid var(--neon-blue);
    padding-left: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--electric-blue);
    margin-bottom: 0.25rem;
    display: inline-block;
    text-shadow: 0 0 15px rgba(0, 163, 255, 0.3);
}

.stat-item p {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.about-visual {
    position: relative;
}

.visual-placeholder {
    width: 100%;
    height: 500px;
    background: var(--surface-gradient);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--neon-blue);
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.3;
}

.abstract-wireframe {
    width: 80%;
    height: 80%;
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 50%;
    position: absolute;
    animation: spin 20s linear infinite;
}

.abstract-wireframe::before,
.abstract-wireframe::after {
    content: '';
    position: absolute;
    inset: -20px;
    border: 1px dashed rgba(199, 204, 214, 0.2);
    border-radius: 50%;
}

.abstract-wireframe::after {
    inset: 20px;
    border: 1px solid rgba(0, 102, 255, 0.3);
    animation: spin 15s linear infinite reverse;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 15, 20, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-item:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.project-overlay p {
    color: var(--electric-blue);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials */
.testimonials {
    padding: 8rem 0;
    background: rgba(26, 31, 43, 0.2);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

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

.testimonial-card {
    background: var(--surface-gradient);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(0, 163, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.quote-icon {
    font-size: 2rem;
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--white);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--electric-blue);
}

.client-info h5 {
    margin-bottom: 0.1rem;
    font-size: 1rem;
}

.client-info span {
    font-size: 0.8rem;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
}

.cta-box {
    background: var(--surface-gradient);
    border: 1px solid rgba(0, 163, 255, 0.3);
    border-radius: 12px;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--silver);
    margin-bottom: 2.5rem;
}

.cta-content .hero-ctas {
    justify-content: center;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Footer */
footer {
    background: var(--charcoal-black);
    border-top: 1px solid var(--glass-border);
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--silver);
    margin: 1.5rem 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--electric-blue);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--silver);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--electric-blue);
}

.footer-contact p {
    color: var(--silver);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--electric-blue);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    text-align: center;
    color: rgba(199, 204, 214, 0.5);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }

    .about-container {
        gap: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* simple mobile menu handling below */
    }

    .nav-mobile-toggle {
        display: block;
    }

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

    .hero-graphics {
        display: none;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stat-item {
        border-left: none;
        border-bottom: 2px solid var(--neon-blue);
        padding-left: 0;
        padding-bottom: 1rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand p {
        margin: 1.5rem auto;
    }

    .social-links {
        justify-content: center;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }
}

/* Mobile Menu Active State */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(13, 15, 20, 0.95);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-bottom: 1px solid var(--glass-border);
}