/* ===================================
   🎯 SERVICES SECTION 
   ===================================== */

/* ===== SERVICES SECTION LAYOUT ===== */
.services-section {
    margin: 4rem 0;
}

.services-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.services-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: servicesPulse 3s ease-in-out infinite;
}

@keyframes servicesPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(-5deg); }
}

/* ===== SERVICES GRID & CARDS ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.12) 100%
    );
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.12) 0%, 
        rgba(142, 68, 173, 0.08) 50%,
        rgba(255, 159, 10, 0.10) 100%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    border-radius: 24px;
}

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

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    border-color: rgba(var(--accent-primary-rgb, 0, 122, 255), 0.5);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.2) 100%
    );
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.2),
        0 0 60px rgba(var(--accent-primary-rgb, 0, 122, 255), 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ===== SERVICE CARD VARIANTS ===== */
.service-card.featured {
    border: 2px solid rgba(var(--accent-primary-rgb, 0, 122, 255), 0.6);
    background: linear-gradient(135deg, 
        rgba(var(--accent-primary-rgb, 0, 122, 255), 0.2) 0%, 
        rgba(var(--accent-primary-rgb, 0, 122, 255), 0.1) 50%,
        rgba(var(--accent-primary-rgb, 0, 122, 255), 0.15) 100%
    );
}

.service-card.future {
    border: 2px solid rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.2) 0%, 
        rgba(139, 92, 246, 0.1) 50%,
        rgba(139, 92, 246, 0.15) 100%
    );
}

/* ===== DARK MODE SERVICE CARDS ===== */
.dark-mode .service-card {
    background: linear-gradient(135deg, 
        rgba(20, 20, 30, 0.85) 0%, 
        rgba(15, 15, 25, 0.9) 50%,
        rgba(25, 25, 35, 0.8) 100%
    );
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dark-mode .service-card:hover {
    background: linear-gradient(135deg, 
        rgba(25, 25, 40, 0.9) 0%, 
        rgba(20, 20, 35, 0.95) 50%,
        rgba(30, 30, 45, 0.85) 100%
    );
    border-color: rgba(var(--accent-primary-rgb, 0, 122, 255), 0.4);
}

/* ===== SERVICE HEADER & ICONS ===== */
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.service-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 20px;
    transition: all 0.3s ease;
}

.service-card.future .service-icon-wrapper {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.service-icon-wrapper:hover {
    transform: scale(1.1) rotate(10deg);
}

.service-icon-wrapper i {
    font-size: 1.8rem;
    color: white;
    z-index: 2;
}

.service-icon-glow {
    position: absolute;
    inset: -5px;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 255, 0.3) 0%, 
        transparent 70%
    );
    border-radius: 25px;
    animation: serviceIconGlow 3s ease-in-out infinite;
}

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

/* ===== SERVICE BADGES ===== */
.service-badge {
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-badge.premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: 1px solid #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.service-badge.ai {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: 1px solid #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.service-badge:not(.premium):not(.ai) {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 1px solid #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

/* ===== SERVICE CONTENT ===== */
.service-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ===== SERVICE FEATURES ===== */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature {
    padding: 0.4rem 0.8rem;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(var(--accent-primary-rgb), 0.2);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* ===== SERVICE METRICS ===== */
.service-metrics {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    margin-top: 1rem;
}

.service-metrics .metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0.6rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    flex: 1;
}

.service-metrics .metric:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(var(--accent-primary-rgb, 0, 122, 255), 0.5);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.15);
}

.metric-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 1) 0%, 
        rgba(142, 68, 173, 1) 50%,
        rgba(255, 159, 10, 1) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 2px 4px rgba(0, 122, 255, 0.3));
}

.metric-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== SERVICE GLOW EFFECT ===== */
.service-glow {
    position: absolute;
    bottom: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 250%;
    height: 120%;
    background: radial-gradient(ellipse at center, 
        rgba(var(--accent-primary-rgb), 0.2) 0%, 
        transparent 70%
    );
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.service-card:hover .service-glow {
    opacity: 1;
    bottom: -40%;
} 