/* Advanced Services Section */
.section-advanced {
    padding: 8rem 0;
    background: linear-gradient(15deg, #0a192f 0%, #020c1b 100%);
}

/* Section Header */
.section-header-extended {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.header-decor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.decor-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary1), transparent);
}

.decor-text {
    color: var(--color-primary1);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
}

.section-title-neon {
    font-size: 3.2rem;
    background: linear-gradient(45deg, #00f3ff, #06a4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 1.5rem 0;
    text-shadow: 0 0 15px rgba(6, 164, 255, 0.3);
}

.section-subtitle-3d {
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid */
.services-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    perspective: 1500px;
}

.service-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover {
    transform: translateY(-10px) rotateX(3deg) rotateY(2deg);
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}

/* Card Front */
.icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.service-icon {
    width: 100%;
    height: 100%;
    fill: var(--color-primary1);
    filter: drop-shadow(0 0 10px rgba(6, 164, 255, 0.3));
    z-index: 2;
}

.icon-pulse {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, 
        rgba(6, 164, 255, 0.15) 0%, 
        transparent 70%);
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.service-title {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    text-align: center;
}

.service-excerpt p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-stack li {
    background: rgba(6, 164, 255, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--color-primary1);
}

/* Card Back */
.card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2.5rem;
    background: rgba(10, 25, 47, 0.95);
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    backface-visibility: hidden;
}

.service-card:hover .card-back {
    transform: translateY(0);
}

.service-details h4 {
    color: var(--color-primary1);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.service-details ul {
    list-style: none;
    padding-left: 1.5rem;
}

.service-details li {
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.8rem;
    position: relative;
}

.service-details li::before {
    content: "▹";
    color: var(--color-primary1);
    position: absolute;
    left: -1.5rem;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-primary1);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    background: rgba(6, 164, 255, 0.1);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: rgba(6, 164, 255, 0.2);
    padding-right: 2rem;
}

.arrow {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
    transform: translateX(5px);
}

/* Enterprise Solutions */
.enterprise-solutions {
    margin-top: 6rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 5rem;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.solution-feature {
    background: linear-gradient(145deg, rgba(2, 66, 112, 0.5), transparent);
    padding: 2.5rem;
    border-radius: 15px;
    color: #000;
    position: relative;
}
.solution-feature h4 {
    font-size: 1.5rem;
}
.solution-feature p {
    color: #e1e1e1;
}

.feature-index {
    position: absolute;
    top: -25px;
    left: -25px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255,255,255,0.05);
    z-index: -1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid-3d {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid-3d {
        grid-template-columns: 1fr;
    }
    
    .section-title-neon {
        font-size: 2.5rem;
    }
}