* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'microsoft yahei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    line-height: 1.6; 
    color: #fff;
    background: #000;
    overflow-x: hidden;
}

/* 导航栏 */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000;
    z-index: 1000;
    height: 80px;
}
.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 40px;
}
.nav-links { 
    display: flex; 
    list-style: none; 
    align-items: center;
    gap: 34px;
    margin-left: auto;
}
.nav-links a { 
    text-decoration: none; 
    color: #AFAFAF; 
    font-size: 16px; 
    transition: color 0.3s;
}
.nav-links a:hover { color: #fff; }
.nav-cta-btn {
    background: linear-gradient(135deg, #C7A862 0%, #8D7556 100%);
    color: #000;
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.3s;
    margin-left: 46px;
}
.nav-cta-btn:hover { transform: translateY(-2px); }

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 104px 0 0px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/CodeBubbyAssets/0_863/1.png');
    background-size: 763px 684px;
    background-position: 338px 104px;
    background-repeat: no-repeat;
}
.hero-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero-title-icon {
    margin-bottom: 9px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 108px;
}
.hero-title-icon img {
    width: 80px;
    height: 80px;
}
.hero-title {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #C7A862 0%, #8D7556 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'microsoft yahei', sans-serif;
    line-height: 72px;
}
.hero-subtitle {
    font-size: 24px;
    color: #EECA7B;
    margin-bottom: 16px;
    line-height: 32px;
}
.divider {
    width: 100px;
    height: 3px;
    background: #C0A15E;
    margin: 0 auto 40px;
}
.hero-description {
    max-width: 837px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #C2C0C0;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    line-height: 40px;
}
.hero-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 837px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}
.feature-item {
    line-height: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    color: #fff;
}
.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}
.btn {
    padding: 13px 38px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary {
    background: linear-gradient(135deg, #C7A862 0%, #8D7556 100%);
    color: #000;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    color: #C0A15E;
    border: 2px solid #C0A15E;
}
.btn-outline:hover { background: rgba(192, 161, 94, 0.1); }
.nav-buttons {
    padding-top: 13px;
}
.nav-buttons img {
    height: 6px;
    width: 12px;
}

/* Section通用样式 */
.section {
    padding: 90px 40px 0;
    max-width: 1440px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #C7A862 0%, #8D7556 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'microsoft yahei';
    line-height: 48px;
}
.section-subtitle {
    text-align: center;
    color: #C2C0C0;
    font-size: 18px;
    margin-bottom: 60px;
    line-height: 40px;
}

/* 痛点卡片 */
.pain-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.pain-points-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.pain-points-row.center {
    margin-top: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 30px;
}
.pain-points-row.center .pain-card {
    width: 400px;
    flex-shrink: 0;
}
.pain-card {
    background: #1A1A1A;
    border: 1px solid rgba(192, 161, 94, 0.2);
    border-radius: 6px;
    padding: 22px 23px 16px;
    min-height: 180px;
    position: relative;
}
.pain-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pain-text {
    font-size: 18px;
    color: #fff;
    line-height: 40px;
}

/* 服务卡片 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: #1A1A1A;
    border: 1px solid rgba(192, 161, 94, 0.2);
    border-radius: 6px;
    padding: 23px 28px 28px;
    min-height: 380px;
    position: relative;
    overflow: hidden;
}
.service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    position: relative;
}
.service-title {
    font-size: 22px;
    color: #fff;
    font-weight: 500;
    line-height: 40px;
    margin-bottom: 4px;
}
.service-desc {
    color: #AFAFAF;
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 25px;
}
.service-list {
    list-style: none;
}
.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 18px;
    color: #fff;
    line-height: 25px;
}
.service-list li img {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
}

/* 案例卡片 */
#cases {
    padding-top: 100px;
}
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}
.cases-grid-bottom {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}
.cases-grid-bottom .case-card {
    width: calc((100% - 40px) / 3);
}
.case-card {
    background: #1A1A1A;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}
.case-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: border-color 0.35s ease;
    pointer-events: none;
}
.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 169, 110, 0.08);
}
.case-card:hover::after {
    border-color: rgba(201, 169, 110, 0.35);
}
.case-card:hover .case-image img {
    transform: scale(1.05);
}
.case-card:hover .case-link {
    color: #e0c07a;
    gap: 14px;
}
.case-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(180deg, #191919 0%, #060606 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.case-tag {
    display: inline-block;
    padding: 20px 16px 6px 23px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    color: #C0A15E;
    line-height: 20px;
}
.case-tag::after {
    content: '';
    display: block;
    width: auto;
    height: 2px;
    background: #C0A15E;
    margin-top: 4px;
}
.case-content {
    padding: 10px 23px 0 23px;
    position: relative;
}
.case-title {
    line-height: 40px;
    font-size: 22px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}
.case-desc {
    color: #AFAFAF;
    font-size: 14px;
    margin-bottom: 8px;
}
.case-result {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-top: 0px;
}
.case-result-icon {
    width: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}
.case-result-text {
    color: #C0A15E;
    font-size: 14px;
    flex: 1;
}
.case-link {
    margin-left: 23px;
    padding: 6px 0 20px;
    color: #C0A15E;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    transition: color 0.3s ease, gap 0.3s ease;
}
.case-link svg {
    width: 8px;
    height: 14px;
}
.jiantou {
    height: 14px;
}

/* 案例详情模态 */
.case-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.case-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.case-modal {
    background: #111;
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 8px;
    width: 560px;
    max-width: 90vw;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}
.case-modal-overlay.active .case-modal {
    transform: translateY(0);
}
.case-modal::-webkit-scrollbar {
    width: 4px;
}
.case-modal::-webkit-scrollbar-track {
    background: #1a1a1a;
}
.case-modal::-webkit-scrollbar-thumb {
    background: rgba(201,169,110,0.3);
    border-radius: 2px;
}
.case-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #888;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    z-index: 1;
}
.case-modal-close:hover { color: #fff; }
.case-modal-body {
    padding: 36px 36px 40px;
}
.case-modal-title {
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
    padding-right: 24px;
}
.case-modal-desc {
    color: #AFAFAF;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}
.case-modal-result {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 28px;
}
.case-modal-result .case-result-icon {
    width: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}
.case-modal-result p {
    color: #C0A15E;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}
.case-modal-section {
    margin-bottom: 20px;
}
.case-modal-section:last-child { margin-bottom: 0; }
.case-modal-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.case-modal-section p {
    color: #AFAFAF;
    font-size: 14px;
    line-height: 1.8;
}

/* 选择理由 */
.why-section {
    display: grid;
    grid-template-columns: 319px 1fr;
    gap: 30px;
    position: relative;
    background-image: url('assets/CodeBubbyAssets/0_926/1.png');
    background-size: 992px 890px;
    background-position: -610px 0px;
    background-repeat: no-repeat;
    padding-bottom: 200px;
}
.why-image {
    height: 619px;
    position: relative;
    overflow: hidden;
}
.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.why-cards {
    background: linear-gradient(to right, transparent 0%, #181610 30%);
    border-radius: 0px 6px 6px 0px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 40px 0;
}
.why-card {
    background: linear-gradient(135deg, rgba(199, 168, 98, 0.17) 0%, rgba(10, 10, 10, 0) 100%);
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    gap: 20px;
    position: relative;
    background-clip: padding-box;
}
.why-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 8px;
    background: linear-gradient(to right, rgba(225, 207, 151, 0.5) 0%, rgba(225, 207, 151, 0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
    pointer-events: none;
}
.why-card-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: #C0A15E;
}
.why-card-icon svg {
    width: 100%;
    height: 100%;
}
.why-card-content {
    flex: 1;
}
.why-card-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}
.why-card-desc {
    color: #AFAFAF;
    font-size: 16px;
    line-height: 1.6;
}

/* 理念 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.value-card {
    background: linear-gradient(135deg, rgba(199, 168, 98, 0.17) 0%, rgba(10, 10, 10, 0) 100%);
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 24px;
    position: relative;
    padding-right: 120px;
    background-clip: padding-box;
}
.value-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 8px;
    background: linear-gradient(to right, rgba(225, 207, 151, 0.5) 0%, rgba(225, 207, 151, 0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
    pointer-events: none;
}
.value-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    color: #C0A15E;
    position: absolute;
    right: 40px;
    bottom: 40px;
}
.value-card-icon svg {
    width: 100%;
    height: 100%;
}
.value-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 500;
}
.value-desc {
    color: #AFAFAF;
    font-size: 16px;
    line-height: 1.6;
}

/* 联系我们 */
.contact-section {
    display: grid;
    grid-template-columns: 576px 584px;
    gap: 60px;
    padding-bottom: 60px;
}
.contact-left {
    position: relative;
}
.contact-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #C7A862 0%, #8D7556 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'microsoft yahei', sans-serif;
}
.contact-subtitle {
    color: #C2C0C0;
    font-size: 14px;
    margin-bottom: 40px;
}
.contact-boxtitle {
    padding: 60px 0 0 0;
    line-height: 40px;
    font-size: 20px;
}
.contact-card {
    border-radius: 6px;
    padding: 20px 0 28px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 24px;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}
.contact-icon svg {
    width: 100%;
    height: 100%;
}
.contact-info label {
    display: block;
    color: #fff;
    font-size: 14px;
}
.contact-info span {
    color: #AFAFAF;
    font-size: 14px;
}

/* 表单 */
.contact-form {
    background: #1A1A1A;
    border-radius: 6px;
    padding: 23px 23px 23px 37px;
}
.form-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 10px;
}
.form-group label {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 8px;
}
.form-group label .required {
    color: #C0A15E;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 13px;
    background: #0A0A0A;
    border: 1px solid rgba(192, 161, 94, 0.2);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #AFAFAF;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C0A15E;
}
.form-group textarea {
    height: 140px;
    resize: vertical;
}
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #C7A862 0%, #8D7556 100%);
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.submit-btn:hover { transform: translateY(-2px); }

/* Footer */
footer {
    background: #000;
    padding: 80px 80px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 86px;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 auto;
}
.footer-brand img {
    width: 120px;
    height: auto;
    margin-bottom: 10px;
}
.footer-brand p {
    color: #ffffff;
    font-size: 14px;
    line-height: 20px;
}
.footer-links {
    display: flex;
    gap: 100px;
    margin-right: 310px;
}
.footer-nav .footer-col-title,
.footer-social .footer-col-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-nav ul li a {
    color: #AFAFAF;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-nav ul li a:hover {
    color: #C9A96E;
}
.footer-social .social-item {
    margin-bottom: 18px;
}
.footer-social .social-item:last-child {
    margin-bottom: 0;
}
.footer-social .social-label {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}
.footer-social .social-value {
    color: #AFAFAF;
    font-size: 14px;
}
.footer-divider {
    border: none;
    margin: 0;
}
.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 20px;
}
.footer-info p {
    color: #666;
    font-size: 13px;
}

/* 响应式 */
@media (max-width: 1200px) {
    .pain-points-row { grid-template-columns: repeat(2, 1fr); }
    .pain-points-row.center { flex-direction: column; align-items: center; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid-bottom .case-card { width: calc((100% - 40px) / 2); }
    .why-section { grid-template-columns: 1fr; }
    .why-image { height: 300px; }
    .contact-section { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 18px; }
    .hero-features { flex-direction: column; align-items: flex-start; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
    .pain-points-row { grid-template-columns: 1fr; }
    .pain-points-row.center { flex-direction: column; align-items: stretch; }
    .pain-points-row.center .pain-card { width: 100%; }
    .services-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .cases-grid-bottom { flex-direction: column; }
    .cases-grid-bottom .case-card { width: 100%; }
    .why-section { grid-template-columns: 1fr; background-image: none;}
    .why-image { height: 0px; }
    .values-grid { grid-template-columns: 1fr; }
    .submit-btn { width: 100%; }
    footer { padding: 48px 24px 32px; }
    .footer-top { flex-direction: column; gap: 40px; }
    .footer-links { flex-direction: column; gap: 32px; }
    .footer-info { flex-direction: column; align-items: flex-start; gap: 8px; }
}
