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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #E6F8F3 0%, #F0FDF4 100%);
    min-height: 100vh;
    color: #333;
    position: relative;
    overflow-x: hidden;
}

/* Bao lì xì và tiền vàng rơi */
.blossom-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.blossom {
    position: absolute;
    top: -80px;
    opacity: 0;
    animation: fallMoney linear forwards;
    pointer-events: none;
}

/* Bao lì xì CSS - hình chữ nhật */
.red-envelope {
    width: 35px;
    height: 50px;
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    border: 2px solid #B91C1C;
}

.red-envelope::before {
    content: '福';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FCD34D;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.red-envelope::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    border-top: 12px solid #7C2D12;
}

/* Đồng tiền vàng */
.coin {
    font-size: 25px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

@keyframes fallMoney {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(50vh) translateX(var(--swing-distance, 30px)) rotate(180deg);
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) translateX(0) rotate(360deg);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 45px;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #0ca678 0%, #0a8a62 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(12, 166, 120, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 166, 120, 0.4);
}

.btn-outline {
    background: transparent;
    color: #0ca678;
    border: 2px solid #0ca678;
}

.btn-outline:hover {
    background: #0ca678;
    color: white;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .highlight {
    color: #0ca678;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Section Title */
.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 50px;
    opacity: 0;
}

.section-title.animate {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    opacity: 0;
    animation: scaleIn 0.6s ease-out forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.feature-card:nth-child(2) .feature-icon {
    animation-delay: 0.5s;
}

.feature-card:nth-child(3) .feature-icon {
    animation-delay: 1s;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.process-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.process-step {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    transition: all 0.3s ease;
    opacity: 0;
}

.process-step.animate {
    animation: fadeInUp 0.6s ease-out forwards;
}

.process-step:nth-child(1) {
    animation-delay: 0.1s;
}

.process-step:nth-child(3) {
    animation-delay: 0.2s;
}

.process-step:nth-child(5) {
    animation-delay: 0.3s;
}

.process-step:nth-child(7) {
    animation-delay: 0.4s;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.process-step:hover .process-number {
    transform: rotate(360deg) scale(1.1);
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0ca678 0%, #0a8a62 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(12, 166, 120, 0.3);
    transition: all 0.5s ease;
}

.process-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.process-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.process-arrow {
    font-size: 32px;
    color: #0ca678;
    font-weight: bold;
    flex-shrink: 0;
    opacity: 0;
}

.process-arrow.animate {
    animation: fadeIn 0.6s ease-out forwards;
}

.process-arrow:nth-child(2) {
    animation-delay: 0.15s;
}

.process-arrow:nth-child(4) {
    animation-delay: 0.25s;
}

.process-arrow:nth-child(6) {
    animation-delay: 0.35s;
}

.process-note {
    background: #FFF9E6;
    border-left: 4px solid #0ca678;
    padding: 20px 25px;
    border-radius: 8px;
    margin-top: 40px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.process-note svg {
    flex-shrink: 0;
    color: #0ca678;
    margin-top: 2px;
}

.process-note span {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.process-note strong {
    color: #0ca678;
}

/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-item.animate {
    animation: slideInLeft 0.5s ease-out forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.15s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.25s; }
.faq-item:nth-child(5) { animation-delay: 0.3s; }
.faq-item:nth-child(6) { animation-delay: 0.35s; }

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question-text {
    flex: 1;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0ca678;
    font-size: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0ca678 0%, #0a8a62 100%);
    padding: 80px 20px;
    text-align: center;
    margin-top: 80px;
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.btn-white {
    background: white;
    color: #0ca678;
    border: 2px solid white;
    font-size: 16px;
    padding: 16px 40px;
}

.btn-white:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: white;
    padding: 40px 20px 20px;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-left {
    flex: 1;
}

.footer-description {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    max-width: 300px;
}

.footer-right {
    display: flex;
    gap: 60px;
}

.footer-section h6 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.footer-section p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-section a {
    color: #0ca678;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #0a8a62;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    color: #999;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

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

    .section-title {
        font-size: 28px;
    }

    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }

    .process-arrow {
        transform: rotate(90deg);
        font-size: 28px;
    }

    .process-step {
        max-width: 100%;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px 25px;
    }

    .faq-item.active .faq-answer {
        padding: 0 25px 20px 25px;
    }

    .header-actions {
        gap: 10px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-right {
        flex-direction: column;
        gap: 30px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-subtitle {
        font-size: 16px;
    }
}
