/* ===================================
   D-Soft 软件下载中心 - 全局样式
   =================================== */

/* --- CSS 变量 --- */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #a5b4fc;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --bg: #f8fafc;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --success: #10b981;
    --danger: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.06);
    --shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* 隐藏 Vue 未编译模板 */
[v-cloak] { display: none !important; }

/* ========== 导航栏 ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0 24px;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(255,255,255,0.5);
}
.nav-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center;
    height: 64px; gap: 32px;
}
.nav-brand {
    display: flex; align-items: center; gap: 8px;
    font-size: 22px; font-weight: 700; color: var(--primary);
}
.brand-icon { font-size: 24px; }
.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a {
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
    width: 20px; height: 3px; border-radius: 3px;
    background: var(--primary);
}
.nav-search {
    position: relative;
}
.nav-search input {
    width: 220px; height: 38px; padding: 0 36px 0 14px;
    border: 1.5px solid var(--border); border-radius: 20px;
    font-size: 13px; background: var(--bg-card);
    outline: none; transition: var(--transition);
}
.nav-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.search-icon {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    font-size: 14px; opacity: 0.5; pointer-events: none;
}

/* ========== Hero ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 24px 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(99,102,241,0.3) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(14,165,233,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 80%, rgba(139,92,246,0.2) 0%, transparent 60%);
    animation: bgPulse 8s ease-in-out infinite alternate;
}
@keyframes bgPulse {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 720px;
}
.hero-title {
    display: flex; flex-direction: column; gap: 4px;
    margin-bottom: 24px;
}
.title-line {
    font-size: 52px; font-weight: 800; color: #fff;
    letter-spacing: -1px;
    animation: fadeInUp 0.6s ease;
}
.title-highlight {
    font-size: 52px; font-weight: 800;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease 0.15s both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-desc {
    font-size: 17px; color: rgba(255,255,255,0.85); line-height: 1.8;
    margin-bottom: 36px;
    animation: fadeInUp 0.6s ease 0.3s both;
}
.hero-stats {
    display: flex; justify-content: center; gap: 48px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.45s both;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num {
    font-size: 36px; font-weight: 800; color: #fff;
}
.stat-label {
    font-size: 13px; color: rgba(255,255,255,0.7);
    text-transform: uppercase; letter-spacing: 2px;
}
.hero-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #fff; color: var(--primary-dark);
    border-radius: 50px; font-size: 16px; font-weight: 600;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease 0.6s both;
}
.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.25);
}

/* ========== 通用 Section ========== */
.section {
    max-width: 1280px; margin: 0 auto;
    padding: 80px 24px;
}
.section-header {
    text-align: center; margin-bottom: 48px;
}
.section-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(99,102,241,0.1); color: var(--primary);
    border-radius: 20px; font-size: 12px; font-weight: 700;
    letter-spacing: 2px; margin-bottom: 12px;
}
.section-title {
    font-size: 34px; font-weight: 800; color: var(--text);
    margin-bottom: 8px;
}
.section-subtitle {
    font-size: 15px; color: var(--text-secondary);
}

/* ========== 精选推荐卡片 ========== */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.featured-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px 24px 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.featured-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.f-card-badge {
    position: absolute; top: 16px; right: 16px;
    padding: 3px 12px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff; font-size: 11px; font-weight: 700;
    border-radius: 12px;
}
.f-card-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.icon-placeholder {
    color: #fff; font-size: 24px; font-weight: 800;
}
.f-card-info { display: flex; flex-direction: column; gap: 6px; }
.f-card-cat {
    font-size: 11px; font-weight: 600; color: var(--primary);
    text-transform: uppercase; letter-spacing: 1px;
}
.f-card-name {
    font-size: 19px; font-weight: 700; color: var(--text);
}
.f-card-desc {
    font-size: 13px; color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 8px;
}
.f-card-meta {
    display: flex; gap: 16px;
    font-size: 12px; color: var(--text-light);
    margin-bottom: 14px;
}
.f-card-btn {
    display: inline-block; text-align: center;
    padding: 10px 0;
    background: var(--primary); color: #fff;
    border-radius: var(--radius-xs);
    font-size: 14px; font-weight: 600;
    transition: var(--transition);
}
.f-card-btn:hover { background: var(--primary-dark); }

/* ========== 筛选条 ========== */
.filter-bar {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 10px; margin-bottom: 36px;
}
.filter-bar button {
    padding: 8px 20px;
    border: 1.5px solid var(--border);
    background: var(--bg-card); color: var(--text-secondary);
    border-radius: 50px; font-size: 13px; font-weight: 500;
    cursor: pointer; transition: var(--transition);
}
.filter-bar button:hover {
    border-color: var(--primary-light); color: var(--primary);
}
.filter-bar button.active {
    background: var(--primary); color: #fff;
    border-color: var(--primary);
}

/* ========== 软件列表 ========== */
.software-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.software-card {
    display: flex; gap: 18px;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.software-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}
.s-card-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
}
.icon-circle {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; font-weight: 800;
}
.s-card-body {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column;
}
.s-card-head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 6px;
}
.s-card-name { font-size: 17px; font-weight: 700; }
.s-card-ver {
    font-size: 12px; color: var(--text-light);
    background: var(--bg); padding: 2px 8px;
    border-radius: 10px;
}
.s-card-desc {
    font-size: 13px; color: var(--text-secondary);
    line-height: 1.6; margin-bottom: 10px;
}
.s-card-footer {
    display: flex; gap: 16px;
    font-size: 12px; color: var(--text-light);
    margin-bottom: 12px;
}
.s-card-footer .s-card-cat {
    color: var(--primary); font-weight: 600;
}
.s-card-btn {
    align-self: flex-start;
    padding: 8px 22px;
    background: var(--primary); color: #fff;
    border-radius: var(--radius-xs);
    font-size: 13px; font-weight: 600;
    transition: var(--transition);
}
.s-card-btn:hover { background: var(--primary-dark); }

/* ========== 加载 / 空状态 ========== */
.loading {
    display: flex; flex-direction: column;
    align-items: center; gap: 14px;
    padding: 80px 0; color: var(--text-secondary);
}
.spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty {
    text-align: center; padding: 80px 0; color: var(--text-light);
}
.empty-icon { font-size: 48px; margin-bottom: 12px; }

/* ========== 页脚 ========== */
.footer {
    background: var(--bg-dark);
    color: #fff; text-align: center;
    padding: 48px 24px 32px;
}
.footer-brand {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; font-size: 20px; font-weight: 700;
    margin-bottom: 12px;
}
.footer-desc { color: #94a3b8; font-size: 14px; margin-bottom: 8px; }
.footer-copy { color: #475569; font-size: 12px; }

/* ===================================
   后台管理样式
   =================================== */
.admin-body {
    background: #f1f5f9;
    min-height: 100vh;
}

/* --- 登录页 --- */
.login-overlay {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px;
}
.login-card {
    background: #fff; border-radius: var(--radius);
    padding: 40px 36px 32px;
    width: 100%; max-width: 400px;
    box-shadow: var(--shadow-xl);
}
.login-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 28px;
}
.login-header h2 { font-size: 22px; }
.login-form { display: flex; flex-direction: column; gap: 18px; }

/* --- 表单通用 --- */
.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-group label {
    font-size: 13px; font-weight: 600; color: var(--text);
}
.input-group .required { color: var(--danger); }
.input-group input,
.input-group textarea,
.input-group select {
    height: 42px; padding: 0 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 14px; font-family: inherit;
    background: #fff; outline: none;
    transition: var(--transition);
}
.input-group textarea {
    height: auto; padding: 12px 14px; resize: vertical;
    min-height: 80px;
}
.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.08);
}
.login-error {
    font-size: 13px; color: var(--danger);
    text-align: center;
}
.login-hint {
    text-align: center; font-size: 12px; color: var(--text-light);
    margin-top: 4px;
}
.login-back {
    display: block; text-align: center; margin-top: 20px;
    font-size: 13px; color: var(--text-secondary);
    transition: var(--transition);
}
.login-back:hover { color: var(--primary); }

/* --- 按钮 --- */
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    height: 44px; padding: 0 24px;
    background: var(--primary); color: #fff;
    border: none; border-radius: var(--radius-xs);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: var(--transition);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    height: 44px; padding: 0 24px;
    background: #f1f5f9; color: var(--text-secondary);
    border: 1px solid var(--border); border-radius: var(--radius-xs);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: var(--transition);
}
.btn-secondary:hover { background: #e2e8f0; }
.btn-outline-sm {
    display: block; padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-xs); font-size: 13px;
    color: rgba(255,255,255,0.8); text-align: center;
    cursor: pointer; transition: var(--transition);
}
.btn-outline-sm:hover { background: rgba(255,255,255,0.1); }

.btn-sm {
    padding: 4px 12px; border: none; border-radius: var(--radius-xs);
    font-size: 12px; font-weight: 500; cursor: pointer;
    transition: var(--transition);
}
.btn-edit {
    background: rgba(99,102,241,0.1); color: var(--primary);
}
.btn-edit:hover { background: var(--primary); color: #fff; }
.btn-del {
    background: rgba(239,68,68,0.1); color: var(--danger);
}
.btn-del:hover { background: var(--danger); color: #fff; }

/* --- 管理面板布局 --- */
.admin-panel { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 240px; flex-shrink: 0;
    background: var(--bg-dark); color: #fff;
    display: flex; flex-direction: column;
    padding: 24px 0;
}
.sidebar-brand {
    display: flex; align-items: center; gap: 8px;
    font-size: 18px; font-weight: 700;
    padding: 0 24px; margin-bottom: 32px;
    color: var(--primary-light);
}
.sidebar-nav {
    flex: 1; display: flex; flex-direction: column;
    padding: 0 12px; gap: 4px;
}
.sidebar-nav a {
    display: block; padding: 10px 16px;
    border-radius: var(--radius-xs); font-size: 14px;
    color: #94a3b8; cursor: pointer;
    transition: var(--transition);
}
.sidebar-nav a:hover { background: rgba(255,255,255,0.06); color: #e2e8f0; }
.sidebar-nav a.active {
    background: rgba(99,102,241,0.2); color: #fff;
    font-weight: 600;
}
.sidebar-footer {
    padding: 16px 24px;
    display: flex; flex-direction: column; gap: 8px;
}

.admin-main { flex: 1; display: flex; flex-direction: column; }
.admin-topbar {
    display: flex; align-items: center; justify-content: space-between;
    height: 60px; padding: 0 28px;
    background: #fff; border-bottom: 1px solid var(--border);
}
.admin-topbar h2 { font-size: 17px; font-weight: 700; }
.admin-user { font-size: 13px; color: var(--text-secondary); }

.admin-content { padding: 24px 28px; flex: 1; }

/* --- 管理工具栏 --- */
.admin-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; gap: 16px;
}
.admin-toolbar input {
    height: 40px; padding: 0 14px;
    border: 1.5px solid var(--border); border-radius: var(--radius-xs);
    font-size: 13px; width: 260px; outline: none;
    transition: var(--transition);
}
.admin-toolbar input:focus {
    border-color: var(--primary);
}

/* --- 表格 --- */
.admin-table-wrap {
    background: #fff; border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden;
}
.admin-table {
    width: 100%; border-collapse: collapse;
}
.admin-table th {
    background: #f8fafc; padding: 12px 16px;
    font-size: 12px; font-weight: 700; color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: 1px;
    text-align: left; border-bottom: 1px solid var(--border);
}
.admin-table td {
    padding: 12px 16px; font-size: 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.admin-table tr:last-child td { border: none; }
.admin-table tr:hover td { background: #fafbff; }
.td-name { font-weight: 600; }
.td-actions { display: flex; gap: 8px; }
.td-empty { text-align: center; color: var(--text-light); padding: 40px 0 !important; }
.badge-cat {
    display: inline-block; padding: 2px 10px;
    background: rgba(99,102,241,0.08); color: var(--primary);
    border-radius: 10px; font-size: 12px; font-weight: 500;
}

/* --- 表单卡片 --- */
.form-card {
    background: #fff; border-radius: var(--radius);
    padding: 28px; border: 1px solid var(--border);
    max-width: 700px;
}
.form-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.full-width { grid-column: 1 / -1; }
.form-actions {
    display: flex; gap: 12px; margin-top: 24px;
}
.form-msg {
    margin-top: 12px; font-size: 14px;
    color: var(--success); font-weight: 500;
}
.form-msg.error { color: var(--danger); }
.settings-card { max-width: 800px; }
.settings-section-title {
    font-size: 15px; font-weight: 700; color: var(--primary);
    margin: 24px 0 14px; padding-bottom: 8px;
    border-bottom: 2px solid rgba(99,102,241,0.15);
}
.settings-section-title:first-child { margin-top: 0; }

/* --- 文件上传区域 --- */
.upload-hint {
    font-weight: 400; color: var(--text-light); font-size: 12px;
    margin-left: 6px;
}
.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: #fafbfc;
}
.upload-zone:hover {
    border-color: var(--primary);
    background: rgba(99,102,241,0.03);
}
.upload-icon {
    display: inline-block;
    width: 44px; height: 44px; line-height: 44px;
    border-radius: 50%;
    background: rgba(99,102,241,0.1);
    color: var(--primary);
    font-size: 24px; font-weight: 300;
    margin-bottom: 8px;
}
.upload-sub {
    font-size: 12px; color: var(--text-light); margin-top: 4px;
}
.upload-done {
    display: flex; flex-direction: column; align-items: center;
}
.upload-check {
    display: inline-block;
    width: 44px; height: 44px; line-height: 44px;
    border-radius: 50%;
    background: rgba(16,185,129,0.1);
    color: var(--success);
    font-size: 22px; font-weight: 700;
    margin-bottom: 8px;
}
.upload-progress {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}

/* ========== 授权码门禁 ========== */
.auth-gate {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}
.auth-gate-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 30% 40%, rgba(99,102,241,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 70% 60%, rgba(14,165,233,0.1) 0%, transparent 60%);
}
.auth-gate-card {
    position: relative; z-index: 2;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 44px 36px 36px;
    width: 100%; max-width: 420px;
    text-align: center;
}
.auth-gate-header {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-bottom: 12px;
}
.auth-gate-header h2 { color: #fff; font-size: 22px; }
.auth-gate-desc {
    color: #94a3b8; font-size: 14px;
    margin-bottom: 24px;
}
.auth-gate-form { display: flex; flex-direction: column; gap: 14px; }
.auth-gate-form .input-group input {
    height: 46px; padding: 0 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px; font-size: 15px;
    color: #fff; text-align: center;
    letter-spacing: 2px; outline: none;
    transition: var(--transition);
}
.auth-gate-form .input-group input::placeholder { color: #64748b; letter-spacing: 0; }
.auth-gate-form .input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}
.auth-gate-form .btn-block {
    height: 46px; border-radius: 10px;
    font-size: 15px;
}
.auth-gate-hint {
    margin-top: 20px; font-size: 12px;
    color: #475569;
}

/* ========== 修改密码弹窗 ========== */
.pwd-modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}
.pwd-modal-card {
    background: #fff; border-radius: var(--radius);
    padding: 32px; width: 100%; max-width: 420px;
    box-shadow: var(--shadow-xl);
}
.pwd-modal-card h3 { font-size: 18px; margin-bottom: 20px; }
.pwd-modal-form { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.pwd-modal-actions { display: flex; gap: 12px; }

/* ========== 图标上传预览 ========== */
.icon-upload { padding: 20px; }
.icon-preview-row {
    display: flex; align-items: center; gap: 12px;
}
.icon-preview-img {
    width: 64px; height: 64px; object-fit: cover;
    border-radius: var(--radius-xs); border: 1px solid var(--border);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .software-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .title-line, .title-highlight { font-size: 34px; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 28px; }
    .featured-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .admin-panel { flex-direction: column; }
    .admin-sidebar { width: 100%; flex-direction: row; padding: 12px; }
    .sidebar-nav { flex-direction: row; padding: 0; }
    .sidebar-footer { flex-direction: row; }
    .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hero { padding: 100px 16px 60px; }
    .section { padding: 48px 16px; }
    .section-title { font-size: 26px; }
}
