/* =================================================================
   OUR SERVICES PAGE - ADDITIONAL STYLES
================================================================= */

/* Services Hero Section */
.services-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at center, rgba(52, 143, 80, 0.15) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 0h100v100H0z' fill='none'/%3E%3Cpath d='M20 20h60v60H20z' fill='none' stroke='%23348f50' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E") repeat;
    opacity: 0.05;
}

.services-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.services-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.services-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(52, 143, 80, 0.15);
    border-color: rgba(86, 180, 211, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #56b4d3;
    margin-bottom: 10px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Services Filter */
.services-filter {
    padding: 20px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: var(--navbar-height);
    z-index: 100;
    backdrop-filter: blur(20px);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-tab {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.filter-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-tab:hover,
.filter-tab.active {
    border-color: #56b4d3;
    color: white;
    transform: translateY(-2px);
}

.filter-tab:hover::before,
.filter-tab.active::before {
    left: 0;
}

.filter-tab.active {
    background: var(--primary-gradient);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(52, 143, 80, 0.3);
}

/* Services Section */
.services-section {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(52, 143, 80, 0.15);
    border-color: rgba(86, 180, 211, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(52, 143, 80, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.service-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-badge.popular {
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    color: white;
}

.service-badge.advanced {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.service-badge.pro {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.service-badge.premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

.service-badge.stable {
    background: linear-gradient(135deg, #00d4aa, #00e5ff);
    color: white;
}

.service-badge.trending {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: #333;
}

.service-badge.enterprise {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

.service-badge.exclusive {
    background: linear-gradient(135deg, #8360c3, #2ebf91);
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card > p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.service-features {
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #00d4aa;
    border-radius: 50%;
    flex-shrink: 0;
}

.service-pricing {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(86, 180, 211, 0.05);
    border: 1px solid rgba(86, 180, 211, 0.1);
    border-radius: var(--border-radius);
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: #56b4d3;
}

.price-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.service-btn {
    width: 100%;
    padding: 15px;
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-btn:hover {
    transform: translateY(-2px);
}

/* Service Comparison Table */
.service-comparison {
    overflow-x: auto;
}

.comparison-table {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.comparison-header,
.comparison-row,
.comparison-footer {
    display: grid;
    grid-template-columns: 200px repeat(3, 1fr);
    align-items: center;
}

.comparison-header {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
    padding: 30px 20px;
}

.comparison-plan {
    text-align: center;
    position: relative;
    padding: 20px;
}

.comparison-plan.featured {
    background: rgba(86, 180, 211, 0.1);
    border: 2px solid #56b4d3;
    border-radius: var(--border-radius);
    margin: -10px;
    transform: scale(1.05);
}

.comparison-plan h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.plan-price {
    font-size: 2rem;
    font-weight: 800;
    color: #56b4d3;
    margin-bottom: 10px;
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.comparison-body {
    padding: 0;
}

.comparison-row {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.comparison-row:hover {
    background: rgba(86, 180, 211, 0.05);
}

.comparison-feature {
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-value {
    text-align: center;
    color: var(--text-secondary);
    font-weight: 500;
}

.comparison-footer {
    padding: 30px 20px;
    background: var(--bg-secondary);
    border-top: 2px solid var(--border-color);
}

.comparison-action {
    text-align: center;
    padding: 0 10px;
}

.comparison-action .btn {
    width: 100%;
    padding: 12px 20px;
}

/* FAQ Section */
.services-faq .faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(52, 143, 80, 0.1);
    border-color: rgba(86, 180, 211, 0.3);
}

.faq-question {
    width: 100%;
    background: var(--bg-card);
    border: none;
    padding: 25px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.faq-answer.active {
    padding: 25px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.faq-icon {
    transition: var(--transition);
    color: #56b4d3;
    font-weight: bold;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* CTA Section */
.services-cta {
    background: var(--primary-gradient);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
}

.cta-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: #348f50;
    border-color: white;
}

/* Service Filtering Animation */
.service-card.filtered-out {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.service-card.filtered-in {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Enhanced Hover Effects */
.service-card .service-btn {
    position: relative;
    overflow: hidden;
}

.service-card .service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.service-card:hover .service-btn::before {
    left: 100%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .services-hero {
        min-height: 50vh;
        padding: 100px 0 60px;
    }

    .services-hero h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .services-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .filter-tabs {
        gap: 10px;
        padding: 0 20px;
    }

    .filter-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .service-card {
        padding: 25px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .comparison-header,
    .comparison-row,
    .comparison-footer {
        grid-template-columns: 150px repeat(3, 1fr);
        font-size: 0.9rem;
    }

    .comparison-plan {
        padding: 15px 10px;
    }

    .plan-price {
        font-size: 1.5rem;
    }

    .comparison-plan.featured {
        transform: none;
        margin: 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .services-hero h1 {
        font-size: 2rem;
    }

    .services-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 20px;
    }

    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }

    .filter-tab {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }

    .service-card {
        padding: 20px;
    }

    .service-icon-wrapper {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-header,
    .comparison-row,
    .comparison-footer {
        grid-template-columns: 120px repeat(3, 1fr);
    }

    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }

    .faq-answer.active {
        padding: 20px;
    }
}

/* Dark Mode Specific Adjustments */
[data-theme="dark"] .services-filter {
    background: rgba(26, 26, 26, 0.95);
}

[data-theme="dark"] .service-pricing {
    background: rgba(86, 180, 211, 0.08);
    border-color: rgba(86, 180, 211, 0.15);
}

[data-theme="dark"] .comparison-plan.featured {
    background: rgba(86, 180, 211, 0.15);
}

/* Light Mode Specific Adjustments */
[data-theme="light"] .services-filter {
    background: rgba(248, 249, 250, 0.95);
}

[data-theme="light"] .service-pricing {
    background: rgba(52, 143, 80, 0.05);
    border-color: rgba(52, 143, 80, 0.1);
}

[data-theme="light"] .comparison-plan.featured {
    background: rgba(52, 143, 80, 0.1);
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    .service-icon {
        animation: none;
    }
    
    .service-card {
        transition: none;
    }
    
    .filter-tab::before {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border-width: 2px;
    }
    
    .filter-tab {
        border-width: 3px;
    }
    
    .comparison-table {
        border-width: 2px;
    }
}

/* Focus styles for better accessibility */
.filter-tab:focus,
.service-btn:focus,
.faq-question:focus {
    outline: 3px solid #56b4d3;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .services-filter,
    .services-cta,
    .chat-widget,
    .scroll-top {
        display: none;
    }
    
    .service-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}