/* ===== 全局重置 & 变量 ===== */
:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --secondary: #fbbf24;
    --accent: #10b981;
    --bg: #fef9f4;
    --bg-alt: #fff7ed;
    --text: #1c1917;
    --text-muted: #78716c;
    --white: #ffffff;
    --shadow: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 16px 48px rgba(0,0,0,0.15);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    padding: 100px 0;
}
.section-alt {
    background: var(--bg-alt);
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-block;
    background: rgba(249, 115, 22, 0.12);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 18px;
    border-radius: 40px;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
}
.section-header p {
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
    font-size: 1.1rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-family: var(--font);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 24px rgba(249,115,22,0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(249,115,22,0.45);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--text);
    color: var(--text);
}
.btn-outline:hover {
    background: var(--text);
    color: white;
}
.btn-block { width: 100%; justify-content: center; }

/* ===== 导航 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 10px 0;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo i { color: var(--primary); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 8px 22px !important;
    border-radius: 40px;
    font-weight: 600;
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: scale(1.02); }
.nav-cta::after { display: none !important; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text);
    border-radius: 4px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #fef2e8 0%, #ffedd5 50%, #fed7aa 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    background: rgba(249,115,22,0.15);
    border: 1px solid rgba(249,115,22,0.3);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 40px;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 700px;
    margin-bottom: 20px;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 36px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}
.stat-suffix {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-left: 4px;
}
.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
}
.shape-1 {
    width: 500px; height: 500px;
    background: var(--primary);
    top: -100px; right: -100px;
}
.shape-2 {
    width: 350px; height: 350px;
    background: var(--secondary);
    bottom: -80px; left: -80px;
}

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.about-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}
.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.about-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #ffedd5, #fed7aa);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}
.about-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.about-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Steps ===== */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}
.step-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    flex: 1 1 160px;
    max-width: 200px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.step-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.step-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}
.step-item h4 { font-size: 1rem; margin-bottom: 6px; }
.step-item p { font-size: 0.85rem; color: var(--text-muted); }
.step-arrow {
    font-size: 1.6rem;
    color: var(--primary);
    padding: 0 16px;
    flex-shrink: 0;
}

/* ===== Shop Grid ===== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.shop-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.shop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.shop-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.shop-info {
    padding: 20px 24px 24px;
}
.shop-info h3 { font-size: 1.15rem; margin-bottom: 6px; }
.shop-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 4px; }
.shop-info .shop-tag {
    display: inline-block;
    background: rgba(16,185,129,0.12);
    color: var(--accent);
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 8px;
}

/* ===== Testimonial Slider ===== */
.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 28px;
    padding: 12px 4px 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.testimonial-slider::-webkit-scrollbar { display: none; }
.testimonial-card {
    flex: 0 0 380px;
    scroll-snap-align: start;
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.testimonial-card:hover { transform: scale(1.01); }
.testimonial-card .stars { color: var(--secondary); margin-bottom: 14px; }
.testimonial-card blockquote {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.7;
}
.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-card .author img {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-card .author strong { display: block; font-size: 0.95rem; }
.testimonial-card .author span { font-size: 0.8rem; color: var(--text-muted); }
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.slider-dots span {
    width: 12px; height: 12px;
    border-radius: 20px;
    background: #d6d3d1;
    cursor: pointer;
    transition: var(--transition);
}
.slider-dots span.active {
    width: 32px;
    background: var(--primary);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.faq-question:hover { background: #fff7ed; }
.faq-question i {
    transition: var(--transition);
    color: var(--primary);
    font-size: 1.2rem;
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 28px;
    color: var(--text-muted);
    line-height: 1.7;
}
.faq-item.open .faq-answer {
    max-height: 260px;
    padding: 0 28px 24px;
}

/* ===== CTA Section ===== */
.section-cta {
    background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
    color: white;
}
.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.cta-text h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.cta-text p {
    color: #a8a29e;
    font-size: 1.1rem;
    margin-bottom: 28px;
}
.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #d6d3d1;
}
.contact-info i { color: var(--primary); width: 20px; }
.cta-form {
    background: white;
    padding: 40px 36px;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    color: var(--text);
}
.cta-form h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}
.form-group {
    margin-bottom: 18px;
    position: relative;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e7e5e4;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font);
    transition: var(--transition);
    background: #fafaf9;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}
.form-group .error-msg {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
    min-height: 18px;
}
.form-tip {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ===== Footer ===== */
.footer {
    background: #1c1917;
    color: #d6d3d1;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #292524;
}
.footer-brand .logo { color: var(--primary); margin-bottom: 16px; }
.footer-brand p { margin-bottom: 20px; max-width: 300px; }
.social-links a {
    display: inline-flex;
    width: 40px; height: 40px;
    background: #292524;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #d6d3d1;
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: white; }
.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 18px;
    font-size: 1rem;
}
.footer-links a {
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); }
.footer-contact p { margin-bottom: 8px; }
.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: #78716c;
}

/* ===== Back to Top ===== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 8px 24px rgba(249,115,22,0.35);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    z-index: 999;
}
#backToTop.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#backToTop:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0; right: -320px;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 40px 40px;
        box-shadow: -8px 0 30px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
        gap: 24px;
        align-items: flex-start;
        z-index: 999;
    }
    .nav-links.open { right: 0; }
    .hamburger { display: flex; z-index: 1001; }
    .hero h1 { font-size: 2.8rem; }
    .cta-wrapper { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); padding: 12px 0; }
    .step-item { max-width: 100%; width: 100%; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { gap: 28px; }
    .stat-num { font-size: 2rem; }
    .section-header h2 { font-size: 2rem; }
    .about-grid { grid-template-columns: 1fr; }
    .shop-grid { grid-template-columns: 1fr; }
    .testimonial-card { flex: 0 0 280px; }
    .cta-form { padding: 28px 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 0 auto 20px; }
    .social-links { justify-content: center; }
    .contact-info p { justify-content: center; }
    #backToTop { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .hero h1 { font-size: 1.8rem; }
}