/* Service Section - Modern Hexagon Cards */
/* Using Logo Colors: Orange (#FF9A3C), Pink (#FF4D7D), Purple (#8B5CF6), Blue (#3B82F6) */

.service-section-modern {
    padding: 6rem 0;
    background: rgba(13, 17, 23, 0.6);
    position: relative;
    overflow: hidden;
}

.service-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 154, 60, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Header */
.service-section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.service-section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.service-section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
}

/* Cards Grid */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

/* Card Styles */
.service-card-modern {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.service-card-wide {
    grid-column: span 2;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 154, 60, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 154, 60, 0.3);
    box-shadow: 0 15px 40px rgba(255, 154, 60, 0.2);
}

.service-card-modern:hover .service-card-bg {
    opacity: 1;
}

/* Card Content */
.service-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hexagon Icon */
.service-hex-icon-wrapper {
    margin-bottom: 1.5rem;
}

.service-hex-icon {
    width: 80px;
    height: 80px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    transition: all 0.4s ease;
}

.service-card-modern:hover .service-hex-icon {
    transform: rotate(180deg) scale(1.1);
}

.service-hex-orange {
    background: linear-gradient(135deg, #FF9A3C, #FF4D7D);
}

.service-hex-green {
    background: linear-gradient(135deg, #10B981, #059669);
}

.service-hex-purple {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.service-hex-blue {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

/* Text Content */
.service-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.service-card-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Chat Preview */
.service-chat-preview {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.chat-bubble-modern {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    max-width: 80%;
    animation: chat-bubble-appear 0.3s ease;
}

@keyframes chat-bubble-appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-user {
    background: rgba(255, 154, 60, 0.15);
    border: 1px solid rgba(255, 154, 60, 0.3);
    color: rgba(255, 255, 255, 0.9);
    align-self: flex-end;
}

.chat-support {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: rgba(255, 255, 255, 0.9);
    align-self: flex-start;
}

/* Earnings Demo */
.service-earnings-demo {
    background: rgba(255, 154, 60, 0.1);
    border: 1px solid rgba(255, 154, 60, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-top: auto;
}

.service-earnings-demo span {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .service-card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .service-section-modern {
        padding: 4rem 0;
    }
    
    .service-section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card-large,
    .service-card-wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .service-section-title {
        font-size: 2rem;
    }
    
    .service-section-subtitle {
        font-size: 1rem;
    }
    
    .service-card-modern {
        padding: 1.5rem;
    }
    
    .service-hex-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .service-section-modern {
        padding: 3rem 0;
    }
    
    .service-section-header {
        margin-bottom: 2.5rem;
    }
    
    .service-hex-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-card-content h3 {
        font-size: 1.3rem;
    }
}

/* Loading Animation */
@keyframes service-card-load {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-modern {
    animation: service-card-load 0.6s ease forwards;
}
