/* Service Detail Page - Feature Spotlight */

/* Global Variables (Scoped to this page if needed, but using global vars where possible) */
:root {
    --sd-hero-bg: #f8fafc;
    --sd-sidebar-width: 320px;
    --sd-content-width: 720px;
}

[data-theme="dark"] {
    --sd-hero-bg: #0f172a;
}

/* Page Layout */
.service-detail-page {
    background: var(--bg-color);
}

/* 1. Split Hero Section */
.sd-hero {
    padding: 160px 0 80px;
    background: var(--sd-hero-bg);
    border-bottom: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

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

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

.hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 500;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--brand-blue);
}

.meta-separator {
    color: var(--card-border);
}

.meta-current {
    color: var(--text-primary);
}

.sd-title {
    font-size: clamp(48px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.sd-lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Visual (Right Side) */
.hero-visual {
    position: relative;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.15);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.sd-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-visual:hover .sd-hero-img {
    transform: scale(1.05);
}

.sd-hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sd-hero-placeholder::after {
    content: 'Visual';
    font-size: 24px;
    color: var(--text-secondary);
    font-weight: 600;
    opacity: 0.3;
}


/* 2. Main Content Layout (Sidebar Layout) */
.sd-main {
    padding: 80px 0 120px;
}

.sd-grid {
    display: grid;
    grid-template-columns: 1fr var(--sd-sidebar-width);
    gap: 80px;
    align-items: start;
}

/* Left: Content Column */
.sd-content {
    max-width: var(--sd-content-width);
}

.long-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.long-description h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 48px 0 24px;
    line-height: 1.2;
}

.long-description h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 16px;
}

.long-description p {
    margin-bottom: 24px;
}

.long-description ul {
    margin-bottom: 32px;
    padding-left: 0;
    list-style: none;
}

.long-description li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.long-description li::before {
    content: '•';
    color: var(--brand-blue);
    font-weight: bold;
    position: absolute;
    left: 8px;
    top: 0;
}


/* Right: Sticky Sidebar */
.sd-sidebar {
    position: sticky;
    top: 120px;
    /* Below navbar */
}

.sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 16px;
}

.key-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.key-benefits-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.4;
}

.kb-icon {
    color: var(--brand-blue);
}

.sidebar-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}


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

    .hero-visual {
        height: 400px;
        order: -1;
        /* Image on top on mobile? Or keep bottom */
    }

    .sd-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .sd-sidebar {
        position: static;
    }
}