/* ============================================
   锦瑟·品牌服装加盟网站 - 样式表（极简东方风格）
   ============================================ */

/* ----- CSS 变量 / 主题色 ----- */
:root {
    --primary: #1a1a2e;
    --primary-dark: #0f0f1a;
    --accent: #c9a96e;
    --accent-light: #e8d5b0;
    --bg-light: #faf8f5;
    --bg-dark: #1a1a2e;
    --text-dark: #1a1a2e;
    --text-light: #faf8f5;
    --text-muted: #6b6b80;
    --card-bg: #ffffff;
    --border-color: #e0ddd5;
    --shadow: 0 8px 32px rgba(26, 26, 46, 0.08);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ----- Reset & Base ----- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ----- Typography ----- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.3; }
.section {
    padding: 100px 0;
    position: relative;
}
.section-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}
.section-dark .section-title p { color: rgba(255,255,255,0.7); }
.section-title {
    text-align: center;
    margin-bottom: 64px;
}
.section-title h2 {
    font-size: 2.4rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin: 16px auto 0;
}
.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ----- Buttons ----- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    letter-spacing: 0.5px;
}
.btn-primary {
    background: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: transparent;
    color: var(--accent);
}
.btn-block { width: 100%; }

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
    transition: var(--transition);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
}
.logo:hover { opacity: 0.85; }
.nav ul { display: flex; gap: 32px; }
.nav a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    position: relative;
    padding: 4px 0;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}
.nav a:hover, .nav a.active { color: var(--accent); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    border-radius: 2px;
}

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.7) 0%, rgba(26,26,46,0.3) 100%);
    z-index: 1;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(201,169,110,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201,169,110,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(201,169,110,0.05) 0%, transparent 40%);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    padding: 0 24px;
}
.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    letter-spacing: 1px;
    line-height: 1.8;
}

/* ==================== BRAND ==================== */
.brand-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.brand-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.brand-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.brand-image:hover img { transform: scale(1.02); }
.brand-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}
.brand-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

/* ==================== COLLECTION ==================== */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.collection-card {
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(201,169,110,0.1);
}
.collection-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201,169,110,0.3);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.collection-img {
    height: 300px;
    overflow: hidden;
}
.collection-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.collection-card:hover .collection-img img { transform: scale(1.05); }
.collection-info {
    padding: 24px;
    text-align: center;
}
.collection-info h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--accent);
}
.collection-info p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.tag {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 50px;
    background: rgba(201,169,110,0.15);
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* ==================== ADVANTAGE ==================== */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.advantage-card {
    background: var(--card-bg);
    padding: 40px 28px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}
.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(26,26,46,0.12);
    border-color: var(--accent);
}
.advantage-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}
.advantage-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--primary);
}
.advantage-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ==================== PROCESS ==================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px; left: 12.5%;
    width: 75%;
    height: 1px;
    background: rgba(201,169,110,0.2);
    z-index: 0;
}
.step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-number {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(201,169,110,0.1);
    border: 1px solid rgba(201,169,110,0.3);
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 24px;
    transition: var(--transition);
}
.step:hover .step-number {
    background: var(--accent);
    color: var(--bg-dark);
}
.step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--accent);
}
.step p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ==================== CONTACT ==================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201,169,110,0.1);
    border-radius: 12px;
}
.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--primary);
}
.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.contact-item a { color: var(--accent); }
.contact-item a:hover { text-decoration: underline; }

/* Form */
.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}
.form-group { margin-bottom: 20px; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-light);
    color: var(--text-dark);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(201,169,110,0.1);
}
.footer p { font-size: 0.9rem; margin-bottom: 8px; }
.footer-links a {
    color: var(--accent);
    margin: 0 8px;
    font-size: 0.85rem;
}
.footer-links a:hover { text-decoration: underline; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .collection-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .process-steps::before { display: none; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: rgba(26,26,46,0.98);
        backdrop-filter: blur(20px);
        padding: 20px 24px;
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        border-bottom: 1px solid rgba(201,169,110,0.1);
    }
    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    .nav ul {
        flex-direction: column;
        gap: 16px;
    }
    .nav a { font-size: 1rem; }
    .hamburger { display: flex; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero-content h1 { font-size: 2.2rem; letter-spacing: 4px; }
    .hero-content p { font-size: 1rem; }

    .section { padding: 60px 0; }
    .section-title h2 { font-size: 1.8rem; }
    .brand-content { grid-template-columns: 1fr; gap: 30px; }
    .collection-grid { grid-template-columns: 1fr; }
    .advantage-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; gap: 40px; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .btn { padding: 12px 28px; font-size: 0.9rem; }
}