/* ============================================================
   迅达酷客 - 全局主样式表 v2.0
   「云脉 Indigo」扁平化企业服务设计系统
   主色：靛蓝紫 #4f46e5 / 渐变：Indigo → Violet
   ============================================================ */

/* ---------- 1. CSS 重置 ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
                 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- 2. 设计令牌（CSS 变量） ---------- */
:root {
    /* 品牌主色 - 靛蓝紫（年轻 · 专业 · 云服务） */
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;

    /* 辅助色 - 紫罗兰 / 青 */
    --secondary: #7c3aed;
    --secondary-dark: #6d28d9;
    --secondary-light: #a78bfa;
    --accent: #06b6d4;

    /* 品牌渐变 */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-soft: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
    --gradient-hero: linear-gradient(135deg, #4338ca 0%, #4f46e5 45%, #7c3aed 100%);

    /* 功能色 */
    --success: #10b981;
    --success-dark: #059669;
    --warning: #f59e0b;
    --warning-dark: #d97706;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --info: #0ea5e9;

    /* 中性色 */
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-muted: #f1f5f9;
    --bg-hover: #f8fafc;
    --bg-dark: #131129;

    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --text-inverse: #ffffff;
    --text-disabled: #cbd5e1;

    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --border-dark: #cbd5e1;

    /* 阴影 - 扁平化克制使用 */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(79, 70, 229, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(79, 70, 229, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.05);

    /* 圆角 */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

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

    /* 布局 */
    --container-max: 1200px;
    --header-height: 64px;

    /* 过渡 */
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 3. 布局容器 ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ---------- 4. 按钮系统 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: all var(--transition);
    user-select: none;
    position: relative;
    overflow: hidden;
}

.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* 主按钮 */
.btn-primary {
    background: var(--primary);
    color: var(--text-inverse);
    box-shadow: 0 1px 2px rgba(79, 70, 229, 0.25);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
}

/* 次要按钮（描边） */
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--text-inverse);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

/* 浅色按钮（用于深色背景） */
.btn-light {
    background: var(--text-inverse);
    color: var(--primary);
    border-color: var(--text-inverse);
}
.btn-light:hover {
    background: var(--primary-50);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 幽灵按钮 */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}
.btn-ghost:hover {
    background: var(--bg-muted);
    color: var(--text-primary);
}

/* 危险按钮 */
.btn-danger {
    background: var(--danger);
    color: var(--text-inverse);
}
.btn-danger:hover {
    background: var(--danger-dark);
    transform: translateY(-1px);
}

/* 按钮尺寸 */
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-md); }
.btn-block { width: 100%; }

/* 按钮加载态 */
.btn-loading { display: none; align-items: center; gap: 8px; }
.btn-loading.show { display: inline-flex; }
.btn-text.hide { display: none; }
.spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 5. 导航栏 ---------- */
header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}
header.is-scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.logo:hover { color: var(--primary); }
.logo i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

/* 导航链接 */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links a {
    position: relative;
    padding: 8px 14px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: color var(--transition), background var(--transition);
}
.nav-links a:hover {
    color: var(--primary);
    background: var(--primary-50);
}
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-50);
    font-weight: 600;
}

/* 导航按钮区 */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-buttons .btn { padding: 8px 18px; }

#console-btn {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
}
#console-btn:hover { opacity: 0.92; transform: translateY(-1px); }

/* 移动端汉堡 */
.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 18px;
    transition: background var(--transition);
}
.mobile-toggle:hover { background: var(--bg-muted); }
.mobile-toggle[aria-expanded="true"] { background: var(--primary-50); color: var(--primary); }
.mobile-toggle i { transition: transform var(--transition); }
.mobile-toggle[aria-expanded="true"] i { transform: rotate(90deg); }

/* ---------- 6. 页脚 ---------- */
footer {
    background: var(--bg-dark);
    color: #cbd5e1;
    margin-top: 0;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
    padding: var(--space-3xl) 0 var(--space-2xl);
}
.footer-column h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: 10px;
}
.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-primary);
}
.footer-links li { margin-bottom: 10px; font-size: 13px; }
.footer-links i { margin-right: 8px; color: var(--primary-light); width: 14px; }
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-lg) 0;
}
.footer-bottom-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    font-size: 12px;
    color: #64748b;
}
.beian { display: flex; align-items: center; gap: 8px; }
.beian-icon { width: 14px; height: 14px; display: inline-block; }
.beian a { color: #94a3b8 !important; }
.beian a:hover { color: #fff !important; }

/* ---------- 7. 用户信息 / 下拉菜单 ---------- */
.user-info { display: flex; align-items: center; gap: 10px; }
.user-avatar-wrapper { position: relative; }
.user-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 14px;
    cursor: pointer;
    transition: box-shadow var(--transition);
}
.user-avatar:hover { box-shadow: 0 0 0 3px var(--primary-100); }
.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all var(--transition);
    z-index: 1001;
}
.user-avatar-wrapper:hover .user-dropdown,
.user-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
}
.user-dropdown-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600;
}
.user-dropdown-info { min-width: 0; }
.user-dropdown-name { font-weight: 600; color: var(--text-primary); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-dropdown-email { font-size: 12px; color: var(--text-tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-dropdown-divider { height: 1px; background: var(--border-light); margin: 4px 0; }
.user-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-secondary);
}
.user-dropdown-item i { color: var(--text-tertiary); margin-right: 10px; width: 14px; }
.user-dropdown-item span:not(.user-dropdown-value) { display: flex; align-items: center; }
.user-dropdown-value { color: var(--text-tertiary); font-size: 12px; }
.user-dropdown-link {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition);
}
.user-dropdown-link:hover { background: var(--primary-50); color: var(--primary); }
.user-dropdown-link i { margin-right: 10px; width: 14px; color: var(--text-tertiary); }
.user-dropdown-link.logout-link { color: var(--danger); }
.user-dropdown-link.logout-link i { color: var(--danger); }
.user-dropdown-link.logout-link:hover { background: #fef2f2; color: var(--danger-dark); }

/* ---------- 8. 悬浮客服组件 ---------- */
.floating-service-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 998;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: var(--radius-full);
    padding: 12px 20px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
    transition: all var(--transition);
}
.floating-service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.5);
}
.service-btn-content { display: flex; align-items: center; gap: 8px; }
.floating-service-btn:hover .service-btn-content { transform: scale(1.02); }
.service-icon { font-size: 16px; }
.service-text { font-size: 13px; font-weight: 600; }

/* 客服弹窗 */
.service-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
    padding: 20px;
}
.service-overlay.active { opacity: 1; visibility: visible; }
.service-modal {
    background: #fff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 32px;
    transform: translateY(16px) scale(0.98);
    transition: transform var(--transition-slow);
}
.service-overlay.active .service-modal { transform: translateY(0) scale(1); }
.service-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-muted);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.service-close:hover { background: var(--danger); color: #fff; }
.service-info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.service-column { display: flex; flex-direction: column; gap: 20px; }
.service-card {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all var(--transition);
    flex: 1;
}
.service-card.wechat-card { display: flex; flex-direction: column; }
.service-card:hover { border-color: var(--primary-200); box-shadow: var(--shadow-md); }
.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.icon-badge {
    width: 42px; height: 42px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff;
    flex-shrink: 0;
}
.qq-badge { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.wechat-badge { background: linear-gradient(135deg, #10b981, #34d399); }
.card-title { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.card-desc { font-size: 12px; color: var(--text-tertiary); }
.card-body { display: flex; flex-direction: column; gap: 12px; }
.info-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.info-label { font-size: 13px; color: var(--text-secondary); flex-shrink: 0; }
.info-value-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    flex: 1;
    justify-content: flex-end;
}
.info-value { font-size: 14px; font-weight: 600; color: var(--text-primary); font-family: 'SF Mono', Consolas, monospace; }
.copy-btn {
    width: 26px; height: 26px;
    border-radius: var(--radius-sm);
    background: var(--primary-50);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    transition: all var(--transition);
}
.copy-btn:hover { background: var(--primary); color: #fff; }
.qr-section { text-align: center; }
.qr-container {
    width: 160px; height: 160px;
    margin: 0 auto 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
}
.qr-container.qr-error::after {
    content: '二维码加载失败';
    font-size: 12px;
    color: var(--text-tertiary);
}
.qr-image { width: 100%; height: 100%; object-fit: cover; }
.qr-hint { font-size: 12px; color: var(--text-tertiary); }

/* 复制提示 */
.service-toast {
    position: fixed;
    bottom: 90px;
    right: 24px;
    background: var(--text-primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius);
    font-size: 13px;
    z-index: 1003;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition);
    pointer-events: none;
}
.service-toast.show { opacity: 1; transform: translateY(0); }

/* ---------- 9. 通用组件 ---------- */

/* 区块标题 */
.section-title { text-align: center; margin-bottom: var(--space-2xl); }
.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.section-title p { color: var(--text-secondary); font-size: 15px; }

/* 卡片 */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition);
}
.card:hover { border-color: var(--primary-200); box-shadow: var(--shadow-md); }

/* 徽章 */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}
.badge-primary { background: var(--primary-50); color: var(--primary); }
.badge-success { background: #ecfdf5; color: var(--success-dark); }
.badge-warning { background: #fffbeb; color: var(--warning-dark); }
.badge-danger { background: #fef2f2; color: var(--danger-dark); }

/* 表单 */
.form-group { margin-bottom: var(--space-md); }
.input-wrapper { position: relative; display: flex; align-items: center; }
.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-tertiary);
    font-size: 14px;
    pointer-events: none;
}
.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-primary);
    background: #fff;
    transition: all var(--transition);
}
.input-wrapper textarea { padding-left: 14px; min-height: 100px; resize: vertical; }
.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-100);
}
.input-wrapper input.error { border-color: var(--danger); }
.input-valid {
    position: absolute;
    right: 14px;
    color: var(--success);
    display: none;
}
.input-valid.show { display: block; }
.input-valid i { font-size: 14px; }
.error-message {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--danger);
    font-size: 12px;
    margin-top: 6px;
}
.error-message i { font-size: 12px; }

/* 表格 */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--bg-muted);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}
.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-primary);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-hover); }

/* 分页 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}
.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
}
.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}
.pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination-info { font-size: 13px; color: var(--text-secondary); }

/* 返回顶部 */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 90px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 997;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: var(--primary); border-color: var(--primary); }

/* 加载动画 */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-100);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 40px auto;
}

/* ---------- 10. 无障碍 & 动效偏好 ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1100px) {
    .nav-links a { padding: 8px 10px; font-size: 13px; }
    .logo { font-size: 18px; }
}

@media (max-width: 850px) {
    .mobile-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        z-index: 999;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        animation: navDrawerIn 0.25s ease;
    }
    .nav-links a { padding: 12px 14px; font-size: 15px; }
    .nav-buttons .btn-outline { display: none; }
    @keyframes navDrawerIn {
        from { transform: translateY(-12px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
}

@media (max-width: 768px) {
    :root { --header-height: 56px; }
    .container { padding: 0 var(--space-md); }
    .footer-content { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); padding: var(--space-2xl) 0 var(--space-xl); }
    .service-info-container { grid-template-columns: 1fr; }
    .floating-service-btn { right: 16px; bottom: 16px; padding: 10px 16px; }
}

@media (max-width: 480px) {
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom-content { flex-direction: column; text-align: center; }
    .nav-buttons .btn { padding: 7px 14px; font-size: 13px; }
}
