/* ============================================================
   德润科技官网 - 主样式表
   1:1 还原 NoCode 版本
   ============================================================ */

/* CSS 变量 */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-500: #22c55e;
    --green-600: #16a34a;

    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-500: #ef4444;
    --red-600: #dc2626;

    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-500: #f97316;
    --orange-600: #ea580c;

    --purple-500: #a855f7;
    --yellow-500: #eab308;
    --cyan-500: #06b6d4;

    --footer-bg: #1e293b;
    --footer-bg-dark: #0f172a;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --container: 1200px;
    --header-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
                 "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

ul, ol { list-style: none; }

input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--gray-900); }

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

.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }

/* ============================================================
   1. 顶部导航
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--gray-100);
    height: var(--header-h);
    display: flex;
    align-items: center;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}
.site-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.site-logo img { height: 40px; width: auto; border-radius: 0; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.site-nav a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: color 0.2s;
}
.site-nav a:hover, .site-nav a.active {
    color: var(--primary);
}
.site-nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s;
    border-radius: 2px;
}
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }

.site-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--gray-600);
    font-size: 14px;
}
.site-contact a { display: inline-flex; align-items: center; gap: 6px; }
.site-contact .icon { color: var(--primary); }

.menu-toggle { display: none; }

/* ============================================================
   2. Hero 区
   ============================================================ */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, var(--primary-50) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}
.hero-title .line1 { color: var(--gray-900); }
.hero-title .line2 { color: var(--primary); }

.hero-desc {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 520px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
    line-height: 1;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-50); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--gray-700); }
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-900); }
.btn-danger { background: var(--red-500); color: #fff; }
.btn-danger:hover { background: var(--red-600); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* Hero 轮播 */
.hero-carousel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: var(--gray-100);
}
.hero-carousel .slides { position: relative; width: 100%; height: 100%; }
.hero-carousel .slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 0.6s ease;
}
.hero-carousel .slide.active { opacity: 1; }
.hero-carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-carousel .nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-700);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.2s;
}
.hero-carousel .nav:hover { background: #fff; color: var(--primary); }
.hero-carousel .nav.prev { left: 16px; }
.hero-carousel .nav.next { right: 16px; }
.hero-carousel .dots {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px;
}
.hero-carousel .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s;
}
.hero-carousel .dot.active { width: 24px; border-radius: 4px; background: #fff; }

/* ============================================================
   3. 特色亮点 4 列
   ============================================================ */
.features {
    background: var(--gray-50);
    padding: 60px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.feature {
    text-align: center;
    padding: 16px;
}
.feature .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    margin-bottom: 16px;
}
.feature h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.feature p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ============================================================
   4. 通用 Section Header
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}
.section-header p {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   5. 服务卡片
   ============================================================ */
.services { background: #fff; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
    scroll-margin-top: 90px;  /* 锚点跳转时留出 sticky header 空间 */
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-100);
}
.service-card .icon {
    width: 48px; height: 48px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    margin-bottom: 20px;
}
.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}
.service-card .desc {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    min-height: 48px;
}
.service-card ul li {
    color: var(--gray-600);
    font-size: 14px;
    padding: 6px 0 6px 20px;
    position: relative;
}
.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 14px;
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
}
.services .center-btn { text-align: center; }

/* ============================================================
   6. 案例卡片
   ============================================================ */
.cases { background: var(--gray-50); }
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.case-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.case-card .cover {
    aspect-ratio: 16/10;
    background: var(--gray-100);
    overflow: hidden;
    position: relative;
}
.case-card .cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.case-card:hover .cover img { transform: scale(1.05); }
.case-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.case-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
}
.case-card .category {
    display: inline-block;
    padding: 4px 10px;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: 12px;
    font-weight: 500;
    font-size: 12px;
}
.case-card .year {
    color: var(--gray-400);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.case-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.4;
}
.case-card .desc {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}
.case-card .client {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 8px;
}
.case-card .client .icon { color: var(--gray-400); }
.case-card .mode {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 16px;
}
.case-card .mode .badge {
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}
.case-card .mode .badge.self { background: var(--green-50); color: var(--green-600); }
.case-card .mode .badge.other { background: var(--orange-50); color: var(--orange-600); }

.case-card .tech {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-bottom: 16px;
}
.case-card .tech span {
    padding: 3px 10px;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 4px;
    font-size: 12px;
}
.case-card .action { margin-top: auto; }

/* ============================================================
   7. 品牌运维
   ============================================================ */
.brands { background: #fff; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}
.stat {
    text-align: center;
}
.stat .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    margin-bottom: 12px;
}
.stat .value {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 4px;
}
.stat .label {
    font-size: 15px;
    color: var(--gray-700);
    font-weight: 600;
    margin-bottom: 4px;
}
.stat .subtitle {
    font-size: 13px;
    color: var(--gray-500);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
.brand-card {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
}
.brand-card:hover {
    border-color: var(--primary-100);
    box-shadow: var(--shadow-md);
}
.brand-card .logo {
    width: 56px; height: 56px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-100);
}
.brand-card .logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-card .info { flex: 1; min-width: 0; }
.brand-card .name {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}
.brand-card .subtitle {
    font-size: 13px;
    color: var(--gray-500);
}
.brand-metrics {
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    font-size: 13px;
}
.brand-metrics .row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.brand-metrics .row .k { color: var(--gray-500); }
.brand-metrics .row .v { font-weight: 600; color: var(--gray-900); }
.brand-metrics .row.uptime .v { color: var(--green-600); }
.brand-metrics .row.users .v { color: var(--primary); }
.brand-metrics .row.status .v { color: var(--green-600); display: inline-flex; align-items: center; gap: 4px; }

.brands-cta {
    text-align: center;
    padding: 40px;
    background: var(--primary-50);
    border-radius: var(--radius-lg);
}
.brands-cta h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}
.brands-cta p {
    color: var(--gray-600);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
}

/* ============================================================
   8. 联系我们
   ============================================================ */
.contact { background: var(--gray-50); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-info-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 24px;
}
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-item .icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius);
}
.contact-item .label {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 4px;
}
.contact-item .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}
.contact-item .sub {
    font-size: 13px;
    color: var(--gray-500);
}

.why-box {
    background: var(--primary-50);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.why-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
}
.why-box ul li {
    color: var(--gray-700);
    font-size: 14px;
    padding: 6px 0 6px 20px;
    position: relative;
    line-height: 1.6;
}
.why-box ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 14px;
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* 表单 */
.form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}
.form-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 24px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.form-field { display: flex; flex-direction: column; }
.form-field label {
    font-size: 14px;
    color: var(--gray-700);
    margin-bottom: 6px;
    font-weight: 500;
}
.form-field label .req { color: var(--red-500); margin-left: 2px; }
.form-field input, .form-field textarea, .form-field select {
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--gray-800);
    background: #fff;
    transition: all 0.2s;
    width: 100%;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--gray-400); }
.form-field textarea { min-height: 100px; resize: vertical; }
.form-actions { margin-top: 24px; }

/* ============================================================
   9. 页脚
   ============================================================ */
.site-footer {
    background: var(--footer-bg);
    color: #cbd5e1;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}
.footer-brand {
    display: flex; align-items: center; gap: 8px;
    font-size: 20px; font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}
.footer-brand .logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.footer-desc {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list a, .footer-contact-list span {
    display: flex; align-items: center; gap: 8px;
    color: #cbd5e1; font-size: 14px;
}
.footer-contact-list .icon { color: var(--primary-light); flex-shrink: 0; }

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul a {
    color: #94a3b8;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-socials {
    display: flex; gap: 12px;
}
.footer-socials a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: #94a3b8;
    border-radius: 50%;
    transition: all 0.2s;
}
.footer-socials a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.footer-copyright {
    color: #64748b;
    font-size: 13px;
    text-align: right;
}

/* ============================================================
   10. 页面 Banner（独立页通用）
   ============================================================ */
.page-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    color: #fff;
    text-align: center;
}
.page-banner h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}
.page-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   11. 案例详情页
   ============================================================ */
.case-detail {
    padding: 60px 0;
    background: var(--gray-50);
    min-height: calc(100vh - var(--header-h));
}
.case-detail .wrap {
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.case-detail .cover {
    aspect-ratio: 21/9;
    background: var(--gray-100);
    overflow: hidden;
}
.case-detail .cover img { width: 100%; height: 100%; object-fit: cover; }
.case-detail .body { padding: 48px; }
.case-detail .meta {
    display: flex; gap: 16px; align-items: center;
    margin-bottom: 16px; flex-wrap: wrap;
}
.case-detail h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}
.case-detail .lead {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
}
.case-detail .info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin: 24px 0;
}
.case-detail .info-grid .row {
    display: flex; flex-direction: column; gap: 4px;
}
.case-detail .info-grid .k { font-size: 13px; color: var(--gray-500); }
.case-detail .info-grid .v { font-size: 15px; color: var(--gray-900); font-weight: 500; }
.case-detail .content {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 15px;
}
.case-detail .content h2 { font-size: 22px; margin: 32px 0 16px; }
.case-detail .content h3 { font-size: 18px; margin: 24px 0 12px; }
.case-detail .content p { margin-bottom: 16px; }
.case-detail .content img { border-radius: var(--radius); margin: 16px 0; }
.case-detail .back {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 16px;
}

/* ============================================================
   11. 响应式
   ============================================================ */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid, .cases-grid, .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 40px; }
}

@media (max-width: 768px) {
    .site-nav, .site-contact { display: none; }
    .menu-toggle {
        display: flex; align-items: center; justify-content: center;
        width: 40px; height: 40px;
        color: var(--gray-700);
    }
    .site-nav.open {
        display: flex; flex-direction: column; gap: 0;
        position: absolute; top: var(--header-h); left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--gray-100);
        padding: 16px 24px;
    }
    .site-nav.open a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--gray-100); }
    .site-nav.open a:last-child { border-bottom: none; }

    .hero { padding: 40px 0 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-title { font-size: 32px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }

    .section { padding: 60px 0; }
    .section-header h2 { font-size: 26px; }
    .features-grid, .stats-grid, .services-grid, .cases-grid, .brands-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 24px; }
    .footer-bottom { flex-direction: column; }
    .footer-copyright { text-align: center; }
    .case-detail .body { padding: 24px; }
    .case-detail h1 { font-size: 24px; }
}

/* ============================================================
   12. 工具类
   ============================================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.hidden { display: none; }

/* 滚动条美化 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }
