/* footer.css - Sticky Header, Footer & Main Footer Styles */

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--royal-purple) 100%);
    border-bottom: 2px solid var(--primary-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    backdrop-filter: blur(20px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    gap: 0.8rem;
    color: white;
    font-weight: 600;
}

.header-content i {
    font-size: 1.2rem;
    color: var(--primary-gold);
    animation: pulse 2s ease-in-out infinite;
}

.header-content span {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Sticky Footer Bar */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark-charcoal) 0%, #1a1a1a 100%);
    border-top: 3px solid var(--primary-gold);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    gap: 1rem;
}

.countdown-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.countdown-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.countdown-text i {
    font-size: 1.1rem;
    color: var(--royal-purple);
    /* animation: pulse 2s ease-in-out infinite; */
}

.countdown-mini {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.time-mini {
    background: rgba(123, 44, 191, 0.2);
    border: 2px solid var(--royal-purple);
    border-radius: 8px;
    padding: 0.3rem 0.5rem;
    text-align: center;
    min-width: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-mini span {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.time-mini label {
    font-size: 0.6rem;
    color: var(--primary-gold);
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 0.1rem;
}

.time-separator {
    color: var(--primary-gold);
    font-size: 1.2rem;
    font-weight: 700;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.3;
    }
}

.cta-section {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.price-text {
    color: var(--primary-gold);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-amount {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    50% {
        text-shadow: 0 0 20px rgba(244, 208, 63, 0.8);
    }
}

.sticky-cta-button {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: var(--dark-charcoal);
    border: none;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 6px 24px rgba(244, 208, 63, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.sticky-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(123, 44, 191, 0.2), transparent);
    /* animation: shimmer 3s ease-in-out infinite; */
}

.sticky-cta-button i {
    font-size: 1.1rem;
    animation: sparkle 4s ease-in-out infinite;
}

.button-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--royal-purple), var(--deep-purple));
    opacity: 0.3;
    z-index: -1;
    /* animation: pulse 2s ease-in-out infinite; */
}

/* Main Footer */
.main-footer {
    background: var(--dark-charcoal);
    color: white;
    padding: 3rem 0 2rem 0;
    margin-bottom: 80px;
    /* Space for sticky footer */
    margin-top: 60px;
    /* Space for sticky header */
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(123, 44, 191, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.final-message {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.final-message h2 {
    color: var(--primary-gold);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.final-message>p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-style: italic;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(244, 208, 63, 0.3);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-info i {
    color: var(--primary-gold);
    margin-right: 0.3rem;
}

/* Hero Price Highlight */
.price-highlight {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--dark-charcoal);
    padding: 1rem 2rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(244, 208, 63, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.price-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

/* Mobile Responsive */
@media (max-width: 479px) {
    .header-content {
        padding: 0.6rem 1rem;
    }

    .header-content span {
        font-size: 1rem;
    }

    .footer-content {
        padding: 0.8rem 1rem;
        flex-direction: column;
        gap: 0.8rem;
    }

    .countdown-section {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .countdown-text {
        font-size: 0.8rem;
    }

    .countdown-text span {
        /*  display: none; */
        color: var(--royal-purple);
        
    }

    .time-mini {
        min-width: 30px;
        padding: 0.2rem 0.4rem;
    }

    .time-mini span {
        font-size: 1rem;
    }

    .time-mini label {
        font-size: 0.55rem;
    }

    .cta-section {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .price-amount {
        font-size: 1.2rem;
    }

    .sticky-cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .sticky-cta-button span {
        display: none;
    }

    .sticky-cta-button::after {
        content: 'Join Now!';
    }

    .final-message h2 {
        font-size: 1.6rem;
    }

    .final-message>p {
        font-size: 1rem;
    }

    .contact-info p {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .main-footer {
        margin-bottom: 140px;
        /* More space for taller mobile sticky footer */
    }

    .price-highlight {
        padding: 0.8rem 1.5rem;
    }

    .price-value {
        font-size: 1.5rem;
    }
}

/* Tablet Responsive */
@media (min-width: 480px) and (max-width: 767px) {
    .footer-content {
        padding: 1rem 1.2rem;
    }

    .countdown-text {
        font-size: 0.85rem;
    }

    .sticky-cta-button {
        padding: 0.75rem 1.3rem;
        font-size: 0.95rem;
    }

    .final-message h2 {
        font-size: 1.8rem;
    }
}

/* Desktop Responsive */
@media (min-width: 768px) {
    .footer-content {
        padding: 1.2rem 2rem;
        max-width: 1200px;
    }

    .countdown-text {
        font-size: 1rem;
    }

    .time-mini {
        min-width: 40px;
        padding: 0.4rem 0.6rem;
    }

    .time-mini span {
        font-size: 1.2rem;
    }

    .time-mini label {
        font-size: 0.7rem;
    }

    .sticky-cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .final-message h2 {
        font-size: 2.3rem;
    }

    .final-message>p {
        font-size: 1.2rem;
    }

    .contact-info p {
        font-size: 1.1rem;
    }

    .price-value {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {

    .countdown-text i,
    .time-separator,
    .sticky-cta-button i,
    .button-glow,
    .sticky-cta-button::before,
    .price-amount,
    .price-value {
        animation: none;
    }
}

/* Print Styles */
@media print {

    .sticky-header,
    .sticky-footer {
        display: none;
    }

    .main-footer {
        background: white;
        color: black;
        margin-bottom: 0;
        margin-top: 0;
    }

    .main-footer::before {
        display: none;
    }

    .final-message h2 {
        color: black;
    }

    .final-message>p {
        color: black;
    }

    .contact-info p {
        color: black;
    }

    .contact-info i {
        color: black;
    }
}




/* Compact Price Section ************************************************ */
.price-cta-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.compact-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    white-space: nowrap;
}

.compact-price .original-price {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.compact-price .discount-badge {
    background: var(--primary-gold);
    color: var(--dark-charcoal);
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.compact-price .final-price {
    color: var(--primary-gold);
    font-size: 1.1rem;
    font-weight: 700;
}

.original-price-foo {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 479px) {
    .price-cta-section {
        width: 100%;
        justify-content: space-between;
        gap: 0.8rem;
    }

    .compact-price {
        gap: 0.3rem;
        font-size: 0.8rem;
    }

    .compact-price .original-price {
        font-size: 0.7rem;
    }

    .compact-price .discount-badge {
        padding: 0.1rem 0.4rem;
        font-size: 0.6rem;
    }

    .compact-price .final-price {
        font-size: 1rem;
    }
}