/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --christmas-red: #C41E3A;
    --christmas-green: #165B33;
    --christmas-gold: #FFD700;
    --christmas-white: #FFFAFA;
    --christmas-dark: #0F2C1C;
    --christmas-silver: #C0C0C0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a472a 0%, #0a1f14 100%);
    color: var(--christmas-white);
    overflow-x: hidden;
}

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

/* Neve Caindo */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: var(--christmas-white);
    font-size: 1.5em;
    opacity: 0.8;
    animation: fall linear infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.snowflake:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; }
.snowflake:nth-child(2) { left: 20%; animation-duration: 12s; animation-delay: 2s; font-size: 2em; }
.snowflake:nth-child(3) { left: 30%; animation-duration: 8s; animation-delay: 4s; }
.snowflake:nth-child(4) { left: 40%; animation-duration: 14s; animation-delay: 1s; font-size: 1.8em; }
.snowflake:nth-child(5) { left: 50%; animation-duration: 11s; animation-delay: 3s; }
.snowflake:nth-child(6) { left: 60%; animation-duration: 9s; animation-delay: 5s; font-size: 2.2em; }
.snowflake:nth-child(7) { left: 70%; animation-duration: 13s; animation-delay: 2s; }
.snowflake:nth-child(8) { left: 80%; animation-duration: 10s; animation-delay: 4s; font-size: 1.7em; }
.snowflake:nth-child(9) { left: 90%; animation-duration: 12s; animation-delay: 1s; }
.snowflake:nth-child(10) { left: 95%; animation-duration: 11s; animation-delay: 6s; font-size: 2em; }

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(196, 30, 58, 0.8),
                    0 0 0 3px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(196, 30, 58, 1),
                    0 0 0 4px rgba(255, 215, 0, 0.5);
    }
}

/* Header */
.header {
    background: linear-gradient(180deg, rgba(196, 30, 58, 0.9) 0%, rgba(22, 91, 51, 0.9) 100%);
    padding: 30px 0;
    text-align: center;
    border-bottom: 3px solid var(--christmas-gold);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    color: var(--christmas-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(255, 215, 0, 0.6);
    letter-spacing: 2px;
}

.sparkle {
    font-size: 2em;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(1.2) rotate(180deg); }
}

.tagline {
    font-size: 1.2em;
    color: var(--christmas-white);
    margin-top: 10px;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23165B33" opacity="0.2"/></svg>') no-repeat top center;
    background-size: cover;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    color: var(--christmas-gold);
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7),
                 0 0 30px rgba(255, 215, 0, 0.5);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 215, 0, 0.5); }
    50% { text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7), 0 0 50px rgba(255, 215, 0, 0.8); }
}

.hero-subtitle {
    font-size: 1.3em;
    color: var(--christmas-white);
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Botões */
.download-btn {
    background: linear-gradient(135deg, var(--christmas-red) 0%, #A01829 100%);
    color: var(--christmas-white);
    border: none;
    padding: 18px 40px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(196, 30, 58, 0.6);
    background: linear-gradient(135deg, #A01829 0%, var(--christmas-red) 100%);
}

.download-btn.large {
    padding: 22px 50px;
    font-size: 1.3em;
}

/* Catálogo */
.catalog {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    color: var(--christmas-gold);
    text-align: center;
    margin-bottom: 60px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* Cards dos Produtos */
.product-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--christmas-gold);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.4);
}

.product-badge {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: linear-gradient(135deg, var(--christmas-red) 0%, #8B0000 100%) !important;
    color: var(--christmas-white) !important;
    padding: 12px 24px !important;
    border-radius: 25px;
    font-size: 0.95em !important;
    font-weight: 700 !important;
    z-index: 999 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 5px 25px rgba(196, 30, 58, 0.9),
                0 0 0 4px rgba(255, 255, 255, 0.4),
                0 0 20px rgba(255, 215, 0, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
    animation: badgePulse 2s ease-in-out infinite;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 91, 51, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    background: var(--christmas-gold);
    color: var(--christmas-dark);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-view:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.6);
}

.product-info {
    padding: 25px;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    color: var(--christmas-gold);
    margin-bottom: 12px;
}

.product-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.product-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.feature {
    background: rgba(255, 215, 0, 0.2);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.product-price {
    font-size: 1.8em;
    color: var(--christmas-gold);
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.2) 0%, rgba(22, 91, 51, 0.2) 100%);
    text-align: center;
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: var(--christmas-gold);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-subtitle {
    font-size: 1.2em;
    color: var(--christmas-white);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.app-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.app-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    font-size: 2.5em;
}

.app-feature span:last-child {
    font-weight: 600;
    color: var(--christmas-white);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(15, 44, 28, 0.9) 0%, rgba(10, 31, 20, 1) 100%);
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid var(--christmas-gold);
}

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: var(--christmas-gold);
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-bottom: 20px;
}

.footer-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
}

.footer-info p {
    margin: 5px 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: linear-gradient(145deg, var(--christmas-dark) 0%, var(--christmas-green) 100%);
    margin: 5% auto;
    padding: 0;
    border: 3px solid var(--christmas-gold);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.4s ease;
    position: relative;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--christmas-gold);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--christmas-red);
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--christmas-gold);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-modal:hover {
    transform: rotate(90deg);
    color: var(--christmas-red);
}

.modal-header {
    background: linear-gradient(135deg, var(--christmas-red) 0%, #A01829 100%);
    padding: 30px;
    border-radius: 17px 17px 0 0;
    text-align: center;
    border-bottom: 3px solid var(--christmas-gold);
}

.modal-header h2 {
    color: var(--christmas-gold);
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--christmas-white);
    font-size: 1.1em;
}

.modal-body {
    padding: 30px;
}

.modal-body .modal-download-btn {
    margin-bottom: 25px;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.info-icon {
    font-size: 2em;
}

.info-item strong {
    display: block;
    color: var(--christmas-gold);
    margin-bottom: 5px;
}

.info-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

.download-steps {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.download-steps h3 {
    color: var(--christmas-gold);
    margin-bottom: 15px;
}

.download-steps ol {
    color: var(--christmas-white);
    padding-left: 20px;
}

.download-steps li {
    margin: 10px 0;
    line-height: 1.6;
}

.modal-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--christmas-gold) 0%, #FFA500 100%);
    color: var(--christmas-dark);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    width: 100%;
    justify-content: center;
}

.modal-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
}

/* Responsivo */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2em;
    }
    
    .hero-title {
        font-size: 2.2em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-title {
        font-size: 2em;
    }
    
    .app-features {
        gap: 25px;
    }
    
    .download-btn.large {
        padding: 18px 35px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5em;
    }
    
    .tagline {
        font-size: 1em;
    }
    
    .hero-title {
        font-size: 1.8em;
    }
    
    .download-btn {
        padding: 14px 25px;
        font-size: 0.95em;
    }
    
    .product-image {
        height: 250px;
    }
    
    /* Modal Mobile */
    .modal-content {
        margin: 2% auto;
        width: 95%;
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 20px 15px;
    }
    
    .modal-header h2 {
        font-size: 1.5em;
    }
    
    .modal-header p {
        font-size: 0.9em;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    .download-info {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .info-item {
        padding: 10px;
        flex: 1;
        text-align: center;
        flex-direction: column;
    }
    
    .info-item div {
        font-size: 0.85em;
    }
    
    .info-icon {
        font-size: 1.5em;
    }
    
    .download-steps {
        padding: 15px;
    }
    
    .download-steps h3 {
        font-size: 1em;
    }
    
    .download-steps li {
        font-size: 0.9em;
    }
    
    .modal-download-btn {
        padding: 15px 30px;
        font-size: 1em;
    }
    
    .close-modal {
        font-size: 28px;
        right: 15px;
        top: 10px;
    }
}
