/* ============================================
   小桔圈总官网 - 共用样式
   平台主色: 深灰蓝 #1a2744
   桔小鱼: 橙色 #ff7d00
   桔小盘: 蓝色 #3A7AFE
   ============================================ */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fc;
    color: #1a2744;
    font-size: 14px;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

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

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

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

/* ============================================
   布局容器
   ============================================ */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-wrapper {
    min-height: calc(100vh - 64px - 200px);
    padding: 40px 0;
}

/* ============================================
   顶部导航栏
   ============================================ */
.navbar {
    height: 64px;
    background-color: #ffffff;
    border-bottom: 1px solid #e8eaed;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    font-size: 20px;
    font-weight: 700;
    color: #1a2744;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1a2744, #3a4a6b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar-nav a {
    font-size: 15px;
    color: #666;
    transition: color 0.2s;
    position: relative;
    padding: 4px 0;
}

.navbar-nav a:hover {
    color: #1a2744;
}

.navbar-nav a.active {
    color: #1a2744;
    font-weight: 600;
}

.navbar-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #1a2744;
    border-radius: 1px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-search {
    position: relative;
}

.navbar-search input {
    width: 200px;
    height: 36px;
    padding: 0 12px 0 36px;
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    font-size: 13px;
    background-color: #f8f9fc;
    transition: all 0.2s;
}

.navbar-search input:focus {
    border-color: #1a2744;
    background-color: #fff;
    width: 240px;
}

.navbar-search::before {
    content: '🔍';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.5;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.user-info:hover {
    background-color: #f8f9fc;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a2744, #3a4a6b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.user-name {
    font-size: 14px;
    color: #1a2744;
    font-weight: 500;
}

/* ============================================
   按钮样式
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background-color: #1a2744;
    color: #fff;
    box-shadow: 0 2px 8px rgba(26, 39, 68, 0.2);
}

.btn-primary:hover {
    background-color: #2a3a5c;
    box-shadow: 0 4px 12px rgba(26, 39, 68, 0.3);
}

.btn-outline {
    background-color: #fff;
    color: #1a2744;
    border: 1px solid #1a2744;
}

.btn-outline:hover {
    background-color: #f8f9fc;
}

.btn-secondary {
    background-color: #f0f2f5;
    color: #666;
}

.btn-secondary:hover {
    background-color: #e8eaed;
}

.btn-pill {
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    height: 48px;
    padding: 0 28px;
    font-size: 16px;
}

.btn-md {
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
}

.btn-sm {
    height: 32px;
    padding: 0 14px;
    font-size: 13px;
}

/* 品牌色按钮 */
.btn-orange {
    background-color: #ff7d00;
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 125, 0, 0.2);
}

.btn-orange:hover {
    background-color: #ff6a00;
}

.btn-blue {
    background-color: #3A7AFE;
    color: #fff;
    box-shadow: 0 2px 8px rgba(58, 122, 254, 0.2);
}

.btn-blue:hover {
    background-color: #2a6aee;
}

/* ============================================
   卡片样式
   ============================================ */
.card {
    background-color: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title-right {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

/* ============================================
   页面标题
   ============================================ */
.page-header {
    text-align: center;
    margin-bottom: 32px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 15px;
    color: #666;
}

/* ============================================
   工具卡片（多品牌色）
   ============================================ */
.tool-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
    border: 1px solid #eef0f3;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.tool-card.orange:hover {
    border-color: #ffd591;
}

.tool-card.blue:hover {
    border-color: #a8c5fe;
}

.tool-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.tool-icon.orange {
    background: linear-gradient(135deg, #ff7d00, #ff9c33);
}

.tool-icon.blue {
    background: linear-gradient(135deg, #3A7AFE, #6b9bfe);
}

.tool-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a2744;
}

.tool-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 8px;
}

.tool-tag.orange {
    background-color: #fff8f0;
    color: #ff7d00;
}

.tool-tag.blue {
    background-color: #f0f5ff;
    color: #3A7AFE;
}

.tool-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tool-feature {
    padding: 4px 12px;
    background-color: #f8f9fc;
    border-radius: 6px;
    font-size: 12px;
    color: #666;
}

.tool-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f0f2f5;
}

.tool-price-label {
    font-size: 13px;
    color: #999;
}

.tool-price {
    font-size: 24px;
    font-weight: 700;
}

.tool-price.orange {
    color: #ff7d00;
}

.tool-price.blue {
    color: #3A7AFE;
}

.tool-price-unit {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

/* ============================================
   培训卡片
   ============================================ */
.training-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
    border: 1px solid #eef0f3;
    position: relative;
}

.training-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.training-card.orange:hover {
    border-color: #ffd591;
}

.training-card.blue:hover {
    border-color: #a8c5fe;
}

.training-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 11px;
    color: #bbb;
    background-color: #f8f9fc;
    padding: 4px 10px;
    border-radius: 10px;
}

.training-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.training-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.training-icon.orange {
    background: linear-gradient(135deg, #ff7d00, #ff9c33);
}

.training-icon.blue {
    background: linear-gradient(135deg, #3A7AFE, #6b9bfe);
}

.training-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a2744;
}

.training-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.training-content {
    margin-bottom: 24px;
}

.training-content li {
    padding: 8px 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.training-content li::before {
    content: '✓';
    font-weight: 700;
    flex-shrink: 0;
}

.training-content.orange li::before {
    color: #ff7d00;
}

.training-content.blue li::before {
    color: #3A7AFE;
}

.training-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f0f2f5;
}

.training-price-label {
    font-size: 13px;
    color: #999;
}

.training-price {
    font-size: 28px;
    font-weight: 700;
}

.training-price.orange {
    color: #ff7d00;
}

.training-price.blue {
    color: #3A7AFE;
}

.training-price-unit {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

.training-price-note {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

/* ============================================
   Hero 区域
   ============================================ */
.hero {
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f9fc 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ============================================
   数据展示区
   ============================================ */
.stats-section {
    padding: 48px 0;
    background-color: #f8f9fc;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: #999;
}

/* ============================================
   CTA 区域
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #1a2744 0%, #2a3a5c 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
}

.cta-button {
    background-color: #fff;
    color: #1a2744;
    padding: 14px 36px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background-color: #1a1a2e;
    padding: 48px 0 24px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3a4a6b, #1a2744);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   用户中心 - 侧边栏布局
   ============================================ */
.user-layout {
    display: flex;
    gap: 24px;
    min-height: calc(100vh - 64px);
}

.user-sidebar {
    width: 220px;
    background-color: #fff;
    border-right: 1px solid #eef0f3;
    padding: 20px 0;
    flex-shrink: 0;
}

.user-sidebar-menu li {
    margin-bottom: 4px;
}

.user-sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    font-size: 14px;
    color: #666;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.user-sidebar-menu a:hover {
    background-color: #f8f9fc;
    color: #1a2744;
}

.user-sidebar-menu a.active {
    background-color: #f0f4ff;
    color: #1a2744;
    font-weight: 600;
    border-left-color: #1a2744;
}

.user-sidebar-menu .menu-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.user-main {
    flex: 1;
    padding: 24px;
    background-color: #f8f9fc;
}

/* ============================================
   平台会员卡片
   ============================================ */
.platform-member-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #eef0f3;
    transition: all 0.2s;
}

.platform-member-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.platform-member-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.platform-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.platform-icon.orange {
    background: linear-gradient(135deg, #ff7d00, #ff9c33);
}

.platform-icon.blue {
    background: linear-gradient(135deg, #3A7AFE, #6b9bfe);
}

.platform-info {
    flex: 1;
}

.platform-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 2px;
}

.platform-type {
    font-size: 12px;
    color: #999;
}

.platform-member-right {
    text-align: right;
    flex-shrink: 0;
}

.platform-expire {
    font-size: 15px;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 2px;
}

.platform-days-left {
    font-size: 12px;
    margin-bottom: 8px;
}

.platform-days-left.orange {
    color: #ff7d00;
}

.platform-days-left.gray {
    color: #999;
}

/* ============================================
   平台积分卡片
   ============================================ */
.platform-points-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #eef0f3;
}

.platform-points-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.platform-points-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.platform-points-icon.orange {
    background-color: rgba(255, 125, 0, 0.1);
}

.platform-points-icon.blue {
    background-color: rgba(58, 122, 254, 0.1);
}

.platform-points-name {
    font-size: 15px;
    font-weight: 500;
    color: #1a2744;
}

.platform-points-value {
    font-size: 28px;
    font-weight: 700;
}

.platform-points-value.orange {
    color: #ff7d00;
}

.platform-points-value.blue {
    color: #3A7AFE;
}

.platform-points-label {
    font-size: 12px;
    color: #999;
}

/* ============================================
   工具类
   ============================================ */
.text-primary { color: #1a2744; }
.text-orange { color: #ff7d00; }
.text-blue { color: #3A7AFE; }
.text-success { color: #52c41a; }
.text-warning { color: #faad14; }
.text-danger { color: #f5222d; }
.text-muted { color: #999; }
.text-bold { font-weight: 600; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-1 { flex: 1; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

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

/* ============================================
   响应式
   ============================================ */
/* ============================================
   手机端汉堡菜单
   ============================================ */
.hamburger-btn {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.hamburger-btn:hover {
    background-color: #f8f9fc;
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background-color: #1a2744;
    border-radius: 1px;
    transition: all 0.3s;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 99;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 12px;
    font-size: 16px;
    color: #1a2744;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-menu-item:hover {
    background-color: #f8f9fc;
}

.mobile-menu-item.active {
    color: #1a2744;
    font-weight: 600;
}

.mobile-menu-icon {
    font-size: 20px;
    width: 28px;
    text-align: center;
}

.mobile-menu-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 12px;
    border-bottom: 1px solid #f0f2f5;
    margin-bottom: 12px;
}

.mobile-menu-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a2744, #3a4a6b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.mobile-menu-user-info {
    flex: 1;
}

.mobile-menu-user-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a2744;
}

.mobile-menu-user-desc {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

/* ============================================
   手机端底部导航栏
   ============================================ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #fff;
    border-top: 1px solid #eef0f3;
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav.show {
    display: flex;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    transition: all 0.2s;
    color: #999;
}

.bottom-nav-item.active {
    color: #1a2744;
}

.bottom-nav-icon {
    font-size: 20px;
}

.bottom-nav-label {
    font-size: 11px;
}

/* 手机端页面底部留出底部导航栏的空间 */
@media (max-width: 768px) {
    .has-bottom-nav {
        padding-bottom: 80px;
    }
}

@media (max-width: 900px) {
    .navbar-nav {
        display: none;
    }
    .navbar-search {
        display: none;
    }
    .hamburger-btn {
        display: flex;
    }
    .hero-title {
        font-size: 24px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .stats-row {
        gap: 24px;
    }
    .stat-value {
        font-size: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .user-layout {
        flex-direction: column;
    }
    .user-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eef0f3;
    }
    .page-title {
        font-size: 22px;
    }
    .card {
        padding: 16px;
    }
    .btn-lg {
        height: 44px;
        padding: 0 20px;
        font-size: 15px;
    }
    /* 手机端按钮触摸区域放大 */
    .btn {
        min-height: 44px;
    }
    .btn-sm {
        min-height: 36px;
    }
    /* 手机端表单优化 */
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* 防止iOS缩放 */
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ============================================
   悬浮客服按钮
   ============================================ */
.floating-service {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
}

.floating-service-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7d00, #ff9c33);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 125, 0, 0.4);
    transition: all 0.3s;
    border: none;
}

.floating-service-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 125, 0, 0.5);
}

.floating-service-panel {
    position: absolute;
    right: 0;
    bottom: 70px;
    width: 280px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 20px;
    display: none;
    animation: slideUp 0.3s ease;
}

.floating-service-panel.show {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-service-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 12px;
    text-align: center;
}

.floating-service-qrcode {
    width: 160px;
    height: 160px;
    margin: 0 auto 12px;
    border: 1px solid #eef0f3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.floating-service-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-service-qrcode-placeholder {
    font-size: 48px;
    opacity: 0.3;
}

.floating-service-wechat {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.floating-service-wechat span {
    font-weight: 600;
    color: #ff7d00;
}

.floating-service-tip {
    text-align: center;
    font-size: 12px;
    color: #999;
}

.floating-service-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #f0f2f5;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.floating-service-close:hover {
    background-color: #e8eaed;
    color: #666;
}

@media (max-width: 768px) {
    .floating-service {
        right: 12px;
        bottom: 80px;
    }
    .floating-service-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    .floating-service-panel {
        width: 240px;
        padding: 16px;
    }
}
