/* 核心样式调整 */

/* 全屏英雄区域 */
.hero-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -56px;
    height: 100vh;
    overflow: hidden;
}

/* 英雄区域图片 */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    z-index: 1;
}

/* 英雄区域容器 */
.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding-top: 56px;
}

/* 左侧内容 */
.hero-left-content {
    flex-shrink: 0;
    width: 380px;
    max-width: 90%;
    z-index: 30;
    height: 90%;
    min-height: 90%;
    display: flex;
    align-items: center;
}

/* 信息框 */
.release-info-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.release-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* 信息头部 */
.info-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* 徽章标签 */
.badge-label {
    display: inline-block;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* 发布日期 */
.release-date {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 产品信息 */
.product-info {
    margin-bottom: 35px;
}

.product-label {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.product-desc {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
    opacity: 0.9;
}

/* 操作按钮 */
.action-buttons {
    margin-bottom: 30px;
}

.btn-book {
    width: 100%;
    padding: 18px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #ff9500 0%, #ff5e3a 100%);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 149, 0, 0.3);
    min-height: 56px;
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 149, 0, 0.4);
    background: linear-gradient(135deg, #ff8a00 0%, #ff5252 100%);
    color: white;
}

/* 官方标签 */
.official-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.official-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ff6700;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 12px;
}

.official-text {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 开店按钮 */
.shop-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    border: none;
    min-height: 56px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.shop-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.shop-tag:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.shop-tag:hover:before {
    left: 100%;
}

.shop-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.shop-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.shop-icon {
    font-size: 1.2rem;
    animation: float 3s ease-in-out infinite;
}

.shop-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.shop-sub {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.3;
    font-weight: 400;
}

/* 右侧内容 */
.hero-content {
    flex: 1;
    margin-left: 30px;
    text-align: left;
    z-index: 25;
}

.hero-content h1,
.hero-content p,
.hero-content .btn {
    color: white !important;
}

.hero-content h1 {
    font-size: 3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

.hero-content p {
    font-size: 1.3rem !important;
    margin-bottom: 2.5rem !important;
    opacity: 0.9 !important;
    line-height: 1.6 !important;
}

.hero-content .btn {
    margin: 0 10px 10px 0 !important;
    min-width: 160px !important;
}

/* 首页其他内容区域 */
.home-main-content {
    position: relative;
    z-index: 1;
    background: white;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.home-main-content .container {
    max-width: 1140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* 视觉连接线 */
.hero-left-content::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -60px;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
}

/* 线下广告服务样式 */
.service-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    animation: cardHover 0.3s ease forwards;
}

.service-card .card-img-top {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .card-img-top {
    transform: scale(1.05);
}

/* 步骤数字 */
.step-number {
    position: relative;
    transition: all 0.3s ease;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-number:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* 材料表格样式 */
.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* 卡片悬停动画 */
@keyframes cardHover {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* 材料星星样式 */
.bi-star-fill.text-warning {
    color: #ffc107 !important;
}

.bi-star.text-warning {
    color: #e0e0e0 !important;
}

/* 设计师展示样式 */
.designer-section .row {
    align-items: stretch;
}

.designer-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 480px;
}

.designer-img {
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.designer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.designer-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.designer-card .card-text {
    flex: 1;
    min-height: 72px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.specialties {
    margin-bottom: 15px;
}

/* 卡片悬停动画 */
@keyframes cardFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.designer-card:hover {
    animation: cardFloat 0.4s ease forwards;
}

/* 图标盒悬停效果 */
.icon-box {
    position: relative;
    overflow: hidden;
}

.icon-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.icon-box:hover::after {
    width: 100px;
    height: 100px;
}

/* 产品展示区样式 */
.products-showcase {
    position: relative;
}

.scenario-tabs .nav-link {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.scenario-tabs .nav-link.active {
    background-color: var(--bs-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--bs-primary-rgb), 0.3);
}

.scenario-tabs .nav-link:not(.active):hover {
    border-color: #dee2e6;
    background-color: #f8f9fa;
}

.scenario-content {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.scenario-preview {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.scenario-preview img {
    transition: transform 0.5s ease;
}

.scenario-preview:hover img {
    transform: scale(1.05);
}

.preview-label {
    position: absolute;
    top: 15px;
    right: 15px;
}

.product-card {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--bs-primary);
}

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.product-icon i {
    font-size: 2.5rem;
}

.product-tags {
    margin-top: 1rem;
}

/* 自定义颜色 */
.bg-purple {
    background-color: #6f42c1 !important;
}

.btn-purple {
    background-color: #6f42c1;
    border-color: #6f42c1;
    color: white;
}

.btn-purple:hover {
    background-color: #5a32a3;
    border-color: #5a32a3;
    color: white;
}

.btn-outline-purple {
    color: #6f42c1;
    border-color: #6f42c1;
}

.btn-outline-purple:hover {
    background-color: #6f42c1;
    color: white;
}

/* 自定义步骤 */
.custom-step {
    transition: all 0.3s ease;
}

.custom-step:hover {
    transform: scale(1.1);
}

/* 客户痛点区域 */
.pain-points-section {
    position: relative;
}

.pain-point-card {
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.pain-point-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--bs-primary);
}

.solution-box {
    background: rgba(25, 135, 84, 0.05);
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
}

/* 成功案例区域 */
.success-cases-section {
    position: relative;
    overflow: hidden;
}

.success-cases-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(25, 135, 84, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.case-filters .btn {
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 20px;
}

.case-filters .btn.active {
    background-color: var(--bs-primary) !important;
    color: white !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.2);
}

.case-filters .btn:not(.active):hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    border-color: var(--bs-primary);
}

.case-card {
    transition: all 0.4s ease;
    background: white;
    border: 1px solid #f0f0f0 !important;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    border-color: transparent !important;
}

.case-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image {
    transform: scale(1.05);
}

.case-badge .badge {
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
}

.case-tags .badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
}

/* 计算器区域 */
.calculator-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.result-card {
    border: 2px solid var(--bs-primary);
    background: white !important;
}

.feature-item {
    background: white;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* 客户评价轮播 */
.testimonial-card {
    background: white;
    border-color: var(--bs-primary) !important;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.testimonial-slider .carousel-control-prev,
.testimonial-slider .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.testimonial-slider .carousel-control-prev {
    left: -20px;
}

.testimonial-slider .carousel-control-next {
    right: -20px;
}

.testimonial-slider .carousel-control-prev:hover,
.testimonial-slider .carousel-control-next:hover {
    opacity: 1;
}

/* 差异化优势区域 */
.advantages-section {
    position: relative;
}

.advantage-card {
    transition: all 0.3s ease;
    background: white;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: transparent !important;
}

/* 服务流程区域 */
.process-timeline {
    position: relative;
}

.timeline-line {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--bs-primary);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* 限时优惠区域 */
.promotion-section {
    position: relative;
}

.promotion-content {
    animation: fadeInLeft 0.8s ease;
}

.promotion-form {
    animation: fadeInRight 0.8s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.countdown-item .countdown-number {
    min-width: 45px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 最终CTA区域 */
.final-cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

.benefit-item {
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
}

/* 动画效果 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.advantage-icon {
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.advantage-icon i,
.feature-icon i {
    animation: float 3s ease-in-out infinite;
}

/* 分隔线样式 */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
    margin: 3rem 0;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.case-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.case-item:nth-child(1) {
    animation-delay: 0.1s;
}

.case-item:nth-child(2) {
    animation-delay: 0.2s;
}

.case-item:nth-child(3) {
    animation-delay: 0.3s;
}

.case-item:nth-child(4) {
    animation-delay: 0.4s;
}

.case-item:nth-child(5) {
    animation-delay: 0.5s;
}

.case-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* 产品卡片样式 */
.product-mini-card {
    box-shadow: none !important;
}

/* 轮播图标题样式 */
.carousel-caption {
    padding: 10px !important;
    min-height: 80px !important;
}

.carousel-caption h5 {
    margin-bottom: 0.25rem !important;
}

.carousel-caption p {
    margin-bottom: 0 !important;
    font-size: 0.875rem !important;
}

/* 图标包装器样式 */
.icon-wrapper {
    width: 80px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 信任徽章样式 */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-items: start;
}

.trust-badges .badge {
    width: 100%;
    text-align: left;
    white-space: nowrap;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .hero-left-content {
        width: 350px;
    }

    .hero-content {
        max-width: 550px;
        margin-left: 120px;
    }

    .release-date {
        font-size: 2.8rem;
    }

    .hero-content h1 {
        font-size: 2.5rem !important;
    }

    .hero-content p {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 992px) {
    .hero-left-content {
        width: 320px;
    }

    .hero-content {
        max-width: 500px;
        margin-left: 100px;
    }

    .release-date {
        font-size: 2.5rem;
    }

    .product-label {
        font-size: 1.6rem;
    }

    .designer-card {
        min-height: 460px;
    }

    .designer-img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    /* 平板和手机上改为垂直布局 */
    .hero-left-content {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 500px;
        margin: 80px auto 40px;
        padding: 0 20px;
    }

    .hero-content {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding: 0 20px;
        margin-left: 0;
        text-align: center;
    }

    .release-info-box {
        padding: 30px 25px;
    }

    .release-date {
        font-size: 2.8rem;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
    }

    .hero-content p {
        font-size: 1.1rem !important;
    }

    .hero-content .btn {
        display: block !important;
        width: 100% !important;
        margin-bottom: 15px !important;
        margin-right: 0 !important;
    }

    .hero-left-content::after {
        display: none;
    }

    .display-5 {
        font-size: 2rem;
    }

    .bg-dark.rounded-4 {
        padding: 2rem 1rem !important;
    }

    .step-number {
        width: 50px !important;
        height: 50px !important;
    }

    .designer-card {
        min-height: 440px;
    }

    .designer-img {
        height: 180px;
    }

    .designer-card .card-text {
        min-height: 60px;
        -webkit-line-clamp: 2;
    }

    .designer-section::before {
        height: 100px;
    }

    .designer-img img {
        height: 200px;
    }

    .designer-card {
        margin-bottom: 20px;
    }

    .bg-light.rounded-4 {
        padding: 2rem 1.5rem !important;
    }

    .scenario-tabs .nav-link {
        padding: 8px 16px;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .scenario-preview {
        margin-top: 2rem;
    }

    .product-card {
        padding: 1.5rem 1rem;
    }

    .timeline-line {
        display: none;
    }

    .case-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        margin-left: -10px;
        margin-right: -10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .case-filters .btn {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .testimonial-slider .carousel-control-prev,
    .testimonial-slider .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    .testimonial-slider .carousel-control-prev {
        left: -10px;
    }

    .testimonial-slider .carousel-control-next {
        right: -10px;
    }
}

@media (max-width: 576px) {
    /* 移动端导航栏可能更高 */
    body {
        padding-top: 70px !important;
    }

    .hero-section {
        margin-top: -70px;
        height: 100vh;
    }

    .release-info-box {
        padding: 25px 20px;
    }

    .release-date {
        font-size: 2.3rem;
    }

    .product-label {
        font-size: 1.4rem;
    }

    .btn-book {
        padding: 16px 25px;
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem !important;
    }

    .hero-content p {
        font-size: 1rem !important;
    }

    .hearthstone-card-container {
        max-width: 280px;
    }

    .hearthstone-card-stack {
        height: 350px;
    }

    .hearthstone-controls {
        gap: 20px;
        margin-top: 30px;
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }
}
