/* Webspot AI Carousel - Exact Landing Page Design */
.webspot-ai-carousel-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Background Effects */
.webspot-carousel-bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.webspot-bg-blur {
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    blur: 72px;
    opacity: 0.1;
}

.webspot-bg-blur-1 {
    top: 25%;
    left: 25%;
    background: var(--primary-color, #D400a5);
}

.webspot-bg-blur-2 {
    bottom: 25%;
    right: 25%;
    background: var(--accent-color, #3ad0dd);
}

/* Title */
.webspot-carousel-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    background: linear-gradient(135deg, var(--primary-color, #D400a5) 0%, var(--accent-color, #3ad0dd) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 10;
}

/* Icons Row */
.webspot-carousel-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    max-width: 1024px;
    width: 100%;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 10;
}

.webspot-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.webspot-icon-item.active {
    transform: scale(1.25);
}

.webspot-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.webspot-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.webspot-icon-item.active .webspot-icon {
    opacity: 1;
}

.webspot-icon-item:not(.active) .webspot-icon {
    opacity: 0.6;
}

.webspot-icon-title {
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
    transition: all 0.3s ease;
    color: white;
}

.webspot-icon-item.active .webspot-icon-title {
    color: white;
}

.webspot-icon-item:not(.active) .webspot-icon-title {
    color: rgba(156, 163, 175, 1);
}

/* Carousel Wrapper */
.webspot-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 16px;
    margin-bottom: 32px;
}

/* Navigation Arrows */
.webspot-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color, #D400a5) 0%, var(--accent-color, #3ad0dd) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 10px 25px -5px rgba(212, 0, 165, 0.25);
}

.webspot-carousel-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 20px 40px -10px rgba(212, 0, 165, 0.4);
}

.webspot-arrow-left {
    left: 16px;
}

.webspot-arrow-right {
    right: 16px;
}

/* Cards Container */
.webspot-carousel-cards {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Cards */
.webspot-carousel-card {
    position: absolute;
    width: 320px;
    height: 380px;
    background: rgba(31, 41, 55, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(75, 85, 99, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.webspot-carousel-card:hover {
    border-color: rgba(107, 114, 128, 0.8);
    transform: translateY(-4px);
}

/* Card Link */
.webspot-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Card Image */
.webspot-card-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 80px;
    overflow: hidden;
}

.webspot-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.webspot-carousel-card:hover .webspot-card-image img {
    transform: scale(1.05);
}

/* Card Content */
.webspot-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(8px);
    padding: 16px;
    border-top: 1px solid rgba(75, 85, 99, 0.3);
}

.webspot-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.webspot-card-tagline {
    font-size: 0.875rem;
    color: rgba(156, 163, 175, 1);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Positioning - 3D Effect */
.webspot-carousel-card[data-index="0"] {
    transform: translateX(-560px) translateZ(-200px) scale(0.7);
    opacity: 0.4;
    z-index: 1;
}

.webspot-carousel-card[data-index="1"] {
    transform: translateX(-280px) translateZ(-100px) scale(0.85);
    opacity: 0.7;
    z-index: 2;
}

.webspot-carousel-card[data-index="2"] {
    transform: translateX(0) translateZ(0) scale(1);
    opacity: 1;
    z-index: 3;
}

.webspot-carousel-card[data-index="3"] {
    transform: translateX(280px) translateZ(-100px) scale(0.85);
    opacity: 0.7;
    z-index: 2;
}

.webspot-carousel-card[data-index="4"] {
    transform: translateX(560px) translateZ(-200px) scale(0.7);
    opacity: 0.4;
    z-index: 1;
}

/* Pagination Dots */
.webspot-carousel-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    position: relative;
    z-index: 10;
}

.webspot-pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(107, 114, 128, 1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.webspot-pagination-dot.active {
    background: linear-gradient(135deg, var(--primary-color, #D400a5) 0%, var(--accent-color, #3ad0dd) 100%);
    transform: scale(1.25);
}

.webspot-pagination-dot:hover:not(.active) {
    background: rgba(156, 163, 175, 1);
}

/* Learn More Button */
.webspot-carousel-cta {
    text-align: center;
    margin-top: 48px;
    position: relative;
    z-index: 10;
}

.webspot-learn-more-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--primary-color, #D400a5) 0%, var(--accent-color, #3ad0dd) 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(212, 0, 165, 0.25);
}

.webspot-learn-more-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px -10px rgba(212, 0, 165, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .webspot-carousel-card[data-index="0"] {
        transform: translateX(-420px) translateZ(-200px) scale(0.7);
    }
    
    .webspot-carousel-card[data-index="1"] {
        transform: translateX(-210px) translateZ(-100px) scale(0.85);
    }
    
    .webspot-carousel-card[data-index="3"] {
        transform: translateX(210px) translateZ(-100px) scale(0.85);
    }
    
    .webspot-carousel-card[data-index="4"] {
        transform: translateX(420px) translateZ(-200px) scale(0.7);
    }
}

@media (max-width: 768px) {
    .webspot-ai-carousel-container {
        padding: 40px 16px;
    }
    
    .webspot-carousel-icons {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .webspot-icon {
        width: 36px;
        height: 36px;
    }
    
    .webspot-icon-title {
        font-size: 0.75rem;
    }
    
    .webspot-carousel-card {
        width: 280px;
        height: 340px;
    }
    
    .webspot-carousel-card[data-index="0"],
    .webspot-carousel-card[data-index="4"] {
        display: none;
    }
    
    .webspot-carousel-card[data-index="1"] {
        transform: translateX(-150px) translateZ(-50px) scale(0.8);
    }
    
    .webspot-carousel-card[data-index="3"] {
        transform: translateX(150px) translateZ(-50px) scale(0.8);
    }
    
    .webspot-carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .webspot-arrow-left {
        left: 8px;
    }
    
    .webspot-arrow-right {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .webspot-carousel-icons {
        gap: 8px;
    }
    
    .webspot-icon {
        width: 32px;
        height: 32px;
    }
    
    .webspot-icon-title {
        font-size: 0.625rem;
    }
    
    .webspot-carousel-card {
        width: 240px;
        height: 300px;
    }
    
    .webspot-carousel-card[data-index="1"],
    .webspot-carousel-card[data-index="3"] {
        display: none;
    }
}