:root {
    /* Color Palette - Premium Gold & Black */
    --gold-primary: #D4AF37;
    --gold-light: #F9E29C;
    --gold-dark: #996515;
    --black-pure: #000000;
    --black-soft: #121212;
    --black-card: #1E1E1E;
    --white: #FFFFFF;
    --gray-text: #A0A0A0;
    
    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #996515 0%, #D4AF37 50%, #F9E29C 100%);
    --dark-gradient: linear-gradient(180deg, #121212 0%, #000000 100%);
    
    /* Shadows */
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.2);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', sans-serif;
}

body {
    background: var(--black-pure);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000000 100%);
    z-index: -2;
}

.torre-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: url('torre-dourada.png') no-repeat center center;
    background-size: contain;
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Header Section */
header {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.8s ease-out;
    width: 100%;
}

.logo-container {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.main-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(212, 175, 55, 0.3));
}

header p {
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Main CTA Button */
.main-cta {
    width: 100%;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.btn-whatsapp-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: var(--gold-gradient);
    color: var(--black-pure);
    text-decoration: none;
    padding: 1.2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
    border: none;
    width: 100%;
}

.btn-whatsapp-main:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

/* Store Selection */
.section-title {
    width: 100%;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.stores-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.store-card {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 1.4rem;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out backwards;
}

.store-card:hover {
    border-color: var(--gold-primary);
    background: rgba(30, 30, 30, 0.9);
    transform: translateY(-3px);
}

.store-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.store-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.store-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    background: var(--gold-gradient);
    color: var(--black-pure);
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.store-actions {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0.8rem;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #25D366;
    color: var(--black-pure);
}

.btn-maps {
    background: rgba(212, 175, 55, 0.05);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.btn-maps:hover {
    background: var(--gold-primary);
    color: var(--black-pure);
}

/* Social Section - New Positioning */
.social-links-main {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--gold-primary);
    transition: var(--transition);
}

.social-btn-icon {
    width: 60px;
    height: 60px;
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    overflow: hidden;
}

.social-btn-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0px; /* Adjust if icons need padding */
}

.social-btn:hover .social-btn-icon {
    background: var(--gold-gradient);
    color: var(--black-pure);
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
}

.social-btn span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Back Button */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2rem;
    transition: var(--transition);
    opacity: 0.6;
    padding: 1rem;
    border: 1px solid rgba(160, 160, 160, 0.2);
    border-radius: 50px;
}

.btn-back:hover {
    color: var(--gold-primary);
    opacity: 1;
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

/* Photo Gallery */
.photo-gallery {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.photo-item {
    aspect-ratio: 1;
    background: var(--black-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
}

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

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--gray-text);
    font-size: 0.8rem;
    flex-direction: column;
    gap: 0.5rem;
}

/* Secondary CTA Buttons */
.secondary-ctas {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-save-contact {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-save-contact:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-exam {
    background: linear-gradient(135deg, #D4AF37 0%, #996515 100%);
    color: var(--black-pure);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    animation: pulse 2s infinite;
}

.btn-exam:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

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

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

/* Mobile Adjustments */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem 1rem;
    }
    .logo-container {
        max-width: 240px;
    }
}

/* Call Main Button Styles */
.btn-call-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
    text-decoration: none;
    padding: 1.2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
    width: 100%;
}
.btn-call-main:hover {
    background: var(--gold-gradient);
    color: var(--black-pure);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-gold);
}

/* Google Review Star Button Styles */
.btn-review {
    background: rgba(255, 193, 7, 0.08) !important;
    color: #FFC107 !important;
    border: 1px solid rgba(255, 193, 7, 0.3) !important;
    margin-top: 0.5rem;
}
.btn-review:hover {
    background: #FFC107 !important;
    color: var(--black-pure) !important;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.4) !important;
}

/* PWA App Installation button */
.btn-install-app {
    background: rgba(0, 180, 216, 0.08) !important;
    color: #00B4D8 !important;
    border: 1px solid rgba(0, 180, 216, 0.3) !important;
}
.btn-install-app:hover {
    background: #00B4D8 !important;
    color: var(--black-pure) !important;
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.4) !important;
}

/* Oferta do Dia Styles */
.deal-of-the-day {
    width: 100%;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(15px);
    border: 2px solid var(--gold-primary);
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.deal-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #E63946;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.4);
    z-index: 2;
    animation: pulse-red 2s infinite;
}

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

.deal-image-container {
    width: 100%;
    aspect-ratio: 0.75;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
}

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

.deal-of-the-day:hover .deal-image {
    transform: scale(1.06);
}

.deal-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
}

.deal-subtitle {
    font-size: 0.85rem;
    color: var(--gray-text);
    margin-bottom: 1rem;
}

.deal-price-box {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

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

.price-new {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.price-suffix {
    font-size: 0.85rem;
    color: var(--gold-light);
}

/* Stock and Countdown */
.deal-stock-info {
    margin-bottom: 1.2rem;
}

.stock-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: #E63946;
    margin-bottom: 0.4rem;
    animation: flash 1.5s infinite alternate;
}

@keyframes flash {
    0% { opacity: 0.8; }
    100% { opacity: 1; color: #ff4d5d; }
}

.stock-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.stock-progress {
    width: 92%; /* 2 remaining out of 25 original, or similar high conversion percentage */
    height: 100%;
    background: linear-gradient(90deg, #E63946, #FF7096);
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(230, 57, 70, 0.5);
}

.deal-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    color: var(--gray-text);
}

.timer-digits {
    font-weight: 700;
    color: var(--gold-light);
    font-variant-numeric: tabular-nums;
}

.btn-deal-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: var(--gold-gradient);
    color: var(--black-pure);
    text-decoration: none;
    padding: 1.1rem;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
    width: 100%;
    border: none;
    cursor: pointer;
}

.btn-deal-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* Modal installation Styles */
.install-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.install-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.install-modal-content {
    background: var(--black-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.install-modal.active .install-modal-content {
    transform: translateY(0);
}

.install-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--gray-text);
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
}

.install-modal-close:hover {
    color: var(--white);
}

.install-modal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
}

.install-modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.install-modal-text {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.install-instructions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    border-radius: 16px;
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.instruction-step i {
    color: var(--gold-primary);
    flex-shrink: 0;
    margin-top: 2px;
}


