* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
}

/* ===========================
   TOP BAR
   =========================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.logo {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.3));
}

.top-bar-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-icon,
.whatsapp-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.15);
    border: 1.5px solid rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    color: #FFD700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-icon {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.4);
    color: #25D366;
}

.info-icon:hover {
    background: rgba(255, 215, 0, 0.25);
    transform: scale(1.05);
}

.whatsapp-icon:hover {
    background: rgba(37, 211, 102, 0.25);
    transform: scale(1.05);
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.whatsapp-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ===========================
   MAIN CONTENT
   =========================== */
.app-content {
    height: 100vh;
    padding-top: 60px;
    padding-bottom: 90px;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #000 50%, #0d0d0d 100%);
    display: flex;
    flex-direction: column;
}

.app-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255, 215, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* ===========================
   CAROUSEL
   =========================== */
.carousel-wrapper {
    width: 100%;
    flex: 1;
    overflow: hidden;
    cursor: grab;
    position: relative;
    touch-action: pan-y;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.carousel-wrapper:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.carousel-track.no-transition {
    transition: none;
}

.carousel-slide {
    min-width: 100vw;
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 100%;
    min-height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.5s ease, filter 0.5s ease;
}

.image-wrapper img.pequeno {
    opacity: 1;
    filter: blur(10px);
    z-index: 1;
}

.image-wrapper img.medio {
    opacity: 0;
    filter: blur(5px);
    z-index: 2;
}

.image-wrapper img.full {
    opacity: 0;
    filter: blur(0);
    z-index: 3;
}

.image-wrapper img.medio.loaded {
    opacity: 1;
    filter: blur(0);
}

.image-wrapper img.full.loaded {
    opacity: 1;
    filter: blur(0);
}

.image-wrapper img.rounded-lg {
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ===========================
   CAROUSEL INDICATORS (ABOVE NAV)
   =========================== */
.carousel-indicators-wrapper {
    position: fixed;
    bottom: 110px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 90;
    pointer-events: none;
}

.carousel-progress-container {
    width: 35%;
    max-width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.carousel-progress-bar {
    width: 0%;
    height: 100%;
    background: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: all;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
    background: #FFD700;
    width: 24px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* ===========================
   BOTTOM NAVIGATION
   =========================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(40px) saturate(180%);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    z-index: 100;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.6);
}

.nav-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0.75rem 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nav-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.nav-item:active {
    transform: scale(0.97);
}

.nav-badge {
    position: absolute;
    top: -8px;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.nav-title {
    color: #FFD700;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
}

.nav-price {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

/* ===========================
   MODAL OVERLAY
   =========================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 200;
}

.modal-overlay.active {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(30px);
    opacity: 1;
    visibility: visible;
}

/* ===========================
   INFO MODAL
   =========================== */
.info-modal {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(60px) saturate(180%);
    -webkit-backdrop-filter: blur(60px) saturate(180%);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding: 80px 2rem 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 300;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.info-modal.active {
    top: 0;
    opacity: 1;
    visibility: visible;
}

.info-modal-content {
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-modal-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    color: #FFD700;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 300;
    z-index: 10;
}

.info-modal-close:hover {
    background: #FFD700;
    color: #000;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.6);
}

.info-modal-close:active {
    transform: rotate(90deg) scale(0.95);
}

.info-modal h2 {
    color: #FFD700;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 2px 20px rgba(255, 215, 0, 0.4);
    letter-spacing: -0.5px;
}

.info-section {
    margin-bottom: 1.75rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.info-section:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.info-section h3 {
    color: #FFA500;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-section p,
.info-section li {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
}

.ingredients-list {
    list-style: none;
    padding: 0;
}

.ingredients-list li {
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    background: rgba(255, 215, 0, 0.06);
    border-left: 3px solid #FFD700;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ingredients-list li:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(5px);
}

.ingredients-list li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: #FFD700;
    font-weight: bold;
    font-size: 1.2rem;
}

.warning-list {
    list-style: none;
    padding: 0;
}

.warning-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.warning-list li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

.guarantee {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 165, 0, 0.06) 100%);
    border: 2px solid rgba(255, 215, 0, 0.35);
}

.guarantee h3 {
    color: #FFD700;
}

.contact-section a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-section a:hover {
    text-decoration: underline;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.legal-links-section .legal-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-links-section .legal-links-list li {
    margin-bottom: 0.75rem;
}

.legal-links-section .legal-links-list a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.75rem 1rem;
    background: rgba(255, 215, 0, 0.06);
    border-radius: 12px;
    border-left: 3px solid #FFD700;
}

.legal-links-section .legal-links-list a:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(5px);
}

.footer-mini {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-mini a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-mini a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.footer-mini a:hover {
    color: #FFD700;
}

.footer-mini a:hover::after {
    width: 100%;
}

.footer-mini span {
    margin: 0 0.75rem;
    opacity: 0.5;
}

.info-modal::-webkit-scrollbar {
    width: 10px;
}

.info-modal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.info-modal::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.2);
}

.info-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

/* ===========================
   PLAN MODAL
   =========================== */
.plan-modal {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    max-height: 70vh;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(60px);
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    border: 1.5px solid rgba(255, 215, 0, 0.3);
    padding: 2rem;
    transition: bottom 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 300;
    overflow-y: auto;
}

.plan-modal.active {
    bottom: 0;
}

.plan-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    color: #FFD700;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.plan-modal-close:hover {
    background: #FFD700;
    color: #000;
}

#planDetails {
    text-align: center;
    padding-top: 1rem;
}

#planDetails h2 {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.plan-badge-modal {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.modal-installment {
    color: #FFA500;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.modal-installment span {
    font-size: 0.9rem;
}

.modal-old-price {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.modal-price {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.modal-shipping {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.modal-cta {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.modal-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(255, 215, 0, 0.7);
}

.plan-modal::-webkit-scrollbar {
    width: 8px;
}

.plan-modal::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 4px;
}

/* ===========================
   MAIN FOOTER
   =========================== */
.main-footer {
    background-color: #1a1a1a;
    color: #aaa;
    padding: 2.5rem 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 100px;
}

.main-footer a {
    color: #fff;
    text-decoration: underline;
    margin: 0 0.5rem;
}

.main-footer p {
    margin-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

.main-footer .footer-links {
    margin-bottom: 1rem;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .info-modal {
        padding: 70px 1.5rem 1.5rem;
    }

    .info-modal h2 {
        font-size: 1.6rem;
    }

    .info-section {
        padding: 1.25rem;
    }
    
    .carousel-indicators-wrapper {
        bottom: 100px;
    }
}