/* ============================================
   飞鱼智连官网 - 首页样式
   参考 ldcms2025 主题设计
   ============================================ */
:root {
    --primary-color: #2460f2;
    --swiper-theme-color: var(--primary-color);
    --page-bg: #f5f7fa;
    --text-primary: #000;
    --text-secondary: #555;
    --text-muted: #999;
    --border-color: #e8e8e8;
    --card-radius: 12px;
    --footer-bg: #1f232b;
    --copyright-bg: #171717;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei";
    background-color: var(--page-bg);
    color: #333;
    line-height: 1.6;
}

/* ===== Header ===== */
header {
    height: 75px;
    position: relative;
    z-index: 1000;
}

header .logo {
    max-width: 120px;
}

header .logo img {
    width: 100%;
}

header .logo .site-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 75px;
    transition: color 0.3s;
}

/* Transparent header (over carousel) */
header.transparent {
    background: transparent !important;
    box-shadow: none !important;
}

header.transparent .logo .site-name {
    color: #fff;
}

header.transparent .nav-pc .menu > ul > li > a {
    color: #fff;
}

header.transparent .nav-pc .menu > ul > li > a:hover,
header.transparent .nav-pc .menu > ul > li > a.active {
    color: rgba(255, 255, 255, 0.8);
}

header.transparent .search-icon {
    color: #fff;
}

header.transparent .menu-mobile .open-icon line,
header.transparent .menu-mobile .close-icon line {
    stroke: #fff;
}

/* Nav */
.nav-pc {
    height: 100%;
}

.nav-pc a {
    text-transform: uppercase;
    text-decoration: none;
}

.nav-pc .menu {
    height: 100%;
}

.nav-pc .menu > ul {
    list-style: none;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-pc .menu > ul > li {
    padding: 0 20px;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-pc .menu > ul > li > a {
    white-space: nowrap;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
    color: #000;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-pc .menu > ul > li > a:hover,
.nav-pc .menu > ul > li > a.active {
    color: var(--primary-color);
}

/* Dropdown arrow - hidden */
.rotate-icon > a::after {
    transform: rotate(180deg);
    color: var(--primary-color) !important;
}

/* Sub-menu */
.nav-pc .menu > ul > li > .sub-menu {
    display: none;
    width: auto;
    background: #fff;
    padding: 20px 10px;
    position: absolute;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    box-sizing: border-box;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 160px;
}

.nav-pc .menu > ul > li > .sub-menu .sub-menu-item a {
    font-size: 15px;
    color: #000;
    padding: 0.5rem 2rem;
    display: block;
    font-weight: 400;
    text-transform: none;
    transition: all 0.3s;
}

.nav-pc .menu > ul > li > .sub-menu .sub-menu-item a:hover {
    color: var(--primary-color);
    background-color: #f2f2f2;
    border-radius: 4px;
}

/* ===== Inner Page Banner ===== */
.page-banner {
    background: url('https://picsum.photos/seed/green-forest/1920/400') center/cover no-repeat;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.page-banner > * {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== Subnav / Breadcrumb ===== */
.subnav-bar {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #999;
}

.subnav-bar a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.subnav-bar a:hover {
    color: var(--primary-color);
}

/* ===== Page Body ===== */
.page-body {
    padding: 60px 0;
}

.page-section {
    margin-bottom: 50px;
}

.page-section:last-child {
    margin-bottom: 0;
}

.page-section-title h3 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.page-section-title p {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
}

/* Page Cards */
.page-card {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 30px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
    transition: top 0.3s, box-shadow 0.3s;
    position: relative;
    top: 0;
}

.page-card:hover {
    top: -4px;
    box-shadow: 0 4px 16px rgba(100, 100, 100, 0.15);
}

.page-card-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.page-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Page Text Content */
.page-text-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-text-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* Page Count Row */
.page-count-row {
    margin-top: 40px;
    padding: 40px 0;
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
}

.page-count-item {
    padding: 10px 0;
}

.page-count-item .number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
}

.page-count-item .unit {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

.page-count-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Page Case Cards */
.page-case-card {
    background: #fff;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
    transition: top 0.3s;
    position: relative;
    top: 0;
}

.page-case-card:hover {
    top: -4px;
}

.page-case-img {
    overflow: hidden;
}

.page-case-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 500ms ease;
}

.page-case-card:hover .page-case-img img {
    transform: scale(1.08);
}

.page-case-info {
    padding: 20px;
}

.page-case-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.page-case-tag {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.page-case-info p:last-child {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Page Contact Form */
.page-contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: var(--card-radius);
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
}

.page-contact-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 14px;
}

.page-contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(36, 96, 242, 0.15);
}

.btn-submit {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 50px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-submit:hover {
    opacity: 0.9;
    color: #fff;
}

/* Search */
.search-icon {
    width: 19px;
    height: 19px;
    cursor: pointer;
    color: #000;
    margin-left: 15px;
}

.search-wrapper {
    display: none;
    position: absolute;
    top: 0;
    height: 75px;
    width: 100%;
    background: #fff;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.search-wrapper.show {
    display: flex;
}

.search-wrapper .search-wrapper-content {
    width: 70%;
    display: flex;
    align-items: center;
}

.search-wrapper .search-input {
    flex: 1;
    height: 40px;
    border: 1px solid var(--border-color);
    padding-left: 20px;
    border-radius: 40px;
    outline: none;
    font-size: 14px;
}

.search-wrapper .search-input:focus {
    border-color: var(--primary-color);
}

.search-wrapper .search-submit {
    width: 120px;
    height: 38px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 14px;
    border: none;
    margin-left: 10px;
    border-radius: 30px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.search-wrapper .search-submit:hover {
    opacity: 0.9;
}

.search-wrapper .search-close {
    cursor: pointer;
    width: 30px;
    margin-left: 10px;
}

/* Mobile menu button */
.menu-mobile {
    padding: 0 15px;
    cursor: pointer;
    display: none;
}

.menu-mobile .open-icon {
    display: block;
    width: 24px;
    height: 24px;
}

.menu-mobile .close-icon {
    display: none;
    width: 24px;
    height: 24px;
}

.menu-mobile.open .open-icon {
    display: none;
}

.menu-mobile.open .close-icon {
    display: block;
}

/* ===== Hero Slider ===== */
.main-slider {
    position: relative;
    display: block;
    overflow: hidden;
    height: 100vh;
    margin-top: -75px;
}

.main-slider:hover .swiper-button-next,
.main-slider:hover .swiper-button-prev {
    opacity: 1;
}

.main-slider .swiper-slide {
    position: relative;
    height: 100vh;
}

.main-slider .swiper-slide .swiper-slide-img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    transform: scale(1);
    transition: transform 7000ms ease;
}

.main-slider .swiper-slide .image-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
    z-index: 2;
}

.main-slider .swiper-slide-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
}

.main-slider__content {
    position: relative;
    z-index: 10;
    transform: translateY(-50%);
    top: 50%;
}

.main-slider .swiper-slide-active .swiper-slide-img {
    transform: scale(1.15);
}

.main-slider h2 {
    margin: 0;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(120px);
    transition-delay: 1000ms;
    transition: transform 2000ms ease, opacity 2000ms ease;
    font-size: 60px;
    line-height: 70px;
    letter-spacing: -0.02em;
    text-shadow: 2px -1px 4px rgba(0,0,0,0.3);
}

.main-slider .slider-desc {
    font-size: 18px;
    color: #eee;
    margin: 0;
    line-height: 30px;
    margin-bottom: 53px;
    opacity: 0;
    font-weight: 400;
    transform: translateY(100px);
    transition-delay: 2500ms;
    transition: transform 2000ms ease, opacity 2000ms ease;
    text-shadow: 1px -1px 3px rgba(0,0,0,0.3);
}

.main-slider .swiper-slide-active h2,
.main-slider .swiper-slide-active .slider-desc {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.main-slider .slider-more {
    position: relative;
    display: inline-block;
    border: none;
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.3s linear;
    letter-spacing: 0.2em;
    z-index: 1;
    opacity: 0;
    transform: translateY(100px);
    transition-delay: 2500ms;
    transition: transform 2000ms ease, opacity 2000ms ease;
    text-decoration: none;
}

.main-slider .swiper-slide-active .slider-more {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.main-slider .slider-more:hover {
    opacity: 0.9;
    color: #fff;
}

/* Slider nav arrows */
.main-slider__nav {
    width: 100%;
    position: absolute;
    top: 50%;
    z-index: 100;
    transform: translateY(-50%);
}

.main-slider__nav .swiper-button-next,
.main-slider__nav .swiper-button-prev {
    position: absolute;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 100;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    background: #fff;
    border-radius: 50%;
    text-align: center;
    transition: all 500ms ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
}

.main-slider__nav .swiper-button-next {
    right: 15px;
}

.main-slider__nav .swiper-button-prev {
    left: 15px;
}

.main-slider__nav .swiper-button-next::after,
.main-slider__nav .swiper-button-prev::after {
    display: none;
}

.main-slider__nav .fa {
    position: relative;
    font-size: 30px;
    color: #333;
}

/* Slider pagination */
#main-slider-pagination {
    z-index: 10;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

#main-slider-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    opacity: 0.4;
    background-color: #fff;
    transition: all 500ms ease;
    margin: 0;
}

#main-slider-pagination .swiper-pagination-bullet + .swiper-pagination-bullet {
    margin-left: 5px;
}

#main-slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 20px;
    height: 10px;
    opacity: 1;
}

/* ===== Section Title ===== */
.public-title {
    margin-bottom: 30px;
}

.public-title h3 {
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 5px;
}

.public-title p {
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
}

/* ===== MORE Button ===== */
.public-more {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    border: solid 1px #eee;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 2.5rem;
    color: #666;
    font-size: 13px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.5s;
    text-decoration: none;
    cursor: pointer;
}

.public-more::after {
    content: "";
    background-color: #fff;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    transition: 0.5s;
}

.public-more:hover {
    color: #fff;
    border-color: var(--primary-color);
}

.public-more:hover::after {
    background-color: var(--primary-color);
}

/* ===== Services / Products Section ===== */
.product-wrapper {
    margin-top: 60px;
}

.product-wrapper .link-section {
    flex-wrap: wrap;
}

.product-wrapper .link-section a {
    font-size: 15px;
    color: #111;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.product-wrapper .link-section a:hover {
    color: var(--primary-color);
}

.product-list {
    margin-top: 10px;
}

.product-item {
    margin: 12px 0;
}

.product-item .product-item-wrapper {
    display: block;
    border-radius: var(--card-radius);
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
    position: relative;
    top: 0;
    transition: top 0.5s;
    text-decoration: none;
    overflow: hidden;
}

.product-item .product-item-wrapper:hover {
    top: -4px;
}

.product-item .product-item-wrapper:hover .pic img {
    transform: scale(1.2);
}

.product-item .product-item-wrapper:hover .content-wrapper {
    background-color: var(--primary-color);
    color: #fff;
}

.product-item .product-item-wrapper:hover .content-wrapper .product-item-title,
.product-item .product-item-wrapper:hover .content-wrapper .product-item-info,
.product-item .product-item-wrapper:hover .content-wrapper .price {
    color: #fff;
}

.product-item .pic {
    overflow: hidden;
    border-top-left-radius: var(--card-radius);
    border-top-right-radius: var(--card-radius);
}

.product-item .pic img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transform: scale(1);
    transition: transform 500ms ease;
}

.service-icon-cover {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #10203a 0%, #0b1120 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-cover i {
    font-size: 72px;
    color: #f4f7ff;
    opacity: 0.95;
}

.product-item .content-wrapper {
    padding: 15px 15px 20px;
    transition: all 300ms ease;
    border-bottom-right-radius: var(--card-radius);
    border-bottom-left-radius: var(--card-radius);
}

.product-item .product-item-title {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    transition: all 300ms ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-item .product-item-info {
    margin: 10px 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 24px;
    text-align: left;
    transition: all 300ms ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-item .product-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-item .price {
    display: inline-block;
    color: #333;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    transition: all 300ms ease;
}

.product-item .product-item-bottom .public-more {
    font-size: 12px;
    padding: 5px 10px;
    line-height: 20px;
}

.product-more {
    margin-top: 30px;
}

/* ===== Sub Services (小项) ===== */
.sub-service-label {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    padding-left: 10px;
    border-left: 3px solid var(--primary-color);
}

.sub-service-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: var(--card-radius);
    padding: 25px 30px;
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
    transition: top 0.3s, box-shadow 0.3s;
    position: relative;
    top: 0;
}

.sub-service-card:hover {
    top: -4px;
    box-shadow: 0 4px 16px rgba(100, 100, 100, 0.15);
}

.sub-service-card > i {
    font-size: 36px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.sub-service-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
}

.sub-service-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.sub-service-info a {
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.sub-service-info a:hover {
    opacity: 0.8;
}

/* ===== About Section ===== */
.about-wrapper {
    margin-top: 60px;
    margin-bottom: 10px;
}

.about-wrapper .left-img {
    height: 580px;
    overflow: hidden;
}

.about-wrapper .left-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-wrapper .about-right {
    display: flex;
    align-items: center;
    position: relative;
}

.about-wrapper .about-right-content {
    position: absolute;
    height: 100%;
    left: 0;
    background: #fff;
    padding: 80px 60px;
}

.about-wrapper .about-right-content h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 5px;
}

.about-wrapper .about-right-content .subtitle {
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-wrapper .about-right-content .info {
    margin-top: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.about-wrapper .count-wrapper {
    margin-top: 20px;
}

.about-wrapper .count-wrapper .count-item {
    margin-right: 30px;
}

.about-wrapper .count-wrapper .count-item .number {
    font-weight: 700;
    font-size: 36px;
    color: var(--primary-color);
}

.about-wrapper .count-wrapper .count-item .unit {
    font-size: 14px;
    color: #666;
}

.about-wrapper .count-wrapper .count-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== Case Section ===== */
.case-wrapper {
    background-color: #fff;
    padding: 60px 0;
    position: relative;
}

.case-wrapper .case-next,
.case-wrapper .case-prev {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: -50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 999;
    cursor: pointer;
}

.case-wrapper .case-next i,
.case-wrapper .case-prev i {
    font-size: 30px;
    color: #333;
}

.case-swiper {
    padding: 0 12px 30px;
}

.case-swiper .swiper-wrapper {
    padding: 20px 0;
}

.case-swiper .swiper-slide {
    border-radius: var(--card-radius);
    overflow: hidden;
}

.case-swiper .swiper-slide .swiper-slide-img {
    overflow: hidden;
    position: relative;
    border-radius: var(--card-radius);
}

.case-swiper .swiper-slide .swiper-slide-img::before {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    content: "";
    background-color: rgba(27, 24, 37, 0.3);
    transform: scale(1, 0);
    transition: transform 500ms ease;
    transform-origin: top center;
    z-index: 1;
}

.case-swiper .swiper-slide:hover .swiper-slide-img::before {
    transform: scale(1, 1);
}

.case-swiper .swiper-slide .swiper-slide-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transform: scale(1);
    transition: transform 500ms ease;
}

.case-swiper .swiper-slide:hover .swiper-slide-img img {
    transform: scale(1.1);
}

.case-content-wrapper {
    padding: 25px 50px 25px 25px;
    position: relative;
    background-color: #fff;
    margin: -50px 30px 15px;
    overflow: hidden;
    transition: all 500ms ease;
    z-index: 2;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 90px;
}

.case-content-wrapper::before {
    position: absolute;
    content: "";
    top: 0; left: 0; right: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 300ms ease;
    opacity: 1;
    transform-origin: top;
    transform-style: preserve-3d;
    transform: scaleY(0);
    z-index: -1;
}

.case-content-wrapper::after {
    display: inline-block;
    content: "\f178";
    font-size: 12px;
    font-family: "FontAwesome";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    transition: color 0.3s;
}

.case-swiper .swiper-slide:hover .case-content-wrapper::before {
    transform: scaleY(1);
}

.case-swiper .swiper-slide:hover .case-content-wrapper::after {
    color: #fff;
}

.case-content-wrapper h3 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 200ms ease;
}

.case-content-wrapper p {
    color: #7b7981;
    font-size: 14px;
    margin-top: 5px;
    height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 350ms ease;
}

.case-swiper .swiper-slide:hover .case-content-wrapper h3,
.case-swiper .swiper-slide:hover .case-content-wrapper p {
    color: #fff;
}

.case-wrapper .swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    background: #000;
    opacity: 0.2;
    margin: 0 5px;
    border-radius: 20px;
    transition: opacity 0.5s, background-color 0.5s, width 0.5s;
    transition-delay: 0.5s, 0.5s, 0s;
}

.case-wrapper .swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
    width: 30px;
    transition-delay: 0s;
}

/* ===== News Section ===== */
.news-wrapper {
    padding: 60px 0;
}

.news-list {
    padding: 10px 0;
}

.news-item {
    position: relative;
    top: 0;
    border-radius: var(--card-radius);
    overflow: hidden;
    background-color: #fff;
    margin: 10px 0;
    transition: top 0.5s;
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
}

.news-item:hover {
    top: -4px;
}

.news-item .news-item-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-item .news-item-img a {
    display: block;
    height: 100%;
}

.news-item .news-item-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-item:hover .news-item-img img {
    transform: translate(-50%, -50%) scale(1.1);
}

.news-item .card-body {
    display: inline-block;
    padding: 20px 20px 15px;
    transition: background-color 0.5s;
    width: 100%;
}

.news-item .card-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    transition: all 300ms ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item .card-text {
    margin-top: 5px;
    font-size: 13px;
    color: #222;
    height: 66px;
    line-height: 22px;
    transition: all 300ms ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item .card-info {
    margin-top: 5px;
    font-size: 13px;
    color: #666;
    transition: all 300ms ease;
}

.news-item .card-info i {
    color: #999;
    transition: all 300ms ease;
}

.news-item .card-info span {
    margin-right: 10px;
}

.news-item .card-more {
    margin-top: 10px;
    font-size: 12px;
    text-align: right;
    color: var(--primary-color);
    transition: all 300ms ease;
    text-decoration: none;
}

.news-item:hover .card-body {
    background-color: var(--primary-color);
    color: #fff;
}

.news-item:hover .card-title,
.news-item:hover .card-text,
.news-item:hover .card-info,
.news-item:hover .card-info i {
    color: #fff;
}

.news-item:hover .card-more {
    color: #fff;
}

.news-more {
    margin-top: 20px;
}

/* ===== Partners Section ===== */
.custom-wrapper {
    padding: 60px 0;
    background-color: #fff;
}

.custom-list {
    margin: 20px 0 0;
    border-top: 1px solid #f2f2f2;
    border-left: 1px solid #f2f2f2;
}

.custom-item {
    border-right: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    transition: 0.3s;
}

.custom-item:hover {
    box-shadow: 0 0 8px #ddd;
    z-index: 1;
}

.custom-item .pic {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.custom-item:hover .pic {
    filter: grayscale(0);
    opacity: 1;
}

.custom-item .pic img {
    width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.partner-intro {
    margin: 10px 0 20px;
    color: #666;
    text-align: center;
    font-size: 15px;
}

.partner-card {
    min-height: 110px;
    flex-direction: column;
    gap: 6px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.partner-card strong {
    display: block;
    font-size: 15px;
    color: #1a1f2c;
    line-height: 1.35;
    text-align: center;
}

.partner-card span {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2f5bea;
    font-size: 12px;
}

/* ===== Contact Section ===== */
.contact-wrapper {
    padding: 40px 0;
    background-color: #25292f;
}

.contact-wrapper .public-title {
    text-align: center;
}

.contact-wrapper .public-title h3 {
    color: #fff;
    font-size: 36px;
    margin: 10px 0;
}

.contact-wrapper .public-title p {
    color: #999;
    font-size: 20px;
}

.contact-wrapper .contact-form {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.contact-wrapper .contact-form input {
    flex: 1;
    min-width: 150px;
    height: 40px;
    padding-left: 15px;
    color: #000;
    font-size: 16px;
    border: 1px solid #ccc;
    margin-right: 20px;
    border-radius: 5px;
    outline: none;
}

.contact-wrapper .contact-form input::placeholder {
    color: #999;
}

.contact-wrapper .contact-form input:focus {
    border-color: var(--primary-color);
}

.contact-wrapper .contact-form .remark {
    flex: 2;
    min-width: 200px;
}

.contact-wrapper .contact-form button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    height: 40px;
    padding: 0 30px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.contact-wrapper .contact-form button:hover {
    opacity: 0.9;
}

/* ===== Footer ===== */
footer {
    background-color: var(--footer-bg);
    padding: 40px 0;
}

footer .footer-link {
    border-bottom: 1px solid #353535;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
}

footer .footer-link .public-title {
    margin-bottom: 0;
    margin-right: 20px;
    flex-shrink: 0;
}

footer .footer-link .public-title h3 {
    color: #aaa;
    font-size: 18px;
}

footer .footer-link .public-title p {
    color: #555;
    font-size: 12px;
}

footer .footer-link ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

footer .footer-link ul li {
    margin-right: 30px;
}

footer .footer-link ul li a {
    color: #aaa;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

footer .footer-link ul li a:hover {
    color: var(--primary-color);
}

footer .footer-menu {
    padding-top: 20px;
}

footer .footer-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

footer .footer-menu ul li {
    margin-right: 60px;
}

footer .footer-menu ul li dt {
    font-size: 16px;
    color: #eee;
    margin-bottom: 5px;
    font-weight: 600;
}

footer .footer-menu ul li dd {
    margin: 0;
}

footer .footer-menu ul li a {
    color: #999;
    line-height: 30px;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

footer .footer-menu ul li a:hover {
    color: var(--primary-color);
}

footer .footer-contact {
    margin-top: 20px;
    color: #999;
    display: flex;
    align-items: flex-end;
    text-align: right;
    flex-direction: column;
}

footer .footer-contact p {
    font-size: 14px;
    margin-bottom: 5px;
}

footer .footer-contact p:first-child {
    font-size: 20px;
    font-weight: 700;
    color: #eee;
}

footer .footer-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

footer .footer-qrcode img {
    width: 80px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 4px;
}

footer .footer-qrcode span {
    font-size: 12px;
    color: #999;
}

/* Footer QR Code Lightbox */
footer .footer-qrcode .footer-qrcode-img {
    cursor: pointer;
    display: inline-block;
}

footer .footer-qrcode .footer-qrcode-img img {
    transition: transform 0.3s;
}

footer .footer-qrcode .footer-qrcode-img:hover img {
    transform: scale(1.1);
}

.qrcode-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.qrcode-lightbox.active {
    display: flex;
}

.qrcode-lightbox img {
    width: 80vw;
    height: 80vh;
    max-width: 500px;
    max-height: 500px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    background: #fff;
    padding: 20px;
}

/* Contact Page QR Code */
.contact-qrcode-wrapper {
    padding: 30px;
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
}

.contact-qrcode img {
    width: 180px;
    max-width: 60%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 8px;
}

.contact-qrcode-wrapper p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Copyright */
.copyright {
    padding: 10px 0;
    background-color: var(--copyright-bg);
    text-align: center;
    font-size: 14px;
    color: #666;
}

.copyright a {
    color: #666;
    text-decoration: none;
}

.copyright a:hover {
    color: var(--primary-color);
}

/* ===== Back to Top ===== */
#backTop {
    position: fixed;
    right: 10px;
    top: 75%;
    z-index: 999;
    display: flex;
    flex-direction: column;
}

#backTop span,
#backTop a {
    width: 40px;
    height: 50px;
    min-width: 40px;
    max-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 1px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s;
    position: relative;
    text-decoration: none;
    box-sizing: border-box;
    flex-shrink: 0;
}

#backTop span:hover,
#backTop a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

#backTop a:hover small {
    color: #333;
}

#backTop .ft-tel small,
#backTop .ft-wx small {
    display: none;
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
    font-size: 14px;
    color: #333;
    z-index: 10;
}

#backTop .ft-tel:hover small {
    display: block;
}

#backTop .ft-wx:hover small {
    display: block;
}

#backTop .ft-wx:hover small img {
    width: 100px;
    height: 100px;
}

/* ===== Service Detail Page ===== */
.service-detail-wrapper {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 40px;
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
}

.service-detail-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.service-detail-content h2:first-child {
    margin-top: 0;
}

.service-detail-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 25px 0 10px;
}

.service-detail-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.service-detail-content ul,
.service-detail-content ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.service-detail-content li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.service-detail-content li::marker {
    color: var(--primary-color);
}

.service-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.service-detail-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.service-detail-content a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.service-detail-cta {
    padding: 30px;
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
}

.service-detail-cta p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.detail-cta-content {
    gap: 30px;
}

.detail-cta-phone .btn-submit {
    font-size: 16px;
    padding: 12px 30px;
}

.detail-cta-qrcode {
    display: flex;
    align-items: center;
}

.detail-cta-qrcode .btn-submit {
    font-size: 16px;
    padding: 12px 30px;
}

/* ===== Case Detail Page ===== */
.case-detail-cover img {
    width: 100%;
    border-radius: var(--card-radius);
}

.case-detail-wrapper {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 40px;
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
}

.case-detail-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.case-detail-content h2:first-child {
    margin-top: 0;
}

.case-detail-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 25px 0 10px;
}

.case-detail-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.case-detail-content ul,
.case-detail-content ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.case-detail-content li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.case-detail-content li::marker {
    color: var(--primary-color);
}

.case-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.case-detail-cta {
    padding: 30px;
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
}

.case-detail-cta p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ===== News Detail Page ===== */
.news-detail-cover img {
    width: 100%;
    border-radius: var(--card-radius);
}

.news-detail-meta {
    font-size: 14px;
    color: var(--text-muted);
}

.news-detail-meta span {
    margin-right: 20px;
}

.news-detail-meta i {
    margin-right: 4px;
}

.news-detail-wrapper {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 40px;
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
}

.news-detail-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.news-detail-content h2:first-child {
    margin-top: 0;
}

.news-detail-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 25px 0 10px;
}

.news-detail-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.news-detail-content ul,
.news-detail-content ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.news-detail-content li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.news-detail-content li::marker {
    color: var(--primary-color);
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.news-detail-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.news-detail-content a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.news-detail-cta {
    padding: 30px;
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
}

.news-detail-cta > p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.news-detail-cta-content {
    gap: 30px;
}

.news-detail-cta-phone .btn-submit {
    font-size: 16px;
    padding: 12px 30px;
}

.news-detail-cta-qrcode {
    display: flex;
    align-items: center;
}

.news-detail-cta-qrcode .btn-submit {
    font-size: 16px;
    padding: 12px 30px;
}

/* ===== AI Build Page ===== */

/* Header user button */
.header-user-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s;
    margin-right: 8px;
}

/* ===== User Center ===== */
.user-baseinfo { margin-bottom: 20px; }
.user-baseinfo .row > div { margin: 5px 0; }
.user-section {
    max-width: 420px;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.logon-tab {
    text-align: center;
    margin-bottom: 25px;
}
.logon-tab a {
    display: inline-block;
    padding: 8px 30px;
    font-size: 14px;
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}
.logon-tab a:hover { color: var(--primary-color); }
.logon-tab a.active {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}
.btn-forgot {
    font-size: 13px;
    color: #999;
    text-decoration: none;
}
.btn-forgot:hover { color: var(--primary-color); }

/* User sidenav */
#content-container .sidenav .list-group {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
#content-container .sidenav .list-group-item {
    border: none;
    border-left: 3px solid transparent;
    padding: 12px 16px;
    font-size: 14px;
    color: #555;
    transition: all 0.2s;
    background: #fff;
}
#content-container .sidenav .list-group-item:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}
#content-container .sidenav .list-group-item.active {
    background: #f0f4ff;
    color: var(--primary-color);
    font-weight: 600;
    border-left-color: var(--primary-color);
}
#content-container .sidenav .list-group-item a {
    color: inherit;
    text-decoration: none;
}

/* User center page header */
.page-header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

/* AI build history in user center */
.ai-build-history-list {
    margin-top: 10px;
}
.ai-build-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #fff;
    transition: box-shadow 0.2s;
}
.ai-build-history-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.history-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.history-info strong { font-size: 14px; }
.history-time { font-size: 13px; color: #999; }
.history-mode {
    font-size: 12px;
    background: #f0f2f5;
    padding: 2px 8px;
    border-radius: 4px;
    color: #666;
}
.history-status { font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.history-status.status-success { background: #e6f7e6; color: #52c41a; }
.history-status.status-failed { background: #fff1f0; color: #f5222d; }
.history-status.status-pending { background: #fff7e6; color: #fa8c16; }
.history-actions { display: flex; gap: 8px; }
.btn-history {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-preview { background: #e6f4ff; color: #1677ff; border: 1px solid #91caff; }
.btn-preview:hover { background: #1677ff; color: #fff; }
.btn-download-h { background: #f6ffed; color: #52c41a; border: 1px solid #b7eb8f; }
.btn-download-h:hover { background: #52c41a; color: #fff; }
.header-user-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s;
    margin-right: 8px;
}

.header-user-btn:hover {
    color: var(--primary-color);
    background: #f0f2f5;
}

.ai-build-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0;
}

.ai-build-container {
    max-width: 100%;
    flex: 1;
    min-height: 500px;
    gap: 0;
}

/* 左侧操作面板 */
.ai-build-panel {
    width: 33.33%;
    max-width: 420px;
    min-width: 320px;
    background: #fff;
    border-radius: var(--card-radius) 0 0 var(--card-radius);
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
    padding: 24px 20px;
    overflow-y: auto;
    flex-shrink: 0;
}

.ai-build-mode-switch {
    display: flex;
    gap: 0;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 3px;
}

.btn-mode {
    flex: 1;
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-mode.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 2px 8px rgba(36, 96, 242, 0.3);
}

.ai-build-form .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.ai-build-form .form-control,
.ai-build-form .form-select {
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 10px 14px;
}

.ai-build-form .form-control:focus,
.ai-build-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(36, 96, 242, 0.1);
}

.btn-generate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-generate:hover {
    background: #1a4fd4;
    box-shadow: 0 4px 12px rgba(36, 96, 242, 0.4);
}

.btn-generate:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ai-build-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: #f0f7ff;
    border-radius: 8px;
    font-size: 14px;
    color: var(--primary-color);
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-download:hover {
    opacity: 0.85;
}

.btn-regenerate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-regenerate:hover {
    background: var(--primary-color);
    color: #fff;
}

/* 右侧预览区 */
.ai-build-preview {
    flex: 1;
    background: #f0f2f5;
    border-radius: 0 var(--card-radius) var(--card-radius) 0;
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
    position: relative;
    overflow: hidden;
}

.ai-build-preview-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #bbb;
}

.ai-build-preview-placeholder i {
    font-size: 64px;
    margin-bottom: 16px;
}

.ai-build-preview-placeholder p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ai-build-preview-placeholder span {
    font-size: 14px;
}

.ai-build-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
}

/* ===== AI Top Bar ===== */
.ai-top-bar {
    padding: 30px;
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.1);
}

.ai-contact-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.ai-contact-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.ai-contact-link:hover {
    color: var(--primary-color);
}

.ai-contact-link i {
    font-size: 20px;
}

/* ===== Responsive ===== */
@media (min-width: 1400px) {
    .container {
        max-width: 88%;
    }
}

@media (max-width: 1199px) {
    .nav-pc {
        max-width: calc(100% - 300px);
        overflow: hidden;
    }

    .nav-pc .menu > ul > li {
        padding: 0 15px;
    }

    .nav-pc .menu > ul > li > a {
        font-size: 14px;
    }

    footer .footer-link .left {
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    header {
        height: 60px;
    }

    .menu-mobile {
        display: block !important;
    }

    .nav-pc .menu > ul {
        display: none !important;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-pc .menu > ul.show-on-mobile {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }

    .nav-pc .menu > ul > li {
        width: 100%;
        display: block !important;
        height: auto !important;
        line-height: 50px;
        border-bottom: 1px solid #f2f2f2;
        padding: 0 20px;
    }

    .nav-pc .menu > ul > li > a {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-start !important;
        height: auto !important;
        font-weight: 400;
    }

    .nav-pc .menu > ul > li > .sub-menu {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0 20px;
        display: none;
    }

    .nav-pc .menu > ul > li > .sub-menu .sub-menu-item {
        border-bottom: 1px solid #f2f2f2;
    }

    .nav-pc .menu > ul > li > .sub-menu .sub-menu-item:last-child {
        border: none;
    }

    .nav-pc .menu > ul > li > .sub-menu .sub-menu-item a {
        padding: 12px 15px;
        text-transform: none;
    }

    /* Inner page responsive */
    .page-banner {
        padding: 50px 0;
    }

    .page-banner h1 {
        font-size: 28px;
    }

    .page-contact-form {
        padding: 25px 20px;
    }

    /* Slider */
    .main-slider {
        margin-top: -60px;
    }

    .main-slider h2 {
        font-size: 45px;
        line-height: 55px;
    }

    .main-slider .slider-desc {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .main-slider__nav {
        display: none;
    }

    #main-slider-pagination {
        bottom: 20px;
    }

    /* About */
    .about-wrapper .about-right-content {
        position: relative;
        padding: 40px 30px;
        height: auto;
    }

    .about-wrapper .count-wrapper {
        flex-wrap: wrap;
    }

    /* Contact */
    .contact-wrapper .contact-form {
        flex-direction: column;
    }

    .contact-wrapper .contact-form input,
    .contact-wrapper .contact-form .remark,
    .contact-wrapper .contact-form button {
        width: 100%;
        margin: 0 0 15px 0;
    }

    .contact-wrapper .contact-form button {
        margin-bottom: 0;
    }

    footer .footer-contact {
        align-items: flex-start;
        text-align: left;
        margin-top: 30px;
    }

    .service-detail-wrapper {
        padding: 25px 20px;
    }

    .case-detail-wrapper {
        padding: 25px 20px;
    }

    .news-detail-wrapper {
        padding: 25px 20px;
    }

    .news-detail-cta-content {
        gap: 20px;
    }

    .detail-cta-content {
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .main-slider h2 {
        font-size: 36px;
        line-height: 44px;
    }

    .main-slider .slider-desc {
        font-size: 14px;
    }

    .main-slider .slider-more {
        font-size: 14px;
        padding: 10px 25px;
    }

    .public-title h3 {
        font-size: 24px;
    }

    .about-wrapper .left-img {
        height: 350px;
    }

    .about-wrapper .about-right-content {
        padding: 30px 15px;
    }

    .about-wrapper .about-right-content h2 {
        font-size: 24px;
    }

    .news-item .news-item-img {
        height: 180px;
    }

    /* Inner page responsive */
    .page-banner {
        padding: 40px 0;
    }

    .page-banner h1 {
        font-size: 24px;
    }

    .page-section-title h3 {
        font-size: 22px;
    }

    .service-detail-wrapper {
        padding: 20px 15px;
    }

    .service-detail-content h2 {
        font-size: 20px;
    }

    .service-detail-content h3 {
        font-size: 16px;
    }

    .case-detail-wrapper {
        padding: 20px 15px;
    }

    .case-detail-content h2 {
        font-size: 20px;
    }

    .case-detail-content h3 {
        font-size: 16px;
    }

    .news-detail-wrapper {
        padding: 20px 15px;
    }

    .news-detail-content h2 {
        font-size: 20px;
    }

    .news-detail-content h3 {
        font-size: 16px;
    }

    .news-detail-cta-phone .btn-submit {
        font-size: 14px;
        padding: 10px 20px;
    }

    .news-detail-cta-qrcode .btn-submit {
        font-size: 14px;
        padding: 10px 20px;
    }

    .detail-cta-phone .btn-submit {
        font-size: 14px;
        padding: 10px 20px;
    }

    .detail-cta-qrcode .btn-submit {
        font-size: 14px;
        padding: 10px 20px;
    }

    /* AI Build responsive */
    .ai-build-container {
        flex-direction: column;
        height: auto;
    }

    .ai-build-panel {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        border-radius: var(--card-radius);
        margin-bottom: 16px;
    }

    .ai-build-preview {
        min-height: 400px;
        border-radius: var(--card-radius);
    }

    .history-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ai-top-bar > * {
        margin-bottom: 12px;
    }

    .ai-top-bar > *:last-child {
        margin-bottom: 0;
    }
}
