/* 基础样式 */
:root {
    --primary: #ff6b35;
    --primary-dark: #e55a2b;
    --primary-light: #ff8c5a;
    --secondary: #ffd93d;
    --dark: #1a1a2e;
    --gray-dark: #2d2d44;
    --gray: #6b7280;
    --gray-light: #f3f4f6;
    --white: #ffffff;
    --success: #10b981;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 动画 */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* 顶部通知栏 */
.top-banner {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: var(--white);
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
}

/* 导航栏 */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-hint {
    color: var(--gray);
    font-size: 14px;
    display: none;
}

@media (min-width: 768px) {
    .contact-hint {
        display: block;
    }
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: var(--gray-light);
    color: var(--dark);
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-ghost {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-light);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* 英雄区域 */
.hero {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #fff9f5 0%, #ffffff 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 0;
    left: -100px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 52px;
    }
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 优惠卡片 */
.discount-card {
    background: var(--white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

.discount-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.discount-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.discount-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.discount-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.discount-example {
    background: var(--gray-light);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
}

.example-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pay-label, .get-label {
    font-size: 14px;
    color: var(--gray);
}

.pay-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-dark);
}

.get-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

.example-arrow {
    text-align: center;
    font-size: 24px;
    color: var(--primary);
    padding: 10px 0;
    animation: pulse 1.5s ease-in-out infinite;
}

.discount-rate {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 15px;
    border-radius: 12px;
}

.rate-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
}

.rate-text {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--success);
    box-shadow: var(--shadow);
    animation: float 2.5s ease-in-out infinite;
}

.badge-1 {
    top: 20px;
    right: -20px;
}

.badge-2 {
    bottom: 30px;
    left: -30px;
    animation-delay: 0.5s;
}

/* SEO 关键词高亮 */
.keyword-highlight {
    color: var(--primary);
}

.title-main {
    display: block;
}

/* SEO 面包屑导航 */
.breadcrumb {
    margin-bottom: 30px;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 14px;
    color: var(--gray);
}

.breadcrumb li::after {
    content: '/';
    margin-left: 8px;
}

.breadcrumb li:last-child::after {
    content: '';
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
    color: var(--dark);
    font-weight: 500;
}

/* 区块通用样式 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 40px;
    }
}

.section-desc {
    font-size: 18px;
    color: var(--gray);
}

/* 返点比例 */
.benefits {
    padding: 80px 0;
    background: var(--white);
}

.rate-table {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.rate-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    padding: 20px 30px;
    border-bottom: 1px solid var(--gray-light);
    position: relative;
}

.rate-row:last-child {
    border-bottom: none;
}

.rate-header {
    background: var(--dark);
    color: var(--white);
    font-weight: 600;
}

.rate-row:not(.rate-header):hover {
    background: #fff9f5;
}

.rate-col {
    display: flex;
    align-items: center;
}

.rate-percent {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.rate-amount {
    font-weight: 600;
    color: var(--success);
}

.rate-highlight {
    background: linear-gradient(135deg, #fff9f5, #fff);
    border: 2px solid var(--primary);
}

.hot-tag {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.benefit-note {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #fff9f5, #fff);
    border-radius: 12px;
    border: 1px dashed var(--primary);
    font-size: 16px;
}

.note-icon {
    font-size: 20px;
}

/* 优势 */
.advantages {
    padding: 80px 0;
    background: var(--gray-light);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

@media (min-width: 768px) {
    .advantage-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.advantage-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.advantage-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.advantage-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* 流程 */
.process {
    padding: 80px 0;
    background: var(--white);
}

.process-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media (min-width: 768px) {
    .process-steps {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
}

.step {
    text-align: center;
    padding: 30px;
    background: var(--gray-light);
    border-radius: 20px;
    min-width: 200px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.step p {
    font-size: 14px;
    color: var(--gray);
}

.step-arrow {
    font-size: 24px;
    color: var(--primary);
    font-weight: bold;
}

@media (max-width: 767px) {
    .step-arrow {
        transform: rotate(90deg);
    }
}

/* 联系方式 */
.contact {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff9f5 0%, #ffffff 100%);
}

.contact-card {
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    border: 2px solid var(--primary);
}

@media (min-width: 768px) {
    .contact-card {
        grid-template-columns: 1.2fr 1fr;
    }
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-desc {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 25px;
}

.contact-methods {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.contact-label {
    color: var(--gray);
    font-size: 14px;
}

.contact-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.copy-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--primary-dark);
}

.contact-tips {
    background: var(--gray-light);
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--gray);
}

.contact-qrcode {
    text-align: center;
}

.qrcode-box {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    display: inline-block;
    border: 3px solid var(--primary);
    box-shadow: var(--shadow);
}

.qr-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.qrcode-placeholder {
    background: var(--gray-light);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 15px;
}

.qr-box {
    width: 180px;
    height: 180px;
    background: var(--white);
    margin: 0 auto;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--gray);
}

.qr-box span {
    font-size: 16px;
    color: var(--gray);
}

.qr-tip {
    font-size: 12px;
    color: var(--gray);
    margin-top: 10px;
}

.qrcode-hint {
    font-size: 14px;
    color: var(--gray);
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
}

.faq-item details {
    cursor: pointer;
}

.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--primary);
}

.faq-item[open] summary .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding-bottom: 25px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
}

/* 旧版FAQ兼容 */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* 底部CTA */
.bottom-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* 页脚 */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    text-align: left;
}

@media (max-width: 767px) {
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a,
.footer-column span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-note {
    font-size: 12px;
    opacity: 0.6;
}

.footer-keywords {
    font-size: 12px;
    opacity: 0.5;
    margin-top: 15px;
}

.footer-keywords .kw {
    color: var(--primary-light);
    opacity: 0.7;
}

/* 浮动按钮 */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

.float-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.5);
}

.float-icon {
    font-size: 20px;
}

/* 响应式 */
@media (max-width: 767px) {
    .hero {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .discount-card {
        max-width: 300px;
    }

    .floating-badge {
        display: none;
    }

    .rate-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .rate-col {
        justify-content: center;
    }

    .hot-tag {
        position: static;
        margin-top: 10px;
        display: inline-block;
    }

    .contact-card {
        padding: 30px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .floating-contact {
        bottom: 20px;
        right: 20px;
    }

    .float-btn {
        padding: 12px 20px;
    }

    .float-text {
        display: none;
    }
}