/* ============================================
   MODERN VISUAL REPLACEMENTS - NO IMAGES
   Ultra-performant, Eye-catching Alternatives
   ============================================ */

/* ============================================
   1. ANIMATED GRADIENT BACKGROUNDS
   ============================================ */
.gradient-bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.gradient-bg-1::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    position: relative;
    overflow: hidden;
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    position: relative;
    overflow: hidden;
}

.gradient-bg-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    position: relative;
    overflow: hidden;
}

.gradient-bg-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    position: relative;
    overflow: hidden;
}

.gradient-bg-6 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    position: relative;
    overflow: hidden;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* ============================================
   2. FLOATING ICON CONTAINERS
   ============================================ */
.icon-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.icon-container i {
    font-size: 80px;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   3. GEOMETRIC PATTERN BACKGROUNDS
   ============================================ */
.pattern-dots {
    background-color: #667eea;
    background-image: radial-gradient(circle, rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 20px 20px;
}

.pattern-grid {
    background-color: #4facfe;
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.pattern-diagonal {
    background: linear-gradient(135deg, #667eea 25%, transparent 25%),
                linear-gradient(225deg, #667eea 25%, transparent 25%),
                linear-gradient(45deg, #667eea 25%, transparent 25%),
                linear-gradient(315deg, #667eea 25%, #764ba2 25%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0;
}

/* ============================================
   4. PURE CSS 3D ILLUSTRATION
   ============================================ */
.css-illustration-quality {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* 3D Card Stack */
.card-stack {
    position: relative;
    width: 280px;
    height: 350px;
    transform-style: preserve-3d;
    animation: rotateStack 20s infinite linear;
}

.card-stack-item {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.card-stack-item:nth-child(1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateZ(0px) translateY(0px);
    z-index: 3;
}

.card-stack-item:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    transform: translateZ(-40px) translateY(20px) translateX(20px);
    z-index: 2;
    opacity: 0.8;
}

.card-stack-item:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    transform: translateZ(-80px) translateY(40px) translateX(40px);
    z-index: 1;
    opacity: 0.6;
}

@keyframes rotateStack {
    0%, 100% { transform: rotateY(0deg) rotateX(0deg); }
    25% { transform: rotateY(10deg) rotateX(5deg); }
    50% { transform: rotateY(0deg) rotateX(10deg); }
    75% { transform: rotateY(-10deg) rotateX(5deg); }
}

/* Floating Icons Around Card */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-icon {
    position: absolute;
    font-size: 40px;
    animation: floatAround 8s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    color: #667eea;
}

.floating-icon:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
    color: #f5576c;
}

.floating-icon:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
    color: #00f2fe;
}

.floating-icon:nth-child(4) {
    bottom: 10%;
    right: 15%;
    animation-delay: 3s;
    color: #43e97b;
}

@keyframes floatAround {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.6; }
    25% { transform: translateY(-15px) translateX(10px); opacity: 1; }
    50% { transform: translateY(0px) translateX(-10px); opacity: 0.6; }
    75% { transform: translateY(15px) translateX(10px); opacity: 1; }
}

/* ============================================
   5. GLASSMORPHISM CARDS
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ============================================
   6. EMOJI ILLUSTRATIONS
   ============================================ */
.emoji-illustration {
    font-size: 120px;
    text-align: center;
    padding: 40px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   7. PARTICLE EFFECT (Pure CSS)
   ============================================ */
.particles-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* ============================================
   8. MORPHING SHAPES
   ============================================ */
.morphing-shape {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: rotate(45deg);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

/* ============================================
   9. GRADIENT TEXT
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 72px;
    line-height: 1.2;
}

/* ============================================
   10. NEON GLOW EFFECT
   ============================================ */
.neon-icon {
    color: #fff;
    text-shadow: 
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 30px #667eea,
        0 0 40px #667eea,
        0 0 50px #667eea,
        0 0 60px #667eea,
        0 0 70px #667eea;
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 
            0 0 10px #fff,
            0 0 20px #fff,
            0 0 30px #667eea,
            0 0 40px #667eea,
            0 0 50px #667eea,
            0 0 60px #667eea,
            0 0 70px #667eea;
    }
    50% {
        text-shadow: 
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 15px #667eea,
            0 0 20px #667eea,
            0 0 25px #667eea,
            0 0 30px #667eea,
            0 0 35px #667eea;
    }
}

/* ============================================
   11. RESPONSIVE OPTIMIZATIONS
   ============================================ */
@media (max-width: 768px) {
    .icon-container i { font-size: 60px; }
    .emoji-illustration { font-size: 80px; }
    .gradient-text { font-size: 48px; }
    .card-stack { width: 200px; height: 260px; }
    .floating-icon { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   12. FAQ ACCORDION STYLING
   ============================================ */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.faq-accordion .accordion-button {
    background-color: #ffffff;
    border: none;
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    font-size: 16px;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius-md, 8px);
    position: relative;
    display: flex;
    align-items: center;
}

.faq-accordion .accordion-button:hover {
    background-color: #f8fafc;
    transform: translateX(5px);
}

.faq-accordion .accordion-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 81, 0, 0.2);
}

.faq-accordion .accordion-button::after {
    content: '\f107'; /* FontAwesome down arrow */
    font-family: 'FontAwesome';
    position: absolute;
    right: 25px;
    font-size: 18px;
    color: #ff5100;
    transition: transform 0.3s ease;
}

.faq-accordion .accordion-button.collapsed::after {
    transform: rotate(0deg);
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.faq-accordion .accordion-collapse {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-accordion .accordion-body {
    padding: 20px 25px;
    background-color: #ffffff;
    border-radius: 0 0 var(--radius-md, 8px) var(--radius-md, 8px);
    color: #4a5568;
    line-height: 1.8;
}

.faq-accordion .accordion-body p {
    margin: 0;
}

.faq-accordion .accordion-body a {
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.faq-accordion .accordion-body a:hover {
    opacity: 0.8;
}

/* Icon styling in accordion button */
.faq-accordion .accordion-button i.fa {
    font-size: 20px;
    margin-right: 10px;
}

/* Smooth collapse animation */
.accordion-collapse.collapse {
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.accordion-collapse.collapse.show {
    max-height: 500px;
    transition: max-height 0.4s ease-in;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-accordion .accordion-button {
        font-size: 14px;
        padding: 15px 20px;
    }
    
    .faq-accordion .accordion-button::after {
        right: 20px;
        font-size: 16px;
    }
    
    .faq-accordion .accordion-body {
        padding: 15px 20px;
        font-size: 14px;
    }
}

/* ============================================
   END OF MODERN VISUALS
   ============================================ */

