/* ==========================================
   Sub-Page Specific Styles
   ========================================== */

.page-hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a2555 50%, var(--bg-dark) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 128, 56, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content-single {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--accent-light);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 20px;
    color: var(--accent-light);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Content Sections */
.content-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid-sub {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card-sub {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card-sub:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 128, 56, 0.3);
    border-color: var(--primary-color);
}

.service-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.service-card-sub h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-darker);
    margin-bottom: 15px;
}

.service-card-sub p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
}

.benefit-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-darker);
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--accent-metallic);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-metallic);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(255, 128, 56, 0.4),
                inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.process-step h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-darker);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a2555 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 128, 56, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-light);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: var(--accent-light);
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(255, 128, 56, 0.2);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--accent-metallic);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 128, 56, 0.3);
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-darker);
    margin-bottom: 10px;
}

.feature-content p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
}

/* Technologies Section */
.tech-stack-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.tech-stack-item {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--text-darker);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tech-stack-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 128, 56, 0.2);
    border: 2px solid var(--primary-color);
}

/* Use Cases Section */
.use-cases-section {
    padding: 100px 0;
    background: var(--white);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.use-case-card {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 15px;
    transition: var(--transition);
}

.use-case-card:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(255, 128, 56, 0.2);
    transform: translateY(-5px);
}

.use-case-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-darker);
    margin-bottom: 15px;
}

.use-case-card p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
}

.use-case-results {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.result-stat {
    flex: 1;
}

.result-stat h4 {
    font-size: 28px;
    font-weight: 800;
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-stat p {
    font-size: 13px;
    color: var(--text-dark);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid-sub,
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .tech-stack-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .services-grid-sub,
    .benefits-grid,
    .process-timeline,
    .use-cases-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .tech-stack-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-timeline::before {
        display: none;
    }

    .cta-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }

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

/* ==========================================
   FAQ Section
   ========================================== */

.faq-section {
    padding: 100px 0;
    background: var(--white);
}

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

.faq-item {
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(255, 128, 56, 0.15);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-darker);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq-toggle {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px 28px;
}

.faq-answer p {
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

/* Service Categories Grid */
.services-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-category-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.service-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 128, 56, 0.2);
}

.service-category-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.service-category-card p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 15px;
}

