/* =============================================
   style.css - 快易便利店加盟网站
   配色: 暖色/活力橙 + 深蓝
   字体: Inter (Google Fonts)
   ============================================= */
   *,
   *::before,
   *::after {
       box-sizing: border-box;
       margin: 0;
       padding: 0;
   }
   
   :root {
       --primary: #f97316;
       --primary-dark: #ea580c;
       --primary-light: #fb923c;
       --secondary: #1e293b;
       --secondary-light: #334155;
       --accent: #f59e0b;
       --bg-light: #f8fafc;
       --bg-white: #ffffff;
       --text-dark: #0f172a;
       --text-muted: #64748b;
       --text-light: #94a3b8;
       --border: #e2e8f0;
       --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
       --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
       --radius: 16px;
       --radius-sm: 10px;
       --radius-xs: 6px;
       --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
   }
   
   html {
       scroll-behavior: smooth;
   }
   
   body {
       font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
       background: var(--bg-light);
       color: var(--text-dark);
       line-height: 1.6;
       -webkit-font-smoothing: antialiased;
   }
   
   .container {
       max-width: 1200px;
       margin: 0 auto;
       padding: 0 24px;
   }
   
   a {
       text-decoration: none;
       color: inherit;
   }
   
   img {
       max-width: 100%;
       height: auto;
       display: block;
   }
   
   .img-fluid {
       width: 100%;
       height: auto;
   }
   
   .rounded-lg {
       border-radius: var(--radius);
   }
   
   .shadow-lg {
       box-shadow: var(--shadow);
   }
   
   .highlight {
       color: var(--primary);
   }
   
   .section {
       padding: 80px 0;
   }
   
   .bg-light {
       background: var(--bg-white);
   }
   
   .section-header {
       text-align: center;
       margin-bottom: 48px;
   }
   
   .section-header h2 {
       font-size: 2.2rem;
       font-weight: 700;
       margin-bottom: 8px;
   }
   
   .section-header p {
       color: var(--text-muted);
       font-size: 1.1rem;
   }
   
   /* ---------- 按钮 ---------- */
   .btn {
       display: inline-flex;
       align-items: center;
       justify-content: center;
       gap: 8px;
       font-weight: 600;
       border: 2px solid transparent;
       border-radius: var(--radius-sm);
       cursor: pointer;
       transition: var(--transition);
       font-size: 1rem;
       padding: 12px 28px;
   }
   
   .btn-primary {
       background: var(--primary);
       color: #fff;
       border-color: var(--primary);
   }
   
   .btn-primary:hover {
       background: var(--primary-dark);
       border-color: var(--primary-dark);
       transform: translateY(-2px);
       box-shadow: 0 10px 20px -8px rgba(249, 115, 22, 0.4);
   }
   
   .btn-outline {
       background: transparent;
       color: var(--secondary);
       border-color: var(--secondary);
   }
   
   .btn-outline:hover {
       background: var(--secondary);
       color: #fff;
       transform: translateY(-2px);
   }
   
   .btn-sm {
       padding: 8px 18px;
       font-size: 0.9rem;
   }
   
   .btn-lg {
       padding: 16px 36px;
       font-size: 1.1rem;
   }
   
   .btn-block {
       width: 100%;
   }
   
   /* ---------- 导航 ---------- */
   .site-header {
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       z-index: 1000;
       background: rgba(255, 255, 255, 0.9);
       backdrop-filter: blur(12px);
       -webkit-backdrop-filter: blur(12px);
       border-bottom: 1px solid rgba(226, 232, 240, 0.5);
       transition: var(--transition);
   }
   
   .site-header.scrolled {
       box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
   }
   
   .header-flex {
       display: flex;
       align-items: center;
       justify-content: space-between;
       height: 70px;
   }
   
   .logo {
       font-size: 1.5rem;
       font-weight: 800;
       color: var(--secondary);
       display: flex;
       align-items: center;
       gap: 8px;
   }
   
   .logo i {
       color: var(--primary);
       font-size: 1.8rem;
   }
   
   .main-nav ul {
       display: flex;
       list-style: none;
       gap: 8px;
   }
   
   .main-nav a {
       padding: 8px 16px;
       border-radius: var(--radius-xs);
       font-weight: 500;
       color: var(--secondary-light);
       transition: var(--transition);
   }
   
   .main-nav a:hover,
   .main-nav a.active {
       background: rgba(249, 115, 22, 0.08);
       color: var(--primary);
   }
   
   .header-actions {
       display: flex;
       align-items: center;
       gap: 12px;
   }
   
   .hamburger {
       display: none;
       flex-direction: column;
       gap: 5px;
       background: none;
       border: none;
       cursor: pointer;
       padding: 4px;
   }
   
   .hamburger span {
       width: 26px;
       height: 3px;
       background: var(--secondary);
       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 {
       padding: 140px 0 80px;
       background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
       overflow: hidden;
   }
   
   .hero-grid {
       display: grid;
       grid-template-columns: 1fr 1fr;
       gap: 60px;
       align-items: center;
   }
   
   .hero-text .badge {
       display: inline-block;
       background: rgba(249, 115, 22, 0.12);
       color: var(--primary-dark);
       font-weight: 600;
       font-size: 0.85rem;
       padding: 6px 16px;
       border-radius: 50px;
       margin-bottom: 16px;
   }
   
   .hero-text h1 {
       font-size: 3.2rem;
       font-weight: 800;
       line-height: 1.2;
       margin-bottom: 16px;
   }
   
   .hero-text p {
       font-size: 1.1rem;
       color: var(--text-muted);
       max-width: 480px;
       margin-bottom: 28px;
   }
   
   .hero-cta {
       display: flex;
       gap: 16px;
       flex-wrap: wrap;
       margin-bottom: 40px;
   }
   
   .hero-stats {
       display: flex;
       gap: 32px;
       flex-wrap: wrap;
   }
   
   .hero-stats div {
       font-size: 0.95rem;
       color: var(--text-muted);
   }
   
   .hero-stats span {
       font-weight: 700;
       font-size: 1.4rem;
       color: var(--secondary);
       display: block;
   }
   
   .hero-image {
       position: relative;
   }
   
   .hero-img-wrapper {
       position: relative;
   }
   
   .hero-img-wrapper img {
       border-radius: var(--radius);
       box-shadow: var(--shadow-hover);
   }
   
   .floating-card {
       position: absolute;
       background: rgba(255, 255, 255, 0.95);
       backdrop-filter: blur(8px);
       padding: 10px 18px;
       border-radius: 50px;
       font-weight: 600;
       font-size: 0.9rem;
       box-shadow: 0 8px 24px rgba(0,0,0,0.08);
       display: flex;
       align-items: center;
       gap: 8px;
       color: var(--secondary);
       animation: float 3s ease-in-out infinite;
   }
   
   .floating-card i {
       color: var(--primary);
   }
   
   .card-1 {
       top: 10%;
       left: -8%;
       animation-delay: 0s;
   }
   .card-2 {
       bottom: 15%;
       right: -8%;
       animation-delay: 1.5s;
   }
   
   @keyframes float {
       0%, 100% { transform: translateY(0px); }
       50% { transform: translateY(-10px); }
   }
   
   /* ---------- 加盟优势卡片 ---------- */
   .cards-grid {
       display: grid;
       grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
       gap: 28px;
   }
   
   .advantage-card {
       background: var(--bg-white);
       padding: 36px 28px;
       border-radius: var(--radius);
       box-shadow: var(--shadow);
       transition: var(--transition);
       border: 1px solid var(--border);
       text-align: center;
   }
   
   .advantage-card:hover {
       transform: translateY(-6px);
       box-shadow: var(--shadow-hover);
       border-color: var(--primary-light);
   }
   
   .advantage-card .icon-box {
       width: 64px;
       height: 64px;
       background: rgba(249, 115, 22, 0.08);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       margin: 0 auto 20px;
       font-size: 1.8rem;
       color: var(--primary);
       transition: var(--transition);
   }
   
   .advantage-card:hover .icon-box {
       background: var(--primary);
       color: #fff;
   }
   
   .advantage-card h3 {
       font-size: 1.25rem;
       margin-bottom: 8px;
   }
   
   .advantage-card p {
       color: var(--text-muted);
       font-size: 0.95rem;
   }
   
   /* ---------- 流程 ---------- */
   .process-steps {
       display: flex;
       align-items: flex-start;
       justify-content: center;
       gap: 0;
       flex-wrap: wrap;
   }
   
   .step {
       text-align: center;
       flex: 1 1 180px;
       max-width: 220px;
       padding: 24px 16px;
       position: relative;
       background: var(--bg-white);
       border-radius: var(--radius);
       box-shadow: var(--shadow);
       transition: var(--transition);
   }
   
   .step:hover {
       transform: translateY(-4px);
       box-shadow: var(--shadow-hover);
   }
   
   .step-number {
       width: 40px;
       height: 40px;
       background: var(--primary);
       color: #fff;
       font-weight: 700;
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       margin: 0 auto 12px;
   }
   
   .step i {
       font-size: 2rem;
       color: var(--primary);
       margin-bottom: 12px;
       display: block;
   }
   
   .step h3 {
       font-size: 1.1rem;
       margin-bottom: 6px;
   }
   
   .step p {
       color: var(--text-muted);
       font-size: 0.9rem;
   }
   
   .step-connector {
       width: 40px;
       height: 2px;
       background: var(--border);
       align-self: center;
       margin: 0 4px;
   }
   
   /* ---------- 门店展示 ---------- */
   .shops-grid {
       display: grid;
       grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
       gap: 28px;
   }
   
   .shop-card {
       background: var(--bg-white);
       border-radius: var(--radius);
       overflow: hidden;
       box-shadow: var(--shadow);
       transition: var(--transition);
       border: 1px solid var(--border);
   }
   
   .shop-card:hover {
       transform: translateY(-6px);
       box-shadow: var(--shadow-hover);
   }
   
   .shop-img img {
       width: 100%;
       height: 200px;
       object-fit: cover;
       background: #e2e8f0;
   }
   
   .shop-info {
       padding: 20px 24px 24px;
   }
   
   .shop-info h3 {
       font-size: 1.15rem;
       margin-bottom: 8px;
   }
   
   .shop-info p {
       color: var(--text-muted);
       font-size: 0.9rem;
       margin-bottom: 4px;
   }
   
   .shop-info i {
       color: var(--primary);
       width: 20px;
   }
   
   /* ---------- FAQ ---------- */
   .faq-list {
       max-width: 720px;
       margin: 0 auto;
   }
   
   .faq-item {
       background: var(--bg-white);
       border-radius: var(--radius-sm);
       margin-bottom: 12px;
       box-shadow: var(--shadow);
       border: 1px solid var(--border);
       overflow: hidden;
   }
   
   .faq-question {
       width: 100%;
       display: flex;
       justify-content: space-between;
       align-items: center;
       padding: 20px 24px;
       font-size: 1.05rem;
       font-weight: 600;
       background: none;
       border: none;
       cursor: pointer;
       color: var(--text-dark);
       transition: var(--transition);
   }
   
   .faq-question:hover {
       background: rgba(249, 115, 22, 0.04);
   }
   
   .faq-question i {
       transition: var(--transition);
       color: var(--text-muted);
   }
   
   .faq-item.active .faq-question i {
       transform: rotate(180deg);
       color: var(--primary);
   }
   
   .faq-answer {
       max-height: 0;
       overflow: hidden;
       transition: max-height 0.35s ease, padding 0.3s ease;
       padding: 0 24px;
   }
   
   .faq-item.active .faq-answer {
       max-height: 200px;
       padding: 0 24px 20px;
   }
   
   .faq-answer p {
       color: var(--text-muted);
       line-height: 1.7;
   }
   
   /* ---------- 联系我们 ---------- */
   .contact-grid {
       display: grid;
       grid-template-columns: 1fr 1.2fr;
       gap: 48px;
       align-items: start;
   }
   
   .contact-info .info-item {
       display: flex;
       align-items: center;
       gap: 14px;
       margin-bottom: 18px;
       font-size: 1.05rem;
       color: var(--secondary-light);
   }
   
   .contact-info i {
       width: 28px;
       color: var(--primary);
       font-size: 1.2rem;
   }
   
   .social-links {
       display: flex;
       gap: 16px;
       margin-top: 12px;
   }
   
   .social-links a {
       width: 44px;
       height: 44px;
       background: var(--bg-white);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 1.3rem;
       color: var(--secondary-light);
       border: 1px solid var(--border);
       transition: var(--transition);
   }
   
   .social-links a:hover {
       background: var(--primary);
       color: #fff;
       border-color: var(--primary);
       transform: translateY(-3px);
   }
   
   .contact-form {
       background: var(--bg-white);
       padding: 36px;
       border-radius: var(--radius);
       box-shadow: var(--shadow);
       border: 1px solid var(--border);
   }
   
   .contact-form input,
   .contact-form textarea {
       width: 100%;
       padding: 14px 18px;
       margin-bottom: 16px;
       border: 1px solid var(--border);
       border-radius: var(--radius-xs);
       font-family: inherit;
       font-size: 1rem;
       transition: var(--transition);
       background: var(--bg-light);
   }
   
   .contact-form input:focus,
   .contact-form textarea:focus {
       outline: none;
       border-color: var(--primary);
       box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
   }
   
   .contact-form textarea {
       resize: vertical;
   }
   
   /* ---------- 页脚 ---------- */
   .site-footer {
       background: var(--secondary);
       color: #cbd5e1;
       padding: 48px 0 24px;
   }
   
   .footer-content {
       display: grid;
       grid-template-columns: 2fr 1fr 1fr;
       gap: 40px;
       margin-bottom: 32px;
   }
   
   .footer-brand {
       font-size: 1.4rem;
       font-weight: 700;
       color: #fff;
       display: flex;
       flex-direction: column;
       gap: 8px;
   }
   
   .footer-brand i {
       color: var(--primary);
   }
   
   .footer-brand p {
       font-weight: 400;
       font-size: 0.95rem;
       color: var(--text-light);
   }
   
   .footer-links h4,
   .footer-contact h4 {
       color: #fff;
       margin-bottom: 12px;
       font-size: 1rem;
   }
   
   .footer-links ul {
       list-style: none;
   }
   
   .footer-links li {
       margin-bottom: 6px;
   }
   
   .footer-links a {
       color: var(--text-light);
       transition: var(--transition);
   }
   
   .footer-links a:hover {
       color: var(--primary);
   }
   
   .footer-contact p {
       margin-bottom: 6px;
   }
   
   .footer-bottom {
       border-top: 1px solid #334155;
       padding-top: 20px;
       text-align: center;
       font-size: 0.9rem;
       color: var(--text-light);
   }
   
   /* =============================================
      后台管理样式
      ============================================= */
   .admin-body {
       background: var(--bg-light);
       min-height: 100vh;
       display: flex;
       align-items: center;
       justify-content: center;
       padding: 20px;
   }
   
   .admin-container {
       width: 100%;
       max-width: 960px;
       margin: 0 auto;
   }
   
   .login-card {
       background: var(--bg-white);
       padding: 48px 40px;
       border-radius: var(--radius);
       box-shadow: var(--shadow-hover);
       max-width: 420px;
       margin: 40px auto;
       text-align: center;
       border: 1px solid var(--border);
   }
   
   .login-header i {
       font-size: 3rem;
       color: var(--primary);
       margin-bottom: 8px;
   }
   
   .login-header h2 {
       font-size: 1.6rem;
       margin-bottom: 4px;
   }
   
   .login-header p {
       color: var(--text-muted);
       margin-bottom: 24px;
   }
   
   .form-group {
       text-align: left;
       margin-bottom: 18px;
   }
   
   .form-group label {
       display: block;
       font-weight: 500;
       margin-bottom: 6px;
       font-size: 0.9rem;
       color: var(--secondary-light);
   }
   
   .form-group label i {
       color: var(--primary);
   }
   
   .form-group input {
       width: 100%;
       padding: 12px 16px;
       border: 1px solid var(--border);
       border-radius: var(--radius-xs);
       font-size: 1rem;
       background: var(--bg-light);
   }
   
   .form-group input:focus {
       border-color: var(--primary);
       outline: none;
       box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
   }
   
   .error-msg {
       color: #dc2626;
       font-size: 0.9rem;
       margin-top: 10px;
       min-height: 20px;
   }
   
   .back-link {
       margin-top: 16px;
   }
   
   .back-link a {
       color: var(--primary);
       font-weight: 500;
   }
   
   .admin-header {
       display: flex;
       justify-content: space-between;
       align-items: center;
       background: var(--bg-white);
       padding: 16px 28px;
       border-radius: var(--radius-sm);
       box-shadow: var(--shadow);
       margin-bottom: 28px;
       border: 1px solid var(--border);
   }
   
   .admin-header h2 i {
       color: var(--primary);
   }
   
   .admin-dashboard {
       background: var(--bg-white);
       padding: 28px;
       border-radius: var(--radius);
       box-shadow: var(--shadow);
       border: 1px solid var(--border);
   }
   
   .admin-stats {
       display: flex;
       gap: 20px;
       flex-wrap: wrap;
       margin-bottom: 32px;
   }
   
   .stat-card {
       flex: 1;
       min-width: 140px;
       background: var(--bg-light);
       padding: 20px;
       border-radius: var(--radius-sm);
       text-align: center;
       font-weight: 500;
       color: var(--text-muted);
       border: 1px solid var(--border);
   }
   
   .stat-card span {
       display: block;
       font-size: 2rem;
       font-weight: 700;
       color: var(--secondary);
       margin-bottom: 4px;
   }
   
   .admin-table-wrapper h3 {
       margin-bottom: 16px;
   }
   
   .admin-table {
       width: 100%;
       border-collapse: collapse;
       font-size: 0.95rem;
   }
   
   .admin-table thead {
       background: var(--secondary);
       color: #fff;
   }
   
   .admin-table th,
   .admin-table td {
       padding: 12px 16px;
       text-align: left;
       border-bottom: 1px solid var(--border);
   }
   
   .admin-table tbody tr:hover {
       background: rgba(249, 115, 22, 0.04);
   }
   
   .admin-table .btn-sm {
       padding: 6px 14px;
       font-size: 0.8rem;
   }
   
   .btn-danger {
       background: #ef4444;
       color: #fff;
       border-color: #ef4444;
   }
   
   .btn-danger:hover {
       background: #dc2626;
       border-color: #dc2626;
   }
   
   /* =============================================
      响应式
      ============================================= */
   @media (max-width: 768px) {
       .hero-grid {
           grid-template-columns: 1fr;
           gap: 40px;
           text-align: center;
       }
       .hero-text p {
           margin: 0 auto 28px;
       }
       .hero-cta {
           justify-content: center;
       }
       .hero-stats {
           justify-content: center;
       }
       .hero-text h1 {
           font-size: 2.2rem;
       }
       .hero {
           padding: 120px 0 60px;
       }
       .floating-card {
           display: none;
       }
   
       .main-nav {
           position: fixed;
           top: 70px;
           left: 0;
           width: 100%;
           background: rgba(255,255,255,0.98);
           backdrop-filter: blur(12px);
           padding: 20px 28px;
           box-shadow: 0 10px 30px rgba(0,0,0,0.08);
           transform: translateY(-120%);
           transition: var(--transition);
           border-bottom: 1px solid var(--border);
       }
       .main-nav.open {
           transform: translateY(0);
       }
       .main-nav ul {
           flex-direction: column;
           gap: 4px;
       }
       .hamburger {
           display: flex;
       }
   
       .contact-grid {
           grid-template-columns: 1fr;
       }
       .footer-content {
           grid-template-columns: 1fr;
           text-align: center;
       }
       .process-steps {
           flex-direction: column;
           align-items: center;
       }
       .step-connector {
           width: 2px;
           height: 30px;
       }
       .section-header h2 {
           font-size: 1.8rem;
       }
       .admin-stats {
           flex-direction: column;
       }
       .admin-table {
           font-size: 0.85rem;
       }
       .admin-table th,
       .admin-table td {
           padding: 8px 10px;
       }
   }
   
   @media (max-width: 480px) {
       .hero-text h1 {
           font-size: 1.8rem;
       }
       .btn-lg {
           padding: 12px 24px;
           font-size: 1rem;
       }
       .cards-grid {
           grid-template-columns: 1fr;
       }
       .contact-form {
           padding: 24px;
       }
       .login-card {
           padding: 32px 24px;
       }
   }