/* SLA Service Page Styles */

/* CSS Variables - Matching Main Page */
:root {
    --ink: #1a1a2e;           /* 深蓝色墨水：标题/粗体 */
    --ink-2: #16213e;         /* 次级深蓝色文字 */
    --cream: #f8f6f0;         /* 淡黄色纸张背景 */
    --lavender: #0f3460;      /* 深蓝色主色调 */
    --lavender-2: #16213e;    /* 悬停/高亮深蓝色 */
    --line: rgba(26,26,46,0.15); /* 深蓝色分割线/边框 */
    --shadow: 0 8px 28px rgba(26,26,46,0.15);
}

/* Main Layout */
.sla-service-main {
    background: var(--cream);
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    padding: 80px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-width: 100%;
    min-height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 8vw;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.2px;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* Grid Sections */
.grid-section {
    padding: 80px 0;
    background: var(--cream);
}

.grid-section:nth-child(even) {
    background: #f5f3ed;
}

.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8vw;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Grid Cards */
.grid-card {
    background: var(--cream);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--line);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(43, 46, 109, 0.15);
}

.card-image {
    width: 100%;
    height: 120px;
    background: var(--lavender-2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
}

.card-image svg {
    width: 32px;
    height: 32px;
}

.card-content {
    padding: 32px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 20px 0;
    letter-spacing: 0.3px;
}

/* Service Lists */
.service-list, .capability-list, .workflow-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.service-list li, .capability-list li, .workflow-list li {
    padding: 8px 0;
    color: var(--ink-2);
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.service-list li, .capability-list li {
    padding-left: 24px;
}

.service-list li:last-child, .capability-list li:last-child, .workflow-list li:last-child {
    border-bottom: none;
}

.service-list li::before, .capability-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--lavender);
    font-weight: bold;
}

.workflow-list {
    counter-reset: step-counter;
}

.workflow-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 32px;
}

.workflow-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 8px;
    background: var(--lavender);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Pricing Content */
.pricing-content {
    color: #4a5568;
    font-size: 0.9rem;
    flex: 1;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-row:last-of-type {
    border-bottom: none;
}

.pricing-label {
    font-weight: 500;
    color: #374151;
    flex: 1;
}

.pricing-value {
    font-weight: 600;
    color: #667eea;
    text-align: right;
    margin-left: 8px;
}

.pricing-note {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.pricing-note small {
    color: #667eea;
    font-style: italic;
    font-size: 0.8rem;
}

/* FAQ Content */
.faq-content {
    color: var(--ink-2);
    flex: 1;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 8px 0;
}

.faq-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Contact Content */
.contact-content {
    color: var(--ink-2);
    flex: 1;
}

.contact-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 8px 0;
}

.contact-link {
    color: var(--lavender);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--lavender-2);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 6vw;
    }
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px;
        min-height: 50vh;
    }
    
    .hero-content {
        padding: 0 4vw;
        text-align: center;
        max-width: 60%;
        width: 60%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 6px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 4vw;
        box-sizing: border-box;
    }
    
    .grid-section {
        padding: 40px 0;
    }
    
    .grid-card {
        border-radius: 16px;
        box-sizing: border-box;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-title {
        font-size: 1.4rem;
        margin-bottom: 16px;
    }
    
    .service-list li,
    .capability-list li,
    .workflow-list li {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .pricing-content {
        font-size: 0.9rem;
    }
    
    .pricing-row {
        margin-bottom: 8px;
    }
    
    .faq-item h3 {
        font-size: 0.95rem;
    }
    
    .faq-item p {
        font-size: 0.85rem;
    }
    
    .contact-item h3 {
        font-size: 0.95rem;
    }
    
    .contact-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 4vw;
    }
    .hero-title {
        font-size: 1.4rem;
    }
    .hero-subtitle {
        font-size: 0.75rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .grid-container {
        padding: 0 3vw;
    }
    .card-content {
        padding: 20px 16px;
    }
    .card-title {
        font-size: 1.3rem;
    }
}
