/* ========== Inner Service Pages Styles ========== */

/* Service Hero */
.service-hero {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 12, 0.85), rgba(10, 10, 12, 0.95));
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
}

.service-icon-lg {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 0 30px var(--primary-glow);
}

.service-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.service-hero-content > p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 20px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb i {
    font-size: 0.6rem;
    opacity: 0.5;
}

.breadcrumb span {
    color: var(--primary);
    font-weight: 600;
}

/* Page-Level Breadcrumb (for non-service pages) */
.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 15px 8%;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 100;
    margin-top: 70px;
    flex-wrap: wrap;
}

.page-breadcrumb a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.page-breadcrumb a:hover {
    color: var(--primary);
}

.page-breadcrumb i {
    font-size: 0.6rem;
    opacity: 0.5;
}

.page-breadcrumb .current {
    color: var(--primary);
    font-weight: 600;
}

/* Overview Section */
.service-overview {
    padding: 100px 8%;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.overview-text p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.8;
}

.overview-highlights {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.highlight-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Code Preview */
.code-preview {
    padding: 0 !important;
    overflow: hidden;
}

.code-header {
    display: flex;
    gap: 8px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.code-preview pre {
    padding: 25px;
    font-size: 0.9rem;
    line-height: 1.8;
    overflow-x: auto;
}

.code-keyword { color: #c084fc; }
.code-var { color: #60a5fa; }
.code-func { color: #34d399; }
.code-prop { color: #f472b6; }
.code-string { color: #fbbf24; }

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    margin: 0 auto;
    background: #1a1a2e;
    border-radius: 35px;
    padding: 12px;
    border: 2px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.phone-screen {
    background: #0f0f1e;
    border-radius: 25px;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.app-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-card {
    height: 100px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    animation: cardPulse 2s ease-in-out infinite alternate;
}

.app-card.short { height: 60px; }

@keyframes cardPulse {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.app-nav {
    display: flex;
    justify-content: space-around;
    padding: 15px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* Service Detail Cards */
.service-detail-card {
    text-align: center;
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.service-detail-card:hover .card-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--primary-glow);
}

.service-detail-card h3 {
    margin-bottom: 12px;
}

.service-detail-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Tech Stack */
.tech-stack-section {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all 0.4s ease;
    cursor: default;
}

.tech-item i {
    font-size: 2.2rem;
    color: var(--primary);
}

.tech-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.tech-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.tech-item:hover i {
    color: white;
}

/* Process Timeline */
.process-timeline {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0.3;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.step-number {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    background-color: var(--bg-dark);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 8%;
}

.cta-box {
    text-align: center;
    padding: 60px 40px !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1)) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}

.cta-box h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-box:hover {
    transform: none !important;
}

/* Responsive */
@media (max-width: 968px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .page-breadcrumb {
        margin-top: 60px;
    }
}
