/* ===== 全局重置 & 变量 ===== */
:root {
    --primary: #d97706;
    --primary-dark: #b45309;
    --primary-light: #f59e0b;
    --secondary: #1e293b;
    --accent: #ef4444;
    --bg: #fefce8;
    --bg-soft: #fffbeb;
    --text: #1c1917;
    --text-light: #78716c;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0,0,0,0.06);
    --shadow-hover: 0 20px 60px rgba(217,119,6,0.15);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    padding: 100px 0 80px;
}
.section.bg-soft {
    background: var(--bg-soft);
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 4px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(217,119,6,0.1);
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.92);
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo i { color: var(--primary); }
.logo-light { font-weight: 300; color: var(--text-light); }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-menu ul {
    display: flex;
    gap: 24px;
}
.nav-menu ul li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
}
.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}
.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}
.nav-menu ul li a:hover { color: var(--primary); }
.nav-admin-btn {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-admin-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217,119,6,0.3);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--secondary);
    border-radius: 6px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #451a03 50%, #1e293b 100%);
    overflow: hidden;
    padding-top: 80px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wMyI+PGNpcmNsZSBjeD0iMzAiIGN5PSIzMCIgcj0iMiIvPjwvZz48L2c+PC9zdmc+');
    opacity: 0.4;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-text {
    flex: 1.2;
    color: var(--white);
}
.hero-text h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
}
.hero-text h1 .highlight {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
    max-width: 480px;
}
.hero-badges {
    display: flex;
    gap: 28px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.hero-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.08);
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}
.hero-badges i { color: var(--primary-light); }
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 8px 30px rgba(217,119,6,0.35);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(217,119,6,0.45);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
    border-color: var(--primary-light);
    background: rgba(245,158,11,0.1);
    transform: translateY(-3px);
}
.btn-block { width: 100%; justify-content: center; }
.hero-visual {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.hero-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 28px 32px;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}
.hero-card.card-delay { animation-delay: -3s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero-card i { font-size: 2.2rem; color: var(--primary-light); margin-bottom: 8px; }
.hero-card h3 { font-weight: 500; font-size: 1rem; opacity: 0.8; }
.hero-number { font-size: 3.2rem; font-weight: 900; line-height: 1.2; margin: 4px 0; }
.hero-card small { opacity: 0.6; }

/* ===== 品牌网格 ===== */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}
.brand-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px 28px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(217,119,6,0.06);
    position: relative;
    overflow: hidden;
}
.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.brand-card:hover::before { transform: scaleX(1); }
.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.brand-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: var(--bg-soft);
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}
.brand-card:hover .brand-icon { background: var(--primary); color: var(--white); }
.brand-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.brand-card .brand-cuisine {
    display: inline-block;
    background: var(--bg-soft);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 14px;
    border-radius: 30px;
    margin-bottom: 10px;
}
.brand-card p { color: var(--text-light); font-size: 0.92rem; margin-bottom: 16px; }
.brand-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}
.brand-stats i { color: var(--primary); margin-right: 4px; }

/* ===== 优势区 ===== */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.advantage-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(217,119,6,0.05);
}
.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.advantage-card i {
    font-size: 2.4rem;
    color: var(--primary);
    background: var(--bg-soft);
    padding: 16px;
    border-radius: 60px;
    margin-bottom: 16px;
    display: inline-block;
    transition: var(--transition);
}
.advantage-card:hover i { background: var(--primary); color: var(--white); }
.advantage-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.advantage-card p { color: var(--text-light); font-size: 0.92rem; }

/* ===== 流程 ===== */
.process-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}
.step {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    flex: 1 1 180px;
    max-width: 240px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.step-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}
.step-icon i {
    font-size: 2.2rem;
    color: var(--primary);
    background: var(--bg-soft);
    padding: 18px;
    border-radius: 60px;
}
.step-num {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(217,119,6,0.3);
}
.step h4 { font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--text-light); font-size: 0.85rem; }
.step-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    margin-top: 60px;
    flex-shrink: 0;
}

/* ===== 案例 ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
.case-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.case-avatar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 24px 0;
}
.case-avatar .avatar {
    width: 56px;
    height: 56px;
    border-radius: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.case-avatar .case-name h4 { font-weight: 700; font-size: 1rem; }
.case-avatar .case-name span { color: var(--text-light); font-size: 0.85rem; }
.case-body { padding: 16px 24px 24px; }
.case-body .brand-tag {
    display: inline-block;
    background: var(--bg-soft);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 30px;
    margin-bottom: 8px;
}
.case-body p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 12px; }
.case-stats {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}
.case-stats i { color: var(--primary); margin-right: 4px; }

/* ===== 联系/表单 ===== */
.contact-wrapper {
    display: flex;
    gap: 48px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px 40px;
    box-shadow: var(--shadow);
}
.contact-info {
    flex: 1;
}
.contact-info h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.contact-info p { color: var(--text-light); margin-bottom: 24px; }
.info-items div {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text);
    font-weight: 500;
}
.info-items i { color: var(--primary); width: 24px; text-align: center; }
.contact-tip {
    margin-top: 28px;
    background: var(--bg-soft);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-tip i { color: var(--primary); }
.contact-form {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-row {
    display: flex;
    gap: 16px;
}
.form-row input,
.form-row select,
.contact-form textarea {
    flex: 1;
    padding: 14px 18px;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font);
    background: var(--bg);
    transition: var(--transition);
    outline: none;
}
.form-row input:focus,
.form-row select:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(217,119,6,0.1);
}
.contact-form textarea { resize: vertical; }
.form-feedback {
    text-align: center;
    font-size: 0.9rem;
    color: var(--primary-dark);
    min-height: 24px;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}
.footer-brand i { color: var(--primary-light); margin-right: 8px; }
.footer-brand p { font-weight: 400; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 4px; }
.footer-links {
    display: flex;
    gap: 24px;
    align-items: center;
    font-size: 0.9rem;
}
.footer-links a { transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); }

/* ===== 回到顶部 ===== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    border-radius: 60px;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(217,119,6,0.35);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}
#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#backToTop:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 3rem; }
    .hero-visual { flex: 0.6; }
}
@media (max-width: 900px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text p { max-width: 100%; }
    .hero-badges { justify-content: center; }
    .hero-actions { justify-content: center; }
    .hero-visual { flex-direction: row; justify-content: center; flex-wrap: wrap; }
    .hero-card { flex: 1; min-width: 160px; }
    .contact-wrapper { flex-direction: column; padding: 32px 24px; }
    .form-row { flex-direction: column; }
    .process-steps { flex-direction: column; align-items: center; }
    .step { max-width: 100%; width: 100%; }
    .step-connector { width: 2px; height: 30px; margin: 0; }
    .section-header h2 { font-size: 2rem; }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(18px);
        flex-direction: column;
        padding: 24px 32px;
        gap: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
        transform: translateX(100%);
        transition: var(--transition);
        border-top: 1px solid rgba(217,119,6,0.1);
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu ul { flex-direction: column; gap: 16px; }
    .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(6px, -6px); }
    .hero-text h1 { font-size: 2.4rem; }
    .hero { min-height: auto; padding: 120px 0 60px; }
    .section { padding: 60px 0 50px; }
    .brand-grid, .advantage-grid, .cases-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .brand-grid, .advantage-grid, .cases-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2rem; }
    .hero-badges span { font-size: 0.8rem; }
    .container { padding: 0 16px; }
    .contact-wrapper { padding: 24px 16px; }
    .footer-content { flex-direction: column; text-align: center; }
}