:root {
    --color-bg: #0a0a0a;
    --color-bg-secondary: #141414;
    --color-gold: #c9a227;
    --color-gold-light: #e8d5a3;
    --color-bronze: #b87333;
    --color-cream: #f5f0e8;
    --color-text: #e8e8e8;
    --color-text-muted: #888;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Noto Sans SC', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: #0a0a0a;
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* 导航栏 */
nav {
    position: fixed;
  
    left: 0;
    right: 0;
    z-index: 99;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,162,39,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-gold), var(--color-bronze));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--color-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-bronze));
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--color-gold), var(--color-bronze));
    color: var(--color-bg) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.nav-cta::after {
    display: none !important;
}

/* 移动端联系按钮 */
.mobile-contact-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.mobile-contact-btn:hover {
    background: rgba(201,162,39,0.1);
    border-color: rgba(201,162,39,0.3);
    color: var(--color-gold);
}

/* Hero区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(201,162,39,0.05) 50%, rgba(184,115,51,0.08) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-cream);
}

.hero-text .subtitle {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.tagline {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.tagline-item {
    font-size: 0.9rem;
    color: var(--color-gold);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(201,162,39,0.3);
    border-radius: 20px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-fabric-image {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(201,162,39,0.25);
    border: 2px solid rgba(201,162,39,0.2);
}

/* 公司介绍 */
.about {
    padding: 2rem 5%;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 50%, var(--color-bg) 100%);
    position: relative;
}
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,162,39,0.2), transparent);
}
.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-content {
    opacity: 0;
    transform: translateY(30px);
}
.about-content.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}
.about-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-cream);
    margin: 1rem 0 1.5rem;
    line-height: 1.3;
}
.about-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}
.about-desc p {
    margin-bottom: 1rem;
}
.about-desc strong {
    color: var(--color-gold);
    font-weight: 500;
}
.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(201,162,39,0.08);
    border: 1px solid rgba(201,162,39,0.15);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--color-gold);
    transition: all 0.3s ease;
}
.about-feature:hover {
    background: rgba(201,162,39,0.15);
    border-color: rgba(201,162,39,0.3);
    transform: translateY(-2px);
}
.about-feature .feature-icon {
    font-size: 1.2rem;
}
.about-image {
    opacity: 0;
    transform: translateX(30px);
}
.about-image.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease 0.2s;
}
.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(201,162,39,0.15);
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
}
.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.about-image-wrapper:hover img {
    transform: scale(1.05);
}
.about-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 4rem;
}
.about-image-placeholder p {
    font-size: 1rem;
    margin-top: 1rem;
    color: var(--color-gold);
}
.about-image-wrapper img:not([src]) + .about-image-placeholder,
.about-image-wrapper img[src=""] + .about-image-placeholder {
    display: flex;
}
.about-image-wrapper img[src] + .about-image-placeholder {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-bronze));
    color: var(--color-bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201,162,39,0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--color-cream);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--color-gold);
}

/* 产品系列 */
.products {
    padding: 6rem 5%;
    background: var(--color-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--color-gold);
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-cream);
}

.section-desc {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(201,162,39,0.1);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201,162,39,0.3);
    box-shadow: 0 20px 60px rgba(201,162,39,0.15);
}

.product-image {
    height: 280px;
    background: linear-gradient(135deg, #1a1410 0%, #2d1f16 50%, #1a1410 100%);
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='12' cy='15' rx='8' ry='6' fill='%23c9a227' opacity='0.08'/%3E%3Cellipse cx='35' cy='25' rx='10' ry='7' fill='%23c9a227' opacity='0.06'/%3E%3Cellipse cx='20' cy='38' rx='7' ry='5' fill='%23c9a227' opacity='0.07'/%3E%3Cellipse cx='40' cy='42' rx='6' ry='4' fill='%23c9a227' opacity='0.05'/%3E%3C/svg%3E");
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--color-gold), var(--color-bronze));
    color: var(--color-bg);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-cream);
}

.product-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.product-specs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-specs span {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    background: rgba(201,162,39,0.1);
    border-radius: 20px;
    border: 1px solid rgba(201,162,39,0.2);
}

/* 联系区域 */
.contact {
    padding: 6rem 5%;
    background: linear-gradient(135deg, #1a1410, #0a0a0a);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 25px;
    padding: 3rem;
    border: 1px solid rgba(201,162,39,0.15);
    text-align: center;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.wechat-number {
    font-size: 2rem;
    color: var(--color-cream);
    margin: 1rem 0;
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #888;
    text-decoration: none;
    font-size: 0.7rem;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--color-gold);
}

.mobile-nav-item span:first-child {
    font-size: 1.3rem;
}

.mobile-nav-cta {
    background: linear-gradient(135deg, var(--color-gold), var(--color-bronze));
    color: var(--color-bg) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-contact-btn {
        display: flex;
    }

    nav {
        padding: 0.8rem 4%;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .logo img {
        height: 32px;
    }

    /* Hero区域移动端优化 */
    .hero {
        min-height: auto;
        padding: 6rem 4% 3rem;
    }

    .hero-bg {
        width: 100%;
        clip-path: none;
        opacity: 0.5;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-text .subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .tagline {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .tagline-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* 隐藏Hero区域的SVG图案 */
    .hero-content > div:last-child {
        display: none;
    }

    /* 公司介绍移动端 */
    .about {
        padding: 2rem 4%;
    }
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-title {
        font-size: 1.8rem;
    }
    .about-desc {
        font-size: 1rem;
    }
    .about-features {
        justify-content: center;
    }
    .about-feature {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    .about-image-wrapper {
        aspect-ratio: 16/10;
    }

    /* 产品系列移动端优化 */
    .products {
        padding:1rem 4%;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-tag {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-desc {
        font-size: 0.9rem;
        padding: 0 0rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-image {
        height: 220px;
    }

    .product-info {
        padding: 1.2rem;
    }

    .product-info h3 {
        font-size: 1.1rem;
    }

    .product-info p {
        font-size: 0.85rem;
    }

    .product-specs span {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    /* 联系区域移动端优化 */
    .contact {
        margin-top:2rem;
        padding: 1.5rem 4%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 1.8rem;
        border-radius: 16px;
    }

    .contact-card h3 {
        font-size: 1.2rem;
    }

    .wechat-number {
        font-size: 1.3rem;
    }

    /* 页脚移动端优化 */
    footer {
        padding: 2rem 4%;
    }

    footer img {
        height: 50px;
    }

    .mobile-nav-item {
        font-size: 0.6rem;
        gap: 0.15rem;
        padding: 0.25rem 0.6rem;
    }

    .mobile-nav-item span:first-child {
        font-size: 1.3rem;
    }

    .mobile-nav-cta {
        padding: 0.4rem 0.9rem;
        border-radius: 18px;
        font-size: 0.6rem;
    }

    /* 确保Hero区域可见 */
    .hero {
        display: flex !important;
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
        padding-top: 5rem;
        padding-bottom: 2rem;
    }

    .hero-content {
        display: block !important;
        padding-top: 0;
        width: 100%;
    }

    .hero-text {
        display: block !important;
        width: 100%;
    }

    /* 隐藏SVG图案 */
    .hero-content > div:last-child {
        display: none !important;
    }
}

/* ===== 弹窗样式 ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}
.modal.active {
    display: flex;
}
.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 20px;
    padding: 35px;
    max-width: 400px;
    width: 90%;
    border: 1px solid rgba(201,162,39,0.2);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    transition: color 0.3s;
}
.close-btn:hover {
    color: #c9a227;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    color: #c9a227;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201,162,39,0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}
.form-group input:focus {
    outline: none;
    border-color: #c9a227;
    background: rgba(255,255,255,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}
.form-group textarea:focus {
    outline: none;
    border-color: #c9a227;
    background: rgba(255,255,255,0.08);
}
.address-selects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.address-selects select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201,162,39,0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a227' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}
.address-selects select:focus {
    outline: none;
    border-color: #c9a227;
}
.address-selects select option {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
}
/* iOS Safari 优化 - 使用原生样式确保选项完整显示 */
@supports (-webkit-touch-callout: none) {
    .address-selects select {
        font-size: 16px !important;
        -webkit-appearance: menulist !important;
        appearance: menulist !important;
        background-image: none !important;
        padding-right: 8px !important;
    }
}
/* 移动端适配 */
@media (max-width: 480px) {
    .modal-content {
        max-height: 90vh;
        padding: 25px 20px;
        width: 95%;
        overflow-y: auto;
    }
    .form-group {
        margin-bottom: 15px;
    }
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 16px; /* 防止iOS缩放 */
    }
    .address-selects {
        grid-template-columns: repeat(3, 1fr); /* 三列并排 */
        gap: 6px;
    }
    .address-selects select {
        font-size: 14px;
        padding: 10px 6px;
        min-height: 40px;
        -webkit-appearance: menulist;
        appearance: menulist;
        background-image: none;
        padding-right: 4px;
    }
    .submit-btn {
        padding: 14px;
        font-size: 1rem;
        margin-top: 5px;
    }
    .modal-content h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    .modal-content p {
        margin-bottom: 20px;
        font-size: 0.85rem;
    }
}
.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #c9a227, #b87333);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201,162,39,0.3);
}
