/* ============================================
   金凡传媒 - 腾讯电子签销售网站
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #0052D9;
    --primary-dark: #003CAB;
    --primary-light: #E8F0FE;
    --accent: #00A870;
    --accent-light: #E6F7F0;
    --text: #1D2129;
    --text-secondary: #4E5969;
    --text-muted: #86909C;
    --bg: #FFFFFF;
    --bg-alt: #F7F8FA;
    --border: #E5E6EB;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --header-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
.text-gradient {
    background: linear-gradient(135deg, #0052D9 0%, #00A870 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, #0052D9 0%, #0066FF 100%);
    color: white;
    padding: 14px 32px;
    box-shadow: 0 4px 14px rgba(0,82,217,0.35);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,82,217,0.45);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 30px;
}
.btn-outline:hover {
    background: var(--primary-light);
}
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.2; }
.logo-sub { font-size: 11px; color: var(--text-muted); line-height: 1.2; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-light); }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #F0F5FF 0%, #E8F8F2 50%, #FFF8F0 100%);
}
.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,82,217,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.06;
    animation: float 20s infinite ease-in-out;
}
.particle:nth-child(1) { width: 300px; height: 300px; top: 10%; left: -5%; animation-delay: 0s; }
.particle:nth-child(2) { width: 200px; height: 200px; top: 60%; left: 70%; animation-delay: -5s; }
.particle:nth-child(3) { width: 150px; height: 150px; top: 20%; left: 50%; animation-delay: -10s; }
.particle:nth-child(4) { width: 250px; height: 250px; bottom: -10%; right: -5%; animation-delay: -15s; background: var(--accent); }
.particle:nth-child(5) { width: 180px; height: 180px; top: 70%; left: 20%; animation-delay: -3s; background: var(--accent); }
.particle:nth-child(6) { width: 120px; height: 120px; top: 40%; left: 80%; animation-delay: -8s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}
.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero-desc {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 40px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.2;
    display: block;
}
.stat-plus { font-size: 24px; font-weight: 700; }
.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

/* --- Section --- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}
.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}
.section-desc { font-size: 16px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* --- Product Cards --- */
.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.product-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px 32px;
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-align: center;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.product-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF6B6B, #FF4444);
    color: white;
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.product-card-header { margin-bottom: 20px; }
.product-card h3 { font-size: 28px; font-weight: 700; color: var(--text); }

.product-price {
    margin-bottom: 20px;
    color: #FAAD14;
    font-weight: 700;
}
.product-price-flexible {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--primary);
}
.price-symbol { font-size: 22px; font-weight: 700; }
.price-number { font-size: 38px; font-weight: 700; }
.price-period { font-size: 16px; font-weight: 500; }
.price-label-text { font-size: 18px; font-weight: 600; color: var(--primary); }

.product-actions-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 12px;
}
.product-actions-row .btn { flex: 1; }
.product-actions-row .btn-block { flex: none; width: 100%; }

.product-version-tip {
    text-align: center;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    text-align: left;
}
.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.check-icon { flex-shrink: 0; margin-top: 2px; }

/* Accent button - 官网风格的青绿色按钮 */
.btn-accent {
    background: #00C4B5;
    color: white;
    padding: 12px 24px;
    font-weight: 500;
    box-shadow: none;
}
.btn-accent:hover {
    background: #00A89B;
    transform: none;
    box-shadow: 0 4px 12px rgba(0,196,181,0.3);
}

.product-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
    padding: 16px 24px;
    background: var(--primary-light);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--primary);
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* --- Cases Grid --- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.case-content { padding: 24px; }
.case-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.case-content h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.case-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px 24px;
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.service-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.service-link:hover { color: var(--primary-dark); }

/* --- Why Us --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-card {
    text-align: center;
    padding: 32px 20px;
}
.why-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 16px;
}
.why-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    gap: 16px;
}
.faq-arrow { flex-shrink: 0; transition: var(--transition); }
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}
.faq-answer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Contact --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}
.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-item h5 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--text-secondary); }

.contact-form { background: white; padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.required { color: #FF4444; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--text);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,82,217,0.1);
    background: white;
}
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 6px;
    font-size: 14px !important;
    font-weight: 400 !important;
    cursor: pointer;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: var(--transition);
    user-select: none;
}
.checkbox-label:has(input:checked) {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}
.checkbox-label input { display: none; }

/* --- Footer --- */
.footer {
    background: #1A1D2E;
    color: white;
    padding: 64px 0 32px;
}
.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}
.footer-brand { max-width: 400px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    padding: 6px 0;
    transition: var(--transition);
}
.footer-col a:hover { color: white; }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-legal { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.8; }
.footer-beian { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.beian-link { color: rgba(255,255,255,0.4); transition: var(--transition); }
.beian-link:hover { color: rgba(255,255,255,0.7); }
.beian-divider { color: rgba(255,255,255,0.2); }

/* --- Toast --- */
.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { transform: translateX(-50%) translateY(-20px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* --- Upgrade Badge --- */
.upgrade-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    color: #E65100;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #FFB74D;
    margin-left: 6px;
    white-space: nowrap;
    animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* --- Product Custom Tip --- */
.product-custom-tip {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.custom-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border: 2px dashed #FF6B35;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #E65100;
    animation: borderDash 3s linear infinite;
}
@keyframes borderDash {
    0% { border-color: #FF6B35; }
    50% { border-color: #FFB74D; }
    100% { border-color: #FF6B35; }
}

/* --- QR Code Modal --- */
.qr-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.qr-modal.open {
    display: flex;
}
.qr-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}
.qr-modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px 24px 28px;
    text-align: center;
    width: auto;
    max-width: min(1080px, 95vw);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalIn 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
@keyframes modalIn {
    from { transform: translateY(30px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.qr-modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 36px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: var(--transition);
}
.qr-modal-close:hover { color: var(--text); }
.qrcode-img {
    width: min(1080px, 85vw);
    height: min(1080px, 85vw);
    object-fit: contain;
    margin: 0 auto 16px;
    border-radius: var(--radius-sm);
}
.qr-modal-tip {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.qr-modal-subtip {
    font-size: 16px;
    color: var(--text-muted);
}

/* Contact QR Code Box - 左右排版 */
.contact-qrcode-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}
.qrcode-row {
    display: flex;
    align-items: center;
    gap: 32px;
}
.qrcode-img-large {
    width: 364px;
    height: 364px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 4px;
    flex-shrink: 0;
}
.qrcode-text-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}
.qrcode-text-col .qrcode-tip {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}
.qrcode-text-col .qrcode-subtip {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}
.qrcode-center { text-align: center; }
.qrcode-center .qrcode-img { width: 200px; height: 200px; }
.qrcode-tip {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-top: 12px;
    margin-bottom: 4px;
}
.qrcode-subtip {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Red Packet Floating --- */
.red-packet-float {
    position: fixed;
    bottom: 170px;
    right: 24px;
    z-index: 999;
    cursor: pointer;
    transition: var(--transition);
}
.red-packet-float:hover {
    transform: scale(1.1);
}
.red-packet-bounce {
    animation: rpBounce 2s infinite ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
@keyframes rpBounce {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-12px); }
    50% { transform: translateY(0); }
    70% { transform: translateY(-6px); }
    85% { transform: translateY(0); }
}
.red-packet-icon {
    filter: drop-shadow(0 4px 12px rgba(232,57,41,0.5));
}
.red-packet-label {
    background: linear-gradient(135deg, #FF4D4D, #E83929);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(232,57,41,0.4);
}
.red-packet-amount {
    font-size: 16px;
    font-weight: 900;
    margin-left: 2px;
}

/* --- Online Service Floating --- */
.online-service-float {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 999;
    cursor: pointer;
    transition: var(--transition);
}
.online-service-float:hover {
    transform: scale(1.1);
}
.service-float-bounce {
    animation: rpBounce 2s infinite ease-in-out;
    animation-delay: 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.online-service-label {
    background: #00C4B5;
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,196,181,0.4);
}

/* Red Packet Modal */
.red-packet-modal-content {
    background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 40%);
    max-width: min(520px, 90vw);
}
.red-packet-modal-content .qrcode-img {
    width: min(420px, 75vw);
    height: min(420px, 75vw);
}
.red-packet-header {
    margin-bottom: 14px;
}
.red-packet-star {
    font-size: 38px;
    display: block;
    margin-bottom: 8px;
}
.red-packet-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #E83929;
    margin-bottom: 4px;
}
.red-packet-header p {
    font-size: 15px;
    color: var(--text-secondary);
}
.red-packet-header p strong {
    color: #E83929;
    font-size: 20px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .product-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .product-card-featured { transform: none; }
    .product-card-featured:hover { transform: translateY(-4px); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { grid-template-columns: 1fr; }
    .product-actions-row { flex-direction: row; }
    .product-actions-row .btn { flex: 1; }
}

@media (max-width: 768px) {
    .header-cta { display: none; }
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        display: none;
    }
    .nav.open { display: flex; }
    .mobile-menu-btn { display: flex; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { gap: 32px; }
    .stat-number { font-size: 32px; }
    .footer-main { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .qr-modal-content { max-width: 90vw; padding: 24px 16px 20px; }
    .qr-modal-content .qrcode-img { width: min(480px, 85vw); height: min(480px, 85vw); }
    .red-packet-modal-content .qrcode-img { width: min(320px, 80vw); height: min(320px, 80vw); }
    .qrcode-row { flex-direction: column; gap: 20px; text-align: center; }
    .qrcode-img-large { width: 286px; height: 286px; }
    .qrcode-text-col { text-align: center; }
}

@media (max-width: 480px) {
    .section { padding: 64px 0; }
    .features-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-stats { gap: 24px; }
    .footer-links { grid-template-columns: 1fr 1fr; }
}
