/* === PREMIUM SERVICES - COMPLETE CSS === */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700;800&family=Outfit:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Outfit', sans-serif;
}

/* Main Container */
.nexus-services-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 25%, #1a1a1a 75%, #0f0f0f 100%);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Background System */
.nexus-background-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.nexus-gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.nexus-gradient-orbs::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 111, 0, 0.2), transparent 70%);
    border-radius: 50%;
    animation: nexus-float-primary 20s ease-in-out infinite;
    filter: blur(60px);
}

.nexus-gradient-orbs::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 140, 51, 0.15), transparent 70%);
    border-radius: 50%;
    animation: nexus-float-secondary 25s ease-in-out infinite reverse;
    filter: blur(70px);
}

@keyframes nexus-float-primary {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(40px, -40px) rotate(90deg); }
    50% { transform: translate(-30px, -70px) rotate(180deg); }
    75% { transform: translate(-50px, -30px) rotate(270deg); }
}

@keyframes nexus-float-secondary {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.15); }
    66% { transform: translate(-40px, -50px) scale(0.9); }
}

.nexus-particle-field {
    position: absolute;
    width: 100%;
    height: 100%;
}

.nexus-particle {
    position: absolute;
    background: #ff6f00;
    border-radius: 50%;
    animation: nexus-particle-drift 30s linear infinite;
}

.nexus-particle.small {
    width: 2px;
    height: 2px;
    opacity: 0.4;
}

.nexus-particle.medium {
    width: 4px;
    height: 4px;
    opacity: 0.6;
}

.nexus-particle.large {
    width: 6px;
    height: 6px;
    opacity: 0.3;
}

@keyframes nexus-particle-drift {
    0% { 
        transform: translateY(100vh) translateX(-50px) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

.nexus-grid-overlay {
    position: absolute;
    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;
}

/* Main Content */
.nexus-main-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section */
.nexus-hero-section {
    text-align: center;
    padding: 80px 0 40px;
    position: relative;
}

.nexus-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    opacity: 0;
    animation: nexus-fade-up 1s ease-out 0.2s forwards;
    box-shadow: 0 8px 32px rgba(255, 111, 0, 0.1);
}

.nexus-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    animation: nexus-fade-up 1s ease-out 0.4s forwards;
}

.nexus-gradient-text {
    background: linear-gradient(135deg, #ff6f00, #ff8c33, #ffb366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(255, 111, 0, 0.3));
}

.nexus-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.6;
    opacity: 0;
    animation: nexus-fade-up 1s ease-out 0.6s forwards;
}

@keyframes nexus-fade-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Showcase */
.nexus-services-showcase {
    padding: 20px 0 80px;
}

.nexus-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Service Card - ULTRA STUNNING */
.nexus-service-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.95), rgba(15, 15, 15, 0.98));
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 28px;
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Rotating gradient border */
.nexus-service-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: conic-gradient(from 0deg, #ff6f00, #ff8c33, #ffb366, transparent, transparent, #ff6f00);
    border-radius: 30px;
    opacity: 0;
    z-index: -1;
    animation: nexus-rotate 4s linear infinite;
}

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

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

/* Top glow bar */
.nexus-service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent, #ff6f00, #ff8c33, transparent);
    opacity: 0;
    box-shadow: 0 0 30px #ff6f00;
    transition: opacity 0.5s ease;
}

.nexus-service-card:hover::after {
    opacity: 1;
}

.nexus-service-card:hover {
    transform: translateY(-20px) scale(1.03);
    border-color: rgba(255, 111, 0, 0.3);
    box-shadow: 0 40px 120px rgba(255, 111, 0, 0.6);
}

/* Icon */
.nexus-service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff6f00, #ff8c33);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 2.5rem;
    color: white;
    position: relative;
    transition: all 0.6s ease;
    box-shadow: 0 10px 40px rgba(255, 111, 0, 0.4);
}

.nexus-service-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, #ff6f00, #ff8c33, #ffb366);
    border-radius: 28px;
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.6s ease;
}

.nexus-service-card:hover .nexus-service-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 20px 60px rgba(255, 111, 0, 0.7);
}

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

/* Title */
.nexus-service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nexus-service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff6f00, #ff8c33, transparent);
    transition: width 0.6s ease;
    border-radius: 10px;
}

.nexus-service-card:hover .nexus-service-title::after {
    width: 80px;
}

/* Description */
.nexus-service-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 28px;
    font-size: 1.05rem;
}

/* Features */
.nexus-service-features {
    list-style: none;
    margin-bottom: 32px;
    padding: 0;
}

.nexus-service-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nexus-service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #ff6f00, #ff8c33);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nexus-service-features li:hover {
    background: rgba(255, 111, 0, 0.08);
    border-color: rgba(255, 111, 0, 0.2);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(255, 111, 0, 0.15);
}

.nexus-service-features li:hover::before {
    opacity: 1;
}

.nexus-service-features i {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ff6f00, #ff8c33);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(255, 111, 0, 0.4);
    transition: all 0.4s ease;
}

.nexus-service-features li:hover i {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 0 30px rgba(255, 111, 0, 0.8);
}

/* CTA Button */
.nexus-service-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: rgba(255, 111, 0, 0.1);
    border: 2px solid rgba(255, 111, 0, 0.3);
    border-radius: 50px;
    color: #ff6f00;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 111, 0, 0.2);
}

.nexus-service-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff6f00, #ff8c33);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.nexus-service-card:hover .nexus-service-cta {
    color: white;
    border-color: #ff6f00;
    box-shadow: 0 8px 40px rgba(255, 111, 0, 0.5);
    transform: translateY(-3px);
}

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

.nexus-service-cta i {
    transition: transform 0.4s ease;
}

.nexus-service-card:hover .nexus-service-cta i {
    transform: translateX(5px);
}

/* Scroll Animations */
.nexus-animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.nexus-animate-on-scroll.nexus-in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .nexus-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nexus-main-content {
        padding: 0 20px;
    }
    
    .nexus-hero-section {
        padding: 80px 0 60px;
    }
    
    .nexus-hero-title {
        font-size: 2.5rem;
    }
    
    .nexus-services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nexus-service-card {
        padding: 40px 28px;
    }
    
    .nexus-service-icon {
        width: 85px;
        height: 85px;
        font-size: 2rem;
    }
    
    .nexus-service-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nexus-hero-title {
        font-size: 2rem;
    }
    
    .nexus-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nexus-service-card {
        padding: 35px 24px;
    }
    
    .nexus-service-icon {
        width: 75px;
        height: 75px;
        font-size: 1.75rem;
    }
    
    .nexus-service-features li {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
}