/* ========================================
   Service Page Styles
   ======================================== */

/* Service Hero */
.service-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.service-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(124, 58, 237, 0.8) 100%);
}

.service-hero-content {
    position: relative;
    z-index: 1;
    color: white;
    width: 100%;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: underline;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

.service-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.service-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 800px;
}

/* Service Overview */
.service-overview {
    padding: 6rem 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-content h2 {
    font-size: 2.3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.overview-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.overview-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.overview-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.overview-image:hover img {
    transform: scale(1.05);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.highlight-box h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.highlight-box ul {
    list-style: none;
}

.highlight-box li {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-light);
    padding-left: 0.5rem;
}

/* Features Tabs */
.service-features {
    padding: 1rem 0;
    background: var(--light-bg);
}

.features-tabs {
    margin-top: 3rem;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.tab-text h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.tab-text > p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 1rem 0;
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    border-bottom: 1px solid var(--border-color);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

.tab-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tab-image img {
    width: 100%;
    height: auto;
}

/* Process Steps */
.service-process {
    padding: 6rem 0;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
}

.process-step {
    flex: 1;
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.8;
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Benefits Grid */
.service-benefits {
    padding: 6rem 0;
    background: var(--light-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 1rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Case Study */
.case-study {
    padding: 6rem 0;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.case-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.case-industry {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.case-card h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.case-results {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.case-metric {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.case-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Pricing */
.service-pricing {
    padding: 6rem 0;
    background: var(--light-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
}

.price-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 1rem 0;
    color: var(--text-light);
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
}

/* Service CTA */
.service-cta {
    padding: 6rem 2rem;
    background: var(--gradient-primary);
    text-align: center;
}

.service-cta h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 800;
}

.service-cta p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    user-select: none;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Tools Section */
.tools-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.tool-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.tool-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.tool-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Statistics Section */
.stats-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-box {
    text-align: center;
}

.stat-box-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-box-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.stat-box-description {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Comparison Table */
.comparison-section {
    padding: 6rem 0;
}

.comparison-table {
    width: 100%;
    margin-top: 3rem;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table thead {
    background: var(--gradient-primary);
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: left;
}

.comparison-table th {
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table tbody tr {
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tbody tr:hover {
    background: var(--light-bg);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.check-mark {
    color: #10b981;
    font-size: 1.3rem;
}

.cross-mark {
    color: #ef4444;
    font-size: 1.3rem;
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.timeline {
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Video Section */
.video-section {
    padding: 6rem 0;
    background: var(--dark-bg);
    color: white;
}

.video-container {
    max-width: 900px;
    margin: 3rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-placeholder {
    position: relative;
    padding-bottom: 56.25%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.video-play-btn:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

/* Testimonial Section */
.testimonial-section {
    padding: 6rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.author-info h5 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .overview-grid,
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tab-image {
        order: -1;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-dot {
        left: 30px;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .service-hero {
        height: 50vh;
        min-height: 400px;
    }

    .service-hero h1 {
        font-size: 2.5rem;
    }

    .service-hero-subtitle {
        font-size: 1.1rem;
    }

    .overview-content h2,
    .tab-text h3 {
        font-size: 1.8rem;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .tab-grid {
        padding: 2rem;
    }

    .benefits-grid,
    .pricing-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .case-results {
        flex-direction: column;
        gap: 1rem;
    }

    .service-cta h2 {
        font-size: 2rem;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-box-number {
        font-size: 2.5rem;
    }
}
