/* =============================================
   SERVICE DETAIL PAGE STYLES
   ============================================= */

/* Hero */
.service-detail-hero {
    padding: 160px 0 100px;
    position: relative; overflow: hidden;
}
.service-hero-bg { position: absolute; inset: 0; z-index: 0; }
.service-detail-hero .container { position: relative; z-index: 1; }
.breadcrumb-nav {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8rem; color: var(--text-muted);
    margin-bottom: 20px; font-family: var(--font-mono);
}
.breadcrumb-nav a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.breadcrumb-nav a:hover { color: var(--teal-primary); }
.breadcrumb-nav i { font-size: 0.6rem; }
.breadcrumb-nav span { color: var(--teal-primary); }
.service-hero-badge {
    display: inline-block; margin-bottom: 16px;
    font-size: 0.75rem; color: var(--teal-primary);
    background: rgba(45,122,110,0.1); border: 1px solid rgba(45,122,110,0.3);
    padding: 6px 16px; border-radius: 50px;
}
.service-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800; font-family: var(--font-display);
    line-height: 1.2; margin-bottom: 20px;
}
.service-hero-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 32px; max-width: 560px; }
.service-hero-stats { display: flex; gap: 32px; margin-bottom: 32px; flex-wrap: wrap; }
.sh-stat { display: flex; flex-direction: column; gap: 4px; }
.sh-num { font-size: 1.75rem; font-weight: 800; font-family: var(--font-display); line-height: 1; }
.sh-stat span:last-child { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); }
.service-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Code Window */
.service-hero-visual { padding: 0; overflow: hidden; }
.code-window { background: #0a0f14; }
.code-window-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px; background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.code-file-name { font-size: 0.75rem; color: var(--text-muted); margin-left: 8px; }
.code-body { padding: 24px; font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.8; }
.code-line { white-space: pre; }
.code-kw { color: #c792ea; }
.code-fn { color: #82aaff; }
.code-str { color: #c3e88d; }
.code-tag { color: #f07178; }
.code-attr { color: #ffcb6b; }
.pl-2 { padding-left: 16px; }
.pl-4 { padding-left: 32px; }
.pl-6 { padding-left: 48px; }
.code-cursor {
    display: inline-block; width: 8px; height: 16px;
    background: var(--teal-primary); opacity: 0.8;
    animation: blink 1s step-end infinite; margin-left: 2px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Service Type Cards */
.service-type-card {
    padding: 32px; height: 100%;
    transition: transform 0.3s, border-color 0.3s;
}
.service-type-card:hover { transform: translateY(-6px); border-color: rgba(45,122,110,0.4) !important; }
.st-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: rgba(45,122,110,0.12); border: 1px solid rgba(45,122,110,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; color: var(--teal-primary); margin-bottom: 20px;
}
.service-type-card h4 { font-size: 1.05rem; font-weight: 700; font-family: var(--font-display); margin-bottom: 10px; }
.service-type-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* Tech Grid */
.tech-section { background: rgba(255,255,255,0.01); }
.tech-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.tech-item {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 24px 16px; border-radius: 14px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border-color);
    transition: all 0.3s; cursor: default;
}
.tech-item:hover { border-color: rgba(45,122,110,0.4); background: rgba(45,122,110,0.06); transform: translateY(-4px); }
.tech-item i { font-size: 1.75rem; color: var(--teal-primary); }
.tech-item span { font-size: 0.75rem; font-family: var(--font-mono); color: var(--text-muted); }

/* Process Timeline */
.process-timeline { display: flex; flex-direction: column; gap: 0; position: relative; max-width: 760px; margin: 0 auto; }
.process-timeline::before {
    content: ''; position: absolute; left: 28px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--teal-primary), rgba(45,122,110,0.1));
}
.process-step {
    display: flex; gap: 24px; align-items: flex-start;
    padding-bottom: 32px; position: relative;
}
.ps-num {
    width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
    background: var(--teal-gradient); display: flex; align-items: center; justify-content: center;
    font-size: 0.875rem; font-weight: 700; font-family: var(--font-mono);
    color: #fff; position: relative; z-index: 1;
    box-shadow: 0 0 0 4px var(--bg-primary);
}
.ps-content { padding: 24px 28px; flex: 1; }
.ps-content h4 { font-size: 1rem; font-weight: 700; font-family: var(--font-display); margin-bottom: 8px; }
.ps-content p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* UI/UX Visual */
.ux-mockup-visual { padding: 32px; }
.mockup-bar {
    display: flex; gap: 8px; margin-bottom: 20px; align-items: center;
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.r { background: #ff5f56; }
.mockup-dot.y { background: #ffbd2e; }
.mockup-dot.g { background: #27c93f; }
.mockup-url {
    flex: 1; background: rgba(255,255,255,0.06); border-radius: 6px;
    padding: 4px 12px; font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono);
}
.mockup-body { display: flex; flex-direction: column; gap: 10px; }
.mockup-header { height: 40px; background: rgba(45,122,110,0.15); border-radius: 8px; }
.mockup-hero { height: 120px; background: linear-gradient(135deg, rgba(45,122,110,0.1), rgba(99,102,241,0.1)); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.mockup-hero-text { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--teal-primary); }
.mockup-cards { display: flex; gap: 8px; }
.mockup-card { height: 60px; flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--border-color); border-radius: 6px; }

@media (max-width: 992px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 576px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } .process-timeline::before { display: none; } }
