/* ============================================================
   赴德Skill商店 - 主样式表
   ============================================================ */

:root {
    --color-primary: #0b0f19;
    --color-primary-light: #5e6ad2;
    --color-primary-dark: #05070d;
    --color-accent: #5e6ad2;
    --color-accent-red: #e5484d;
    --color-bg: #fafafa;
    --color-surface: #ffffff;
    --color-text: #181b25;
    --color-text-light: #5f6473;
    --color-border: #e6e8ee;
    --color-success: #12a06b;
    --color-warning: #d97706;
    --color-danger: #dc2626;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(16,18,30,0.04);
    --shadow: 0 1px 2px rgba(16,18,30,0.04), 0 4px 12px rgba(16,18,30,0.06);
    --shadow-lg: 0 8px 24px rgba(16,18,30,0.08), 0 2px 6px rgba(16,18,30,0.04);
    --max-width: 1200px;
    --header-height: 64px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font: "Inter var", "Inter", -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --color-glow: rgba(94,106,210,0.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* === Topbar === */
.topbar {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 6px 0;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-text i { color: var(--color-accent); margin-right: 4px; }
.topbar-right { display: flex; gap: 16px; }
.topbar-right a { color: rgba(255,255,255,0.85); }
.topbar-right a:hover { color: #fff; }

/* === Header === */
.site-header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
}
.logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}
.logo-accent { color: var(--color-accent); }

.main-nav {
    display: flex;
    gap: 4px;
    align-items: center;
}
.nav-link {
    color: var(--color-text);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-link:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}
.nav-link i { margin-right: 4px; font-size: 13px; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cart-btn {
    position: relative;
    width: 42px; height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 18px;
    transition: all var(--transition);
}
.cart-btn:hover { background: var(--color-bg); color: var(--color-primary); }
.cart-badge {
    position: absolute;
    top: 4px; right: 4px;
    background: var(--color-accent-red);
    color: #fff;
    font-size: 11px;
    min-width: 18px; height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--color-text);
    padding: 8px;
}

/* === Flash Message === */
.flash-message {
    padding: 12px 0;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
}
.flash-success { background: #ecfdf5; color: var(--color-success); }
.flash-error { background: #fef2f2; color: var(--color-danger); }
.flash-info { background: #eff6ff; color: var(--color-primary-light); }

/* === Main Content === */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.main-content {
    flex: 1;
    min-height: auto;
}

/* === Hero === */
.hero {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #2a4a7f 100%);
    color: #fff;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(230,184,0,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}
.hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero h1 .highlight { color: var(--color-accent); }
.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}
.hero-stat .num {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-accent);
}
.hero-stat .label {
    font-size: 14px;
    opacity: 0.7;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    font-family: var(--font);
}
.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}
.btn-primary:hover {
    background: #ffd633;
    color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}
.btn-blue {
    background: var(--color-primary-light);
    color: #fff;
}
.btn-blue:hover { background: var(--color-primary); color: #fff; }
.btn-danger { background: var(--color-danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; color: #fff; }
.btn-ghost {
    background: var(--color-bg);
    color: var(--color-text);
}
.btn-ghost:hover { background: var(--color-border); }
.btn-accent {
    background: var(--color-accent, #fbbf24);
    color: var(--color-primary-dark, #111827);
}
.btn-accent:hover {
    background: #ffd633;
    color: var(--color-primary-dark, #111827);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-block { width: 100%; }

/* === Section === */
.section {
    padding: 64px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* === Category Cards === */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.category-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    cursor: pointer;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.category-card-banner {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.category-card-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
}
.category-card-body {
    padding: 24px;
}
.category-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.category-card-body p {
    color: var(--color-text-light);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.7;
}
.category-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
}
.category-card-link i { transition: transform var(--transition); }
.category-card:hover .category-card-link i { transform: translateX(4px); }

/* === Skill Cards === */
.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.skill-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.skill-card-header {
    padding: 20px;
    position: relative;
}
.skill-card-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}
.badge-hot { background: #fef2f2; color: var(--color-danger); }
.badge-new { background: #ecfdf5; color: var(--color-success); }
.badge-sale { background: #fefce8; color: var(--color-warning); }

.skill-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}
.skill-card-desc {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.skill-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.skill-feature-tag {
    background: var(--color-bg);
    color: var(--color-text-light);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
}
.skill-card-footer {
    margin-top: auto;
    padding: 16px 20px;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.skill-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.skill-price .current {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-accent-red);
}
.skill-price .original {
    font-size: 14px;
    color: var(--color-text-light);
    text-decoration: line-through;
}

/* === Page Header === */
.page-header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #fff;
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -50%; right: -5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(230,184,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.page-header-content {
    position: relative;
    z-index: 1;
}
.page-header h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.page-header h1 i { color: var(--color-accent); }
.page-header p {
    opacity: 0.85;
    font-size: 16px;
    max-width: 700px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 12px;
    opacity: 0.7;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }

/* === Skill Detail === */
.skill-detail {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    padding: 32px 0;
}
.skill-detail-main h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 32px 0 16px;
    color: var(--color-primary);
}
.skill-detail-main h2:first-child { margin-top: 0; }
.skill-detail-main p {
    margin-bottom: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
}
.skill-detail-main ul {
    list-style: none;
    margin-bottom: 16px;
}
.skill-detail-main ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--color-text);
}
.skill-detail-main ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-success);
    position: absolute;
    left: 0;
}

.skill-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    align-self: start;
}
.skill-purchase-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.skill-purchase-price {
    padding: 24px;
    text-align: center;
    background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
    border-bottom: 1px solid var(--color-border);
}
.skill-purchase-price .current {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-accent-red);
}
.skill-purchase-price .original {
    font-size: 18px;
    color: var(--color-text-light);
    text-decoration: line-through;
    margin-left: 8px;
}
.skill-purchase-price .discount {
    display: inline-block;
    background: var(--color-danger);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 8px;
    vertical-align: middle;
}
.skill-purchase-body {
    padding: 20px 24px;
}
.skill-purchase-body ul {
    list-style: none;
    margin-bottom: 20px;
}
.skill-purchase-body ul li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.skill-purchase-body ul li i { color: var(--color-success); }
.skill-purchase-actions {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* === Resources === */
.resource-section {
    margin-bottom: 48px;
}
.resource-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-border);
}
.resource-section-title .icon-box {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.resource-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 20px;
    transition: all var(--transition);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.resource-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.resource-card-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-primary-light);
    flex-shrink: 0;
}
.resource-card-body h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}
.resource-card-body p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.5;
}
.resource-card-body .ext-link {
    font-size: 12px;
    color: var(--color-primary-light);
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* === Forms === */
.form-card {
    max-width: 440px;
    margin: 40px auto;
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.form-card-header {
    padding: 32px 32px 0;
    text-align: center;
}
.form-card-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.form-card-header p {
    color: var(--color-text-light);
    font-size: 14px;
    margin-bottom: 24px;
}
.form-card-body {
    padding: 24px 32px 32px;
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font);
    transition: border-color var(--transition);
    background: var(--color-surface);
    color: var(--color-text);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--color-primary-light);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-hint {
    font-size: 13px;
    color: var(--color-text-light);
    margin-top: 4px;
}
.form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--color-danger);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
}
.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--color-text-light);
}

/* === Footer === */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 48px 0 0;
    border-top: 4px solid var(--color-accent);
    margin-top: 0 !important;
    position: relative;
    z-index: 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
}
.footer-col {}
.footer-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
    opacity: 0.7;
}
.footer-contact p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 4px;
}
.footer-contact i { margin-right: 6px; color: var(--color-accent); }
.footer-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: color var(--transition);
}
.footer-links a:hover {
    color: var(--color-accent);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* === User Dashboard === */
.dashboard-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding: 32px 0;
    min-height: 60vh;
}
.dashboard-sidebar {
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 16px);
}
.dashboard-user {
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: #fff;
}
.dashboard-user .avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 12px;
}
.dashboard-user .username { font-weight: 700; font-size: 16px; }
.dashboard-user .email { font-size: 13px; opacity: 0.7; }
.dashboard-nav { padding: 8px; }
.dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
}
.dashboard-nav a:hover, .dashboard-nav a.active {
    background: var(--color-bg);
    color: var(--color-primary);
}
.dashboard-nav a i { width: 18px; text-align: center; }

.dashboard-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-primary);
}
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.stat-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.stat-card .stat-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
}
.stat-card .stat-value { font-size: 28px; font-weight: 800; color: var(--color-text); }
.stat-card .stat-label { font-size: 13px; color: var(--color-text-light); }

/* === Table === */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.data-table th {
    background: var(--color-bg);
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--color-border);
}
.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(0,0,0,0.02); }

/* === Status Badges === */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}
.status-pending { background: #fef3c7; color: var(--color-warning); }
.status-paid { background: #d1fae5; color: var(--color-success); }
.status-cancelled { background: #fee2e2; color: var(--color-danger); }
.status-refunded { background: #ede9fe; color: #7c3aed; }

/* === Cart === */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    padding: 32px 0;
}
.cart-items-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.cart-item-info p { font-size: 13px; color: var(--color-text-light); }
.cart-item-price { font-size: 18px; font-weight: 700; color: var(--color-accent-red); }
.cart-item-remove {
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    padding: 8px;
    font-size: 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.cart-item-remove:hover { background: #fee2e2; color: var(--color-danger); }
.cart-summary {
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 16px);
}
.cart-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--color-text-light);
}
.cart-summary-total {
    border-top: 2px solid var(--color-border);
    margin-top: 12px;
    padding-top: 16px;
    font-size: 20px;
    font-weight: 800;
    color: var(--color-text);
}
.cart-summary-total .amount { color: var(--color-accent-red); }

/* === Empty State === */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-state i {
    font-size: 64px;
    color: var(--color-border);
    margin-bottom: 16px;
}
.empty-state h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; color: var(--color-text-light); }
.empty-state p { font-size: 14px; color: var(--color-text-light); margin-bottom: 24px; }

/* === Admin === */
.admin-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background: var(--color-primary-dark);
    color: #fff;
    padding: 0;
}
.admin-sidebar-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar-header h3 { font-size: 18px; font-weight: 700; }
.admin-sidebar-nav { padding: 12px 0; }
.admin-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all var(--transition);
}
.admin-sidebar-nav a:hover, .admin-sidebar-nav a.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.admin-sidebar-nav a i { width: 20px; text-align: center; }
.admin-main {
    background: var(--color-bg);
    padding: 24px 32px;
}
.admin-main h1 { font-size: 24px; font-weight: 700; margin-bottom: 24px; color: var(--color-primary); }

/* === Pagination === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 32px;
}
.pagination a, .pagination span {
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--color-text);
}
.pagination a:hover { border-color: var(--color-primary-light); color: var(--color-primary-light); }
.pagination .current {
    background: var(--color-primary-light);
    color: #fff;
    border-color: var(--color-primary-light);
}

/* === Responsive === */
@media (max-width: 968px) {
    .skill-detail { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .dashboard-layout { grid-template-columns: 1fr; }
    .dashboard-sidebar { position: static; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
}
@media (max-width: 768px) {
    .menu-toggle { display: flex; align-items: center; justify-content: center; }
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
        z-index: 99;
    }
    .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-link { width: 100%; padding: 12px 16px; }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 15px; }
    .hero-stats { gap: 20px; }
    .hero-stat .num { font-size: 24px; }
    .category-grid { grid-template-columns: 1fr; }
    .skill-grid { grid-template-columns: 1fr; }
    .resource-grid { grid-template-columns: 1fr; }
    .dashboard-stats { grid-template-columns: 1fr; }
    .section { padding: 40px 0; }
    .section-title { font-size: 26px; }
    .container { padding: 0 16px; }
    .topbar-text { display: none; }
    .admin-main { padding: 16px; }
    .data-table { font-size: 13px; }
    .data-table th, .data-table td { padding: 8px 10px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { padding: 16px 0; }
}

/* ============================================================
   v2 欧美科技风覆盖段 (Linear/Stripe 风格)
   ============================================================ */

/* === 全局 === */
body {
    font-feature-settings: "cv02", "cv03", "cv04";
    letter-spacing: -0.01em;
}

/* === Header: 深色毛玻璃 === */
.topbar {
    background: #060810;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar-text i { color: var(--color-accent); }
.topbar-right a { color: rgba(255,255,255,0.7); }
.topbar-right a:hover { color: #fff; }

.site-header {
    background: rgba(11,15,25,0.86);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: none;
}
.header-inner { height: var(--header-height); }

.logo { color: #fff; }
.logo-icon {
    background: linear-gradient(135deg, #5e6ad2 0%, #7d86e8 55%, #48c6ef 100%);
    box-shadow: 0 4px 14px rgba(94,106,210,0.4);
    border-radius: 10px;
}
.logo-text { font-weight: 800; }
.logo-accent {
    color: #8b93ff;
    background: linear-gradient(90deg, #8b93ff, #48c6ef);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav { gap: 2px; }
.nav-link { color: rgba(255,255,255,0.78); }
.nav-link:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.nav-link .fa-caret-down { font-size: 11px; margin-left: 2px; color: rgba(255,255,255,0.5); }

.cart-btn { color: rgba(255,255,255,0.85); }
.cart-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.cart-badge { background: #e5484d; box-shadow: 0 0 0 2px rgba(11,15,25,0.9); }
.menu-toggle { color: rgba(255,255,255,0.9); }

/* === 关于我们下拉菜单 === */
.nav-item { position: relative; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 180px;
    background: #10131f;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: all var(--transition);
    z-index: 120;
}
.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    color: rgba(255,255,255,0.82);
    font-size: 14px;
    white-space: nowrap;
    transition: all var(--transition);
}
.dropdown-menu a:hover { background: rgba(94,106,210,0.18); color: #fff; }
.dropdown-menu a i { width: 18px; text-align: center; font-size: 13px; color: #8b93ff; }

/* === Hero: 近黑渐变 + 靛蓝光晕 === */
.hero {
    background:
        radial-gradient(1000px 420px at 82% -10%, rgba(94,106,210,0.22) 0%, transparent 60%),
        radial-gradient(800px 400px at -10% 110%, rgba(72,198,239,0.14) 0%, transparent 60%),
        linear-gradient(180deg, #0b0f19 0%, #0e1424 100%);
    padding: 96px 0 110px;
}
.hero::before {
    width: 480px; height: 480px;
    background: radial-gradient(circle, var(--color-glow) 0%, transparent 70%);
    top: -40%; right: -6%;
}
.hero::after {
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(72,198,239,0.16) 0%, transparent 70%);
    bottom: -25%; left: -8%;
}
.hero h1 { font-size: 48px; letter-spacing: -0.02em; }
.hero h1 .highlight {
    background: linear-gradient(90deg, #8b93ff, #48c6ef);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p { opacity: 0.75; }
.hero-stat .num { background: linear-gradient(90deg, #8b93ff, #48c6ef); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* === Buttons === */
.btn { border-radius: 8px; font-weight: 600; }
.btn-primary {
    background: linear-gradient(135deg, #5e6ad2 0%, #7d86e8 100%);
    color: #fff;
    box-shadow: 0 1px 2px rgba(94,106,210,0.4), 0 6px 20px rgba(94,106,210,0.25);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #6b77e0 0%, #8b93ff 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(94,106,210,0.45);
}
.btn-accent {
    background: linear-gradient(135deg, #5e6ad2 0%, #7d86e8 100%);
    color: #fff;
    box-shadow: 0 1px 2px rgba(94,106,210,0.4), 0 6px 20px rgba(94,106,210,0.25);
}
.btn-accent:hover {
    background: linear-gradient(135deg, #6b77e0 0%, #8b93ff 100%);
    color: #fff;
    transform: translateY(-2px);
}
.btn-blue { background: linear-gradient(135deg, #5e6ad2 0%, #7d86e8 100%); }
.btn-blue:hover { background: linear-gradient(135deg, #6b77e0 0%, #8b93ff 100%); color: #fff; }
.btn-outline {
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); }
.btn-ghost { background: #f1f2f6; color: var(--color-text); }
.btn-ghost:hover { background: #e8eaef; }

/* === Sections === */
.section { padding: 72px 0; }
.section-title { letter-spacing: -0.02em; }
.section-subtitle { color: var(--color-text-light); }
.section-tint { background: linear-gradient(180deg, #f2f3f8 0%, #fafafa 100%); }

/* === Cards: 1px 描边 + 微动效 === */
.category-card, .skill-card, .resource-card, .form-card,
.cart-items-card, .cart-summary, .stat-card, .data-table,
.skill-purchase-card, .dashboard-sidebar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}
.category-card:hover, .skill-card:hover {
    transform: translateY(-3px);
    border-color: rgba(94,106,210,0.35);
    box-shadow: 0 10px 28px rgba(16,18,30,0.08);
}
.resource-card:hover {
    border-color: rgba(94,106,210,0.45);
    box-shadow: 0 8px 20px rgba(16,18,30,0.07);
}
.category-card-link { color: var(--color-primary-light); }
.skill-card-footer { border-top: 1px solid var(--color-border); }
.skill-feature-tag { background: #f1f2f6; }
.skill-purchase-price {
    background: linear-gradient(135deg, #f5f6fd 0%, #ffffff 100%);
    border-bottom: 1px solid var(--color-border);
}

/* === Page Header === */
.page-header {
    background:
        radial-gradient(600px 280px at 90% -30%, rgba(94,106,210,0.25) 0%, transparent 60%),
        linear-gradient(135deg, #0b0f19 0%, #0e1424 100%);
    padding: 56px 0;
}
.page-header::before {
    background: radial-gradient(circle, var(--color-glow) 0%, transparent 70%);
}
.page-header h1 i { color: #8b93ff; }

/* === Dashboard / Admin 微调 === */
.dashboard-user { background: linear-gradient(135deg, #0b0f19, #161a2b); }
.dashboard-user .avatar {
    background: linear-gradient(135deg, #5e6ad2, #48c6ef);
    color: #fff;
}
.stat-card { padding: 22px; }
.data-table { box-shadow: var(--shadow-sm); }

/* === Footer === */
.site-footer {
    background: #05070d;
    border-top: 1px solid rgba(94,106,210,0.25);
}
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; }
.footer-title { letter-spacing: -0.01em; }
.footer-links a:hover { color: #8b93ff; }
.footer-contact i { color: #8b93ff; }

/* === 新组件: 五步流程 === */
.step-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.step-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0 0 24px;
    text-align: center;
    transition: all var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(94,106,210,0.3); }
.step-card-icon {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    margin-bottom: 16px;
}
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--color-text-light); line-height: 1.6; padding: 0 14px; }

/* === 新组件: 特性卡片 (隐私保护) === */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
}
.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px 26px;
    text-align: center;
    transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(94,106,210,0.3); }
.feature-card-icon {
    width: 62px; height: 62px;
    margin: 0 auto 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--color-text-light); line-height: 1.7; }

/* === 新组件: CTA 横幅 === */
.cta-banner {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(420px 260px at 90% -20%, rgba(94,106,210,0.35) 0%, transparent 60%),
        radial-gradient(420px 260px at 0% 120%, rgba(72,198,239,0.22) 0%, transparent 60%),
        linear-gradient(135deg, #10142a 0%, #1a2040 100%);
    border: 1px solid rgba(94,106,210,0.3);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    text-align: center;
    color: #fff;
}
.cta-banner::after {
    content: '';
    position: absolute;
    top: -40%; right: -4%;
    width: 320px; height: 320px;
    background: radial-gradient(circle, var(--color-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-banner p { opacity: 0.75; font-size: 16px; margin-bottom: 26px; }

/* === 新组件: 静态正文排版 (about/service/faq/projects) === */
.prose { max-width: 860px; }
.prose h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 40px 0 14px; color: var(--color-primary); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; font-weight: 700; margin: 24px 0 10px; }
.prose p { margin-bottom: 14px; line-height: 1.8; color: var(--color-text-light); }
.prose ul { list-style: none; margin-bottom: 16px; }
.prose ul li { padding: 7px 0 7px 26px; position: relative; color: var(--color-text); }
.prose ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 13px;
    color: var(--color-success);
    position: absolute;
    left: 0;
}
.prose .lead { font-size: 17px; color: var(--color-text); }

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.info-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
}
.info-card h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.info-card h3 i { color: var(--color-primary-light); }
.info-card p { font-size: 14px; color: var(--color-text-light); line-height: 1.7; }

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 22px 26px;
    margin-bottom: 14px;
    transition: all var(--transition);
}
.faq-item:hover { border-color: rgba(94,106,210,0.3); box-shadow: var(--shadow-sm); }
.faq-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--color-text-light); line-height: 1.7; }

.service-timeline { counter-reset: step; }
.service-step {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}
.service-step:last-child { border-bottom: none; }
.service-step-num {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #5e6ad2, #48c6ef);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(94,106,210,0.3);
}
.service-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.service-step p { font-size: 14px; color: var(--color-text-light); line-height: 1.7; }

/* === 移动端适配 === */
@media (max-width: 968px) {
    .step-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .main-nav {
        background: rgba(11,15,25,0.98);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-link { color: rgba(255,255,255,0.85); }
    .nav-link:hover { background: rgba(255,255,255,0.08); }
    .dropdown-menu {
        position: static;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        background: rgba(255,255,255,0.04);
        border: none;
        margin: 0 16px;
        padding: 4px 8px;
        display: none;
    }
    .nav-item.open .dropdown-menu { display: block; }
    .hero { padding: 72px 0 84px; }
    .hero h1 { font-size: 32px; }
    .step-grid { grid-template-columns: 1fr; }
    .cta-banner { padding: 40px 24px; }
    .footer-grid { gap: 28px; }
}

/* === 新组件: 成功案例 === */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}
.case-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 26px 24px;
    transition: all var(--transition);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(94,106,210,0.3); }
.case-card-top { margin-bottom: 14px; }
.case-tag {
    display: inline-block;
    background: #eef2ff;
    color: #3730a3;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.case-card h3 { font-size: 17px; font-weight: 700; line-height: 1.4; }
.case-list { list-style: none; }
.case-list li {
    position: relative;
    padding: 5px 0 5px 18px;
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
}
.case-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5e6ad2, #48c6ef);
}
.case-list b { color: var(--color-text); font-weight: 600; }

/* === 新组件: 资讯列表 (news.php) === */
.news-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}
.news-filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text-light);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition);
}
.news-filter-btn:hover { border-color: rgba(94,106,210,0.4); color: var(--color-primary); }
.news-filter-btn.active {
    background: linear-gradient(135deg, #5e6ad2, #7d86e8);
    color: #fff;
    border-color: transparent;
}
.news-list { max-width: 900px; margin: 0 auto; }
.news-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 26px 28px;
    margin-bottom: 16px;
    transition: all var(--transition);
}
.news-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(94,106,210,0.35); }
.news-item-main { flex: 1; }
.news-item-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 10px; }
.news-cat {
    display: inline-block;
    background: #eef2ff;
    color: #3730a3;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
}
.news-date { font-size: 13px; color: var(--color-text-light); }
.news-item-title { font-size: 19px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; color: var(--color-text); }
.news-item-summary { font-size: 14px; color: var(--color-text-light); line-height: 1.7; margin-bottom: 12px; }
.news-item-more { font-size: 14px; font-weight: 600; color: var(--color-primary-light); }
.news-item-more i { font-size: 12px; }
.news-item-views { color: var(--color-text-light); font-size: 13px; white-space: nowrap; }

/* === 新组件: 首页资讯卡片 === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}
.news-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 26px 24px;
    transition: all var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(94,106,210,0.35); }
.news-card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.news-card-title { font-size: 17px; font-weight: 700; line-height: 1.45; margin-bottom: 10px; color: var(--color-text); }
.news-card-summary { font-size: 14px; color: var(--color-text-light); line-height: 1.7; margin-bottom: 16px; flex: 1; }
.news-card .news-item-more { margin-top: auto; }

/* === 新组件: 文章详情 === */
.news-detail-meta {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.news-detail-summary {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    max-width: 720px;
    line-height: 1.7;
}
.news-detail-content {
    max-width: 860px;
    margin: 0 auto;
    font-size: 15.5px;
}
.news-detail-content h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 42px 0 14px;
    color: var(--color-primary);
    padding-top: 8px;
}
.news-detail-content h2:first-child { margin-top: 0; }
.news-detail-content h3 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; }
.news-detail-content p { margin-bottom: 16px; line-height: 1.85; color: var(--color-text-light); }
.news-detail-content ul { list-style: none; margin-bottom: 16px; }
.news-detail-content ul li { padding: 6px 0 6px 26px; position: relative; color: var(--color-text); line-height: 1.8; }
.news-detail-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 13px;
    color: var(--color-success);
    position: absolute;
    left: 0;
}
.news-detail-content ol { margin: 0 0 16px 22px; }
.news-detail-content ol li { padding: 5px 0; line-height: 1.8; color: var(--color-text); }
.news-detail-content a { color: var(--color-primary-light); text-decoration: underline; }
.news-detail-content b, .news-detail-content strong { color: var(--color-text); }
.news-detail-back { margin-top: 48px; text-align: center; }

@media (max-width: 968px) {
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .case-grid { grid-template-columns: 1fr; }
    .news-list { padding: 0; }
    .news-item { flex-direction: column; padding: 22px 20px; }
    .news-item-views { align-self: flex-end; }
}

