/* Futuristic Theme Variables */
:root {
    --bg-dark: #050510;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-light: #e0e0e0;
    --text-dim: #a0a0a0;
    --neon-cyan: #00f3ff;
    --neon-magenta: #ff00ff;
    --neon-blue: #0066ff;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Poppins', sans-serif;
}

/* Global Styles */
body.futuristic-theme {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* Typography */
.neon-text {
    color: #fff;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-cyan),
        0 0 80px var(--neon-cyan);
}

.neon-accent {
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
}

.section-title-glow {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.3));
}

/* Buttons */
.neon-btn {
    position: relative;
    display: inline-block;
    padding: 12px 30px;
    color: var(--neon-cyan);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    border: 1px solid var(--neon-cyan);
    overflow: hidden;
    transition: 0.5s;
    background: transparent;
    z-index: 1;
}

.neon-btn:hover {
    color: #000;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan), 0 0 40px var(--neon-cyan), 0 0 80px var(--neon-cyan);
    text-decoration: none;
}

.neon-btn.large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Glass Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
    border-color: var(--neon-cyan);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--neon-cyan);
    margin-bottom: 20px;
    transition: 0.3s;
}

.glass-card:hover .card-icon {
    color: #fff;
    text-shadow: 0 0 10px var(--neon-cyan);
    transform: scale(1.1);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}

.glass-card:hover .card-glow {
    opacity: 1;
}

/* Hero Section */
.futuristic-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a1a2e 0%, var(--bg-dark) 100%);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: 0;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 20px 0 40px;
    line-height: 1.6;
}

/* Services Grid */
.futuristic-services {
    padding: 100px 0;
    position: relative;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-dim);
    line-height: 1.6;
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.service-card:hover .service-img {
    transform: scale(1.02);
}

/* Features Section */
.futuristic-features {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-dark), #0a0a1a);
}

.feature-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

.feature-img {
    width: 100%;
    display: block;
    transition: 0.5s;
}

.img-overlay-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 243, 255, 0.2), transparent);
    pointer-events: none;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.neon-icon {
    color: var(--neon-cyan);
    margin-right: 15px;
    font-size: 1.2rem;
    text-shadow: 0 0 5px var(--neon-cyan);
}

/* CTA Section */
.futuristic-cta {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/cta-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.futuristic-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 243, 255, 0.1), rgba(255, 0, 255, 0.1));
    pointer-events: none;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Cursor */
.custom-cursor {
    width: 10px;
    height: 10px;
    background: var(--neon-cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 1px solid var(--neon-cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-click {
    width: 10px;
    height: 10px;
    border: 2px solid var(--neon-magenta);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.cursor-click.active {
    animation: clickRipple 0.5s ease-out;
}

@keyframes clickRipple {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
    }

    100% {
        width: 50px;
        height: 50px;
        opacity: 0;
    }
}

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.electric-loader {
    position: relative;
    width: 80px;
    height: 80px;
}

.electric-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.electric-circle:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-top-color: var(--neon-magenta);
    animation: spin 2s linear infinite reverse;
}

.electric-circle:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--neon-cyan), var(--neon-magenta));
    z-index: 10001;
    width: 0%;
    transition: width 0.1s;
}

/* Header & Nav */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.3s;
}

#header.scrolled {
    background: rgba(5, 5, 16, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-bolt {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    fill: var(--neon-cyan);
    filter: drop-shadow(0 0 5px var(--neon-cyan));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

/* Footer */
footer {
    background: #020205;
    padding: 50px 0 20px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-social a {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0 10px;
    transition: 0.3s;
}

.footer-social a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.footer-content p {
    color: var(--text-dim);
    margin-top: 20px;
}

/* Scroll Buttons */
.scroll-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.scroll-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-btn.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 15px var(--neon-cyan);
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 15px;
    z-index: 1002;
    transition: 0.3s;
}

.menu-toggle:hover {
    color: var(--neon-cyan);
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 16, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        z-index: 1000;
        padding: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .logo-container {
        z-index: 1003;
        position: relative;
    }
}