/**
 * Services CSS - RankBoost Platform
 * All service pages styling with ser- prefix
 * @package RankBoost
 */

/* ============================================ */
/* SERVICES PAGE LAYOUTS */
/* ============================================ */

.ser-services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ser-services-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.ser-services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.ser-services-hero .ser-highlight {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ser-services-hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Section */
.ser-category-section {
    margin-bottom: 4rem;
}

.ser-category-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.ser-category-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border-radius: 3px;
}

/* Service Cards Grid */
.ser-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
}

.ser-service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
}

.ser-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.ser-card-header {
    padding: 1.5rem 1.5rem 1rem;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-bottom: 1px solid #e2e8f0;
}

.ser-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.ser-card-icon i {
    font-size: 1.8rem;
    color: white;
}

.ser-card-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.ser-card-desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.ser-card-body {
    padding: 1.5rem;
}

.ser-features-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.ser-features-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #475569;
}

.ser-features-list li i {
    color: #10b981;
    font-size: 0.8rem;
    width: 20px;
}

.ser-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.ser-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #64748b;
}

.ser-btn {
    display: inline-block;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.ser-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.ser-btn-outline {
    background: transparent;
    border: 2px solid #6366f1;
    color: #6366f1;
}

.ser-btn-outline:hover {
    background: #6366f1;
    color: white;
}

.ser-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f59e0b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Service Detail Page */
.ser-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.ser-detail-header {
    margin-bottom: 2rem;
}

.ser-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6366f1;
    text-decoration: none;
    margin-bottom: 1rem;
}

.ser-detail-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ser-detail-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.ser-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
}

.ser-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.ser-detail-content h2 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.ser-detail-content h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
}

.ser-detail-content p {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.ser-detail-content ul {
    margin: 1rem 0 1rem 1.5rem;
    color: #475569;
}

.ser-detail-content li {
    margin-bottom: 0.5rem;
}

.ser-sidebar {
    background: #f8fafc;
    border-radius: 20px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.ser-sidebar-price {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.ser-sidebar-price .ser-price-large {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
}

.ser-sidebar-price p {
    color: #64748b;
    margin-top: 0.5rem;
}

.ser-sidebar-btn {
    width: 100%;
    margin-bottom: 1rem;
}

.ser-sidebar-features {
    margin-top: 1.5rem;
}

.ser-sidebar-features h4 {
    margin-bottom: 1rem;
}

.ser-sidebar-features ul {
    list-style: none;
}

.ser-sidebar-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.ser-faq-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.ser-faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.ser-faq-question {
    padding: 1rem;
    background: #f8fafc;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ser-faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ser-faq-item.active .ser-faq-answer {
    padding: 1rem;
    max-height: 500px;
}

/* Contact CTA */
.ser-contact-cta {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    color: white;
    margin-top: 3rem;
}

.ser-contact-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.ser-contact-cta p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .ser-services-grid {
        grid-template-columns: 1fr;
    }
    
    .ser-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .ser-detail-title {
        font-size: 1.8rem;
    }
    
    .ser-category-title {
        font-size: 1.5rem;
    }
    
    .ser-services-hero h1 {
        font-size: 2rem;
    }
    
    .ser-contact-cta {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .ser-detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}