* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 全局颜色 */
:root {
    --main: #e63946; /* 螺蛳粉主色 */
    --gold: #d4a76a; /* 国潮金 */
    --dark: #2b2b2b;
    --light: #f8f5f2;
}

body {
    background: #fff;
    color: var(--dark);
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ———— 华丽渐变导航栏 ———— */
header {
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ff3c63, #c11a27);
    background-size: 400% 400%;
    animation: gradientBG 12s ease infinite;
    box-shadow: 0 3px 20px rgba(255, 60, 99, 0.3);
    position: sticky;
    top: 0;
    z-index: 999;
}
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

/* LOGO 巷子秘密 → 黑色 */
.logo {
    font-size: 26px;
    font-weight: bold;
    color: #000000 !important;
}
.logo span {
    color: #ffffff !important;
}

.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    font-weight: 600;
    transition: 0.3s;
    color: #ffffff !important;
}
.nav-links a:hover {
    opacity: 0.85;
}

/* 立即加盟按钮 → 红底白字 */
.join-btn {
    background: #e62e3a !important;
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(230,46,58,0.2);
}

/* 横幅 */
.banner {
    height: 600px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('images/dgg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}
.banner h1 {
    font-size: 48px;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.banner p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.banner .btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--main);
    color: #fff;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}
.banner .btn:hover {
    background: #c11a27;
    transform: translateY(-3px);
}

/* 标题通用 */
.sec-title {
    text-align: center;
    margin-bottom: 50px;
}
.sec-title h2 {
    font-size: 32px;
    color: var(--dark);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}
.sec-title h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--main);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.sec-title p {
    color: #666;
    margin-top: 12px;
    font-size: 16px;
}

/* 品牌介绍 */
.brand {
    padding: 80px 0;
    background: var(--light);
}
.brand-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}
.brand-left, .brand-right {
    flex: 1;
    min-width: 300px;
}
.brand-right h3 {
    font-size: 26px;
    color: var(--main);
    margin-bottom: 20px;
}
.brand-right p {
    margin-bottom: 16px;
    color: #555;
}

/* 产品优势 */
.advantage {
    padding: 80px 0;
}
.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.adv-item {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    text-align: center;
    transition: 0.3s;
}
.adv-item:hover {
    transform: translateY(-8px);
}
.adv-item h3 {
    color: var(--main);
    margin: 18px 0 10px;
}
.adv-item p {
    color: #666;
}

/* 加盟政策 */
.policy {
    padding: 80px 0;
    background: #fff9f5;
}
.policy-list {
    max-width: 900px;
    margin: 0 auto;
}
.policy-item {
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 4px solid var(--main);
}
.policy-item h3 {
    color: var(--dark);
    margin-bottom: 6px;
}
.policy-item p {
    color: #666;
}

/* 扶持体系 */
.support {
    padding: 80px 0;
}
.sup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    text-align: center;
}
.sup-box {
    padding: 25px;
}
.sup-box h3 {
    margin: 15px 0;
    color: var(--main);
}
.sup-box p {
    color: #666;
    font-size: 15px;
}

/* 代理流程 */
.process {
    padding: 80px 0;
    background: var(--dark);
    color: #fff;
}
.process .sec-title h2 {
    color: #fff;
}
.pro-step {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}
.step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    background: rgba(255,255,255,0.08);
    padding: 30px 20px;
    border-radius: 10px;
}
.step .num {
    width: 50px;
    height: 50px;
    background: var(--main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
    font-size: 18px;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    text-align: center;
}
.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
}
.contact-card p {
    font-size: 18px;
    margin: 12px 0;
    color: #333;
}
.contact-card strong {
    color: var(--main);
    font-size: 22px;
}
.contact-card img {
    display: block;
    margin: 10px auto 0;
}
.contact-card p .wx-title {
    color: red;
    font-weight: bold;
    font-size: 18px;
}
.contact .btn {
    margin-top: 25px;
    padding: 14px 40px;
    background: var(--main);
    color: #fff;
    border-radius: 50px;
    font-size: 18px;
    display: inline-block;
}
/* 底部 */
footer {
    background: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

/* 响应式 */
@media (max-width:768px) {
    .nav-links {
        display: none;
    }
    .banner h1 {
        font-size: 32px;
    }
    .banner {
        height: 450px;
    }
}