:root {
    --primary-green: #32d92e;
    --dark-bg: #0d0d0d;
    --card-bg: #0d0d0d;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #6b7280;
    --border: #2d2d2d;
    --purple-accent: #6366f1;
    --success: #10b981;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 40px rgba(50, 217, 46, 0.2);
    --gold: #ffd700;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
}

[data-theme="light"] {
    --dark-bg: #ffffff;
    --card-bg: #f8f9fa;
    --text-primary: #0d0d0d;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 40px rgba(50, 217, 46, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark-bg);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navigation */
.navbar {
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

[data-theme="light"] .navbar {
    background: transparent !important;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-green) !important;
    font-size: 1.5rem !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.etvx-logo {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
    animation: navLogoGlow 4s ease-in-out infinite;
}

.etvx-logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(50, 217, 46, 0.8));
}

@keyframes navLogoGlow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(50, 217, 46, 0.3)); }
    50% { filter: drop-shadow(0 0 15px rgba(50, 217, 46, 0.6)); }
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green) !important;
    background: rgba(50, 217, 46, 0.1);
}

/* Theme Toggle */
.theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

/* Hero Section */
.hero-section {
    background: var(--dark-bg);
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 360px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--dark-bg) url('https://i.imgur.com/bGtjSEM.png') center/cover no-repeat;
    filter: brightness(0.55);
    transform: scale(1.02);
}

.hero-section .bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.08) 0%, rgba(10,10,10,0.45) 55%, rgba(10,10,10,0.88) 100%);
    z-index:1;
    pointer-events: none;
}

.hero-section .hero-inner { position: relative; z-index:2; }

/* Scroll to top button */
.scroll-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(13, 13, 13, 0.7);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1200;
}
.scroll-top:hover {
    background: var(--primary-green);
    color: #fff;
    border-color: var(--primary-green);
}
.scroll-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.hero-card {
    background: none;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 1.6rem 1.8rem;
    border-radius: 12px;
    display: inline-block;
    max-width: 720px;
    box-shadow: none;
}

.main-logo { filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6)); transform: translateZ(0); }

.hero-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    z-index: 0; opacity: 0.7; display: none;
}

.hero-video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2);
    z-index: 1; display: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta { display: flex; gap: 1rem; margin-bottom: 4rem; flex-wrap: wrap; }

/* Buttons */
.btn-primary {
    background: var(--primary-green);
    border: none;
    border-radius: 8px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(50, 217, 46, 0.3);
}
.btn-primary:hover { background: #28b526; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(50, 217, 46, 0.4); }

.btn-outline-light {
    border: 1px solid var(--border);
    color: var(--text-primary);
    background: transparent;
    border-radius: 8px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-light:hover {
    background: var(--card-bg);
    color: var(--text-primary);
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    align-items: stretch;
}

.stat-card {
    background: transparent;
    border: 0;
    border-radius: 14px;
    padding: 1.6rem;
    text-align: center;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    position: relative;
    overflow: hidden;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap: .6rem;
}

.stat-card:hover { transform: translateY(-6px); box-shadow: none; border-color: transparent; }

.stat-icon {
    width:64px; height:64px; border-radius:50%; display:inline-grid; place-items:center;
    margin:0 auto; font-size:1.4rem; color: #fff;
    background: linear-gradient(180deg, var(--primary-green), #28b526);
    box-shadow: 0 6px 18px rgba(40,181,38,0.18);
}

.stat-number { font-size:2.6rem; font-weight:800; color: var(--text-primary); letter-spacing: -0.02em; margin-top: .25rem; }
.stat-label { color: var(--text-secondary); font-weight:600; font-size:0.95rem; text-transform:none; }

/* Logo Section */
.logo-section { text-align: right; display: flex; align-items: center; justify-content: center; }

.main-logo {
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(50, 217, 46, 0.4));
    animation: logoFloat 6s ease-in-out infinite, logoGlow 3s ease-in-out infinite alternate;
    transition: transform 0.3s ease;
}
.main-logo:hover { transform: scale(1.05) rotate(2deg); filter: drop-shadow(0 0 50px rgba(50, 217, 46, 0.6)); }

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-15px) rotate(0deg); }
    75% { transform: translateY(-5px) rotate(-1deg); }
}
@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 30px rgba(50, 217, 46, 0.4)); }
    100% { filter: drop-shadow(0 0 45px rgba(50, 217, 46, 0.7)); }
}

/* Section Headers */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 2.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; letter-spacing: -0.01em; }
.section-subtitle { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.products-section { padding: 6rem 0; background: var(--dark-bg); }

/* Top Buyers Section */
.top-buyers-section { padding: 6rem 0; background: var(--card-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.top-buyers-title .highlight { color: var(--primary-green); }

.podium {
    display: flex; align-items: flex-end; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; min-height: 320px;
}
.podium-item {
    background: var(--dark-bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; text-align: center;
    width: 220px; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); position: relative;
}
.podium-item:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.podium-item.rank-1 { order: 2; padding-top: 3rem; border: 2px solid var(--gold); box-shadow: 0 0 30px rgba(255, 215, 0, 0.3); }
.podium-item.rank-2 { order: 1; align-self: center; border-color: var(--silver); }
.podium-item.rank-3 { order: 3; align-self: center; border-color: var(--bronze); }
.podium-item.rank-4, .podium-item.rank-5 { order: 4; align-self: flex-start; opacity: 0.8; }

.podium-rank {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; color: #0d0d0d;
}
.podium-rank.gold { background: var(--gold); }
.podium-rank.silver { background: var(--silver); }
.podium-rank.bronze { background: var(--bronze); }
.podium-item.rank-1 .podium-rank { width: 50px; height: 50px; font-size: 1.5rem; }

.podium-crown { position: absolute; top: -45px; left: 50%; transform: translateX(-50%); font-size: 2rem; color: var(--gold); opacity: 0; transition: all 0.3s ease; }
.podium-item.rank-1 .podium-crown { opacity: 1; }

.podium-avatar {
    width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--border); margin: 0 auto 1rem;
    transition: all 0.3s ease; background: var(--dark-bg); padding: 3px;
}
.podium-item:hover .podium-avatar { border-color: var(--primary-green); }
.podium-item.rank-1 .podium-avatar { width: 100px; height: 100px; border-color: var(--gold); }
.podium-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.podium-name { font-weight: 600; color: var(--text-primary); font-size: 1.1rem; margin-bottom: 0.25rem; }
.podium-purchases { font-size: 0.9rem; color: var(--text-secondary); }
.podium-purchases .fa-shopping-cart { color: var(--primary-green); margin-right: 0.5rem; }
.podium-link { color: inherit; text-decoration: none; }
.podium-link:focus-visible { outline: 2px solid var(--primary-green); outline-offset: 4px; border-radius: 12px; }

/* FAQ Section */
.faq-section { padding: 6rem 0; background: var(--card-bg); border-top: 1px solid var(--border); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--dark-bg); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 1rem;
    overflow: hidden; transition: all 0.3s ease;
}
.faq-item:hover { border-color: var(--primary-green); box-shadow: 0 4px 20px rgba(50, 217, 46, 0.1); }
.faq-question {
    padding: 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    background: var(--dark-bg); transition: all 0.3s ease; user-select: none;
}
.faq-question:hover { background: rgba(50, 217, 46, 0.05); }
.faq-question h4 { color: var(--text-primary); font-size: 1.1rem; font-weight: 600; margin: 0; flex: 1; }
.faq-icon { color: var(--primary-green); font-size: 1.2rem; transition: all 0.3s ease; margin-left: 1rem; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: all 0.4s ease; background: var(--card-bg); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer-content { padding: 1.5rem; color: var(--text-secondary); line-height: 1.6; border-top: 1px solid var(--border); }
.faq-answer-content p { margin: 0 0 1rem 0; }
.faq-answer-content p:last-child { margin-bottom: 0; }
.faq-answer-content a { color: var(--primary-green); text-decoration: none; font-weight: 500; }
.faq-answer-content a:hover { text-decoration: underline; }
.faq-highlight { background: rgba(50, 217, 46, 0.1); padding: 0.2rem 0.4rem; border-radius: 4px; color: var(--primary-green); font-weight: 500; }

/* Testimonials Section */
.testimonials-section { padding: 6rem 0; background: var(--dark-bg); border-top: 1px solid var(--border); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 3rem; }
.testimonial-card {
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 2rem;
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.testimonial-card::before {
    content: '"'; position: absolute; top: -10px; left: 20px; font-size: 6rem;
    color: var(--primary-green); opacity: 0.1; font-family: Georgia, serif; line-height: 1;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary-green); }
.testimonial-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--primary-green); overflow: hidden; flex-shrink: 0; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-user-info { flex: 1; }
.testimonial-username { font-weight: 600; color: var(--text-primary); font-size: 1rem; margin-bottom: 0.25rem; }
.testimonial-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.testimonial-rating { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.testimonial-rating i { color: #fbbf24; font-size: 0.9rem; }
.testimonial-comment { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; position: relative; z-index: 1; }
.testimonials-cta { text-align: center; margin-top: 3rem; }
.testimonials-cta p { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 1.1rem; }

.btn-testimonial {
    display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2rem;
    background: var(--purple-accent); color: white; text-decoration: none; border-radius: 8px; font-weight: 600;
    transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3); border: none; cursor: pointer;
}
.btn-testimonial:hover { background: #5855eb; color: white; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4); }

.contact-section { padding: 6rem 0; background: var(--dark-bg); }
.contact-link {
    display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2rem; background: var(--purple-accent); color: white;
    text-decoration: none; border-radius: 8px; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}
.contact-link:hover { background: #5855eb; color: white; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4); }

/* Footer */
.footer { background: var(--dark-bg); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h6 { color: var(--text-primary); font-weight: 600; margin-bottom: 1rem; font-size: 1.1rem; }
.footer-section a { color: var(--text-secondary); text-decoration: none; display: block; margin-bottom: 0.5rem; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-section a:hover { color: var(--primary-green); }
.footer-section p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; text-align: center; color: var(--text-muted); font-size: 0.875rem; }

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .hero-section { padding-top: 8rem; text-align: center; }
    .hero-cta { justify-content: center; }
    .logo-section { margin-top: 3rem; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .stats-grid { grid-template-columns: 1fr; gap: 1rem; }
    .main-logo { max-width: 350px; margin-top: 2rem; }
    .theme-toggle { margin-left: 0.5rem; }
    .podium { align-items: center; gap: 1.5rem; }
    .podium-item, .podium-item.rank-1, .podium-item.rank-2, .podium-item.rank-3, .podium-item.rank-4, .podium-item.rank-5 {
        order: 0; align-self: auto; width: 45%; padding-top: 1.5rem;
    }
    .podium-item.rank-1 { transform: scale(1.0); }
    .podium-item.rank-1 .podium-crown { top: -20px; font-size: 1.5rem; }
    .hero-section { background-attachment: scroll; }
}
@media (max-width: 576px) {
    .podium-item, .podium-item.rank-1, .podium-item.rank-2, .podium-item.rank-3, .podium-item.rank-4, .podium-item.rank-5 {
        width: 80%;
    }
}

/* Pedidos Personalizados Scroller */
.scroller {
    max-width: 100%; overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}
.scroller__inner { display: flex; flex-wrap: nowrap; gap: 1.5rem; list-style: none; padding-left: 0; margin: 0; }
.scroller[data-animated="true"] .scroller__inner { width: max-content; animation: scroll 40s linear infinite; }
.scroller__inner li { flex-shrink: 0; width: 300px; }
.scroller__inner img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); }

@keyframes scroll {
    to { transform: translate(calc(-50% - 0.75rem)); }
}
