/* Hero Section */
.discount-hero {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: white;
    padding: 0 2rem 1rem 2rem;
    margin-top: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.discount-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.discount-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.discount-hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Timer Styles */
.discount-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.timer-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    min-width: 100px;
}

.timer-item span {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
}

.timer-item label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.promo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fdbb2d;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: pulse 2s infinite;
}

/* Discount Section Styles */
.discount-section {
    padding: 6rem 2rem;
    background-color: #f8f9fa;
}

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

.discount-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

.discount-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.discount-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #eee;
    overflow: hidden;
}

.discount-card.featured {
    border: 2px solid #4285f4;
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #4285f4;
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.discount-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.discount-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.discount-features li {
    margin: 0.8rem 0;
    color: #666;
}

.discount-features li i {
    color: #4285f4;
    margin-right: 10px;
}

.discount-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.discount-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.discount-icon {
    font-size: 3.5rem;
    color: #4285f4;
    margin-bottom: 1.5rem;
    height: 80px;
    width: 80px;
    line-height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.discount-card:hover .discount-icon {
    transform: rotateY(360deg);
    background: #4285f4;
    color: white;
}

.discount-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.discount-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.discount-card /* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.discount-card .btn:hover {
    background-color: #34495e;
}

.discount-card .btn.google {
    background-color: #4285f4;
}

.discount-card .btn.google:hover {
    background-color: #357abd;
}

/* Popup Styles */
/* Seasonal Offers Section */
.seasonal-offers {
    padding: 6rem 2rem;
    background: linear-gradient(45deg, #2c3e50, #3498db);
    color: white;
}

.seasonal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.seasonal-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.seasonal-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.seasonal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.seasonal-discount {
    font-size: 3rem;
    font-weight: bold;
    color: #fdbb2d;
    margin: 1rem 0;
}

.validity {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
    margin-top: 1rem;
}

/* Loyalty Program Section */
.loyalty-program {
    padding: 6rem 2rem;
    background: #f8f9fa;
}

.loyalty-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.loyalty-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.loyalty-benefits {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.loyalty-benefits li {
    margin: 1rem 0;
    color: #666;
    font-size: 1.1rem;
}

.loyalty-benefits li i {
    color: #4285f4;
    margin-right: 10px;
}

.loyalty-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 2rem;
}

.loyalty-tier {
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.loyalty-tier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.loyalty-tier.silver::before { background: linear-gradient(90deg, #C0C0C0, #E8E8E8); }
.loyalty-tier.gold::before { background: linear-gradient(90deg, #FFD700, #FFA500); }
.loyalty-tier.platinum::before { background: linear-gradient(90deg, #E5E4E2, #B4C4D4); }

.loyalty-tier:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.loyalty-tier:hover .discount {
    animation: pulse 1.5s infinite;
}

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

.loyalty-tier:hover .points {
    background: rgba(255, 255, 255, 0.2);
}

.loyalty-tier:hover .tier-benefits li i {
    transform: scale(1.2);
    color: #fff;
}

.loyalty-tier.silver {
    background: linear-gradient(135deg, rgba(192,192,192,0.3), rgba(0,0,0,0.4));
}

.loyalty-tier.gold {
    background: linear-gradient(135deg, rgba(255,215,0,0.3), rgba(0,0,0,0.4));
    transform: scale(1.05);
}

.loyalty-tier.platinum {
    background: linear-gradient(135deg, rgba(229,228,226,0.3), rgba(0,0,0,0.4));
}

.loyalty-tier h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fdbb2d;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.loyalty-tier p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.loyalty-tier .discount {
    font-size: 3.5rem;
    font-weight: bold;
    color: #fdbb2d;
    margin: 1.5rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.loyalty-tier:hover .discount {
    transform: scale(1.1);
}

.loyalty-feature {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.loyalty-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.loyalty-feature::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fdbb2d;
    transition: width 0.3s ease;
}

.loyalty-feature:hover::after {
    width: 100%;
}

.loyalty-feature i {
    transition: transform 0.3s ease;
}

.loyalty-feature:hover i {
    transform: rotate(360deg);
}

.loyalty-feature span {
    transition: color 0.3s ease;
}

.loyalty-feature:hover span {
    color: #fff;
}

.loyalty-tier .points {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 2rem;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.join-now {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(45deg, #fdbb2d, #b21f1f);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.join-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tier-benefits {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.tier-benefits li {
    margin: 1rem 0;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    font-weight: 500;
}

.tier-benefits li i {
    color: #fdbb2d;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .loyalty-tiers {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .loyalty-features {
        grid-template-columns: 1fr;
    }

    .loyalty-tier {
        padding: 2rem 1.5rem;
    }

    .loyalty-tier .discount {
        font-size: 2.5rem;
    }
}

/* Featured Deal Section */
.featured-deal {
    padding: 6rem 2rem;
    background: linear-gradient(45deg, #1a2a6c, #b21f1f);
    color: white;
}

.deal-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.deal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fdbb2d;
}

.deal-price {
    margin-bottom: 1.5rem;
}

.original-price {
    font-size: 1.8rem;
    text-decoration: line-through;
    color: rgba(255,255,255,0.6);
    margin-right: 1rem;
}

.new-price {
    font-size: 3.5rem;
    font-weight: bold;
    color: #fdbb2d;
}

.deal-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.deal-features li {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.deal-features li i {
    color: #fdbb2d;
    margin-right: 10px;
}

.deal-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.deal-image img:hover {
    transform: scale(1.05);
}

.deal-timer {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

/* Benefits Showcase */
.benefits-showcase {
    padding: 6rem 2rem;
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-item i {
    font-size: 2.5rem;
    color: #4285f4;
    margin-bottom: 1.5rem;
}

.benefit-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    background: white;
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

.faq-question i {
    color: #4285f4;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .discount-hero h1 {
        font-size: 2.5rem;
    }

    .timer-item {
        min-width: 70px;
        padding: 1rem;
    }

    .timer-item span {
        font-size: 1.8rem;
    }

    .loyalty-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .loyalty-levels {
        grid-template-columns: 1fr;
    }

    .discount-card.featured {
        transform: none;
    }

    .discount-card.featured:hover {
        transform: translateY(-10px);
    }

    .deal-wrapper {
        grid-template-columns: 1fr;
    }

    .deal-image {
        order: -1;
    }

    .deal-content h2 {
        font-size: 2rem;
    }

    .new-price {
        font-size: 2.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .faq-question h3 {
        font-size: 1rem;
    }
}

.discount-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.discount-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.5s ease-out;
}

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

.popup-header {
    margin-bottom: 2rem;
}

.popup-icon {
    font-size: 3rem;
    color: #fdbb2d;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.popup-header h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 1rem 0;
}

.popup-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-popup i {
    color: #666;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.close-popup:hover {
    background: rgba(0, 0, 0, 0.2);
}

.close-popup:hover i {
    transform: rotate(90deg);
    color: #000;
}

.discount-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    color: #666;
    font-size: 0.95rem;
}

.info-item i {
    color: #4285f4;
    font-size: 1.1rem;
}

.offer-text {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 1.5rem 0;
}

.discount-code {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    letter-spacing: 2px;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.discount-code.reveal {
    border-color: #4285f4;
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.2);
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 5px 15px rgba(66, 133, 244, 0.2); }
    50% { box-shadow: 0 5px 25px rgba(66, 133, 244, 0.4); }
}

/* Loading Spinner */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4285f4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.discount-code {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 1rem 0;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 5px;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.discount-code.reveal {
    opacity: 1;
    transform: translateY(0);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(66, 133, 244, 0.2); }
    50% { box-shadow: 0 0 20px rgba(66, 133, 244, 0.4); }
    100% { box-shadow: 0 0 5px rgba(66, 133, 244, 0.2); }
}

.discount-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.discount-content p {
    color: #666;
    margin-bottom: 1rem;
}

.discount-info {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}
