/* ===========================================================================
 * 大冷总管 站点基础样式（Web 前台）
 * 被 layouts/app.blade.php 引用，所有公开页（首页/资讯/帮助中心/关于我们等）共用
 * =========================================================================*/

/* 基础样式 */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    padding-top: 0;
    color: #1f2937;
}

/* 页面容器 */
.page-wrapper {
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部导航 */
.site-header {
    position: relative;
    z-index: 10;
}

/* Logo 样式 */
.logo-icon {
    fill: #0098CF;
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.05);
}

/* 导航链接 */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #0098CF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0098CF;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #0098CF;
}

.nav-link.active::after {
    width: 100%;
}

/* 按钮样式 */
.btn-primary {
    background-color: #0098CF;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0083b0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 152, 207, 0.25);
}

.btn-secondary {
    background-color: white;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    color: #0098CF;
    border-color: #0098CF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-accent {
    background-color: #F9BA00;
    color: #1f2937;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #d59e00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 186, 0, 0.25);
}

/* 特效背景圆 */
.circle-bg {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 152, 207, 0.1) 0%, rgba(0, 152, 207, 0) 70%);
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: -100px;
}

.circle-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    right: 10%;
    background: radial-gradient(circle, rgba(249, 186, 0, 0.1) 0%, rgba(249, 186, 0, 0) 70%);
}

/* 动画 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* 特性卡片 */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #0098CF;
}

.feature-icon {
    background-color: rgba(0, 152, 207, 0.1);
    color: #0098CF;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: #0098CF;
    color: white;
}

/* 标签页 */
.tab-button {
    position: relative;
    transition: all 0.3s ease;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0098CF;
    transition: width 0.3s ease;
}

.tab-button.active {
    color: #0098CF;
}

.tab-button.active::after {
    width: 100%;
}

/* 页脚 */
.footer {
    background-color: #f3f4f6;
}

.footer-link {
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #0098CF;
}

/* 响应式 */
@media (max-width: 768px) {
    .circle-1 { width: 300px; height: 300px; top: -100px; right: -50px; }
    .circle-2 { width: 200px; height: 200px; }
    .circle-3 { width: 150px; height: 150px; }
}
