/* ==========================================
   软果科技 - 企业官网
   配色方案：蓝图白×行动橙
   技术栈：CSS Variables + Flexbox + Grid
   ========================================== */

/* ========== CSS Variables ========== */
:root {
    /* 色彩 */
    --color-bg: #fbfbfc;
    --color-surface: #ffffff;
    --color-light-bg: #f0f2f5;
    --color-text-primary: #1a1f2e;
    --color-text-secondary: #5f6368;
    --color-border: #e8eaed;
    --color-accent: #ec652b;
    --color-accent-hover: #d95a24;
    --color-blue-tag: #e8f0fe;
    --color-green-tag: #e6f4ea;
    --color-status-green: #16ca2e;
    --color-footer: #1a1f2e;
    --color-footer-text: #ffffff;
    --color-placeholder: #9aa0a6;
    --color-grid-dot: rgba(0,0,0,0.03);

    /* 阴影 */
    --shadow-card: rgba(0,0,0,0.04) 0px 2px 8px;
    --shadow-card-hover: rgba(0,0,0,0.08) 0px 2px 12px;

    /* 圆角 */
    --radius-card: 8px;
    --radius-btn: 8px;
    --radius-input: 8px;
    --radius-tag: 4px;
    --radius-timeline-dot: 12px;
    --radius-avatar: 50%;

    /* 间距 */
    --space-unit: 8px;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 48px;
    --space-2xl: 80px;

    /* 字体 */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Roboto Mono', 'IBM Plex Mono', monospace;

    /* 布局 */
    --max-width: 1200px;
    --nav-height: 64px;
}

/* ========== Reset ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-secondary);
    background-color: var(--color-bg);
    /* 点阵网格底纹 */
    background-image: radial-gradient(circle, var(--color-grid-dot) 1px, transparent 1px);
    background-size: 12px 12px;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ========== Container ========== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== Navigation ========== */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    height: var(--nav-height);
    transition: border-color 200ms ease-out;
}

.nav.scrolled {
    border-bottom-color: #d0d4d8;
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-btn);
    transition: color 200ms ease-out, background-color 200ms ease-out;
    position: relative;
}

.nav-links a:hover {
    color: var(--color-text-primary);
    background: rgba(26,31,46,0.04);
}

.nav-links a.active {
    color: var(--color-text-primary);
    font-weight: 500;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    height: 2px;
    background: var(--color-accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    border: none;
    cursor: pointer;
    transition: background-color 200ms ease-out, transform 200ms ease-out;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--color-accent);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    border: 1px solid var(--color-accent);
    cursor: pointer;
    transition: background-color 200ms ease-out, transform 200ms ease-out;
}

.btn-secondary:hover {
    background: rgba(236,101,43,0.05);
    transform: translateY(-1px);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 200ms ease-out;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all 200ms ease-out;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Section ========== */
.section {
    padding: var(--space-2xl) 0;
}

.section-alt {
    background: var(--color-light-bg);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== Hero ========== */
.hero {
    padding: var(--space-2xl) 0;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: var(--space-xl);
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: 0.01em;
    margin-bottom: var(--space-lg);
}

.hero-label::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4285f4;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
}

.hero-panel {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.metric-card {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    padding: var(--space-md);
    text-align: center;
    box-shadow: var(--shadow-card);
}

.metric-number {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
}

.metric-label {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--color-text-secondary);
    margin-top: var(--space-xs);
}

.hero-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    z-index: 1;
}

.flow-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent);
}

.flow-label {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text-secondary);
    text-align: center;
}

.flow-arrow {
    flex: 1;
    height: 2px;
    background: var(--color-border);
    position: relative;
    margin: 0 4px;
    margin-bottom: 24px;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--color-border);
    border-right: 2px solid var(--color-border);
    transform: rotate(45deg);
}

/* ========== Capability Matrix ========== */
.matrix-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.matrix-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
}

.matrix-table th,
.matrix-table td {
    padding: 12px 16px;
    text-align: center;
    border-radius: var(--radius-card);
    white-space: nowrap;
}

.matrix-table th {
    background: var(--color-light-bg);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
}

.matrix-table th:first-child,
.matrix-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--color-text-primary);
}

.matrix-table tbody tr:nth-child(odd) td {
    background: var(--color-bg);
}

.matrix-table tbody tr:nth-child(even) td {
    background: var(--color-surface);
}

.matrix-table tbody tr:hover td {
    background: var(--color-light-bg);
    cursor: default;
}

.check-full, .check-half, .check-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.check-full {
    background: var(--color-accent);
}

.check-full::after {
    content: '';
    width: 4px;
    height: 8px;
    border: 2px solid #ffffff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    margin-top: -2px;
}

.check-half {
    border: 2px solid var(--color-border);
}

.check-half::after {
    content: '';
    width: 4px;
    height: 8px;
    border: 2px solid var(--color-border);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* ========== Timeline ========== */
.timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.timeline-item {
    display: flex;
    gap: var(--space-lg);
    position: relative;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 24px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
    flex-shrink: 0;
    transition: background-color 300ms ease-out;
}

.timeline-dot.visible {
    background: var(--color-accent);
    animation: pulse 300ms ease-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: var(--color-border);
    margin-top: 4px;
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-card {
    flex: 1;
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: var(--space-lg);
    transition: box-shadow 200ms ease-out;
    cursor: pointer;
}

.timeline-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.timeline-tags {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.tag-problem {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-tag);
    background: var(--color-light-bg);
    color: var(--color-text-secondary);
}

.tag-solution {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-tag);
    background: var(--color-blue-tag);
    color: var(--color-text-primary);
}

.tag-result {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-tag);
    background: var(--color-green-tag);
    color: var(--color-accent);
}

.timeline-client {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.timeline-desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.timeline-result {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent);
}

/* ========== Team & Credentials ========== */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.team-members {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-avatar);
    background: var(--color-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
}

.team-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-primary);
}

.team-role {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-secondary);
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.cred-badges {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.cred-badge {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-card);
    background: var(--color-light-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    filter: grayscale(1);
    opacity: 0.6;
    transition: filter 400ms ease-out, opacity 200ms ease-out;
    cursor: pointer;
}

.cred-badge:hover {
    filter: grayscale(0);
    opacity: 1;
}

.cred-badge-icon {
    font-size: 32px;
}

.cred-badge-label {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text-secondary);
    text-align: center;
}

.trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    padding-top: var(--space-lg);
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-family: var(--font-mono);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.trust-number::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-accent);
    margin: var(--space-sm) auto 0;
}

.trust-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-secondary);
}

/* ========== CTA Form ========== */
.cta-section {
    background: var(--color-light-bg);
    padding: var(--space-2xl) 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: var(--space-lg);
}

.cta-form {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: var(--space-xl);
}

.cta-form h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.form-input {
    width: 100%;
    background: var(--color-surface);
    border: none;
    border-bottom: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-primary);
    transition: border-color 200ms ease-out, border-width 200ms ease-out;
    outline: none;
}

.form-input::placeholder {
    color: var(--color-placeholder);
}

.form-input:focus {
    border-bottom-color: var(--color-accent);
    border-bottom-width: 2px;
}

.form-input.error {
    border-bottom-color: #e74c3c;
}

.form-error-msg {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 4px;
    display: none;
}

.form-input.error + .form-error-msg {
    display: block;
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.cta-submit {
    width: 100%;
    margin-top: var(--space-sm);
}

.cta-receipt {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.cta-receipt.hidden {
    opacity: 0.5;
    pointer-events: none;
}

.cta-receipt-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-blue-tag);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.cta-receipt-icon::after {
    content: '';
    width: 6px;
    height: 12px;
    border: 3px solid var(--color-accent);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    margin-top: -2px;
}

.cta-receipt h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.cta-receipt p {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-secondary);
}

.form-success-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.form-success-overlay.show {
    display: flex;
}

.form-success-card {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card-hover);
    padding: var(--space-xl);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: fadeInUp 500ms ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Footer ========== */
.footer {
    background: var(--color-footer);
    color: var(--color-footer-text);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-footer-text);
}

.footer-brand p {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.footer-links a {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-sm);
    transition: color 200ms ease-out;
}

.footer-links a:hover {
    color: var(--color-footer-text);
}

.footer-contact p {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-copyright {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
}

.footer-seo {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.3);
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ========== Page Header (Internal Pages) ========== */
.page-header {
    padding: var(--space-2xl) 0 var(--space-xl);
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.page-header p {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Services Grid ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: var(--space-lg);
    transition: box-shadow 200ms ease-out;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-card);
    background: var(--color-blue-tag);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: var(--space-md);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.service-card p {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-secondary);
    flex: 1;
    margin-bottom: var(--space-md);
}

.service-card .btn-text {
    margin-top: auto;
}

/* ========== Case Studies Grid ========== */
.filter-bar {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.filter-tag {
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: var(--radius-btn);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 200ms ease-out;
}

.filter-tag:hover,
.filter-tag.active {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(236,101,43,0.05);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.case-card {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: var(--space-lg);
    transition: box-shadow 200ms ease-out;
    cursor: pointer;
}

.case-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.case-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.case-client-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-card);
    background: var(--color-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent);
    filter: grayscale(1);
    transition: filter 400ms ease-out;
}

.case-card:hover .case-client-logo {
    filter: grayscale(0);
}

.case-client-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.case-client-info span {
    font-size: 12px;
    color: var(--color-text-secondary);
}

/* ========== About Page ========== */
.about-intro {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
    text-align: center;
}

.about-timeline {
    margin-bottom: var(--space-2xl);
}

.about-timeline-item {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.about-year {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent);
    min-width: 80px;
    padding-top: 4px;
}

.about-event {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: var(--space-lg);
    flex: 1;
}

.about-event h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.about-event p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* ========== Contact Page ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-info-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-card);
    background: var(--color-blue-tag);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.contact-map {
    background: var(--color-light-bg);
    border-radius: var(--radius-card);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    font-size: 14px;
    margin-top: var(--space-lg);
}

/* ========== Case Detail Page ========== */
.case-detail-header {
    background: var(--color-light-bg);
    padding: var(--space-2xl) 0;
    text-align: center;
}

.case-detail-header .case-client-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-card);
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-accent);
    margin: 0 auto var(--space-md);
}

.case-detail-section {
    padding: var(--space-xl) 0;
}

.case-detail-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.case-detail-section p,
.case-detail-section li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.case-detail-section ul {
    list-style: disc;
    padding-left: 20px;
}

.case-result-highlight {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-accent);
    display: inline-block;
    margin: var(--space-md) 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

/* ========== Scroll Animation ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero .container {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-2xl: 48px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-xs);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-actions .btn-secondary.nav-text-link {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .hero-flow {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .flow-arrow {
        display: none;
    }

    .matrix-table {
        font-size: 12px;
    }

    .matrix-table th,
    .matrix-table td {
        padding: 8px 10px;
    }

    .timeline-item {
        gap: var(--space-md);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .cta-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .about-timeline-item {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .trust-bar {
        gap: var(--space-md);
    }

    .trust-number {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-metrics {
        grid-template-columns: 1fr 1fr 1fr;
        gap: var(--space-sm);
    }

    .metric-number {
        font-size: 24px;
    }

    .team-members {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 13px;
    }
}
