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

:root {
    --bg: #030014;
    --panel: #0a0520;
    --panel-2: #120930;
    --text: #f6f2ff;
    --muted: #cfc4df;
    --pink-1: #ff4f93;
    --pink-2: #f472b6;
    --pink-3: #f9a8d4;
    --cyan: #00f5ff;
    --electric-blue: #4d9fff;
    --purple: #9945ff;
    --neon-green: #39ff14;
    --card-gradient: linear-gradient(135deg, rgba(255, 79, 147, 0.15), rgba(0, 245, 255, 0.1));
    --glass: rgba(255, 255, 255, 0.03);
    --shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    --glow-pink: 0 0 40px rgba(255, 79, 147, 0.5);
    --glow-cyan: 0 0 40px rgba(0, 245, 255, 0.5);
    --perspective: 1000px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    perspective: var(--perspective);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   LIGHTNING CANVAS BACKGROUND
   ============================================ */
#lightning-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

/* ============================================
   PARTICLE SYSTEM
   ============================================ */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--cyan);
    animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ============================================
   FLOATING 3D SHAPES
   ============================================ */
.floating-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    perspective: 1000px;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float3D 20s ease-in-out infinite;
    transform-style: preserve-3d;
}

.s1 {
    width: 400px;
    height: 400px;
    top: 5%;
    left: 5%;
    background: radial-gradient(circle, var(--pink-2), transparent 70%);
    animation-delay: 0s;
}

.s2 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 10%;
    background: radial-gradient(circle, var(--cyan), transparent 70%);
    animation-delay: 3s;
}

.s3 {
    width: 350px;
    height: 350px;
    top: 20%;
    right: 8%;
    background: radial-gradient(circle, var(--purple), transparent 70%);
    animation-delay: 6s;
}

.s4 {
    width: 250px;
    height: 250px;
    bottom: 15%;
    right: 15%;
    background: radial-gradient(circle, var(--electric-blue), transparent 70%);
    animation-delay: 9s;
}

.s5 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 25%;
    background: radial-gradient(circle, var(--pink-1), transparent 70%);
    animation-delay: 12s;
}

@keyframes float3D {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translate3d(30px, -40px, 100px) rotateX(10deg) rotateY(10deg);
        opacity: 0.6;
    }
    50% {
        transform: translate3d(-20px, -80px, 50px) rotateX(-5deg) rotateY(-5deg);
        opacity: 0.3;
    }
    75% {
        transform: translate3d(40px, -30px, 80px) rotateX(15deg) rotateY(-10deg);
        opacity: 0.5;
    }
}

/* ============================================
   GRID OVERLAY (Cyberpunk Effect)
   ============================================ */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
    perspective: 500px;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* ============================================
   HERO SECTION WITH 3D EFFECTS
   ============================================ */
.hero {
    min-height: 100vh;
    padding: 40px clamp(20px, 5vw, 90px) 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    transform-style: preserve-3d;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(255, 79, 147, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(153, 69, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   NAVIGATION WITH GLOW EFFECTS
   ============================================ */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.logo {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    animation: logoGlow 3s ease-in-out infinite;
}

.logo img {
    filter: drop-shadow(0 0 10px rgba(255, 79, 147, 0.5));
    transition: filter 0.3s ease;
}

.logo:hover img {
    filter: drop-shadow(0 0 20px rgba(255, 79, 147, 0.8)) drop-shadow(0 0 40px rgba(0, 245, 255, 0.5));
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 79, 147, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.7)); }
}

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

.nav-links a {
    color: var(--muted);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pink-1), var(--cyan));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--cyan);
}

.nav-links a:hover {
    color: var(--text);
    text-shadow: 0 0 20px var(--cyan);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--pink-2);
}

/* ============================================
   HERO CONTENT WITH GLITCH TEXT
   ============================================ */
.hero-content {
    margin-top: clamp(60px, 10vw, 140px);
    max-width: 900px;
    transform-style: preserve-3d;
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotateX(0); }
    50% { transform: translateY(-10px) rotateX(1deg); }
}

.eyebrow {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px var(--cyan);
    animation: textFlicker 4s ease-in-out infinite;
}

@keyframes textFlicker {
    0%, 100% { opacity: 1; }
    92% { opacity: 1; }
    93% { opacity: 0.7; }
    94% { opacity: 1; }
    95% { opacity: 0.8; }
    96% { opacity: 1; }
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
}

h1 span {
    color: transparent;
    background: linear-gradient(90deg, var(--pink-1), var(--pink-3), var(--cyan));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientFlow 3s ease-in-out infinite;
    position: relative;
    display: inline-block;
}

h1 span::after {
    content: 'Connect2Future';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, var(--cyan), var(--pink-1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    animation: glitchText 5s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes glitchText {
    0%, 95%, 100% { 
        opacity: 0;
        transform: translate(0, 0);
    }
    96% {
        opacity: 0.8;
        transform: translate(2px, -2px);
    }
    97% {
        opacity: 0;
        transform: translate(-2px, 2px);
    }
    98% {
        opacity: 0.5;
        transform: translate(1px, 1px);
    }
    99% {
        opacity: 0;
    }
}

.hero-text {
    max-width: 640px;
    color: #d7cde4;
    margin-bottom: 35px;
    font-size: 1.1rem;
}

/* ============================================
   BUTTONS WITH ELECTRIC EFFECTS
   ============================================ */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.btn {
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn.primary {
    background: linear-gradient(135deg, var(--pink-1), var(--pink-3));
    color: #08040f;
    box-shadow: 
        0 0 20px rgba(255, 79, 147, 0.5),
        0 0 40px rgba(255, 79, 147, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn.primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: buttonShine 3s ease-in-out infinite;
}

@keyframes buttonShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.btn.primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 0 30px rgba(255, 79, 147, 0.8),
        0 0 60px rgba(255, 79, 147, 0.5),
        0 0 100px rgba(255, 79, 147, 0.3);
}

.btn.ghost {
    border: 2px solid var(--cyan);
    color: var(--cyan);
    background: transparent;
    box-shadow: 
        0 0 15px rgba(0, 245, 255, 0.3),
        inset 0 0 15px rgba(0, 245, 255, 0.1);
}

.btn.ghost:hover {
    background: rgba(0, 245, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 
        0 0 30px rgba(0, 245, 255, 0.5),
        0 0 60px rgba(0, 245, 255, 0.3),
        inset 0 0 30px rgba(0, 245, 255, 0.2);
    text-shadow: 0 0 10px var(--cyan);
}

/* ============================================
   HERO METRICS WITH 3D CARDS
   ============================================ */
.hero-metrics {
    display: flex;
    gap: clamp(20px, 5vw, 60px);
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero-metrics > div {
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    position: relative;
}

.hero-metrics > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 79, 147, 0.1), rgba(0, 245, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-metrics > div:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 245, 255, 0.3);
}

.hero-metrics > div:hover::before {
    opacity: 1;
}

.hero-metrics h3 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--pink-2), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.hero-metrics p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ============================================
   SECTIONS WITH PARALLAX
   ============================================ */
.ecosystem,
.brands,
.edtech-modules,
.space-services,
.crevox-services,
.services,
.cta {
    padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 90px);
    position: relative;
    z-index: 10;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 50px;
    position: relative;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text), var(--pink-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.1rem;
}

.ecosystem-logo {
    filter: drop-shadow(0 0 20px rgba(255, 79, 147, 0.5));
    margin-bottom: 20px;
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   ECOSYSTEM GRID WITH 3D CARDS
   ============================================ */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    perspective: 1000px;
}

.eco-card {
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(10, 5, 32, 0.9), rgba(18, 9, 48, 0.9));
    border: 1px solid rgba(0, 245, 255, 0.15);
    box-shadow: var(--shadow);
    min-height: 180px;
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.eco-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 245, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.eco-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--pink-1), var(--cyan), var(--purple));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.eco-card:hover {
    transform: translateY(-15px) rotateX(0) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 245, 255, 0.2);
}

.eco-card:hover::before {
    left: 100%;
}

.eco-card:hover::after {
    opacity: 0.5;
}

.eco-card h3 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--pink-2), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
}

.eco-card p {
    color: var(--muted);
    line-height: 1.8;
}

/* ============================================
   BRAND CARDS WITH HOLOGRAPHIC EFFECT
   ============================================ */
.brands {
    display: flex;
    flex-direction: column;
    gap: 30px;
    perspective: 1000px;
}

.brand-card {
    display: grid;
    grid-template-columns: 80px 1fr 160px;
    gap: 30px;
    padding: 40px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(18, 9, 48, 0.95), rgba(10, 5, 32, 0.95));
    border: 1px solid rgba(0, 245, 255, 0.1);
    position: relative;
    opacity: 0;
    transform: translateY(60px) perspective(1000px) rotateX(5deg);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 79, 147, 0.05),
        rgba(0, 245, 255, 0.05),
        rgba(153, 69, 255, 0.05)
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.brand-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(0, 245, 255, 0.1),
        transparent,
        rgba(255, 79, 147, 0.1),
        transparent
    );
    animation: holographicRotate 8s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.brand-card:hover {
    transform: translateY(-10px) perspective(1000px) rotateX(0);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(0, 245, 255, 0.2),
        0 0 100px rgba(255, 79, 147, 0.1);
}

.brand-card:hover::before,
.brand-card:hover::after {
    opacity: 1;
}

.badge {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 79, 147, 0.2), rgba(0, 245, 255, 0.2));
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cyan);
    border: 1px solid rgba(0, 245, 255, 0.3);
    box-shadow: 
        0 0 20px rgba(0, 245, 255, 0.3),
        inset 0 0 20px rgba(0, 245, 255, 0.1);
    position: relative;
    z-index: 1;
}

.brand-content {
    position: relative;
    z-index: 1;
}

.brand-content h3 {
    font-size: 2rem;
    margin-bottom: 12px;
    background: linear-gradient(90deg, var(--text), var(--pink-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-content p {
    color: #d9cee6;
    margin-bottom: 18px;
    line-height: 1.8;
}

.brand-content ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.brand-content ul li {
    color: var(--muted);
    padding-left: 20px;
    position: relative;
}

.brand-content ul li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.brand-highlight {
    align-self: center;
    text-align: right;
    position: relative;
    z-index: 1;
}

.brand-highlight span {
    display: block;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--cyan), var(--pink-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    text-shadow: none;
}

.brand-highlight p {
    color: var(--muted);
}

/* ============================================
   SERVICE CARDS WITH ELECTRIC BORDERS
   ============================================ */
.edtech-modules,
.crevox-services {
    background: linear-gradient(180deg, var(--panel-2), var(--bg));
    position: relative;
    z-index: 10;
}

.space-services {
    background: linear-gradient(180deg, var(--panel), var(--panel-2));
    position: relative;
    z-index: 10;
}

.edtech-modules .services-grid,
.space-services .services-grid,
.crevox-services .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    perspective: 1000px;
}

.service-card {
    background: linear-gradient(135deg, rgba(10, 5, 32, 0.95), rgba(18, 9, 48, 0.95));
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--pink-1), var(--cyan), var(--purple), var(--pink-1));
    background-size: 300% 300%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderGradient 4s ease-in-out infinite;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

@keyframes borderGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.service-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card.visible,
.service-card.aos-animate {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02) !important;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 245, 255, 0.3),
        0 0 80px rgba(255, 79, 147, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 1;
    animation: electricPulse 2s ease-in-out infinite;
}

@keyframes electricPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.service-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink-2), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price-badge {
    background: linear-gradient(135deg, var(--pink-1), var(--purple));
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 
        0 0 20px rgba(255, 79, 147, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: badgePulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.price-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: badgeShine 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 79, 147, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(255, 79, 147, 0.6); }
}

@keyframes badgeShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* ============================================
   SLIDER WITH 3D TRANSFORMS
   ============================================ */
.service-slider {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    background: linear-gradient(135deg, var(--panel), var(--bg));
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 245, 255, 0.1);
}

.slider-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.slide:hover img {
    transform: scale(1.05);
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pink-1), var(--purple), var(--cyan));
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.slide-placeholder span {
    font-size: 4rem;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 79, 147, 0.9), rgba(153, 69, 255, 0.9));
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 20px rgba(255, 79, 147, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 
        0 0 30px rgba(255, 79, 147, 0.8),
        0 0 60px rgba(0, 245, 255, 0.4);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.dot.active {
    background: linear-gradient(135deg, var(--pink-1), var(--cyan));
    transform: scale(1.4);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.6);
}

.service-description {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ============================================
   SERVICE BLOCKS (without sliders)
   ============================================ */
.service-block .service-icon {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    height: 220px;
    background: linear-gradient(135deg, var(--panel), var(--bg));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.service-block .slide-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pink-1), var(--purple), var(--cyan));
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    perspective: 1000px;
}

.service {
    padding: 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(10, 5, 32, 0.9), rgba(18, 9, 48, 0.9));
    border: 1px solid rgba(0, 245, 255, 0.15);
    min-height: 180px;
    opacity: 0;
    transform: translateY(40px) rotateX(5deg);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.service:hover {
    transform: translateY(-10px) rotateX(0) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 245, 255, 0.2);
    border-color: rgba(0, 245, 255, 0.3);
}

.service:hover::before {
    left: 100%;
}

.service h4 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--pink-2), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service p {
    color: var(--muted);
    line-height: 1.8;
}

/* ============================================
   CTA SECTION WITH ELECTRIC FORM
   ============================================ */
.cta-card {
    background: linear-gradient(135deg, rgba(18, 9, 48, 0.95), rgba(10, 5, 32, 0.95));
    border-radius: 40px;
    padding: clamp(40px, 5vw, 70px);
    border: 1px solid rgba(0, 245, 255, 0.15);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(0, 245, 255, 0.05),
        transparent,
        rgba(255, 79, 147, 0.05),
        transparent
    );
    animation: holographicRotate 15s linear infinite;
}

.cta-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text), var(--pink-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eco-card.visible,
.brand-card.visible,
.service.visible,
.cta-card.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
}

.cta-form {
    display: grid;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.cta-form label {
    font-size: 0.9rem;
    color: var(--cyan);
    display: grid;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 245, 255, 0.2);
    padding: 16px 20px;
    color: var(--text);
    font: inherit;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(0, 245, 255, 0.05);
    box-shadow: 
        0 0 20px rgba(0, 245, 255, 0.3),
        inset 0 0 20px rgba(0, 245, 255, 0.1);
}

.cta-form select option {
    background: var(--bg);
    color: var(--text);
}

/* Form button states */
.cta-form .btn {
    position: relative;
    overflow: hidden;
}

.cta-form .btn:disabled {
    cursor: not-allowed;
}

/* ============================================
   FOOTER WITH GLOW
   ============================================ */
footer {
    text-align: center;
    padding: 40px 20px 80px;
    color: var(--muted);
    border-top: 1px solid rgba(0, 245, 255, 0.1);
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, transparent, rgba(0, 245, 255, 0.02));
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    box-shadow: 0 0 20px var(--cyan);
}

/* ============================================
   LOADING ANIMATION
   ============================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(0, 245, 255, 0.1);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 
        0 0 20px var(--cyan),
        inset 0 0 20px rgba(0, 245, 255, 0.1);
}

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

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--cyan);
    border-radius: 25px;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: var(--cyan);
    border-radius: 3px;
    animation: scrollDot 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scrollDot {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* ============================================
   CUSTOM CURSOR EFFECT
   ============================================ */
.cursor-dot {
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyan);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    box-shadow: 
        0 0 10px var(--cyan),
        0 0 20px var(--cyan),
        0 0 30px var(--cyan);
    mix-blend-mode: normal;
}

.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--pink-2);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1), 
                height 0.4s cubic-bezier(0.23, 1, 0.32, 1), 
                border-color 0.3s ease,
                background 0.3s ease,
                opacity 0.3s ease;
    box-shadow: 
        0 0 15px rgba(244, 114, 182, 0.4),
        inset 0 0 15px rgba(244, 114, 182, 0.1);
}

/* Cursor hover states */
.cursor-dot.hover {
    width: 8px;
    height: 8px;
    background: var(--pink-1);
    box-shadow: 
        0 0 15px var(--pink-1),
        0 0 30px var(--pink-1),
        0 0 45px var(--pink-1);
}

.cursor-ring.hover {
    width: 80px;
    height: 80px;
    border-color: var(--cyan);
    background: rgba(0, 245, 255, 0.05);
    box-shadow: 
        0 0 25px rgba(0, 245, 255, 0.5),
        inset 0 0 25px rgba(0, 245, 255, 0.1);
}

/* Extra large cursor for buttons */
.cursor-dot.click {
    width: 6px;
    height: 6px;
}

.cursor-ring.click {
    width: 100px;
    height: 100px;
    border-color: var(--neon-green);
    background: rgba(57, 255, 20, 0.08);
    box-shadow: 
        0 0 30px rgba(57, 255, 20, 0.5),
        inset 0 0 30px rgba(57, 255, 20, 0.1);
}

/* Hide default cursor on interactive elements */
body {
    cursor: none;
}

a, button, .btn, .slider-btn, .dot, .nav-links a, .service-card, .eco-card, .brand-card, input, select, textarea {
    cursor: none;
}

/* Cursor glow background effect */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .brand-card {
        grid-template-columns: 60px 1fr;
    }

    .brand-highlight {
        text-align: left;
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .edtech-modules .services-grid,
    .space-services .services-grid,
    .crevox-services .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-slider {
        height: 250px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .nav-links {
        position: fixed;
        inset: 80px 20px auto 20px;
        background: rgba(3, 0, 20, 0.98);
        flex-direction: column;
        padding: 25px;
        border-radius: 24px;
        border: 1px solid rgba(0, 245, 255, 0.2);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        backdrop-filter: blur(20px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    .menu-toggle {
        display: flex;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .cursor-glow,
    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    body,
    a, button, .btn, .slider-btn, .dot, .nav-links a, .service-card, .eco-card, .brand-card, input, select, textarea {
        cursor: auto;
    }

    .scroll-indicator {
        display: none;
    }

    h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-metrics > div {
        padding: 15px 20px;
    }

    .hero-metrics h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .brand-card {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .badge {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }

    .eco-card,
    .service {
        padding: 20px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .floating-shapes,
    #lightning-canvas,
    #particles-container,
    .grid-overlay,
    .cursor-glow,
    .scroll-indicator,
    .loading-screen {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}
