/* ==========================================================================
   Services Page Styles - High-End Version
   ========================================================================== */

/* Background Image - Hidden, using Aurora instead */
.page-bg-image {
    display: none;
}

.page-overlay {
    display: none;
}

/* ==========================================================================
   Floating Particles
   ========================================================================== */
.particles-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(124, 58, 237, 0.6);
    border-radius: 50%;
    animation: float-particle 15s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 20s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: -2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; top: 40%; animation-delay: -4s; animation-duration: 22s; }
.particle:nth-child(4) { left: 40%; top: 60%; animation-delay: -6s; animation-duration: 16s; }
.particle:nth-child(5) { left: 50%; top: 30%; animation-delay: -8s; animation-duration: 24s; }
.particle:nth-child(6) { left: 60%; top: 70%; animation-delay: -10s; animation-duration: 19s; }
.particle:nth-child(7) { left: 70%; top: 50%; animation-delay: -12s; animation-duration: 21s; }
.particle:nth-child(8) { left: 80%; top: 25%; animation-delay: -14s; animation-duration: 17s; }
.particle:nth-child(9) { left: 90%; top: 85%; animation-delay: -16s; animation-duration: 23s; }
.particle:nth-child(10) { left: 15%; top: 55%; animation-delay: -18s; animation-duration: 20s; }
.particle:nth-child(11) { left: 85%; top: 45%; animation-delay: -5s; animation-duration: 18s; }
.particle:nth-child(12) { left: 45%; top: 15%; animation-delay: -9s; animation-duration: 22s; }

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-100px) translateX(50px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-50px) translateX(-30px) scale(0.8);
        opacity: 0.8;
    }
    75% {
        transform: translateY(100px) translateX(20px) scale(1.1);
        opacity: 0.5;
    }
}

/* ==========================================================================
   Gradient Orbs
   ========================================================================== */
.gradient-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orb-float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.5) 0%, rgba(99, 102, 241, 0.5) 100%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(147, 51, 234, 0.4) 100%);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3) 0%, rgba(124, 58, 237, 0.3) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes orb-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 30px) scale(0.9);
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.services-hero {
    padding: 180px 0 100px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

/* Glowing Badge */
.glow-badge {
    position: relative;
    animation: badge-glow 2s infinite alternate;
}

.glow-badge::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-primary));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    animation: border-glow 3s infinite;
    filter: blur(4px);
}

@keyframes badge-glow {
    from { box-shadow: 0 0 10px rgba(124, 58, 237, 0.3); }
    to { box-shadow: 0 0 20px rgba(124, 58, 237, 0.6); }
}

@keyframes border-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--color-success);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.services-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.title-line {
    display: block;
}

/* Animated Gradient Text */
.gradient-text-animated {
    display: block;
    background: linear-gradient(
        90deg,
        #fff 0%,
        #a78bfa 25%,
        #7c3aed 50%,
        #a78bfa 75%,
        #fff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.services-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-300);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   Hero Stats
   ========================================================================== */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
    padding: var(--space-xl) var(--space-2xl);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(10px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    white-space: nowrap;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* ==========================================================================
   Section Intro
   ========================================================================== */
.section-intro {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-intro h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-gray-300);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   What We Do - Pillars
   ========================================================================== */
.what-we-do {
    padding: var(--space-4xl) 0;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* Tilt Card with Glow */
.pillar-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.tilt-card {
    will-change: transform;
}

.card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.pillar-card:hover .card-glow {
    opacity: 1;
}

.card-border-glow {
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(99, 102, 241, 0.5));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pillar-card:hover .card-border-glow {
    opacity: 1;
}

.pillar-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: transparent;
    box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.25);
}

.pillar-card.featured {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border-color: rgba(124, 58, 237, 0.3);
}

.featured-badge {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pillar-icon {
    width: 56px;
    height: 56px;
    background: rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.pulse-icon {
    animation: icon-pulse 3s infinite;
}

@keyframes icon-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(124, 58, 237, 0); }
}

.pillar-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary-light);
}

.pillar-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.pillar-card > p {
    color: var(--color-gray-300);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.pillar-features {
    list-style: none;
    position: relative;
    z-index: 1;
}

.pillar-features li {
    color: var(--color-gray-400);
    font-size: 0.875rem;
    padding: var(--space-xs) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pillar-features li:first-child {
    border-top: none;
}

/* ==========================================================================
   Core Services
   ========================================================================== */
.core-services {
    padding: var(--space-4xl) 0;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-block:last-child {
    border-bottom: none;
}

.service-block.reverse {
    direction: rtl;
}

.service-block.reverse > * {
    direction: ltr;
}

.service-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.5) 0%, rgba(124, 58, 237, 0.1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.service-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.service-content > p {
    color: var(--color-gray-300);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-gray-200);
    font-size: 0.9375rem;
    padding: var(--space-sm) 0;
}

.service-features svg {
    width: 20px;
    height: 20px;
    color: var(--color-success);
    flex-shrink: 0;
}

/* ==========================================================================
   Visual Cards
   ========================================================================== */
.visual-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.visual-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.15);
}

.visual-card.glass {
    backdrop-filter: blur(10px);
}

.visual-header {
    display: flex;
    gap: 6px;
    margin-bottom: var(--space-lg);
}

.visual-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.visual-dot:first-child { background: #FF5F56; }
.visual-dot:nth-child(2) { background: #FFBD2E; }
.visual-dot:last-child { background: #27CA3F; }

.visual-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.doc-icon svg {
    width: 48px;
    height: 48px;
    color: var(--color-primary-light);
}

.doc-lines {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-line {
    height: 8px;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.3) 0%, rgba(124, 58, 237, 0.6) 50%, rgba(124, 58, 237, 0.3) 100%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: shimmer 2s infinite;
}

.doc-line:nth-child(2) { animation-delay: 0.2s; }
.doc-line:nth-child(3) { animation-delay: 0.4s; }

@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

/* Chat Visual */
.chat-visual {
    gap: var(--space-md);
}

.chat-message {
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 80%;
    font-size: 0.875rem;
    animation: message-appear 0.5s ease-out both;
}

.chat-message:nth-child(1) { animation-delay: 0.3s; }
.chat-message:nth-child(2) { animation-delay: 0.8s; }

@keyframes message-appear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message.incoming {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-message.outgoing {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

/* Agent Visual */
.agent-visual {
    position: relative;
    justify-content: center;
    align-items: center;
}

.agent-node.central {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.5);
    animation: central-pulse 2s infinite;
}

@keyframes central-pulse {
    0%, 100% { box-shadow: 0 0 40px rgba(124, 58, 237, 0.5); }
    50% { box-shadow: 0 0 60px rgba(124, 58, 237, 0.8); }
}

.agent-node.central svg {
    width: 40px;
    height: 40px;
    color: white;
}

.agent-connections {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-node.small {
    position: absolute;
    width: 24px;
    height: 24px;
    background: rgba(124, 58, 237, 0.5);
    border-radius: 50%;
    animation: orbit 4s linear infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
}

.agent-node.small:nth-child(1) { transform: rotate(0deg) translateX(80px); }
.agent-node.small:nth-child(2) { transform: rotate(90deg) translateX(80px); }
.agent-node.small:nth-child(3) { transform: rotate(180deg) translateX(80px); }
.agent-node.small:nth-child(4) { transform: rotate(270deg) translateX(80px); }

@keyframes orbit {
    from { transform: rotate(0deg) translateX(80px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

/* Analytics Visual */
.analytics-visual {
    justify-content: flex-end;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 150px;
    margin-bottom: var(--space-lg);
}

.bar {
    flex: 1;
    height: var(--height);
    background: rgba(124, 58, 237, 0.3);
    border-radius: 4px 4px 0 0;
    transition: all 0.5s ease;
    animation: bar-grow 1s ease-out both;
}

.bar:nth-child(1) { animation-delay: 0.1s; }
.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.3s; }
.bar:nth-child(4) { animation-delay: 0.4s; }
.bar:nth-child(5) { animation-delay: 0.5s; }
.bar:nth-child(6) { animation-delay: 0.6s; }

@keyframes bar-grow {
    from { height: 0; }
    to { height: var(--height); }
}

.bar.highlight {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.chart-label {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-gray-300);
    font-size: 0.875rem;
}

.trend-up {
    color: var(--color-success);
    font-weight: 600;
    font-size: 1.25rem;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* ==========================================================================
   Additional Features
   ========================================================================== */
.additional-features {
    padding: var(--space-4xl) 0;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hover-lift:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(124, 58, 237, 0.2);
}

.feature-shine {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card.gradient {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary-light);
}

.feature-icon.blue { background: rgba(59, 130, 246, 0.2); }
.feature-icon.blue svg { color: #60A5FA; }

.feature-icon.purple { background: rgba(139, 92, 246, 0.2); }
.feature-icon.purple svg { color: #A78BFA; }

.feature-icon.green { background: rgba(16, 185, 129, 0.2); }
.feature-icon.green svg { color: #34D399; }

.feature-icon.orange { background: rgba(245, 158, 11, 0.2); }
.feature-icon.orange svg { color: #FBBF24; }

.feature-card h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    line-height: 1.6;
}

/* ==========================================================================
   Integration Section
   ========================================================================== */
.integration-section {
    padding: var(--space-4xl) 0;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    z-index: 1;
}

.integration-section h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.integration-logos {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin: var(--space-3xl) 0;
}

.integration-logo {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.integration-logo:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.15) translateY(-4px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.integration-logo svg {
    width: 28px;
    height: 28px;
    color: var(--color-gray-300);
    transition: color 0.3s ease;
}

.integration-logo:hover svg {
    color: var(--color-white);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, var(--color-white) 0%, #f0f0f0 100%);
    color: var(--color-dark);
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.25);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button span,
.cta-button svg {
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    color: white;
}

.cta-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   Tech Stack Section
   ========================================================================== */
.tech-stack-section {
    padding: var(--space-4xl) 0;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    transition: all 0.4s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon-wrapper {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.4) 0%, rgba(99, 102, 241, 0.4) 100%);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
}

.tech-icon-wrapper svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary-light);
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon-wrapper svg {
    color: var(--color-white);
    transform: scale(1.1);
}

.tech-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-gray-300);
    transition: color 0.3s ease;
}

.tech-item:hover .tech-name {
    color: var(--color-white);
}

/* ==========================================================================
   Services CTA
   ========================================================================== */
.services-cta {
    padding: var(--space-4xl) 0;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.services-cta .cta-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(99, 102, 241, 0.3) 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-2xl);
    padding: var(--space-4xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-cta .cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    animation: rotate-glow 10s linear infinite;
}

@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.services-cta h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    position: relative;
}

.services-cta p {
    font-size: 1.125rem;
    color: var(--color-gray-300);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
    position: relative;
}

.services-cta .cta-actions {
    display: flex;
    justify-content: center;
    position: relative;
}

/* ==========================================================================
   AOS Animations
   ========================================================================== */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos-delay="50"] { transition-delay: 50ms; }
[data-aos-delay="100"] { transition-delay: 100ms; }
[data-aos-delay="150"] { transition-delay: 150ms; }
[data-aos-delay="200"] { transition-delay: 200ms; }
[data-aos-delay="250"] { transition-delay: 250ms; }
[data-aos-delay="300"] { transition-delay: 300ms; }
[data-aos-delay="350"] { transition-delay: 350ms; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .service-block {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .service-block.reverse {
        direction: ltr;
    }

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

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

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }

    .stat-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 140px 0 60px;
    }

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

    .integration-logos {
        flex-wrap: wrap;
    }

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

    .stat-number {
        font-size: 2rem;
    }

    .hero-stats {
        padding: var(--space-lg);
    }

    .particles-container,
    .gradient-orbs {
        display: none;
    }
}
