/* TunePic Home Page Styles */

/* ===== Hero CTA Buttons ===== */
.hero-cta-buttons {
    margin-top: 1.5rem;
}

.hero-cta-primary {
    background: linear-gradient(135deg, #f82249, #ff6b6b);
    border: none;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(248, 34, 73, 0.4);
}

.hero-cta-primary:hover {
    background: linear-gradient(135deg, #ff6b6b, #f82249);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(248, 34, 73, 0.5);
}

.hero-cta-secondary {
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 12px 28px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-3px);
}

/* ===== Header Elements ===== */
/* Ensure desktop-only elements are hidden below xl breakpoint */
@media (max-width: 1199px) {
    .header .language-selector,
    .header .account-link {
        display: none !important;
    }
}

.language-selector .dropdown-toggle {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.language-selector .dropdown-toggle:hover {
    color: #f82249;
    background: rgba(255, 255, 255, 0.1);
}

.language-selector .dropdown-toggle::after {
    display: none;
}

.language-selector .lang-code {
    font-size: 0.85rem;
    font-weight: 600;
}

.language-selector .dropdown-menu {
    background: #1a1a2e;
    border: 1px solid rgba(248, 34, 73, 0.3);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 140px;
}

.language-selector .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 16px;
    transition: all 0.2s ease;
}

.language-selector .dropdown-item:hover,
.language-selector .dropdown-item.active {
    background: rgba(248, 34, 73, 0.2);
    color: #f82249;
}

.account-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.account-link:hover {
    color: #f82249;
    border-color: #f82249;
    background: rgba(248, 34, 73, 0.1);
}

.account-link i {
    font-size: 1.2rem;
}

/* Scrolled header state */
.header.scrolled .language-selector .dropdown-toggle,
.header.scrolled .account-link {
    color: #333;
}

.header.scrolled .language-selector .dropdown-toggle:hover,
.header.scrolled .account-link:hover {
    color: #f82249;
}

.header.scrolled .account-link {
    border-color: rgba(51, 51, 51, 0.3);
}

.header.scrolled .account-link:hover {
    border-color: #f82249;
}

/* ===== Mobile Navigation Items ===== */
/* Hide mobile-only items by default */
.navmenu .mobile-nav-item {
    display: none !important;
}

/* Show mobile items when hamburger menu is open - override any Bootstrap display classes */
.mobile-nav-active .navmenu .mobile-nav-item,
.mobile-nav-active .navmenu .mobile-nav-item.d-sm-none,
.mobile-nav-active .navmenu .mobile-nav-item.d-none,
.mobile-nav-active .navmenu li.mobile-nav-item {
    display: list-item !important;
}

.navmenu .mobile-nav-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 12px 20px;
    padding: 0 !important;
}

/* Language section header */
.navmenu .mobile-nav-section-header {
    color: #666;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 20px 4px;
}

.navmenu .mobile-nav-section-header i {
    font-size: 1rem;
}

/* Language items with proper touch targets */
.navmenu .mobile-lang-item a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding-left: 36px;
}

.navmenu .mobile-lang-item.active a {
    color: #f82249 !important;
    font-weight: 600;
}

/* Checkmark alignment for active language */
.navmenu .mobile-lang-item a .bi-check {
    margin-left: auto;
    color: #f82249;
    font-size: 1.2rem;
}

/* Fix account icon styling */
.navmenu li a > i.bi-person-circle {
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    font-size: 1.1rem;
}

/* ===== Footer Links ===== */
.footer-nav-links li {
    margin-bottom: 0;
}

.footer-nav-links li a {
    display: block;
    padding: 4px 0;
    line-height: 1.4;
}

.footer-language-selector li a.active {
    color: #f82249;
    font-weight: 600;
}

/* Mobile touch targets */
@media (max-width: 768px) {
    .footer-nav-links li a {
        padding: 10px 0;
        min-height: 44px;
    }
}

/* ===== View All FAQs Button ===== */
.view-all-faqs-btn {
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.view-all-faqs-btn:hover {
    background: #f82249;
    color: white;
    transform: translateY(-2px);
}

/* ===== Mobile Pricing Cards ===== */
@media (max-width: 991px) {
    .pricing-item {
        background: white;
        border-radius: 16px;
        padding: 24px !important;
        margin-bottom: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .pricing-item.featured {
        border: 2px solid #f82249;
        box-shadow: 0 8px 30px rgba(248, 34, 73, 0.15);
    }

    .pricing-item h3 {
        font-size: 1.5rem !important;
        margin-bottom: 16px !important;
    }

    .pricing-item h4 {
        font-size: 2rem !important;
        margin-bottom: 16px !important;
    }

    .pricing-item ul {
        text-align: left;
        margin-bottom: 20px;
    }

    .pricing-item .buy-btn {
        width: 100%;
        padding: 14px 24px;
        text-align: center;
    }
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 60px 0;
}

.testimonials-section .section-title h2 {
    color: white;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(248, 34, 73, 0.2);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #f82249;
    box-shadow: 0 10px 30px rgba(248, 34, 73, 0.2);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f82249, #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info h5 {
    color: white;
    margin: 0 0 4px 0;
    font-size: 1rem;
}

.testimonial-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.testimonials-stats {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f82249;
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* ===== How It Works Visual Stepper ===== */
.how-it-works-stepper {
    counter-reset: step-counter;
}

.step-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 30px;
}

.step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f82249, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step-icon {
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 1.5rem;
    color: white;
    z-index: 2;
}

.step-content h4 {
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: #666;
    margin: 0;
}

/* ===== Promo Banner ===== */
.promo-banner-section {
    padding: 30px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.promo-banner {
    background: linear-gradient(135deg, rgba(248, 34, 73, 0.15) 0%, rgba(248, 34, 73, 0.05) 100%);
    border: 2px solid #f82249;
    border-radius: 16px;
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
    animation: promoBannerPulse 3s ease-in-out infinite;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(248, 34, 73, 0.1), transparent);
    animation: promoShimmer 3s ease-in-out infinite;
}

@keyframes promoBannerPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(248, 34, 73, 0.3); }
    50% { box-shadow: 0 0 40px rgba(248, 34, 73, 0.5); }
}

@keyframes promoShimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.promo-banner-content {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}

.promo-banner-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f82249, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconBounce 2s ease-in-out infinite;
}

.promo-banner-icon i {
    font-size: 32px;
    color: white;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.promo-banner-text {
    flex: 1;
    min-width: 250px;
}

.promo-banner-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.promo-banner-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.promo-code-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f82249, #ff6b6b);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.promo-code-badge:hover {
    background: white;
    color: #f82249;
    border-color: #f82249;
}

.promo-code-badge i {
    margin-left: 5px;
    font-size: 0.85rem;
}

.promo-banner-limit {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

.promo-banner-limit i {
    margin-right: 5px;
}

.promo-banner-cta {
    flex-shrink: 0;
}

.promo-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f82249, #ff6b6b);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(248, 34, 73, 0.4);
}

.promo-banner-btn:hover {
    background: linear-gradient(135deg, #ff6b6b, #f82249);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(248, 34, 73, 0.5);
    color: white;
}

.promo-banner-btn i {
    transition: transform 0.3s ease;
}

.promo-banner-btn:hover i {
    transform: translateX(5px);
}

/* Promo Banner Mobile responsive styles */
@media (max-width: 768px) {
    .promo-banner {
        padding: 20px;
    }

    .promo-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .promo-banner-icon {
        width: 60px;
        height: 60px;
    }

    .promo-banner-icon i {
        font-size: 26px;
    }

    .promo-banner-title {
        font-size: 1.25rem;
    }

    .promo-banner-description {
        font-size: 0.95rem;
    }

    .promo-banner-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Mobile Header Adjustments ===== */
@media (max-width: 575px) {
    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        text-align: center;
    }
}

/* ===== Section CTA Buttons ===== */
.section-cta {
    margin-top: 30px;
    text-align: center;
}

.section-cta .btn {
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 30px;
}
