/* ===== 灯鱼网 全局样式 ===== */
:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-darker: #0369a1;
    --primary-light: #38bdf8;
    --primary-lighter: #e0f2fe;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --success: #10b981;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --gradient-hero: linear-gradient(135deg, #0c4a6e 0%, #075985 40%, #0369a1 70%, #0284c7 100%);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* ===== 顶部导航栏 ===== */
.top-bar {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-size: 20px;
    font-weight: 700;
}

.logo-link:hover { color: var(--primary-dark); }

.logo-icon { font-size: 28px; }

.nav-menu {
    display: flex;
    gap: 4px;
    margin-left: 40px;
    flex: 1;
}

.nav-item {
    color: var(--gray-600);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-item:hover {
    color: var(--primary-dark);
    background: var(--primary-lighter);
}

.nav-item.active {
    color: var(--primary-dark);
    background: var(--primary-lighter);
    font-weight: 600;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: var(--primary-lighter);
    border-radius: 20px;
}

.admin-name {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary { background: var(--gray-200); color: var(--gray-700); }
.btn-secondary:hover { background: var(--gray-300); }

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: var(--danger-dark); }

.btn-outline {
    background: transparent;
    color: var(--gray-600);
    border: 1px solid var(--gray-300);
}
.btn-outline:hover { background: var(--gray-100); }

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }

.btn-login-top {
    background: var(--primary);
    color: white;
    padding: 8px 24px;
    font-weight: 600;
}
.btn-login-top:hover { background: var(--primary-dark); }

.btn-admin-panel {
    background: var(--accent);
    color: white;
}
.btn-admin-panel:hover { background: var(--accent-dark); }

.btn-logout {
    background: transparent;
    color: var(--gray-500);
    border: 1px solid var(--gray-300);
}
.btn-logout:hover { background: var(--gray-100); color: var(--gray-700); }

.btn-sm { padding: 5px 14px; font-size: 12px; }
.btn-lg { padding: 12px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== 主内容区 ===== */
.main-content {
    flex: 1;
    width: 100%;
}

/* ===== Hero 区域 ===== */
.hero {
    background: var(--gradient-hero);
    color: white;
    padding: 80px 24px 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.text-accent {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.hero-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: white;
}

.hero-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

/* Hero 装饰动画 */
.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
}

.floating-fish {
    position: absolute;
    font-size: 40px;
    opacity: 0.3;
    animation: swim 15s ease-in-out infinite;
}

.fish-1 { top: 20%; right: 15%; animation-delay: 0s; }
.fish-2 { top: 50%; right: 35%; font-size: 32px; animation-delay: 3s; }
.fish-3 { top: 70%; right: 10%; font-size: 28px; animation-delay: 6s; }

@keyframes swim {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    25% { transform: translateX(-30px) translateY(-20px) rotate(-5deg); }
    50% { transform: translateX(-60px) translateY(10px) rotate(5deg); }
    75% { transform: translateX(-20px) translateY(20px) rotate(-3deg); }
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: rise 8s ease-in infinite;
}

.bubble-1 { width: 60px; height: 60px; bottom: 10%; right: 20%; animation-delay: 0s; }
.bubble-2 { width: 40px; height: 40px; bottom: 15%; right: 45%; animation-delay: 2s; }
.bubble-3 { width: 80px; height: 80px; bottom: 5%; right: 60%; animation-delay: 4s; }

@keyframes rise {
    0% { transform: translateY(0); opacity: 0.08; }
    50% { opacity: 0.15; }
    100% { transform: translateY(-300px); opacity: 0; }
}

/* ===== 快捷导航 ===== */
.quick-nav {
    max-width: 1200px;
    margin: -60px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 3;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quick-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
}

.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.quick-card-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.quick-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.quick-card-desc {
    font-size: 14px;
    color: var(--gray-500);
}

/* ===== 特性展示 ===== */
.features-section,
.categories-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.feature-item h3 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ===== 分类标签 ===== */
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 24px;
    font-size: 14px;
    color: var(--gray-700);
    transition: all 0.2s;
}

.category-tag:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: var(--primary-lighter);
}

.category-icon { font-size: 18px; }

/* ===== 页面容器 ===== */
.page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 24px;
}

.page-hero {
    text-align: center;
    margin-bottom: 48px;
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--gray-500);
}

/* ===== 内容区块 ===== */
.content-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.content-block {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

.block-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.content-block h2 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 12px;
}

.content-block p {
    color: var(--gray-600);
    font-size: 15px;
    margin-bottom: 8px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-list li:last-child { border-bottom: none; }

.feature-list strong {
    color: var(--dark);
    font-size: 15px;
}

.feature-list span {
    color: var(--gray-500);
    font-size: 14px;
}

/* CTA box */
.cta-box {
    text-align: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-top: 48px;
}

.cta-box h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

/* ===== 优势卡片 ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.advantage-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.advantage-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: var(--gray-100);
    line-height: 1;
}

.advantage-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.advantage-card h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 8px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.advantage-points {
    list-style: none;
    padding: 0;
}

.advantage-points li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
    color: var(--gray-600);
}

.advantage-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* ===== 对比表 ===== */
.comparison-section {
    margin-top: 40px;
}

.comparison-table-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    padding: 16px 24px;
    text-align: center;
    background: var(--gray-50);
    font-weight: 700;
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-200);
}

.comparison-table th.col-highlight {
    background: var(--primary-lighter);
    color: var(--primary-dark);
}

.comparison-table td {
    padding: 14px 24px;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
}

.comparison-table td.col-highlight {
    background: rgba(14, 165, 233, 0.03);
    color: var(--primary-dark);
    font-weight: 600;
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

/* ===== 下载页面 ===== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
}

.filter-tag {
    padding: 8px 18px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    font-size: 14px;
    color: var(--gray-600);
    transition: all 0.2s;
}

.filter-tag:hover {
    border-color: var(--primary-light);
    color: var(--primary-dark);
}

.filter-tag.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.admin-entry-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary-lighter);
    border-radius: var(--radius);
    padding: 12px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--primary-dark);
    font-weight: 600;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.download-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.download-card-header {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.download-file-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.download-card-info {
    flex: 1;
    min-width: 0;
}

.download-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-category-tag {
    display: inline-block;
    background: var(--primary-lighter);
    color: var(--primary-dark);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.download-card-body {
    padding: 0 20px 16px;
    flex: 1;
}

.download-card-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.download-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--gray-400);
}

.meta-item { white-space: nowrap; }

.download-card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--gray-100);
}

/* ===== 管理后台 ===== */
.page-header-admin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.admin-table-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table thead { background: var(--gray-50); }

.admin-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--gray-600);
    border-bottom: 2px solid var(--gray-200);
    white-space: nowrap;
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.admin-table tbody tr:hover { background: var(--gray-50); }

.td-center { text-align: center; }
.td-time { font-size: 12px; color: var(--gray-400); white-space: nowrap; }

.file-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-name { font-weight: 600; color: var(--dark); }
.file-original { font-size: 12px; color: var(--gray-400); }

.text-muted { color: var(--gray-400); }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success { background: #d1fae5; color: #065f46; }
.badge-hidden { background: var(--gray-100); color: var(--gray-500); }

.action-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ===== 表单卡片 ===== */
.form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    max-width: 700px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.required { color: var(--danger); }

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--gray-400);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* ===== 文件上传区 ===== */
.file-upload-area {
    position: relative;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    background: var(--gray-50);
}

.file-upload-area:hover,
.file-upload-area.drag-over {
    border-color: var(--primary);
    background: var(--primary-lighter);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-prompt {
    pointer-events: none;
}

.upload-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.file-upload-prompt p {
    color: var(--gray-500);
    font-size: 14px;
}

.file-upload-hint {
    font-size: 12px !important;
    color: var(--gray-400) !important;
    margin-top: 4px !important;
}

.file-upload-selected {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
}

.selected-icon { font-size: 24px; }
.selected-name { font-weight: 600; color: var(--dark); }
.selected-size { font-size: 13px; color: var(--gray-400); }

.current-file-info {
    margin-top: 8px;
    padding: 8px 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.current-file-label { color: var(--gray-400); }
.current-file-name { color: var(--gray-700); font-weight: 600; }
.current-file-size { color: var(--gray-400); }

/* ===== 空状态 ===== */
.empty-state-large {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state-large h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 8px;
}

.empty-state-large p {
    color: var(--gray-400);
    margin-bottom: 24px;
}

/* ===== 错误页 ===== */
.error-page {
    text-align: center;
    padding: 80px 20px;
}

.error-icon {
    font-size: 72px;
    margin-bottom: 16px;
}

.error-page h2 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 8px;
}

.error-page p {
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* ===== 提示框 ===== */
.alert {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 14px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alert-success { background: #d1fae5; color: #065f46; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* ===== 底部 ===== */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    text-align: center;
    padding: 24px;
    font-size: 13px;
    margin-top: auto;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-icp {
    margin-top: 6px;
    font-size: 12px;
    color: var(--gray-500);
    opacity: 0.7;
}

/* ===== 响应式 ===== */
@media (max-width: 968px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .download-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-nav-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    .hero-stats { gap: 24px; }
    .hero-decoration { display: none; }
}

@media (max-width: 768px) {
    .top-bar-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 16px;
        gap: 8px;
    }

    .logo { width: 100%; justify-content: center; }
    .nav-menu { width: 100%; justify-content: center; flex-wrap: wrap; margin-left: 0; }
    .user-menu { width: 100%; justify-content: center; flex-wrap: wrap; }

    .hero { padding: 48px 16px 60px; }
    .hero-title { font-size: 28px; }
    .hero-actions { flex-direction: column; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }

    .page-container { padding: 32px 16px; }
    .page-title { font-size: 26px; }

    .features-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .download-grid { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .page-header-admin {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .admin-table { font-size: 12px; }
    .admin-table th, .admin-table td { padding: 8px; }

    .comparison-table th, .comparison-table td { padding: 10px 12px; font-size: 13px; }
}

@media (max-width: 480px) {
    .nav-item { padding: 6px 12px; font-size: 13px; }
    .hero-stat-value { font-size: 24px; }
    .hero-stats { gap: 12px; }
}
