/* Color Palette */
:root {
    --primary-color: #2E56A3;   /* 品牌主色：深蓝 */
    --primary-hover: #234380;
    --dark-blue: #013153;       /* 文字/背景深色 */
    --cta-color: #ff9900;       /* 辅助强调色（按钮等），增加营销感 */
    --light-bg: #F4F7FA;
}

body {
    font-family: "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Typography Tweaks for Marketing */
.fw-black {
    font-weight: 900;
}

.text-dark-blue {
    color: var(--dark-blue);
}

.section-title {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    
    /* --- 新增/确认以下属性 --- */
    position: relative;  /* 开启定位，以便 z-index 生效 */
    z-index: 10;         /* 提高层级，确保它压在下方的 Card 上面 */
}

.ls-1 {
    letter-spacing: 1px;
}

/* Navbar */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding-top: 15px;
    padding-bottom: 15px;
}

.nav-link {
    color: #444 !important;
    font-weight: 600;
    margin: 0 10px;
}
.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    min-height: 100vh;
}

/* 背景压暗，保证白色文字清晰 */
.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(1, 49, 83, 0.95) 0%, rgba(46, 86, 163, 0.8) 100%);
    z-index: 1;
}

/* Marketing Form Card */
.form-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

/* --- Hero Right: Pain Points Card (替换首屏表单) --- */
.hero-pain-card {
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
}

.hero-pain-item {
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-pain-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.hero-pain-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* 固定导航下的锚点滚动偏移 */
#pain-points, #cta-form, #services, #cases, #data, #pricing, #process {
  scroll-margin-top: 110px;
}


.btn-cta {
    background-color: var(--cta-color); /* 橙色按钮促进转化 */
    color: #fff;
    border: none;
    transition: all 0.3s;
}

.btn-cta:hover {
    background-color: #e68a00;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
}

/* Services */
.section-padding {
    padding: 80px 0;
}
.bg-light-blue {
    background-color: var(--light-bg);
}

.service-box {
    transition: all 0.3s ease;
    border: 1px solid transparent;

}
.border-top-primary {
    border-top: 4px solid var(--primary-color) !important;
}
.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 86, 163, 0.1) !important;
}

/* Icon Circles for Pain Points */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}
.bg-light-red { background-color: rgba(220, 53, 69, 0.1); }
.bg-light-yellow { background-color: rgba(255, 193, 7, 0.1); }
.bg-light-blue { background-color: rgba(13, 110, 253, 0.1); }

/* Animations */
.animate-up {
    animation: fadeInUp 0.8s forwards;
    opacity: 0;
    transform: translateY(20px);
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse Animation for CTA Button */
.pulse-anim {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 153, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0); }
}

/* Background Utility */
.bg-dark-blue {
    background-color: var(--dark-blue) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    .hero-section .text-lg-start {
        text-align: center !important;
    }
    .form-card,.hero-pain-card {
        margin-top: 40px;
    }
}

/* --- Services Card Buttons --- */
.service-actions .btn {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  border-radius: 999px;
  font-weight: 700;
}

/* --- Service Effect Modal --- */
.service-effect-frame {
  background: var(--light-bg);
}

.service-effect-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
}


/* --- Cases Section Styling --- */

/* 客户 Logo 样式控制 */
.client-logo {
    max-height: 45px;      /* 限制高度，防止Logo过大 */
    max-width: 160px;      /* 限制宽度 */
    object-fit: contain;   /* 保持比例 */
    filter: grayscale(100%); /* 默认灰度，看起来更统一高级 */
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* 鼠标悬停卡片时，Logo 恢复彩色 */
.card:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* 响应式边框：在中大屏幕上显示右侧分割线 */
@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid #eee;
    }
}

/* 轮播箭头位置微调 */
.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

@media (max-width: 991px) {
    /* 移动端调整 */
    .client-logo {
        max-height: 35px;
    }
    .carousel-control-prev, .carousel-control-next {
        display: none; /* 移动端隐藏箭头，靠滑动 */
    }
}


/* --- New Cases Section Styling --- */

/* 强制图片填满左侧区域，并裁剪多余部分 */
.object-fit-cover {
    object-fit: cover;
}

/* 渐变遮罩：让图片底部稍微暗一点，显得更有质感，且不那么生硬 */
.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

/* 响应式调整 */
@media (min-width: 768px) {
    /* 桌面端：卡片高度统一，图片高度跟随父容器 */
    .case-img {
        min-height: 400px; /* 保证有一个基础高度 */
        height: 100%;
    }
}

@media (max-width: 767px) {
    /* 移动端：图片在上方，限制高度 */
    .case-img {
        height: 200px;
    }
    
    /* 移动端去除圆角，防止看起来奇怪 */
    .card .row .col-md-5 img {
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
    }
}

/* 轮播指示器间距 */
.carousel-control-prev {
    left: -5%;
}
.carousel-control-next {
    right: -5%;
}

@media (max-width: 991px) {
    .carousel-control-prev, .carousel-control-next {
        display: none; /* 移动端隐藏箭头，依赖滑动 */
    }
}

/* ================================
   Cases Carousel 控制箭头
================================ */

#cases #caseCarousel .case-arrow.carousel-control-prev,
#cases #caseCarousel .case-arrow.carousel-control-next{
  width: 52px;
  height: 52px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

#cases #caseCarousel .case-arrow.carousel-control-prev{ left: -22px; }
#cases #caseCarousel .case-arrow.carousel-control-next{ right: -22px; }


#cases #caseCarousel .case-arrow .carousel-control-prev-icon,
#cases #caseCarousel .case-arrow .carousel-control-next-icon{
  width: 52px;
  height: 52px;

  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);

  /* 关键：不要反相！否则白箭头会变黑 */
  filter: none;

  background-size: 42% 42%;
}


#cases #caseCarousel .case-arrow:hover .carousel-control-prev-icon,
#cases #caseCarousel .case-arrow:hover .carousel-control-next-icon{
  transform: scale(1.08);
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(46, 86, 163, 0.85); /* var(--primary-color) 的 RGBA 形式 */
  box-shadow: 0 14px 34px rgba(0,0,0,0.34);
}

#cases #caseCarousel .case-arrow:active .carousel-control-prev-icon,
#cases #caseCarousel .case-arrow:active .carousel-control-next-icon{
  transform: scale(0.98);
}


/* --- CTA Button Animation --- */
.hover-scale {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.27); /* 有弹性的过渡效果 */
}

.hover-scale:hover {
    transform: scale(1.05); /* 鼠标悬停时轻微放大 */
}

/* 确保移动端换行看起来自然 */
@media (max-width: 767px) {
    .btn-cta {
        width: 100%; /* 移动端按钮通栏，更易点击 */
    }
}


/* --- Hero Section Text Slider (New) --- */

/* 1. 左侧蓝色竖线 */
.hero-line {
    width: 4px;
    background-color: #0dcaf0; /* 亮蓝色 */
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(13, 202, 240, 0.6); /* 发光效果 */
    /* 线条高度将自动跟随右侧文字高度 */
}

/* 2. 文字堆叠容器 */
.text-slider-wrapper {
    display: grid;
    grid-template-areas: "content"; /* 定义唯一的区域 */
    align-items: center; /* 垂直居中 */
    min-height: 3.5rem; /* 预留高度，防止切换时页面抖动 */
}

/* 3. 单个文字滑块通用样式 */
.text-slide {
    grid-area: content; /* 让两个滑块都占据同一个位置，实现重叠 */
    opacity: 0; /* 默认隐藏 */
    animation-duration: 8s; /* 完整循环一次 8秒 */
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

/* 4. 第一句话的动画逻辑 */
.slide-1 {
    animation-name: fadeLoop1;
}

/* 5. 第二句话的动画逻辑 */
.slide-2 {
    animation-name: fadeLoop2;
}

/* 高亮文字颜色 */
.text-highlight {
    color: #ffc107; /* 金色，强调结果 */
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* --- 关键帧动画：交替显示 --- */

/* Slide 1: 0-45% 显示, 55%-100% 隐藏 */
@keyframes fadeLoop1 {
    0% {
        opacity: 0;
        transform: translateX(-10px); /* 从左侧淡入 */
    }
    10%, 45% {
        opacity: 1;
        transform: translateX(0);
    }
    55% {
        opacity: 0;
        transform: translateX(10px); /* 向右侧淡出 */
    }
    100% {
        opacity: 0;
    }
}

/* Slide 2: 0-45% 隐藏, 55%-100% 显示 */
@keyframes fadeLoop2 {
    0%, 45% {
        opacity: 0;
        transform: translateX(-10px);
    }
    55%, 90% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(10px);
    }
}


/* --- Form Validation & Modal Styles --- */
/* 1. 验证错误时的红框效果 */
.form-control.is-invalid {
    border-color: #dc3545 !important;
    background-image: none !important; /* 去除Bootstrap默认的感叹号图标，用我们自定义的 */
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.1);
}

/* 2. 错误文字提示 */
.invalid-feedback {
    display: none; /* 默认隐藏 */
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
    text-align: left;
    font-weight: 500;
}

/* 当 input 有 is-invalid 类时，显示下方的 invalid-feedback */
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

/* 3. 弹窗内的在线状态小绿点 */
.status-dot {
    width: 8px;
    height: 8px;
    background-color: #198754; /* 微信绿 */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.2);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(25, 135, 84, 0); }
    100% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0); }
}

/* 4. 微信号允许全选复制 */
.select-all {
    user-select: all;
    cursor: text;
}





/* --- Hero Section Text Slider (回滚保留版) --- */

.hero-line {
    width: 4px;
    background-color: #0dcaf0; /* 亮蓝色 */
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(13, 202, 240, 0.6);
    /* 无需设置高度，由父级 align-items-stretch 自动拉伸匹配文字高度 */
}

/* 移动端微调线条宽度 */
@media (max-width: 767px) {
    .hero-line {
        width: 3px;
    }
}

.text-slider-wrapper {
    display: grid;
    grid-template-areas: "content";
    align-items: center; /* 垂直居中 */
    min-height: 3.5rem; /* 占位高度 */
}

.text-slide {
    grid-area: content;
    opacity: 0;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.slide-1 { animation-name: fadeLoop1; }
.slide-2 { animation-name: fadeLoop2; }

.text-highlight {
    color: #ffc107;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* 关键帧动画 */
@keyframes fadeLoop1 {
    0% { opacity: 0; transform: translateX(-10px); }
    10%, 45% { opacity: 1; transform: translateX(0); }
    55% { opacity: 0; transform: translateX(10px); }
    100% { opacity: 0; }
}

@keyframes fadeLoop2 {
    0%, 45% { opacity: 0; transform: translateX(-10px); }
    55%, 90% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(10px); }
}


/* --- Scroll Reveal Animations --- */

/* 初始状态：向下偏移 50px 且透明 */
.reveal-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); /* 使用贝塞尔曲线让运动更有质感 */
    will-change: opacity, transform; /* 性能优化 */
}

/* 激活状态：回到原位 且 不透明 */
.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* 延迟类：制造“依次飞入”的阶梯感 */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }


/* --- Pain Cards Interactive Effects --- */

/* 1. 卡片基础样式 & 过渡设定 */
.pain-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* 丝滑的贝塞尔曲线 */
    border: 1px solid #e9ecef; /* 默认浅灰边框 */
    cursor: default; /* 或者 cursor: pointer 如果你想让人觉得可点击 */
    z-index: 1;
}

/* 2. 悬浮时的整体效果：上浮 + 投影 */
.pain-card:hover {
    transform: translateY(-8px); /* 向上浮动 8px */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* 柔和的大投影 */
}

/* 3. 针对不同颜色的卡片，悬浮时边框变色 */
.pain-card.card-red:hover {
    border-color: rgba(220, 53, 69, 0.5); /* 红色边框 */
}
.pain-card.card-yellow:hover {
    border-color: rgba(255, 193, 7, 0.5); /* 黄色边框 */
}
.pain-card.card-blue:hover {
    border-color: rgba(13, 110, 253, 0.5); /* 蓝色边框 */
}

/* 4. 图标容器动画 */
.pain-card .icon-circle {
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

/* 悬浮时，图标背景色稍微加深，增加层次感 */
.pain-card.card-red:hover .icon-circle { background-color: rgba(220, 53, 69, 0.2); }
.pain-card.card-yellow:hover .icon-circle { background-color: rgba(255, 193, 7, 0.2); }
.pain-card.card-blue:hover .icon-circle { background-color: rgba(13, 110, 253, 0.2); }

/* 5. 图标本身动画 (Icon Pop) */
.pain-card i {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* 弹性效果 */
}

/* 悬浮时，图标放大并轻微旋转 */
.pain-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

/* 6. (可选) 增加一个极其微弱的背景光晕动效，让它不悬浮时也有一点点“呼吸”感 */
.pain-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.4s;
    background: radial-gradient(circle at 50% 10%, rgba(0,0,0,0.03), transparent 70%);
    z-index: 0;
}
.pain-card:hover::after {
    opacity: 1;
}



/* --- Real Pen Scribble Animation (真笔迹涂抹版) --- */

.highlight-sketch {
    /* 这里的 z-index 不需要太高，只要它是定位元素即可 */
    /* 内部的子元素会根据自己的 z-index 进行排序 */
}

.text-layer {
    /* 文字必须是相对定位，z-index 才会生效 */
    /* 确保文字颜色不受 SVG 混合影响，保持清晰 */
    text-shadow: 0 1px 0 #fff; /* 可选：给文字加一点点白描边，让对比更强烈 */
}

.sketch-svg {
    position: absolute;
    left: -5%;
    width: 110%;
    
    /* 核心修改 1：位置 */
    /* top: 85% 意味着从文字高度的 85% 处开始画（也就是文字底部） */
    /* 这样线条绝对不会跑到文字中间去 */
    top: 85%; 
    
    /* 核心修改 2：高度 */
    /* 不再用 100%，而是限制为一个扁扁的条，大概是字号的 0.7 倍高 */
    height: 0.7em; 
    
    /* 保持层级 */
    z-index: 1; 
    
    pointer-events: none;
    overflow: visible;
}

/* 保持路径样式不变 */
.sketch-svg path {
    stroke: #0dcaf0;
    stroke-width: 5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.8; 
    
    stroke-dasharray: 450;
    stroke-dashoffset: 450;
    
    animation: drawRealStroke 6s linear infinite;
}

@keyframes drawRealStroke {
    0% { stroke-dashoffset: 450; opacity: 0.8; }
    15% { stroke-dashoffset: 0; opacity: 0.8; }
    90% { stroke-dashoffset: 0; opacity: 0.8; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

@media (max-width: 767px) {
    .sketch-svg path {
        stroke-width: 4;
    }
    /* 手机端微调：因为手机换行可能导致行高变化 */
    .sketch-svg {
        top: 82%; 
        height: 0.6em;
    }
}



/* --- Text Highlighter Marker Effect (记号笔高亮) --- */

.text-marker {
    position: relative;
    z-index: 1; /* 确保文字在背景之上 */
    display: inline-block; /* 必须是 inline-block 才能应用宽度动画 */
    font-weight: bold; /* 加粗文字，强调重点 */
    color: var(--dark-blue); /* 保持文字深色，对比度清晰 */
}

.text-marker::after {
    content: "";
    position: absolute;
    left: -2px; /* 稍微向左延伸一点 */
    bottom: 2px; /* 位于文字底部 */
    height: 40%; /* 高度占文字的 40%，像真正的荧光笔只划下半部分 */
    width: 0%;   /* 初始宽度 0 */
    
    background-color: rgba(13, 202, 240, 0.4); /* 亮青色，半透明 */
    transform: skewX(-10deg); /* 稍微倾斜，增加动感 */
    z-index: -1; /* 放在文字背后 */
    
    /* 动画：名字 时长 缓动 无限循环 */
    animation: markerSlide 5s ease-in-out infinite;
}

/* 动画关键帧 */
@keyframes markerSlide {
    0% {
        width: 0%;
    }
    15% {
        /* 0.75秒 快速划满 */
        width: 102%; /* 稍微宽出一点点 */
    }
    85% {
        /* 停留约 3.5秒 */
        width: 102%;
        opacity: 1;
    }
    100% {
        /* 瞬间消失，重置 */
        width: 102%;
        opacity: 0;
    }
}

/* --- Data Section (Growth Screenshots) --- */

.data-carousel {
    position: relative;
}

/* 两列布局：左侧按钮 + 右侧画面 */
.data-carousel-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

/* 左侧竖向按钮：复用 Bootstrap Indicators，但改为内容型按钮 */
.data-indicators {
    position: static;
    margin: 0;
    margin-right: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    justify-content: flex-start;
}

.data-indicators [data-bs-target] {
    width: 100%;
    margin: 0;
    border-top: 0;
    border-bottom: 0;
    height: auto;
    text-indent: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 14px 14px;
    background: rgba(255, 255, 255, 0.06);
    opacity: 0.75;
    transition: all 0.25s ease;
    color: #fff;
}

.data-indicators [data-bs-target]:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.10);
}

.data-indicators .active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 153, 0, 0.85);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

/* 指示器文字层级 */
.data-indicator-kicker {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 4px;
}

.data-indicator-title {
    display: block;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.25;
}

.data-indicator-meta {
    display: block;
    font-size: 0.85rem;
    opacity: 0.75;
    margin-top: 6px;
}

/* 右侧画面卡片 */
.data-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.data-image-wrap {
    background: #f4f7fa;
    padding: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    aspect-ratio: 32 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-image {
    width: 100%;
    height: 100%;
    object-fit: contain;  
    border-radius: 12px;
    display: block;
}

/* 描述区 */
.data-desc {
    padding: 18px 20px 20px;
    min-height: 220px;
}

.data-desc .text-secondary {
    color: #6c757d !important;
}

/* 响应式：手机端按钮横向滚动（更好点按） */
@media (max-width: 991px) {
    .data-carousel-layout {
        grid-template-columns: 1fr;
    }

    .data-indicators {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 6px;
        gap: 10px;
        margin: 0;
    }

    .data-indicators [data-bs-target] {
        min-width: 220px;
        white-space: normal;
    }
}

.navbar .navbar-brand{
  display: flex;
  align-items: center;
}

.navbar .navbar-brand img{
  display: block; /* 去掉图片基线导致的上下偏移 */
}

@media (max-width: 991px){
  .navbar .nav-cta{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    color: #444 !important;
    font-weight: 600 !important;

    /* ✅ 字号/间距跟 nav-link 对齐 */
    font-size: 1rem !important;
    line-height: 1.6 !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;

    display: block;
    text-align: left;
  }

  .navbar .nav-cta:hover{
    color: var(--primary-color) !important;
    background: transparent !important;
  }
}

/* --- Pricing Section --- */
.pricing-section{
  background: linear-gradient(180deg, #F6F8FF 0%, #FFFFFF 65%);
}

.pricing-card{
  background: #FFFFFF; /* ✅ 卡片保持纯白 */
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card.featured{
  background: #FFFAF2; /* ✅ 热门卡片浅暖色底 */
  border: 2px solid rgba(255, 153, 0, 0.65);
  box-shadow: 0 18px 42px rgba(255, 153, 0, 0.12);
}

.pricing-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(46, 86, 163, 0.12);
}

.pricing-kicker{
  font-weight: 900;
  color: var(--dark-blue);
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.pricing-price{
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 0.75rem;
}

.pricing-price .price-num{
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
}

.pricing-price .price-unit{
  font-weight: 700;
  color: #6c757d;
}

.pricing-price-muted .price-num{
  color: var(--dark-blue);
}

.pricing-list span{
  color: #4b5563;
  line-height: 1.55;
}

.pricing-note{
  background: rgba(46, 86, 163, 0.06);
  border: 1px solid rgba(46, 86, 163, 0.10);
}

.pricing-card.featured{
  border: 2px solid rgba(255, 153, 0, 0.65);
  box-shadow: 0 18px 42px rgba(255, 153, 0, 0.12);
}

.pricing-card.featured:hover{
  box-shadow: 0 24px 56px rgba(255, 153, 0, 0.18);
}

.pricing-badge{
  position: absolute;
  top: 18px;
  right: 18px;
}

/* Pricing 内的退款保证条（用暖色淡底，和浅蓝灰 section 拉开对比） */
.pricing-guarantee{
  background: rgba(255, 153, 0, 0.10);  /* ✅ 比 section 更“暖”，更显眼 */
  border: 1px solid rgba(255, 153, 0, 0.25);
  border-radius: 18px;
  padding: 14px 16px;
}

.pricing-guarantee-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 153, 0, 0.16);
  color: var(--cta-color); /* ✅ 图标用橙色强调 */
  flex: 0 0 auto;
}

.pricing-guarantee-title{
  font-weight: 900;
  color: var(--dark-blue);
  line-height: 1.2;
}

.pricing-guarantee-desc{
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Pricing - Refund policy link */
.pricing-policy-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #6c757d;
  text-decoration: none;
}

.pricing-policy-link:hover{
  text-decoration: underline;
}

.pricing-policy-link i{
  font-size: 0.85em;
}


@media (max-width: 991px){
  .pricing-badge{
    position: static;
    padding: 18px 18px 0 18px;
  }
}
