/* ===================================
   Global Styles & Variables
   =================================== */
:root {
    /* Christmas Colors - Luxurious Palette */
    --primary-red: #8B0000;
    --primary-green: #0F5132;
    --gold: #D4AF37;
    --silver: #C0C0C0;
    --snow-white: #FFFAFA;
    --dark-green: #0A3622;
    --light-gold: #F4E4C1;
    --deep-red: #6B0000;
    
    /* Neutral Colors */
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.3);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    box-shadow: var(--shadow-md);
    z-index: 1000;
}

.navbar {
    padding: var(--spacing-sm) 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--light-gold);
    margin: 0;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--snow-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--deep-red) 50%, var(--dark-green) 100%);
    overflow: hidden;
    margin-top: 80px;
}

.snow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(255,255,255,0.3) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    animation: snowfall 20s linear infinite;
}

@keyframes snowfall {
    0% { background-position: 0 0, 40px 40px; }
    100% { background-position: 50px 50px, 90px 90px; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: var(--spacing-lg) var(--spacing-md);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--light-gold);
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

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

.hero-decoration .snowflake {
    position: absolute;
    color: var(--white);
    font-size: 3rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero-decoration .snowflake:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-decoration .snowflake:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.hero-decoration .snowflake:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--dark);
}

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

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

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-app {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
}

.btn-download {
    background: var(--white);
    color: var(--dark);
    padding: 1rem 1.5rem;
    justify-content: flex-start;
    min-width: 200px;
}

.btn-download i {
    font-size: 2rem;
}

.btn-download .download-label {
    font-size: 0.75rem;
    font-weight: 400;
    display: block;
}

.btn-download .download-platform {
    font-size: 1rem;
    font-weight: 700;
    display: block;
}

/* ===================================
   App Banner
   =================================== */
.app-banner {
    background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-md);
}

.app-banner-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: space-between;
}

.app-icon {
    font-size: 3rem;
    color: var(--dark);
}

.app-text {
    flex: 1;
    min-width: 300px;
}

.app-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.app-text p {
    color: var(--dark);
    opacity: 0.8;
}

/* ===================================
   Products Section
   =================================== */
.products {
    padding: var(--spacing-xl) 0;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--dark-green);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    font-weight: 300;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.product-badge.coming-soon {
    background: var(--gold);
    color: var(--dark);
}

.product-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: var(--light-gray);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 81, 50, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.btn-quick-view {
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-quick-view:hover {
    transform: scale(1.05);
}

.placeholder-image {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.placeholder-image i {
    font-size: 5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-green);
    opacity: 0.3;
}

.product-info {
    padding: var(--spacing-md);
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark-green);
    margin-bottom: 0.25rem;
}

.product-subtitle {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.product-specs {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-sm);
}

.product-specs span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--gray);
    background: var(--light-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.product-specs i {
    color: var(--primary-green);
}

.product-price {
    margin-bottom: var(--spacing-sm);
}

.price-old {
    display: block;
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.875rem;
}

.price-current {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    font-family: var(--font-heading);
}

.price-installment {
    display: block;
    font-size: 0.875rem;
    color: var(--gray);
}

.price-pix {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.price-pix i {
    color: var(--gold);
}

.product-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.product-actions .btn {
    flex: 1;
    justify-content: center;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--light-gray);
    font-size: 0.75rem;
    color: var(--gray);
}

.catalog-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    padding: var(--spacing-lg);
    border-radius: 20px;
    color: var(--white);
}

.catalog-cta h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.catalog-cta p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    color: var(--light-gold);
}

/* ===================================
   App Section
   =================================== */
.app-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--deep-red) 100%);
    color: var(--white);
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.app-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--gold);
}

.app-description {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.app-benefits {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.app-benefits li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.app-benefits i {
    color: var(--gold);
    font-size: 1.5rem;
}

.app-download-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.phone-frame {
    background: var(--dark);
    border-radius: 40px;
    padding: 20px;
    box-shadow: var(--shadow-xl);
    max-width: 300px;
    margin: 0 auto;
}

.phone-screen {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    border-radius: 20px;
    aspect-ratio: 9/16;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.phone-screen i {
    font-size: 5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--gold);
}

.phone-screen p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--light-gray);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-green);
}

.contact-item h4 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--gray);
    font-size: 0.875rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-green);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-heading);
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
}

.footer-section p {
    color: var(--light-gold);
    font-size: 0.875rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-gold);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--light-gold);
    font-size: 0.875rem;
}

/* ===================================
   WhatsApp Float Button
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ===================================
   Modal
   =================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    overflow-y: auto;
}

.modal-content {
    background: var(--white);
    margin: 50px auto;
    max-width: 1000px;
    border-radius: 20px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-red);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
}

.modal-image img {
    width: 100%;
    border-radius: 15px;
}

.modal-info h2 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin-bottom: var(--spacing-sm);
}

.modal-info p {
    color: var(--gray);
    margin-bottom: var(--spacing-md);
}

#modalDescription {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.modal-specs {
    margin-bottom: var(--spacing-md);
}

.modal-specs h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin-bottom: var(--spacing-sm);
}

.modal-specs table {
    width: 100%;
    border-collapse: collapse;
}

.modal-specs table tr {
    border-bottom: 1px solid var(--light-gray);
}

.modal-specs table td {
    padding: 0.75rem 0;
}

.modal-specs table td:first-child {
    font-weight: 600;
    color: var(--dark-green);
}

.modal-price {
    margin-bottom: var(--spacing-md);
}

.modal-price .price-current {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.modal-price .price-pix {
    display: inline-flex;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .app-content {
        grid-template-columns: 1fr;
    }
    
    .app-mockup {
        order: -1;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .app-banner-content {
        justify-content: center;
        text-align: center;
    }
    
    .product-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}
