/* ========== 全局样式 ========== */
/* 导航栏 Logo */
.navbar-logo img {
    height: 32px;      /* 导航栏高度 56px，logo 32px 合适 */
    width: auto;
    display: block;
}

/* 手机端调整 */
@media (max-width: 768px) {
    .navbar-logo img {
        height: 26px;
    }
}
.navbar-logo a {
    display: inline-block;
    transition: opacity 0.3s;
}
.navbar-logo a:hover {
    opacity: 0.8;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
    overflow-x: hidden;  /* ✅ 禁止左右横向滚动 */
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;  /* ✅ 禁止左右横向滚动 */
}

/* ========== 加载动画 ========== */
#loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loading-container.hidden {
    opacity: 0;
    visibility: hidden;
}
#circle {
    width: 60px;
    height: 60px;
    border: 4px solid #f0f0f0;
    border-top-color: #FF8C00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
#circletext {
    margin-top: 20px;
    color: #FF8C00;
    font-size: 14px;
    letter-spacing: 2px;
}
.loading-tip {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}
.navbar-logo {
    font-size: 18px;
    font-weight: 600;
    color: #FF8C00;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.navbar-logo i {
    margin-right: 6px;
    font-size: 20px;
}
.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}
.navbar-menu a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.navbar-menu a:hover {
    color: #FF8C00;
}
.navbar-btns {
    display: flex;
    gap: 10px;
}
.navbar-btns .layui-btn {
    height: 32px;
    line-height: 32px;
    padding: 0 18px;
    font-size: 13px;
}

/* ========== Hero 区域 ========== */
.hero {
    min-height: 580px;  /* ✅ 电脑端高度调高一点 */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 80px 20px 60px;
    overflow: hidden;
}
.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
}
/* ✅ 改成黑色半透明遮罩，保证文字清晰 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);  /* 黑色半透明 */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.hero-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);  /* 文字阴影，更清晰 */
}
.hero-subtitle {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.hero-desc {
    font-size: 15px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.8;
    min-height: 50px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.hero-desc .typed-cursor {
    opacity: 1;
    animation: typed_blink 0.7s infinite;
}
@keyframes typed_blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-btn {
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}
.hero-btn-primary {
    background: #FF8C00;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}
.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
    background: #FF9800;
}
.hero-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.hero-btn-outline:hover {
    background: #fff;
    color: #333;
}

/* 轮播指示器 */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}
.hero-dot.active {
    background: #fff;
    width: 30px;
    border-radius: 5px;
}

/* ========== 通用区块 ========== */
.section {
    padding: 60px 20px;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.section-title p {
    font-size: 14px;
    color: #999;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* ========== 统计卡片 ========== */
.stats-section {
    background: #fff;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-item {
    text-align: center;
}
.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 24px;
}
.stat-icon.orange { background: #FFF3E0; color: #FF8C00; }
.stat-icon.blue { background: #E3F2FD; color: #2196F3; }
.stat-icon.green { background: #E8F5E9; color: #4CAF50; }
.stat-icon.purple { background: #F3E5F5; color: #9C27B0; }
.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 13px;
    color: #999;
}

/* ========== 功能卡片 ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: #fff;
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    background: linear-gradient(135deg, #FF8C00, #FFB74D);
    color: #fff;
}
.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.feature-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}

/* ========== 关于区块 ========== */
.about-section {
    background: #fff;
}
.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.about-image img {
    width: 100%;
    display: block;
}
.about-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}
.about-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 12px;
}
.about-quote {
    background: #FFF8E1;
    border-left: 4px solid #FF8C00;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 16px;
}
.about-quote p {
    margin-bottom: 0;
    color: #795548;
    font-size: 13px;
}

/* ========== 实时数据区块 ========== */
.realtime-section {
    background: #f5f7fa;
}
.realtime-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.realtime-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.realtime-header {
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.realtime-header i {
    color: #FF8C00;
    margin-right: 6px;
}
.realtime-body {
    padding: 0;
}
.realtime-table {
    width: 100%;
    border-collapse: collapse;
}
.realtime-table th,
.realtime-table td {
    padding: 10px 18px;
    text-align: left;
    font-size: 13px;
    border-bottom: 1px solid #f5f5f5;
}
.realtime-table th {
    background: #fafafa;
    color: #999;
    font-weight: 500;
}
.realtime-table tr:last-child td {
    border-bottom: none;
}
.user-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 6px;
}
.user-type-admin { color: #f00; font-weight: bold; }
.user-type-vip { color: #FF8C00; font-weight: bold; }
.user-type-free { color: #999; }

/* ========== 价格套餐 ========== */
.pricing-section {
    background: #fff;
}
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}
.pricing-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 2px solid #f0f0f0;
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}
.pricing-card.featured {
    border-color: #FF8C00;
    position: relative;
}
.pricing-card.featured::before {
    content: '推荐';
    position: absolute;
    top: 16px;
    right: -28px;
    background: #FF8C00;
    color: #fff;
    padding: 3px 30px;
    font-size: 11px;
    transform: rotate(45deg);
}
.pricing-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}
.pricing-price {
    font-size: 40px;
    font-weight: 700;
    color: #FF8C00;
    margin-bottom: 6px;
}
.pricing-price span {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}
.pricing-desc {
    font-size: 13px;
    color: #999;
    margin-bottom: 24px;
}
.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}
.pricing-features li {
    padding: 8px 0;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #f5f5f5;
}
.pricing-features li:last-child {
    border-bottom: none;
}
.pricing-features li i {
    color: #4CAF50;
    margin-right: 6px;
}
.pricing-btn {
    display: block;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
}
.pricing-btn-outline {
    border: 2px solid #FF8C00;
    color: #FF8C00;
}
.pricing-btn-outline:hover {
    background: #FF8C00;
    color: #fff;
}
.pricing-btn-primary {
    background: linear-gradient(135deg, #FF8C00, #FFB74D);
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.25);
}
.pricing-btn-primary:hover {
    box-shadow: 0 6px 14px rgba(255, 140, 0, 0.35);
    transform: translateY(-2px);
}

/* ========== 优势区块 ========== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.advantage-item {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.advantage-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.advantage-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #FFF3E0;
    color: #FF8C00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.advantage-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}
.advantage-content p {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}

/* ========== 页脚 ========== */
.footer {
    background: #263238;
    color: #90A4AE;
    padding: 30px 20px;
    text-align: center;
    font-size: 13px;
}
.footer a {
    color: #FF8C00;
    text-decoration: none;
}
.footer .heart {
    color: #f44336;
}

/* ========== 回到顶部 ========== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 42px;
    height: 42px;
    background: #FF8C00;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.25);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(255, 140, 0, 0.35);
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .navbar { 
        padding: 0 15px; 
        height: 50px;
    }
    .navbar-logo { font-size: 16px; }
    .navbar-menu { display: none; }
    .navbar-btns .layui-btn {
        height: 28px;
        line-height: 28px;
        padding: 0 14px;
        font-size: 12px;
    }
    
    /* ✅ 手机端轮播区域优化 */
    .hero { 
        min-height: 360px;
        padding: 70px 15px 50px;
    }
    .hero-title { font-size: 24px; }
    .hero-subtitle { font-size: 14px; }
    .hero-desc { font-size: 12px; margin-bottom: 20px; min-height: 40px; }
    .hero-btn {
        padding: 10px 22px;
        font-size: 13px;
    }
    .hero-dots { bottom: 20px; }
    .hero-dot { width: 8px; height: 8px; }
    .hero-dot.active { width: 24px; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .features-grid { grid-template-columns: 1fr; }
    .about-wrap { grid-template-columns: 1fr; gap: 24px; }
    .realtime-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    
    .section { padding: 40px 15px; }
    .section-title { margin-bottom: 30px; }
    .section-title h2 { font-size: 22px; }
    
    .stats-section { padding: 20px; margin-top: -30px; }
    .stat-number { font-size: 22px; }
    .stat-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
}
/* ========== Logo 斜向扫光动画（参考版） ========== */
.navbar-logo a {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

/* 橙色斜光带 */
.navbar-logo a::before {
    content: "";
    position: absolute;
    left: -300px;  /* 起始位置：左边外面 */
    top: -200px;   /* 起始位置：上面外面 */
    width: 120px;  /* 光带宽度 */
    height: 8px;   /* 光带高度（细的） */
    background-color: rgba(255, 140, 0, 0.6);  /* 橙色，半透明 */
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.4);  /* 发光效果 */
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    /* 动画：6秒一次，无限循环 */
    -webkit-animation: logoSearchLights 6s ease-in 0s infinite;
    -o-animation: logoSearchLights 6s ease-in 0s infinite;
    animation: logoSearchLights 6s ease-in 0s infinite;
}

/* 动画关键帧 */
@-webkit-keyframes logoSearchLights {
    40% { left: -80px; top: 0; }
    60% { left: 200px; top: 0px; }
    80% { left: -80px; top: 0px; }
}
@-moz-keyframes logoSearchLights {
    40% { left: -80px; top: 0; }
    60% { left: 200px; top: 0px; }
    80% { left: -80px; top: 0px; }
}
@keyframes logoSearchLights {
    40% { left: -80px; top: 0; }      /* 40% 时：到达 logo 左边 */
    60% { left: 200px; top: 0px; }    /* 60% 时：扫到 logo 右边 */
    80% { left: -80px; top: 0px; }    /* 80% 时：回到左边 */
}