/**
 * Single Service Page Styles - Unique Layout
 *
 * @package SMX_Pages
 */

.smx-service-single {
    width: 100%;
    background: #0a0418;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

/* Floating Hero Section */
.smx-floating-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 60px 20px;
    margin-bottom: 80px;
}

.smx-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.smx-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.smx-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.smx-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.2), rgba(9, 2, 19, 0.7));
}

.smx-hero-content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.smx-hero-content {
    max-width: 700px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.smx-service-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(106, 28, 184, 0.2));
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.smx-tag-icon {
    font-size: 16px;
}

.smx-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff, #c8b5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.smx-hero-excerpt {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 35px;
    line-height: 1.6;
}

.smx-hero-meta-strip {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.smx-meta-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.smx-meta-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.smx-meta-value {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.smx-hero-actions {
    margin-top: 30px;
}

.smx-primary-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #8a2be2 0%, #6a1cb8 100%);
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
}

.smx-primary-action:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.6);
    background: linear-gradient(135deg, #6a1cb8 0%, #8a2be2 100%);
}

/* Split Content Layout */
.smx-split-layout {
    max-width: 1400px;
    margin: 0 auto 100px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
}

/* Sidebar */
.smx-content-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.smx-highlights-panel {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(9, 2, 19, 0.3));
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.smx-panel-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 25px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.smx-title-icon {
    font-size: 24px;
}

.smx-highlights-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.smx-highlight-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.smx-point-marker {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    background: #8a2be2;
    border-radius: 50%;
    margin-top: 8px;
    position: relative;
}

.smx-point-marker::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: rgba(138, 43, 226, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.smx-point-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.5;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.smx-info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
}

.smx-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 25px;
    color: #ffffff;
}

.smx-card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.smx-fact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.smx-fact-item:hover {
    background: rgba(138, 43, 226, 0.1);
    transform: translateX(5px);
}

.smx-fact-icon {
    font-size: 20px;
}

.smx-fact-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
}

/* Main Content */
.smx-main-content {
    max-width: 800px;
}

.smx-content-section {
    margin-bottom: 80px;
}

.smx-section-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 50px;
}

.smx-heading-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8a2be2, #6a1cb8);
    border-radius: 2px;
}

.smx-heading-text {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.smx-rich-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.8;
}

.smx-rich-content > * {
    margin-bottom: 25px;
}

.smx-rich-content h2 {
    font-size: 1.75rem;
    margin: 50px 0 25px;
    color: #ffffff;
    font-weight: 700;
}

.smx-rich-content h3 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: #ffffff;
    font-weight: 600;
}

.smx-rich-content h4 {
    font-size: 1.25rem;
    margin: 30px 0 15px;
    color: #ffffff;
    font-weight: 600;
}

.smx-rich-content p {
    margin-bottom: 25px;
}

.smx-rich-content ul,
.smx-rich-content ol {
    margin: 25px 0;
    padding-left: 25px;
}

.smx-rich-content li {
    margin-bottom: 12px;
    position: relative;
}

.smx-rich-content ul li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 12px;
    width: 6px;
    height: 6px;
    background: #8a2be2;
    border-radius: 50%;
}

.smx-rich-content a {
    color: #8a2be2;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.smx-rich-content a:hover {
    border-bottom-color: #8a2be2;
}

.smx-rich-content blockquote {
    border-left: 4px solid #8a2be2;
    padding: 25px 35px;
    margin: 30px 0;
    background: rgba(138, 43, 226, 0.05);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.125rem;
}

.smx-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Sticky Footer CTA */
.smx-sticky-footer {
    position: sticky;
    bottom: 0;
    z-index: 100;
    background: rgba(10, 4, 24, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(138, 43, 226, 0.3);
    padding: 25px 0;
}

.smx-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.smx-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.smx-footer-text {
    flex: 1;
    min-width: 300px;
}

.smx-footer-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px;
    color: #ffffff;
}

.smx-footer-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 15px;
}

.smx-footer-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.smx-footer-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #8a2be2 0%, #6a1cb8 100%);
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.smx-footer-cta:hover {
    background: linear-gradient(135deg, #6a1cb8 0%, #8a2be2 100%);
    transform: translateY(-2px);
}

.smx-back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.smx-back-link:hover {
    color: #8a2be2;
    gap: 12px;
}

/* Modern Services Grid */
.smx-modern-services {
    max-width: 1400px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.smx-services-header {
    text-align: center;
    margin-bottom: 60px;
}

.smx-services-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.smx-services-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.smx-services-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.smx-service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.smx-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8a2be2, #6a1cb8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.smx-service-card:hover {
    background: rgba(138, 43, 226, 0.05);
    border-color: rgba(138, 43, 226, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.15);
}

.smx-service-card:hover::before {
    opacity: 1;
}

.smx-card-badge {
    display: inline-block;
    background: rgba(138, 43, 226, 0.2);
    color: #8a2be2;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.smx-card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #ffffff;
}

.smx-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.smx-card-title a:hover {
    color: #8a2be2;
}

.smx-card-excerpt {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 25px;
    font-size: 15px;
    line-height: 1.6;
}

.smx-card-actions {
    margin-top: 20px;
}

.smx-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8a2be2;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.smx-card-link:hover {
    gap: 12px;
    color: #9a3bf2;
}

.smx-services-footer {
    text-align: center;
}

.smx-view-all-btn {
    display: inline-block;
    background: rgba(138, 43, 226, 0.1);
    color: #8a2be2;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
}

.smx-view-all-btn:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.5);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .smx-split-layout {
        grid-template-columns: 300px 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .smx-floating-hero {
        min-height: 70vh;
        padding: 40px 20px;
    }
    
    .smx-hero-content {
        padding: 40px;
    }
    
    .smx-split-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .smx-content-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .smx-highlights-panel,
    .smx-info-card {
        margin: 0;
    }
    
    .smx-services-mosaic {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .smx-hero-content {
        padding: 30px;
    }
    
    .smx-hero-title {
        font-size: 2rem;
    }
    
    .smx-hero-excerpt {
        font-size: 1.125rem;
    }
    
    .smx-hero-meta-strip {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .smx-meta-chip {
        min-width: 100%;
    }
    
    .smx-footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .smx-footer-text {
        min-width: auto;
    }
    
    .smx-section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .smx-heading-line {
        width: 40px;
    }
    
    .smx-services-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .smx-floating-hero {
        min-height: 60vh;
    }
    
    .smx-hero-content {
        padding: 25px;
    }
    
    .smx-primary-action,
    .smx-footer-cta {
        width: 100%;
        justify-content: center;
    }
    
    .smx-footer-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .smx-split-layout,
    .smx-modern-services {
        padding: 0 15px;
    }
    
    .smx-services-mosaic {
        grid-template-columns: 1fr;
    }
}