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

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.7;
    color: #2d4a2b;
    background: #f5f9f3;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(139, 195, 74, 0.03) 0%, transparent 50%),
        repeating-linear-gradient(90deg, rgba(76, 175, 80, 0.02) 0px, transparent 1px, transparent 40px, rgba(76, 175, 80, 0.02) 41px),
        repeating-linear-gradient(0deg, rgba(76, 175, 80, 0.02) 0px, transparent 1px, transparent 40px, rgba(76, 175, 80, 0.02) 41px);
    pointer-events: none;
    z-index: -1;
}

/* Brand Logo - 左上角固定 */
.brand-logo-fixed {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 10;
}

.brand-logo-fixed svg {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    background:
        linear-gradient(135deg, rgba(76, 175, 80, 0.92) 0%, rgba(56, 142, 60, 0.95) 100%),
        url('data:image/svg+xml,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><rect width="200" height="200" fill="%23A0826D"/><path d="M0,20 Q100,40 200,20 L200,0 L0,0 Z M0,60 Q100,80 200,60 L200,40 L0,40 Z M0,100 Q100,120 200,100 L200,80 L0,80 Z M0,140 Q100,160 200,140 L200,120 L0,120 Z M0,180 Q100,200 200,180 L200,160 L0,160 Z M0,200 L200,200 L200,190 L0,190 Z" fill="%238B7355" opacity="0.3"/></svg>');
    background-size: auto, 200px 200px;
    padding: 3rem 1.5rem 4rem;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: pulse-bg 8s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.urgent-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 0.625rem 1.5rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.highlight {
    color: #FFF9C4;
    display: inline-block;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.2em;
    background: rgba(255, 249, 196, 0.5);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.benefits-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.benefit-icon {
    font-size: 2rem;
}

.benefit-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.download-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #2e7d32;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
    background: #fff;
    border-color: rgba(76, 175, 80, 0.3);
}

.download-btn.android {
    background: rgba(139, 195, 74, 0.95);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.download-btn.android:hover {
    background: #8bc34a;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-label {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 500;
}

.btn-title {
    font-size: 1rem;
    font-weight: 700;
}

.download-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
}

/* Floating Icons */
.float-icon {
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.float-icon-1 { top: 10%; left: 10%; animation-delay: 0s; }
.float-icon-2 { top: 20%; right: 15%; animation-delay: 1s; }
.float-icon-3 { bottom: 25%; left: 15%; animation-delay: 2s; }
.float-icon-4 { top: 60%; right: 10%; animation-delay: 3s; }
.float-icon-5 { bottom: 15%; right: 20%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Coupon Preview Section */
.coupon-preview {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.95) 0%, rgba(56, 142, 60, 0.98) 100%);
    background-size: auto, 100px 100px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.7), 0 2px 5px rgba(0,0,0,0.3);
}

.section-subtitle {
    font-size: 1rem;
    color: #ffd700;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.coupon-card-mini {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.15);
    border: 2px solid #c8e6c9;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.coupon-card-mini.visible {
    opacity: 1;
    transform: translateY(0);
}

.coupon-card-mini:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.25);
    border-color: #4caf50;
}

.coupon-tag-mini {
    display: inline-block;
    background: linear-gradient(135deg, #c8e6c9, #a5d6a7);
    color: #1b5e20;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.coupon-discount-mini {
    font-size: 1.75rem;
    font-weight: 900;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.coupon-subtitle-mini {
    font-size: 0.875rem;
    color: #5a7c59;
    margin-bottom: 1rem;
}

.coupon-code-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f1f8e9, #e8f5e9);
    border-radius: 8px;
    border: 1px solid #c8e6c9;
}

.code-label-mini {
    font-size: 0.75rem;
    color: #5a7c59;
    font-weight: 600;
}

.code-value-mini {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    color: #2e7d32;
    letter-spacing: 0.05em;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.85) 0%, rgba(56, 142, 60, 0.9) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
    opacity: 0;
    transform: translateY(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    color: #33691e;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.25);
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 80px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: #DC2626;
    line-height: 1;
    font-family: 'Courier New', monospace;
    text-shadow: 0 2px 5px rgba(220, 38, 38, 0.4);
}

.countdown-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 0.5rem;
    font-weight: 600;
}

.countdown-sep {
    font-size: 2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.9);
}

.cta-subtitle {
    font-size: 0.875rem;
    color: #558b2f;
    font-weight: 600;
}

/* How It Works */
.how-it-works {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.92) 0%, rgba(56, 142, 60, 0.95) 100%);
    background-size: auto, 120px 120px;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.step-card {
    flex: 1;
    min-width: 240px;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-card:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #66bb6a, #4caf50);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.875rem;
    color: #5a7c59;
    line-height: 1.6;
}

.step-arrow {
    font-size: 2rem;
    color: #a5d6a7;
    font-weight: 700;
}

/* Final CTA */
.final-cta {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.98) 0%, rgba(27, 94, 32, 1) 100%);
    text-align: center;
}

.final-cta-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.highlight-green {
    color: #10B981;
}

.download-section-alt {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.download-btn-alt {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-btn-alt.ios {
    background: #fff;
    color: #000;
}

.download-btn-alt.android {
    background: #10B981;
    color: #fff;
}

.download-btn-alt:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.final-notice {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    padding: 2rem 1.5rem;
    text-align: center;
}

.footer-text {
    font-size: 0.75rem;
    color: #c8e6c9;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem 3rem;
        min-height: auto;
    }

    .brand-logo-fixed {
        top: 1rem;
        left: 1rem;
    }

    .brand-logo-fixed div {
        font-size: 28px !important;
    }

    .download-btn {
        padding: 0.875rem 1.5rem;
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .countdown-item {
        padding: 0.75rem 1rem;
        min-width: 70px;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .float-icon {
        font-size: 2rem;
    }

    .stats-row {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .stat-item {
        width: 100% !important;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .benefits-row {
        gap: 1rem;
    }

    .benefit-icon {
        font-size: 1.5rem;
    }

    .benefit-text {
        font-size: 0.75rem;
    }

    .coupon-grid {
        grid-template-columns: 1fr;
    }

    .brand-logo-fixed div {
        font-size: 24px !important;
    }

    .countdown-item {
        padding: 0.625rem 0.875rem;
        min-width: 60px;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .stat-item div:first-child {
        font-size: 28px !important;
    }

    .stat-item div:last-child {
        font-size: 12px !important;
    }
}

/* 特殊移动端优化 */
@media (max-width: 390px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .countdown-item {
        padding: 0.5rem 0.75rem;
        min-width: 55px;
    }

    .countdown-value {
        font-size: 1.25rem;
    }

    .cta-box {
        padding: 1.5rem 1rem;
    }
}

/* Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #4caf50;
    outline-offset: 3px;
}
