
/* AICQ Hero Slider Frontend Styles */
.aicq-hero-slider {
    position: relative;
    min-height: 80vh;
    max-height: 90vh;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.aicq-slides-container {
    position: relative;
    height: 80vh;
    max-height: 90vh;
}

.aicq-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aicq-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.aicq-slide.prev {
    transform: translateX(-100%);
}

.aicq-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px 20px;
}

.aicq-slide-content {
    text-align: center;
    color: white;
    width: 100%;
    max-width: 100%;
}

.aicq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.aicq-discount-banner {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #ff6b6b, #ffd93d, #4ecdc4);
    background-size: 200% 200%;
    animation: aicq-gradient-shift 3s ease-in-out infinite;
    padding: 10px 25px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 5px 15px rgba(255,107,107,0.3);
    z-index: 10;
    max-width: 90%;
    font-size: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.aicq-discount-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.aicq-discount-text {
    color: #2c3e50;
    font-weight: 800;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

.aicq-discount-code {
    background: rgba(255,255,255,0.95);
    padding: 6px 15px;
    border-radius: 25px;
    color: #2c3e50;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.aicq-discount-code:hover {
    background: #4CAF50;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.aicq-discount-code::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.aicq-discount-code:hover::before {
    left: 100%;
}

.aicq-main-content {
    margin-bottom: 40px;
}

.aicq-slide-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffd93d, #ff6b6b, #4ecdc4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: aicq-title-gradient 4s ease-in-out infinite;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.aicq-slide-subtitle {
    font-size: clamp(1rem, 3vw, 1.8rem);
    margin-bottom: 20px;
    color: #f0f0f0;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.aicq-slide-description {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: #e8e8e8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.aicq-learning-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.aicq-method-item {
    background: rgba(255,255,255,0.1);
    padding: 25px 20px;
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.aicq-method-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,215,61,0.1), rgba(255,107,107,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.aicq-method-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(255,215,61,0.2);
}

.aicq-method-item:hover::before {
    opacity: 1;
}

.aicq-method-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.aicq-method-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffd93d;
    font-weight: 700;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.aicq-method-item p {
    color: #e8e8e8;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.aicq-cta-section {
    margin: 35px 0;
}

.aicq-cta-title {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: #ffd93d;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.aicq-cta-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #e8e8e8;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.aicq-slide-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 35px;
}

.aicq-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: clamp(12px, 3vw, 18px) clamp(20px, 5vw, 35px);
    border-radius: 50px;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.aicq-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.aicq-btn:hover::before {
    left: 100%;
}

.aicq-btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    color: #2c3e50;
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
}

.aicq-btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 50px rgba(255, 107, 107, 0.6);
    color: #2c3e50;
    text-decoration: none;
}

.aicq-btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.3);
}

.aicq-btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    color: white;
    text-decoration: none;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255,255,255,0.2);
}

.aicq-btn-outline {
    background: transparent;
    color: #ffd93d;
    border: 2px solid #ffd93d;
}

.aicq-btn-outline:hover {
    background: #ffd93d;
    color: #2c3e50;
    text-decoration: none;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 215, 61, 0.4);
}

.aicq-btn-arrow {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.aicq-btn:hover .aicq-btn-arrow {
    transform: translateX(8px);
}

.aicq-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 5;
    pointer-events: none;
}

.aicq-nav-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aicq-nav-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.aicq-nav-btn:active {
    transform: scale(0.95);
}

.aicq-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 18px;
    z-index: 5;
}

.aicq-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.aicq-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.4s ease;
}

.aicq-dot.active,
.aicq-dot:hover {
    border-color: #ffd93d;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255, 215, 61, 0.6);
}

.aicq-dot.active::before,
.aicq-dot:hover::before {
    background: #ffd93d;
}

.aicq-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    z-index: 5;
}

.aicq-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d);
    width: 0%;
    transition: width linear;
}

@keyframes aicq-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes aicq-title-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .aicq-hero-slider {
        min-height: 70vh;
        max-height: 80vh;
    }
    
    .aicq-slides-container {
        height: 70vh;
        max-height: 80vh;
    }
    
    .aicq-slide-overlay {
        padding: 70px 15px 30px 15px;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 80px;
    }
    
    .aicq-container {
        padding: 0 15px;
    }
    
    .aicq-discount-banner {
        top: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        max-width: none;
        padding: 8px 15px;
        border-radius: 25px;
    }
    
    .aicq-discount-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .aicq-discount-text {
        font-size: 12px;
    }
    
    .aicq-discount-code {
        font-size: 12px;
        padding: 4px 12px;
        border-radius: 15px;
    }
    
    .aicq-learning-methods {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .aicq-method-item {
        padding: 20px 15px;
    }
    
    .aicq-method-icon {
        font-size: 2.2rem;
    }
    
    .aicq-slide-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 25px;
    }
    
    .aicq-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .aicq-nav-btn {
        width: 50px;
        height: 50px;
    }
    
    .aicq-slider-nav {
        padding: 0 15px;
    }
    
    .aicq-slider-dots {
        bottom: 20px;
        gap: 12px;
    }
    
    .aicq-dot {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .aicq-hero-slider {
        min-height: 60vh;
        max-height: 70vh;
    }
    
    .aicq-slides-container {
        height: 60vh;
        max-height: 70vh;
    }
    
    .aicq-slide-overlay {
        padding: 65px 12px 25px 12px;
    }
    
    .aicq-container {
        padding: 0 12px;
    }
    
    .aicq-discount-banner {
        top: 8px;
        left: 8px;
        right: 8px;
        padding: 6px 12px;
    }
    
    .aicq-discount-text {
        font-size: 11px;
    }
    
    .aicq-discount-code {
        font-size: 11px;
        padding: 3px 10px;
    }
    
    .aicq-btn {
        max-width: 260px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .aicq-nav-btn {
        width: 45px;
        height: 45px;
    }
    
    .aicq-slider-nav {
        padding: 0 10px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .aicq-hero-slider {
        min-height: 100vh;
        max-height: 100vh;
    }
    
    .aicq-slides-container {
        height: 100vh;
        max-height: 100vh;
    }
    
    .aicq-slide-overlay {
        padding: 50px 15px 20px 15px;
    }
    
    .aicq-slide-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 20px;
        gap: 12px;
    }
    
    .aicq-btn {
        width: auto;
        min-width: 140px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

.aicq-no-slides {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    font-size: 1.2rem;
    border-radius: 12px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@media (prefers-color-scheme: dark) {
    .aicq-hero-slider {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    }
}

@media (prefers-contrast: high) {
    .aicq-slide-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .aicq-method-item {
        background: rgba(255,255,255,0.2);
        border: 2px solid rgba(255,255,255,0.5);
    }
    
    .aicq-btn {
        border-width: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aicq-slide,
    .aicq-btn,
    .aicq-method-item,
    .aicq-nav-btn,
    .aicq-dot {
        transition: none;
    }
    
    .aicq-discount-banner,
    .aicq-slide-title {
        animation: none;
    }
}
