:root {
    /* --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa; */

    --primary: #fe5302;
    --primary-dark: #e44b00;
    --primary-light: #ff7a36;

    --secondary: #f5f3ff;
    --accent: #f59e0b;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --text: #111827;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --transition: all 0.3s ease;


    /* 关于我们页面 样式 */
    --primary-about: #fe5302;
    --primary-about-light: #fff0e8;
    --primary-about-lighter: #fff8f2;
    --primary-about-dark: #d45200;
    --primary-about-soft: rgba(254, 99, 10, 0.08);
    --primary-about-glow: rgba(254, 99, 10, 0.18);


    /* 软件订购页面 样式 */
   --price-primary: #fe630a;
   --price-primary-light: #ff8a3c;
   --price-primary-soft: #fff0e6;
   --price-primary-subtle: rgba(254, 99, 10, 0.08);
   --price-primary-glow: rgba(254, 99, 10, 0.12);
   --price-gray-50: #fcfbfa;
   --price-gray-100: #f3f1ee;
   --price-gray-200: #e5e1dc;
   --price-gray-300: #cbc4bc;
   --price-gray-600: #6b625a;
   --price-gray-800: #2d2824;
   --price-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
   --price-shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02);
   --price-radius: 16px;
   --price-radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, sans-serif; color: var(--text); line-height: 1.6; background: var(--bg); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

.navbar { position: fixed; top: 0; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); z-index: 1000; }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.logo { display: flex; align-items: center; gap: 0.rem; font-weight: 700; font-size: 1.5rem; color: var(--primary); }
.logo img { width: 40px; height: 40px; }
.logo-text { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-link { font-weight: 500; color: var(--text); padding: 0.5rem 0; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; }
.hamburger span { width: 25px; height: 3px; background: var(--text); border-radius: 3px; transition: var(--transition); }
.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(7px, -6px); }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 1rem; }
.mobile-menu.active { display: block; }
.mobile-menu a { display: block; padding: 0.75rem 1rem; color: var(--text); border-radius: var(--radius); }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--secondary); color: var(--primary); }

.hero { padding: 4rem 0rem 0rem; position: relative; background: linear-gradient(135deg, var(--secondary) 0%, var(--bg) 100%); min-height: 80vh; display: flex; align-items: center; justify-content: center; }
.hero-content { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
/* .hero-text h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.5rem; }
.hero-text h1 span { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-text p { font-size: 1.25rem; color: var(--text-light); margin-bottom: 2rem; line-height: 1.8; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 2rem; border-radius: var(--radius); font-weight: 600; font-size: 1rem; transition: var(--transition); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: #d97706; transform: translateY(-2px); }
.hero-image { display: flex; justify-content: center; } */
/* .hero-image svg { width: 100%; max-width: 500px; } */

/* .page-header { padding: 8rem 1.5rem 4rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; text-align: center; }
.page-header h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.page-header p { font-size: 1.125rem; opacity: 0.9; margin-bottom: 1.5rem; }
.breadcrumb { display: flex; justify-content: center; gap: 0.75rem; font-size: 0.875rem; }
.breadcrumb a { color: white; opacity: 0.8; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span { opacity: 0.6; } */

.section { padding: 5rem 1.5rem; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; color: var(--text-light); }

/* .template-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.template-card { background: var(--bg); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.template-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.template-image { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--secondary); display: flex; align-items: center; justify-content: center; }
.template-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.template-card:hover .template-image img { transform: scale(1.05); }
.template-badge { position: absolute; top: 1rem; right: 1rem; background: var(--primary); color: white; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.875rem; font-weight: 600; }
.template-badge.hot { background: #ef4444; }
.template-badge.new { background: #10b981; }
.template-badge.vip { background: var(--accent); }
.template-info { padding: 1.5rem; }
.template-info h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.template-info p { font-size: 0.875rem; color: var(--text-light); margin-bottom: 1rem; }
.template-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border); }
.template-category { font-size: 0.875rem; color: var(--primary); font-weight: 500; }
.template-downloads { font-size: 0.875rem; color: var(--text-light); } */

.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.category-card { background: var(--bg); border-radius: var(--radius-lg); padding: 2rem; text-align: center; box-shadow: var(--shadow); transition: var(--transition); border: 2px solid transparent; cursor: pointer; }
.category-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-icon { width: 60px; height: 60px; margin: 0 auto 1rem; background: linear-gradient(135deg, var(--primary-light), var(--primary)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; }
.category-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.category-card p { font-size: 0.875rem; color: var(--text-light); }
.category-card .count { font-size: 0.75rem; color: var(--primary); margin-top: 0.5rem; }

.stats { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 4rem 1.5rem; }
.stats-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; color: white; }
.stat-card { padding: 1rem; }
.stat-number { font-size: 3rem; font-weight: 800; margin-bottom: 0.5rem; }
.stat-label { font-size: 1rem; opacity: 0.9; }

.features { background: var(--bg-alt); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
/* .feature-card { background: var(--bg); padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: var(--transition); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary-light), var(--primary)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.25rem; margin-bottom: 1.5rem; }
.feature-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.9375rem; color: var(--text-light); line-height: 1.7; } */

.banner { background: linear-gradient(135deg, var(--accent), #d97706); padding: 4rem 1.5rem; text-align: center; color: white; }
.banner h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.banner p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.95; }
.banner .btn { background: white; color: var(--accent); }
.banner .btn:hover { background: var(--bg); transform: translateY(-2px); }

.footer { background: var(--text); color: white; padding: 4rem 1.5rem 2rem; }
.footer-content { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-section h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; }
.footer-section p { color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 0.75rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 0.5rem; }
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: white; transition: var(--transition); }
.social-links a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; color: rgba(255,255,255,0.6); }

.toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--primary); color: white; padding: 1rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: translateX(150%); transition: var(--transition); z-index: 9999; }
.toast.show { transform: translateX(0); }
.toast.success { background: #10b981; }
.toast.error { background: #ef4444; }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.filter-bar { background: var(--bg); padding: 1.5rem; border-radius: var(--radius-lg); margin-bottom: 2rem; box-shadow: var(--shadow); display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.filter-bar select { padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.875rem; min-width: 150px; }
.filter-bar .search-box { flex: 1; min-width: 200px; display: flex; gap: 0.5rem; }
.filter-bar .search-box input { flex: 1; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.875rem; }

.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination a { width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); color: var(--text); transition: var(--transition); }
.pagination a:hover, .pagination a.active { background: var(--primary); color: white; border-color: var(--primary); }
.pagination a.disabled { opacity: 0.5; pointer-events: none; }

.form-section { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem; }
.form-card { background: var(--bg); border-radius: var(--radius-lg); padding: 3rem; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--text); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.875rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 1rem; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1); }
.form-group textarea { min-height: 120px; resize: vertical; }

.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.contact-card { background: var(--bg); padding: 2rem; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow); }
.contact-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.contact-card h3 { font-size: 1.125rem; margin-bottom: 0.75rem; color: var(--text); }
.contact-card p { color: var(--text-light); font-size: 0.9375rem; }

/* .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.team-card { background: var(--bg); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); text-align: center; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-image { width: 100%; aspect-ratio: 1; overflow: hidden; }
.team-image img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 1.5rem; }
.team-info h3 { font-size: 1.25rem; margin-bottom: 0.25rem; color: var(--text); }
.team-info .position { color: var(--primary); font-size: 0.875rem; margin-bottom: 0.75rem; }
.team-info p { font-size: 0.875rem; color: var(--text-light); margin-bottom: 1rem; }
.team-social { display: flex; justify-content: center; gap: 0.5rem; }
.team-social a { width: 2rem; height: 2rem; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; color: var(--text-light); transition: var(--transition); }
.team-social a:hover { background: var(--primary); color: white; } */



.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.pricing-card { background: var(--bg); border-radius: var(--radius-lg); padding: 2.5rem 2rem; text-align: center; box-shadow: var(--shadow); transition: var(--transition); border: 2px solid transparent; }
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: var(--primary); transform: scale(1.05); }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-8px); }
.pricing-badge { display: inline-block; background: var(--primary); color: white; padding: 0.25rem 1rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; margin-bottom: 1rem; }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text); }
.pricing-card .price { font-size: 3rem; font-weight: 800; color: var(--primary); margin-bottom: 0.25rem; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.pricing-card .period { font-size: 0.875rem; color: var(--text-light); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 2rem 0; text-align: left; }
.pricing-features li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); color: var(--text); font-size: 0.9375rem; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i { margin-right: 0.5rem; color: #10b981; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg); border-radius: var(--radius-lg); margin-bottom: 1rem; box-shadow: var(--shadow); overflow: hidden; }
.faq-question { padding: 1.25rem 1.5rem; font-weight: 600; font-size: 1rem; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question:hover { color: var(--primary); }
.faq-question i { transition: var(--transition); color: var(--text-light); }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: all 0.3s ease; }
.faq-item.active .faq-answer { padding: 0 1.5rem 1.25rem; max-height: 500px; }
.faq-answer p { color: var(--text-light); line-height: 1.8; }

.trend-card { background: var(--bg); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.trend-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.trend-image { height: 200px; overflow: hidden; }
.trend-image img { width: 100%; height: 100%; object-fit: cover; }
.trend-content { padding: 1.5rem; }
.trend-meta { font-size: 0.75rem; color: var(--text-light); margin-bottom: 0.75rem; }
.trend-content h3 { font-size: 1.125rem; margin-bottom: 0.75rem; color: var(--text); line-height: 1.4; }
.trend-content h3 a:hover { color: var(--primary); }
.trend-content p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }
.trends-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }

.terms-content { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem; }
.terms-content h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--text); }
.terms-content h3 { font-size: 1.125rem; margin-top: 1.5rem; margin-bottom: 0.75rem; color: var(--text); }
.terms-content p { font-size: 0.9375rem; color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; }
.terms-content ul { margin-bottom: 1rem; padding-left: 1.5rem; }
.terms-content ul li { font-size: 0.9375rem; color: var(--text-light); line-height: 1.8; margin-bottom: 0.5rem; list-style: disc; }

@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-buttons { justify-content: center; }
    .hero-image { order: -1; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .hero { padding: 6rem 1.5rem 3rem; }
    .hero-text h1 { font-size: 2rem; }
    .section { padding: 3rem 1rem; }
    .section-header h2 { font-size: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-8px); }
    .trends-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.75rem; }
    .hero-text p { font-size: 1rem; }
    .btn { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
    .stat-number { font-size: 2rem; }
    .banner h2 { font-size: 2rem; }
}






/* ============================================================
   侧边栏 — 固定定位 · 竖排 · 浅橙毛玻璃
   ============================================================ */
.sidebar { position: fixed; right: 28px; top: 50%; transform: translateY(-50%); z-index: 9999; display: flex; flex-direction: column; align-items: center; gap: 6px; background: rgba(255, 248, 245, 0.78); backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%); border-radius: 48px; padding: 12px 10px; box-shadow: 0 12px 40px rgba(254, 99, 10, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.6) inset, 0 0 0 1px rgba(254, 99, 10, 0.04); transition: box-shadow 0.3s ease, background 0.3s ease; }
.sidebar:hover { background: rgba(255, 248, 245, 0.92); box-shadow: 0 18px 48px rgba(254, 99, 10, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8) inset; }

/* ----- 每个按钮容器（用于定位卡片和热区） ----- */
.sidebar-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 40px; }

/* ----- 透明热区（扩大 hover 区域，彻底解决闪烁） ----- */
.sidebar-item::after { content: ''; position: absolute; right: calc(100% + 16px); top: 50%; transform: translateY(-50%); width: 180px; height: 200px; pointer-events: auto; z-index: 0; /* 完全透明，仅用于捕获事件 */ }

/* ----- 按钮样式 ----- */
.sidebar-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 40px; border: none; background: transparent; color: #3d2310; cursor: pointer; transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease; font-size: 20px; text-decoration: none; outline: none; -webkit-tap-highlight-color: transparent; position: relative; z-index: 1; }
.sidebar-btn i { font-size: 20px; line-height: 1; transition: transform 0.2s ease; }
.sidebar-btn .label { font-size: 10px; font-weight: 500; letter-spacing: 0.02em; margin-top: 3px; opacity: 0.7; transition: opacity 0.25s ease; line-height: 1.2; white-space: nowrap; color: #5a3a20; }
.sidebar-btn:hover { background: rgba(254, 99, 10, 0.10); color: #fe630a; transform: scale(1.02); }
.sidebar-btn:hover .label { opacity: 1; color: #d45500; }
.sidebar-btn:active { transform: scale(0.92); background: rgba(254, 99, 10, 0.18); color: #d45500; }

/* 特殊：置顶按钮 */
.sidebar-btn.go-top { margin-top: 4px; border-top: 1px solid rgba(254, 99, 10, 0.15); padding-top: 6px; border-radius: 40px; width: 52px; height: 52px; }
.sidebar-btn.go-top i { font-size: 18px; }

/* ============================================================
   悬停卡片 — 浅色橙系
   ============================================================ */
.hover-card { position: absolute; right: calc(100% + 16px); top: 50%; transform: translateY(-50%) scale(0.92); background: #ffffff; border-radius: 20px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(254, 99, 10, 0.10), 0 4px 12px rgba(254, 99, 10, 0.05); display: flex; flex-direction: column; align-items: center; min-width: 140px; /* max-width: 200px; */ pointer-events: none; /* 鼠标事件穿透，由热区捕获 */ opacity: 0; transform-origin: right center; border: 1px solid rgba(255, 242, 235, 0.8); backdrop-filter: blur(2px); transition: opacity 0.25s ease, transform 0.25s ease; z-index: 2; }
/* 卡片小三角 */
.hover-card::after { content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 8px solid transparent; border-left-color: #ffffff; }
.hover-card img { width: 120px; height: 120px; border-radius: 12px; object-fit: cover; background: #fdf6f0; border: 1px solid #f0e4d8; margin-bottom: 8px; }
.hover-card .card-title { font-size: 0.9rem; font-weight: 600; color: #2b1a0a; margin-top: 2px; letter-spacing: 0.01em; }
.hover-card .card-desc { font-size: 0.75rem; color: #8a6a50; margin-top: 2px; text-align: center; }

/* 父容器 hover 时显示卡片 */
.sidebar-item:hover .hover-card { opacity: 1; transform: translateY(-50%) scale(1); }

/* ===== 响应式：小屏设备侧边栏微调 ===== */
@media (max-width: 768px) {
    .sidebar { right: 14px; padding: 10px 8px; gap: 4px; border-radius: 36px; }
    .sidebar-item,
    .sidebar-btn.go-top { width: 44px; height: 44px; }
    .sidebar-btn i { font-size: 17px; }
    .sidebar-btn .label { font-size: 8px; margin-top: 2px; }
    .hover-card { min-width: 100px; padding: 12px 14px; right: calc(100% + 10px); }
    .hover-card img { width: 80px; height: 80px; }
    .hover-card .card-title { font-size: 0.75rem; }
    .hover-card .card-desc { font-size: 0.65rem; }
    .sidebar-item::after { width: 140px; height: 160px; right: calc(100% + 10px); }
}

@media (max-width: 420px) {
    .sidebar { right: 10px; padding: 8px 6px; border-radius: 28px; }
    .sidebar-item,
    .sidebar-btn.go-top { width: 38px; height: 38px; }
    .sidebar-btn i { font-size: 14px; }
    .sidebar-btn .label { font-size: 7px; margin-top: 1px; }
    /* 极窄屏隐藏卡片和热区，避免遮挡 */
    .hover-card,
    .sidebar-item::after { display: none !important; }
}

/* ===== 置顶按钮的「进度环」装饰 ===== */
.sidebar-btn.go-top .ring { position: absolute; inset: -2px; border-radius: 50%; border: 2px solid transparent; border-top-color: rgba(254, 99, 10, 0.30); opacity: 0; transition: opacity 0.4s ease; }
.sidebar-btn.go-top:hover .ring { opacity: 1; animation: spin 2s linear infinite; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 滚动状态 */
.sidebar-btn.go-top.scrolled { color: #fe630a; }
.sidebar-btn.go-top.scrolled i { animation: bob 1.6s ease-in-out infinite; }

@keyframes bob {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}








/* ============================================================
   1. 提示框容器
   ============================================================ */
.el-message-container { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; z-index: 9999; pointer-events: none; /* 让点击穿透，但内部提示框可点击 */; }

/* ============================================================
   2. 单个提示框
   ============================================================ */
.el-message { position: relative; display: flex; align-items: center; min-width: 280px; max-width: 480px; padding: 12px 20px 12px 16px; margin-bottom: 14px; background: #ffffff; border-radius: 6px; box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.10); border-left: 5px solid #909399; pointer-events: auto; /* 可点击 */ opacity: 0; transform: translateY(-24px) scale(0.96); transition: opacity 0.32s cubic-bezier(0.23, 1, 0.32, 1), transform 0.32s cubic-bezier(0.23, 1, 0.32, 1), margin 0.32s cubic-bezier(0.23, 1, 0.32, 1); box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

/* 进入状态 */
.el-message.is-enter { opacity: 1; transform: translateY(0) scale(1); }

/* 离开状态 */
.el-message.is-leave { opacity: 0; transform: translateY(-24px) scale(0.94); margin-bottom: 0; max-height: 0; overflow: hidden; padding: 0 20px 0 16px; border-width: 0; transition: opacity 0.28s ease, transform 0.28s ease, margin 0.28s ease, max-height 0.28s ease, padding 0.28s ease, border-width 0.28s ease; }

/* ============================================================
   3. 图标
   ============================================================ */
.el-message__icon { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #ffffff; margin-right: 12px; user-select: none; flex-shrink: 0; }

/* 各类型图标颜色 */
.el-message--success .el-message__icon { background-color: #67c23a; }
.el-message--warning .el-message__icon { background-color: #e6a23c; }
.el-message--error .el-message__icon { background-color: #f56c6c; }
.el-message--info .el-message__icon { background-color: #909399; }

/* ============================================================
   4. 内容
   ============================================================ */
.el-message__content { flex: 1; font-size: 14px; line-height: 1.6; color: #303133; word-break: break-word; padding-right: 6px; }

/* ============================================================
   5. 关闭按钮
   ============================================================ */
.el-message__close { flex: 0 0 18px; width: 18px; height: 18px; margin-left: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #c0c4cc; cursor: pointer; border-radius: 50%; transition: background-color 0.2s, color 0.2s, transform 0.2s; user-select: none; line-height: 1; }
.el-message__close:hover { color: #909399; background-color: rgba(0, 0, 0, 0.06); transform: rotate(90deg); }
.el-message__close:active { transform: rotate(90deg) scale(0.90); }

/* ============================================================
   6. 各类型边框色
   ============================================================ */
.el-message--success { border-left-color: #67c23a; }
.el-message--warning { border-left-color: #e6a23c; }
.el-message--error { border-left-color: #f56c6c; }
.el-message--info { border-left-color: #909399; }

/* ============================================================
   7. 演示页面样式（与组件无关，仅用于展示）
   ============================================================ */
.demo-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f5f7fa; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; padding: 20px; margin: 0; }

.demo-box { background: #ffffff; border-radius: 12px; padding: 40px 48px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06); text-align: center; max-width: 600px; width: 100%; }

.demo-box h1 { font-size: 26px; font-weight: 600; color: #303133; margin: 0 0 8px 0; letter-spacing: 0.5px; }

.demo-box p { color: #909399; font-size: 15px; margin: 0 0 32px 0; }

.demo-btn-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.demo-btn { padding: 10px 28px; border: none; border-radius: 6px; font-size: 15px; font-weight: 500; cursor: pointer; transition: all 0.25s; color: #ffffff; letter-spacing: 0.3px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }

.demo-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); }
.demo-btn:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }

.demo-btn-success { background: #67c23a; }
.demo-btn-success:hover { background: #5daf34; }

.demo-btn-warning { background: #e6a23c; }
.demo-btn-warning:hover { background: #d3942e; }

.demo-btn-error { background: #f56c6c; }
.demo-btn-error:hover { background: #e65a5a; }

.demo-btn-info { background: #909399; }
.demo-btn-info:hover { background: #7f8289; }

.demo-btn-closeall { background: #606266; }
.demo-btn-closeall:hover { background: #4d4f52; }

.demo-tip { margin-top: 24px; font-size: 13px; color: #b0b3b8; background: #f5f7fa; padding: 10px 16px; border-radius: 6px; display: inline-block; }

/* 响应式 */
@media (max-width: 520px) {
  .demo-box { padding: 28px 20px; }
  .demo-btn { padding: 8px 18px; font-size: 14px; flex: 1 1 auto; min-width: 80px; }
  .el-message { min-width: 200px; max-width: 92vw; padding: 10px 14px 10px 12px; }
  .el-message__content { font-size: 13px; }
}















/* ===== 软件订购页面样式 ===== */
.section-header {
   text-align: center;
   margin-bottom: 3rem;
}

.section-header .badge {
   display: inline-block;
   background: var(--price-primary-soft);
   color: var(--price-primary);
   font-weight: 600;
   font-size: 0.8rem;
   letter-spacing: 0.04em;
   padding: 0.35rem 1.2rem;
   border-radius: 100px;
   margin-bottom: 0.75rem;
   border: 1px solid rgba(254, 99, 10, 0.15);
}

.section-header h2 {
   font-size: 2.6rem;
   font-weight: 700;
   letter-spacing: -0.02em;
   color: #1a1614;
   margin-bottom: 0.5rem;
}

.section-header h2 span {
   color: var(--price-primary);
   position: relative;
}

.section-header p {
   font-size: 1.1rem;
   color: var(--price-gray-600);
   max-width: 560px;
   margin: 0 auto;
}

/* ===== 定价表格容器 ===== */
.pricing-wrapper {
   background: #ffffff;
   border-radius: var(--price-radius);
   box-shadow: var(--price-shadow-sm);
   border: 1px solid rgba(0, 0, 0, 0.03);
   overflow: hidden;
   margin-top: 1rem;
}

.table-scroll {
   overflow-x: auto;
   -webkit-overflow-scrolling: touch;
   padding: 0 0 0.5rem 0;
}

table.pricing-table {
   width: 100%;
   border-collapse: collapse;
   font-size: 0.9rem;
   min-width: 760px;
}

/* 表头 */
thead th {
   background: var(--price-gray-50);
   padding: 1rem 0.75rem;
   text-align: center;
   font-weight: 600;
   color: var(--price-gray-800);
   border-bottom: 2px solid var(--price-gray-100);
   vertical-align: middle;
}

thead th:first-child {
   text-align: left;
   padding-left: 1.5rem;
   background: transparent;
   border-bottom: 2px solid var(--price-gray-100);
   font-weight: 600;
   color: var(--price-gray-800);
}

.version-name {
   font-size: 1rem;
   font-weight: 700;
   display: block;
   margin-bottom: 0.2rem;
}

.version-price {
   font-size: 1.1rem;
   font-weight: 700;
   color: var(--price-primary);
   display: block;
   margin: 0.2rem 0;
}

.version-price small {
   font-weight: 400;
   font-size: 0.7rem;
   color: var(--price-gray-600);
}

.btn-order {
   display: inline-block;
   background: var(--price-primary);
   color: #fff;
   font-weight: 600;
   font-size: 0.8rem;
   padding: 0.4rem 1.2rem;
   border-radius: 40px;
   text-decoration: none;
   transition: background 0.2s, transform 0.1s;
   border: none;
   cursor: pointer;
   box-shadow: 0 2px 8px rgba(254, 99, 10, 0.25);
   white-space: nowrap;
}

.btn-order:hover {
   background: #e85a00;
   transform: translateY(-1px);
}

.btn-order.outline {
   background: transparent;
   color: var(--price-primary);
   border: 1.5px solid var(--price-primary);
   box-shadow: none;
}

.btn-order.outline:hover {
   background: var(--price-primary-soft);
}

.recommend-badge {
   display: inline-block;
   background: var(--price-primary);
   color: #fff;
   font-size: 0.6rem;
   font-weight: 700;
   padding: 0.15rem 0.6rem;
   border-radius: 40px;
   letter-spacing: 0.04em;
   margin-left: 0.3rem;
   vertical-align: middle;
   line-height: 1.4;
}

/* 表体 */
tbody td {
   padding: 0.7rem 0.75rem;
   border-bottom: 1px solid var(--price-gray-100);
   text-align: center;
   vertical-align: middle;
   color: var(--price-gray-800);
   background: #fff;
}

tbody td:first-child {
   text-align: left;
   padding-left: 1.5rem;
   font-weight: 500;
   color: var(--price-gray-800);
   background: var(--price-gray-50);
   border-right: 1px solid var(--price-gray-100);
}

tbody tr:hover td {
   background: var(--price-primary-subtle);
}

tbody tr:hover td:first-child {
   background: var(--price-gray-50);
}

/* 功能值样式 */
.feature-text {
   font-size: 0.85rem;
   line-height: 1.5;
}

.feature-text .sub {
   font-size: 0.75rem;
   color: var(--price-gray-600);
   display: block;
}

.icon-check {
   color: #22a65e;
   font-weight: 700;
   font-size: 1.1rem;
}

.icon-cross {
   color: #d95c5c;
   font-weight: 700;
   font-size: 1.1rem;
}

.icon-tooltip {
   cursor: help;
   border-bottom: 1px dashed currentColor;
}

/* 特殊行: 店铺数等有换行 */
.multi-line {
   display: block;
}

/* 底部微标 */
.table-footer {
   padding: 0.75rem 1.5rem;
   background: var(--price-gray-50);
   font-size: 0.8rem;
   color: var(--price-gray-600);
   border-top: 1px solid var(--price-gray-100);
   text-align: right;
}

/* ===== 响应式：移动卡片 ===== */
@media (max-width: 768px) {
   .table-scroll {
         padding: 0;
   }

   table.pricing-table {
         min-width: 600px;
   }

   .section-header h2 {
         font-size: 2rem;
   }

   .version-price {
         font-size: 0.95rem;
   }

   .btn-order {
         font-size: 0.7rem;
         padding: 0.3rem 0.8rem;
   }
}

@media (max-width: 480px) {
   body {
         padding: 1rem 0.5rem;
   }

   table.pricing-table {
         min-width: 500px;
         font-size: 0.8rem;
   }

   thead th,
   tbody td {
         padding: 0.5rem 0.4rem;
   }

   tbody td:first-child {
         padding-left: 0.8rem;
   }

   .version-name {
         font-size: 0.85rem;
   }
}