@charset "UTF-8";
/*
 * ================================================
 * Rocky 主题的首页样式表 - 浅色明亮版
 * ================================================
 * 版本：2.1
 * 说明：调整为白色/浅灰色背景，主色调为 #0d6efd
 * 时间：2026-01-16 14:00
 * 兼容性：支持现代浏览器（Chrome, Firefox, Safari, Edge）
 * 主色调：基于 #0d6efd 的明亮配色方案
 * ================================================
 */

/* ==========================================================================
 1. 基础样式 - 浅色主题
 ========================================================================== */

/**
 * 页面主体样式
 * - 使用系统字体栈，确保最佳显示效果
 * - 白色背景，浅灰色渐变营造层次感
 * - 顶部留出导航栏空间
 */
body {
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
 background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #f1f3f5 100%);
 background-attachment: fixed;
 color: #212529;
 padding-top: 76px;
 line-height: 1.7;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

/* 通用容器样式 */
.container {
 max-width: 1200px;
}

/* ==========================================================================
 2. Hero 主区域 - 浅色版
 ========================================================================== */

/**
 * Hero 区域背景
 * - 白色到浅灰色渐变，点缀蓝色
 * - 营造明亮、清新的视觉效果
 */
.bg-hero {
 background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 25%, #e9ecef 50%, #ffffff 100%);
 position: relative;
 overflow: hidden;
 border-bottom: 1px solid #e9ecef;
}

/**
 * Hero 区域动态光晕效果
 * - 右上角的淡蓝色光圈
 * - 通过动画增强视觉吸引力
 */
.bg-hero::before {
 content: '';
 position: absolute;
 top: -50%;
 right: -20%;
 width: 70%;
 height: 200%;
 background: radial-gradient(circle, rgba(13, 110, 253, 0.08) 0%, transparent 70%);
 animation: pulse 8s ease-in-out infinite;
 pointer-events: none;
}

/**
 * Hero 区域底部分隔线
 * - 蓝色渐变线条，增强区域划分
 */
.bg-hero::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 height: 2px;
 background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.3), transparent);
}

/**
 * 光晕呼吸动画
 * - 缩放 + 轻微旋转
 * - 创造动态、活跃的视觉效果
 */
@keyframes pulse {
 0%, 100% {
 transform: scale(1) rotate(0deg);
 opacity: 0.5;
 }
 50% {
 transform: scale(1.1) rotate(2deg);
 opacity: 0.3;
 }
}

/* ==========================================================================
 3. CTA（行动号召）区域 - 浅色版
 ========================================================================== */

/**
 * CTA 区域背景
 * - 浅蓝色渐变背景
 * - 与 Hero 区域区分，但保持明亮风格
 */
.bg-hero-cta {
 background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #e3f2fd 100%);
 position: relative;
 overflow: hidden;
 border-top: 1px solid rgba(13, 110, 253, 0.15);
 border-bottom: 1px solid rgba(13, 110, 253, 0.15);
 box-shadow: 0 -10px 30px rgba(13, 110, 253, 0.05);
}

/**
 * CTA 区域双色光点效果
 * - 淡蓝色光点效果
 */
.bg-hero-cta::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: 
 radial-gradient(circle at 20% 50%, rgba(13, 110, 253, 0.05) 0%, transparent 50%),
 radial-gradient(circle at 80% 50%, rgba(13, 110, 253, 0.05) 0%, transparent 50%);
 animation: float 10s ease-in-out infinite;
 pointer-events: none;
}

/**
 * 浮动动画
 * - 垂直移动 + 轻微缩放
 * - 营造轻盈、动态的感觉
 */
@keyframes float {
 0%, 100% {
 transform: translateY(0) scale(1);
 }
 50% {
 transform: translateY(-10px) scale(1.05);
 }
}

/**
 * 确保 Hero 和 CTA 区域内容在装饰层之上
 */
.bg-hero > *, 
.bg-hero-cta > * {
 position: relative;
 z-index: 1;
}

/* ==========================================================================
 4. 卡片组件 - 浅色版
 ========================================================================== */

/**
 * 卡片基础样式
 * - 白色背景，浅灰色边框
 * - 圆角、阴影营造精致感
 * - hover 效果增强交互反馈
 */
.card {
 background: #ffffff;
 border: 1px solid #e9ecef;
 color: #212529;
 border-radius: 16px;
 transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
 position: relative;
 overflow: hidden;
 box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/**
 * 卡片顶部装饰线
 * - 仅在 hover 时显示
 * - 增强卡片的活跃感
 */
.card::before {
 #content: '';
 #position: absolute;
 #top: 0;
 #left: 0;
 #right: 0;
 #height: 1px;
 #background: linear-gradient(90deg, transparent, #0d6efd, transparent);
 #opacity: 0;
 transition: opacity 0.3s ease;
}

/**
 * 卡片 hover 效果
 * - 上浮 8px
 * - 边框高亮
 * - 阴影增强
 */
.card:hover {
 transform: translateY(-8px);
 border-color: rgba(13, 110, 253, 0.3);
 box-shadow: 
 0 20px 40px rgba(13, 110, 253, 0.1),
 0 0 0 1px rgba(13, 110, 253, 0.05);
}

.card:hover::before {
 opacity: 1;
}

/**
 * 卡片内次要文字颜色
 */
.card .text-secondary {
 color: #6c757d !important;
}

/* ==========================================================================
 5. 功能图标 - 浅色版
 ========================================================================== */

/**
 * 功能图标容器
 * - 圆角方形容器
 * - 浅蓝色背景 + 阴影营造浮起效果
 * - hover 时缩放增强交互
 */
.feature-icon {
 width: 56px;
 height: 56px;
 border-radius: 14px;
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto;
 background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.05) 100%);
 color: #0d6efd;
 font-size: 1.75rem;
 box-shadow: 
 0 4px 12px rgba(13, 110, 253, 0.1),
 inset 0 1px 0 rgba(255, 255, 255, 0.8);
 transition: all 0.3s ease;
 position: relative;
}

/**
 * 图标光泽效果
 * - hover 时显示
 * - 增强立体感
 */
.feature-icon::after {
 content: '';
 position: absolute;
 inset: 0;
 border-radius: 14px;
 background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, transparent 50%);
 opacity: 0;
 transition: opacity 0.3s ease;
}

/**
 * 图标 hover 效果
 * - 放大 1.1 倍
 * - 阴影增强
 * - 显示光泽
 */
.card:hover .feature-icon {
 transform: scale(1.1);
 box-shadow: 
 0 8px 20px rgba(13, 110, 253, 0.2),
 inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.card:hover .feature-icon::after {
 opacity: 1;
}

/* ==========================================================================
 6. 按钮组件 - 浅色主题适配
 ========================================================================== */

/**
 * 按钮基础样式
 * - 圆角 10px
 * - 涟漪动画效果
 * - 平滑过渡动画
 */
.btn {
 border-radius: 10px;
 padding: 0.75rem 1.75rem;
 font-weight: 600;
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 position: relative;
 overflow: hidden;
 border: none;
}

/**
 * 按钮涟漪效果
 * - hover 时从中心扩散
 * - 模拟水波纹效果
 */
.btn::before {
 content: '';
 position: absolute;
 top: 50%;
 left: 50%;
 width: 0;
 height: 0;
 border-radius: 50%;
 background: rgba(255, 255, 255, 0.2);
 transform: translate(-50%, -50%);
 transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
 width: 300px;
 height: 300px;
}

/**
 * 主要按钮（基于 #0d6efd）
 * - 渐变背景
 * - hover 时颜色加深并上浮
 */
.btn-primary {
 background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
 box-shadow: 0 4px 14px rgba(13, 110, 253, 0.2);
 color: #fff;
}

.btn-primary:hover {
 background: linear-gradient(135deg, #0b5ed7 0%, #0a4bbd 100%);
 box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
 transform: translateY(-2px);
 color: #fff;
}

/**
 * 轮廓按钮（深色边框）
 * - 透明背景 + 蓝色边框
 * - hover 时填充蓝色背景
 */
.btn-outline-light {
 border: 2px solid rgba(33, 37, 41, 0.2) !important;
 color: #212529;
 background: #ffffff;
}

.btn-outline-light:hover {
 #background: rgba(33, 37, 41, 0.05);
 border-color: rgba(33, 37, 41, 0.5) !important;
 color: #212529;
 transform: translateY(-2px);
}

/**
 * 信息按钮（青色）
 * - 渐变背景
 * - hover 时颜色加深并上浮
 */
.btn-info {
 background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
 box-shadow: 0 4px 14px rgba(34, 211, 238, 0.2);
 color: #fff;
}

.btn-info:hover {
 background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
 box-shadow: 0 6px 20px rgba(34, 211, 238, 0.3);
 transform: translateY(-2px);
 color: #fff;
}

/**
 * 轮廓信息按钮
 * - 透明背景 + 青色边框
 * - hover 时填充半透明背景
 */
.btn-outline-info {
 border: 2px solid rgba(34, 211, 238, 0.4) !important;
 color: #22d3ee;
 background: transparent;
}

.btn-outline-info:hover {
 background: rgba(34, 211, 238, 0.1);
 border-color: #22d3ee !important;
 color: #22d3ee;
 transform: translateY(-2px);
}

/**
 * 浅色按钮
 * - 白色背景，深色文字
 * - hover 时加深阴影
 */
.btn-light {
 background: rgba(255, 255, 255, 0.95);
 color: #212529;
 font-weight: 600;
 box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
 border: 1px solid #e9ecef;
}

.btn-light:hover {
 background: #ffffff;
 color: #212529;
 box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
 transform: translateY(-2px);
}

/* ==========================================================================
 7. 导航栏 - 浅色版
 ========================================================================== */

/**
 * 导航栏容器
 * - 浅色毛玻璃效果（backdrop-filter）
 * - 固定在顶部
 * - 半透明背景 + 模糊效果
 */
.navbar-glass {
 background: rgba(255, 255, 255, 0.95);
 backdrop-filter: blur(20px) saturate(180%);
 -webkit-backdrop-filter: blur(20px) saturate(180%);
 border-bottom: 1px solid rgba(13, 110, 253, 0.1);
 padding: 1.25rem 0;
 box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
 transition: all 0.3s ease;
}

/**
 * 品牌 Logo 样式
 * - 渐变文字效果
 * - hover 时轻微放大
 */
.navbar-brand {
 background: linear-gradient(135deg, #0d6efd 0%, #22d3ee 100%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 transition: all 0.3s ease;
 font-size: 1.35rem;
 letter-spacing: 0.02em;
}

.navbar-brand:hover {
 transform: scale(1.05);
}

/**
 * Logo 图片样式
 * - 固定高度确保一致性
 * - 自动调整宽度保持比例
 */
.navbar-logo {
 height: 32px;
 width: auto;
 object-fit: contain;
}

/**
 * 导航链接样式
 * - 深色文字，降低透明度
 * - hover 时显示下划线
 * - 平滑过渡动画
 */
.nav-link {
 color: rgba(33, 37, 41, 0.8) !important;
 transition: all 0.3s ease;
 position: relative;
 font-size: 1.05rem;
 padding: 0.5rem 1rem !important;
}

/**
 * 导航链接下划线效果
 * - 从中心向两侧展开
 * - 渐变色下划线
 */
.nav-link::after {
 content: '';
 position: absolute;
 bottom: -5px;
 left: 50%;
 width: 0;
 height: 2px;
 background: linear-gradient(90deg, #0d6efd, #3d8bfd);
 transform: translateX(-50%);
 transition: width 0.3s ease;
}

.nav-link:hover {
 color: #0d6efd !important;
}

.nav-link:hover::after {
 width: 80%;
}

/* ==========================================================================
 8. 区域样式 - 浅色版
 ========================================================================== */

/**
 * 浅灰色区域背景
 * - 用于套餐介绍等区域
 * - 提供视觉层次区分
 */
.section-dark {
 background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
 position: relative;
 border-top: 1px solid #e9ecef;
 border-bottom: 1px solid #e9ecef;
}

/**
 * 区域顶部分隔线
 */
.section-dark::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 height: 1px;
 background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.2), transparent);
}

/* ==========================================================================
 9. 文字样式 - 浅色主题适配
 ========================================================================== */

/**
 * 次要文字颜色
 * - 用于描述性文字
 * - 降低视觉权重
 */
.text-secondary {
 color: #6c757d !important;
}

/**
 * 信息强调文字
 * - 渐变色文字
 * - 用于标签、标题等
 */
.text-info {
 background: linear-gradient(135deg, #0d6efd 0%, #22d3ee 100%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
}

/**
 * 标题样式优化
 * - 统一字重
 * - 紧凑字距
 * - 深色文字确保可读性
 */
h1, h2, h3, h4, h5, h6 {
 font-weight: 700;
 letter-spacing: -0.02em;
 color: #212529;
}

/**
 * 大标题文字阴影
 * - 轻微阴影增强层次感
 */
.display-4 {
 text-shadow: 0 2px 20px rgba(13, 110, 253, 0.1);
}

/* ==========================================================================
 10. 页脚 - 浅色版
 ========================================================================== */

/**
 * 页脚容器
 * - 浅灰色背景
 * - 顶部边框分隔
 */
footer {
 border-top: 1px solid rgba(13, 110, 253, 0.1);
 background: #f8f9fa;
 position: relative;
 color: #6c757d;
}

/**
 * 页脚顶部装饰线
 * - 渐变效果
 */
footer::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 height: 1px;
 background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.2), transparent);
}

/**
 * 页脚链接样式
 * - 平滑过渡
 * - hover 时变为蓝色
 */
.footer-link {
 text-decoration: none;
 transition: color 0.3s ease;
 font-size: 0.95rem;
 color: #6c757d !important;
}

.footer-link:hover {
 color: #0d6efd !important;
}

/* ==========================================================================
 11. 定价卡片特殊样式 - 浅色版
 ========================================================================== */

/**
 * 热门套餐卡片
 * - 特殊的浅蓝色背景
 * - 动态渐变边框效果
 */
.border-info {
 position: relative;
 background: linear-gradient(145deg, #e3f2fd 0%, #bbdefb 100%);
 border: 1px solid rgba(13, 110, 253, 0.2);
}

/**
 * 动态渐变边框
 * - 使用伪元素 + mask 实现
 * - 色相旋转动画营造炫酷效果
 */
.border-info::before {
 content: '';
 position: absolute;
 inset: -2px;
 border-radius: 16px;
 padding: 2px;
 background: linear-gradient(135deg, #0d6efd, #22d3ee, #0d6efd);
 -webkit-mask: 
 linear-gradient(#fff 0 0) content-box, 
 linear-gradient(#fff 0 0);
 -webkit-mask-composite: xor;
 mask-composite: exclude;
 animation: borderRotate 3s linear infinite;
 pointer-events: none;
}

/**
 * 边框色相旋转动画
 */
@keyframes borderRotate {
 0% {
 filter: hue-rotate(0deg);
 }
 100% {
 filter: hue-rotate(360deg);
 }
}

/* ==========================================================================
 12. 图片样式
 ========================================================================== */

/**
 * 响应式图片
 * - hover 时轻微放大
 * - 平滑过渡动画
 */
.img-fluid {
 transition: transform 0.4s ease;
 max-width: 100%;
 height: auto;
}

.img-fluid:hover {
 transform: scale(1.05);
}

/* ==========================================================================
 13. 响应式设计 - 移动端优化
 ========================================================================== */

/**
 * 移动端样式调整
 * - 适配小屏幕设备
 * - 优化触摸交互
 * - 禁用部分动画提升性能
 */
@media (max-width: 768px) {
 /* 调整页面顶部间距 */
 body {
 padding-top: 68px;
 }
 
 /* Hero 区域移动端优化 */
 .bg-hero {
 background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 30%, #e9ecef 60%, #ffffff 100%);
 }
 
 /* 优化动态效果 */
 .bg-hero::before {
 width: 100%;
 height: 150%;
 top: -25%;
 right: 0;
 left: 0;
 opacity: 0.4;
 animation: none; /* 移动端禁用动画，提升性能 */
 }
 
 /* 压缩内边距 */
 .bg-hero .container {
 padding-top: 2rem !important;
 padding-bottom: 2rem !important;
 }
 
 /* 图片间距调整 */
 .bg-hero .col-lg-5 {
 margin-top: 2rem !important;
 }
 
 /* 限制图片高度 */
 .bg-hero .img-fluid {
 max-height: 280px;
 object-fit: cover;
 width: 100%;
 }
 
 /* 标题尺寸调整 */
 .display-4 {
 font-size: 1.75rem;
 line-height: 1.3;
 }
 
 /* 描述文字尺寸 */
 .lead {
 font-size: 0.95rem;
 line-height: 1.5;
 }
 
 /* 按钮尺寸调整 */
 .btn-lg {
 padding: 0.65rem 1.5rem;
 font-size: 0.95rem;
 }
 
 /* 功能图标尺寸 */
 .feature-icon {
 width: 48px;
 height: 48px;
 font-size: 1.5rem;
 }
 
 /* 品牌 Logo 尺寸 */
 .navbar-brand {
 font-size: 1.15rem;
 }
 
 /* Logo 图片移动端尺寸 */
 .navbar-logo {
 height: 28px;
 }
 
 /* 导航链接尺寸 */
 .nav-link {
 font-size: 1rem;
 padding: 0.4rem 0.8rem !important;
 }
 
 /* 各级标题尺寸 */
 h2 {
 font-size: 1.65rem;
 }
 
 h3 {
 font-size: 1.4rem;
 }
 
 h5 {
 font-size: 1.1rem;
 }
 
 /* 卡片内边距 */
 .card {
 padding: 1.25rem !important;
 }
 
 /* CTA 区域移动端优化 */
 .bg-hero-cta::before {
 animation: none; /* 禁用动画提升性能 */
 }
}

/* ==========================================================================
 14. 打印样式
 ========================================================================== */

/**
 * 打印时隐藏不必要的元素
 */
@media print {
 .navbar,
 footer,
 .btn {
 display: none;
 }
 
 body {
 background: white;
 color: black;
 padding-top: 0;
 }
}