/* ============================================
   PREMIUM HERO SLIDER CSS
   Glassmorphism + Modern Animations
   Enterprise Marketplace Hero Section

   IMPORTANT: Uses ONLY centralized variables from site.css
   ============================================ */

/* Note: Hero-specific variables are consumed from site.css
   This file does NOT define new color/gradient/shadow variables
   All styling uses centralized vars from :root in site.css */

/* ============================================
   WRAPPER & CONTAINER
   ============================================ */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--hm-bg-surface);
}

.hero-slider {
    position: relative;
    width: 100%;
    /* OPTIMIZED: Reduced from 78vh/900px to 55vh/520px */
    /* Goal: Show hero + immediate below-the-fold content */
    height: 60vh;
    min-height: 400px;
    max-height: 620px;
    background: var(--hm-gradient-primary);
    overflow: hidden;
}

/* ============================================
   SWIPER OVERRIDES
   ============================================ */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    height: 100%;
}

.swiper-slide {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.swiper-pagination {
    bottom: 30px;
    z-index: 10;
}

.swiper-pagination-bullet {
    background: var(--hm-glass-background);
    opacity: 0.5;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    transition: all var(--hm-transition-base);
    border: 2px solid transparent;
}

.swiper-pagination-bullet-active {
    background: var(--hm-text-white);
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* ============================================
   HERO SLIDES
   ============================================ */
.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    overflow: hidden;
}

/* Slide Backgrounds */
.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: 1;
}

/* Animated Shapes */
.shape {
    position: absolute;
    opacity: 0.08;
    mix-blend-mode: lighten;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    top: -100px;
    right: -50px;
    animation: float-1 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    bottom: -100px;
    left: 50px;
    animation: float-2 10s ease-in-out infinite;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: 100px;
    right: 10%;
    animation: float-3 12s ease-in-out infinite;
}

/* Slide Variants */
.slide-1 {
    background: var(--hm-gradient-primary);
}

.slide-2 {
    background: linear-gradient(135deg, var(--hm-secondary) 0%, var(--hm-bg-dark) 100%);
}

.slide-3 {
    background: linear-gradient(135deg, #243b55 0%, #141e30 100%);
}

/* ============================================
   HERO SLIDE CONTENT
   ============================================ */
.hero-slide-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding: 2rem 0;
}

.slide-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-right {
    animation: slideInRight 0.8s ease-out;
    position: relative;
    height: 450px;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   BADGE
   ============================================ */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--hm-space-2);
    padding: var(--hm-space-2) var(--hm-space-4);
    background: var(--hm-glass-background);
    backdrop-filter: blur(var(--hm-glass-blur));
    border: 1px solid var(--hm-glass-border);
    border-radius: var(--hm-radius-full);
    color: var(--hm-text-white);
    font-size: var(--hm-text-sm);
    font-weight: var(--hm-font-semibold);
    letter-spacing: var(--hm-tracking-wide);
    margin-bottom: var(--hm-space-6);
    animation: fadeInDown 0.6s ease-out 0.1s backwards;
    box-shadow: var(--hm-shadow-md);
    transition: all var(--hm-transition-base);
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.badge-icon {
    display: inline-flex;
    font-size: var(--hm-text-lg);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.hero-title {
    font-size: var(--hm-text-4xl);
    font-weight: var(--hm-font-extrabold);
    color: var(--hm-text-white);
    line-height: var(--hm-leading-tight);
    margin-bottom: var(--hm-space-6);
    letter-spacing: var(--hm-tracking-tight);
    animation: fadeInDown 0.6s ease-out 0.2s backwards;
    word-spacing: -0.05em;
}

.hero-subtitle {
    font-size: var(--hm-text-lg);
    color: rgba(255, 255, 255, 0.85);
    line-height: var(--hm-leading-relaxed);
    margin-bottom: var(--hm-space-8);
    max-width: 500px;
    animation: fadeInDown 0.6s ease-out 0.3s backwards;
    font-weight: var(--hm-font-normal);
    letter-spacing: var(--hm-tracking-normal);
}

/* ============================================
   HERO ACTIONS (BUTTONS)
   ============================================ */
.hero-actions {
    display: flex;
    gap: var(--hm-space-4);
    margin-bottom: var(--hm-space-12);
    flex-wrap: wrap;
    animation: fadeInDown 0.6s ease-out 0.4s backwards;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--hm-space-2);
    padding: var(--hm-btn-padding-y-lg) var(--hm-btn-padding-x-lg);
    font-size: var(--hm-text-base);
    font-weight: var(--hm-font-bold);
    border-radius: var(--hm-radius-lg);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--hm-easing-spring);
    position: relative;
    overflow: hidden;
    box-shadow: var(--hm-shadow-lg);
    letter-spacing: var(--hm-tracking-normal);
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Primary Button */
.hero-btn.btn-primary {
    background: var(--hm-gradient-primary);
    color: var(--hm-text-white);
    box-shadow: var(--hm-shadow-lg);
}

.hero-btn.btn-primary:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, var(--hm-primary-light) 0%, var(--hm-primary) 100%);
    box-shadow: var(--hm-shadow-xl);
    color: var(--hm-text-white);
}

.hero-btn.btn-primary .btn-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--hm-transition-base);
}

.hero-btn.btn-primary:hover .btn-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Secondary Button */
.hero-btn.btn-secondary {
    background: var(--hm-glass-background);
    backdrop-filter: blur(var(--hm-glass-blur));
    color: var(--hm-text-white);
    border: 2px solid var(--hm-glass-border);
}

.hero-btn.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px);
    color: var(--hm-text-white);
    box-shadow: var(--hm-shadow-lg);
}

.btn-icon {
    display: inline-flex;
    font-size: var(--hm-text-lg);
    transition: transform var(--hm-transition-base);
}

.hero-btn:hover .btn-icon {
    transform: scale(1.15);
}

.btn-text {
    display: inline;
}

.btn-arrow {
    display: inline-flex;
    font-size: var(--hm-text-sm);
}

/* ============================================
   TRUST INDICATORS
   ============================================ */
.trust-indicators {
    display: flex;
    gap: var(--hm-space-8);
    margin-top: var(--hm-space-8);
    animation: fadeInUp 0.6s ease-out 0.5s backwards;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--hm-space-3);
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--hm-glass-background);
    backdrop-filter: blur(var(--hm-glass-blur));
    border: 1px solid var(--hm-glass-border);
    border-radius: 50%;
    font-size: var(--hm-text-lg);
    color: var(--hm-text-white);
    flex-shrink: 0;
}

.trust-text {
    font-size: var(--hm-text-sm);
    color: rgba(255, 255, 255, 0.85);
    font-weight: var(--hm-font-medium);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FLOATING CARDS (STATS)
   ============================================ */
.floating-card {
    position: absolute;
    background: var(--hm-glass-background);
    backdrop-filter: blur(var(--hm-glass-blur));
    border: 1px solid var(--hm-glass-border);
    border-radius: var(--hm-radius-2xl);
    padding: var(--hm-space-6);
    color: var(--hm-primary);
    box-shadow: var(--hm-shadow-lg);
    transition: all var(--hm-transition-base);
    animation: float 3s ease-in-out infinite;
}

.floating-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-10px);
    box-shadow: var(--hm-shadow-xl);
}

.card-1 {
    width: 240px;
    top: 30px;
    right: 50px;
    animation-delay: 0s;
}

.card-2 {
    width: 220px;
    bottom: 80px;
    right: 30px;
    animation-delay: 0.3s;
}

.card-3 {
    width: 210px;
    bottom: 150px;
    right: 280px;
    animation-delay: 0.6s;
}

.card-icon {
    font-size: var(--hm-text-4xl);
    margin-bottom: var(--hm-space-3);
    display: inline-flex;
}

.card-text {
    font-size: var(--hm-text-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--hm-space-2);
    font-weight: var(--hm-font-medium);
}

.card-count {
    font-size: var(--hm-text-2xl);
    font-weight: var(--hm-font-bold);
    letter-spacing: var(--hm-tracking-normal);
}

.card-subtext {
    font-size: var(--hm-text-xs);
    color: rgba(255, 255, 255, 0.65);
    margin-top: var(--hm-space-1);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes float-1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, -30px) rotate(180deg);
    }
}

@keyframes float-2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-20px, 30px) rotate(-180deg);
    }
}

@keyframes float-3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(25px, -25px) rotate(180deg);
    }
}

/* ============================================
   SLIDE 2: B2B STATS
   ============================================ */
.stats-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--hm-space-8);
    background: var(--hm-glass-background);
    backdrop-filter: blur(var(--hm-glass-blur));
    border: 1px solid var(--hm-glass-border);
    border-radius: var(--hm-radius-2xl);
    padding: var(--hm-space-8) var(--hm-space-6);
    box-shadow: var(--hm-shadow-lg);
    animation: slideInRight 0.8s ease-out;
}

.stat-group {
    text-align: center;
    animation: fadeInUp 0.6s ease-out backwards;
}

.stat-group:nth-child(2) {
    animation-delay: 0.1s;
}

.stat-group:nth-child(3) {
    animation-delay: 0.2s;
}

.stat-number {
    font-size: var(--hm-text-4xl);
    font-weight: var(--hm-font-extrabold);
    color: var(--hm-text-white);
    line-height: var(--hm-leading-tight);
    margin-bottom: var(--hm-space-3);
    letter-spacing: var(--hm-tracking-tight);
}

.stat-label {
    font-size: var(--hm-text-sm);
    color: rgba(255, 255, 255, 0.75);
    font-weight: var(--hm-font-medium);
}

/* ============================================
   BENEFITS & FEATURES LISTS
   ============================================ */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--hm-space-4);
    animation: fadeInUp 0.6s ease-out 0.5s backwards;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--hm-space-3);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--hm-text-base);
    font-weight: var(--hm-font-medium);
    transition: all var(--hm-transition-base);
}

.benefit-item i {
    color: var(--hm-text-white);
    font-size: var(--hm-text-lg);
    flex-shrink: 0;
}

.benefit-item:hover {
    transform: translateX(8px);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--hm-space-6);
    animation: fadeInUp 0.6s ease-out 0.5s backwards;
}

.feature-item {
    display: flex;
    gap: var(--hm-space-5);
    color: rgba(255, 255, 255, 0.9);
}

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--hm-glass-background);
    border-radius: 50%;
    font-weight: var(--hm-font-bold);
    font-size: var(--hm-text-lg);
    color: var(--hm-text-white);
}

.feature-title {
    font-weight: var(--hm-font-semibold);
    font-size: var(--hm-text-base);
    margin-bottom: var(--hm-space-1);
}

.feature-desc {
    font-size: var(--hm-text-sm);
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   AI FEATURE BOX
   ============================================ */
.ai-feature-box {
    background: var(--hm-glass-background);
    backdrop-filter: blur(var(--hm-glass-blur));
    border: 1px solid var(--hm-glass-border);
    border-radius: var(--hm-radius-2xl);
    padding: var(--hm-space-8);
    box-shadow: var(--hm-shadow-lg);
    animation: slideInRight 0.8s ease-out;
}

.feature-badge {
    display: inline-block;
    padding: var(--hm-space-2) var(--hm-space-4);
    background: var(--hm-glass-background);
    border-radius: var(--hm-radius-full);
    color: var(--hm-primary);
    font-size: var(--hm-text-xs);
    font-weight: var(--hm-font-semibold);
    margin-bottom: var(--hm-space-6);
    letter-spacing: var(--hm-tracking-wide);
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hm-space-3);
}

.chip {
    display: inline-block;
    padding: var(--hm-space-2) var(--hm-space-5);
    background: var(--hm-glass-background);
    border: var(--your-border);
    border-radius: var(--hm-radius-full);
    color: var(--hm-primary);
    font-size: var(--hm-text-sm);
    font-weight: var(--hm-font-medium);
    transition: all var(--hm-transition-base);
}

.chip:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* ============================================
   PREMIUM SIDE NAVIGATION
   ============================================ */

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hm-glass-background);
    backdrop-filter: blur(var(--hm-glass-blur));
    border: 2px solid var(--hm-glass-border);
    color: var(--hm-text-white);
    font-size: var(--hm-text-lg);
    cursor: pointer;
    transition: all var(--hm-easing-spring);
}

/* LEFT BUTTON */
.slider-prev {
    left: 30px;
}

/* RIGHT BUTTON */
.slider-next {
    right: 30px;
}

    .slider-prev:hover,
    .slider-next:hover {
        transform: translateY(-50%) scale(1.08);
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: var(--hm-shadow-lg);
    }

/* ============================================
   SLIDER INFO
   ============================================ */
.slider-info {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--hm-glass-blur));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--hm-space-5) 0;
    z-index: 5;
}

.info-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slide-counter {
    font-size: var(--hm-text-sm);
    color: rgba(255, 255, 255, 0.7);
    font-weight: var(--hm-font-semibold);
    letter-spacing: var(--hm-tracking-wider);
}

.current-slide {
    color: var(--hm-text-white);
    font-weight: var(--hm-font-bold);
}

.slide-title-display {
    font-size: var(--hm-text-base);
    font-weight: var(--hm-font-semibold);
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: var(--hm-tracking-normal);
}

/* ============================================
   TABLET
   ============================================ */
@media (max-width: 1024px) {

    .hero-slider {
        min-height: 560px;
        height: auto;
    }

    .hero-slide-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0 5rem;
    }

    .slide-left {
        text-align: center;
    }

    .slide-right {
        height: 240px;
    }

    .hero-title {
        font-size: var(--hm-text-3xl);
        margin-bottom: var(--hm-space-4);
    }

    .hero-subtitle {
        font-size: var(--hm-text-base);
        margin-bottom: var(--hm-space-5);
        max-width: 100%;
    }

    .hero-actions {
        margin-bottom: var(--hm-space-6);
        justify-content: center;
    }

    .trust-indicators {
        justify-content: center;
        gap: var(--hm-space-5);
    }
}


/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 768px) {

    .hero-slider {
        min-height: 500px;
        height: auto;
    }

    .hero-slide {
        padding: 0;
    }

    .hero-slide-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2.5rem 0 5rem;
    }

    .slide-left {
        text-align: center;
    }

    .slide-right {
        display: none;
    }

    .hero-badge {
        justify-content: center;
        margin-bottom: var(--hm-space-3);
    }

    .hero-title {
        font-size: clamp(1.9rem, 5vw, 2.3rem);
        line-height: 1.15;
        margin-bottom: var(--hm-space-3);
    }

    .hero-subtitle {
        font-size: 0.98rem;
        line-height: 1.6;
        margin-bottom: var(--hm-space-5);
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--hm-space-3);
        margin-bottom: var(--hm-space-5);
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 18px;
    }

    .trust-indicators {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--hm-space-3);
        margin-top: var(--hm-space-4);
    }

    .trust-item {
        gap: var(--hm-space-2);
    }

    .benefits-list,
    .features-list {
        gap: var(--hm-space-3);
    }

    .benefit-item,
    .feature-item {
        text-align: left;
    }

    .swiper-pagination {
        bottom: 18px;
    }
}


/* ============================================
   SMALL MOBILE
   ============================================ */
@media (max-width: 480px) {

    .hero-slider {
        min-height: 470px;
    }

    .hero-slide-content {
        padding: 2rem 0 4.5rem;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-btn {
        font-size: 0.9rem;
        padding: 12px 16px;
    }

    .trust-text {
        font-size: 0.75rem;
    }

    .feature-desc {
        font-size: 0.75rem;
    }

    .swiper-pagination {
        bottom: 14px;
    }
}
/* ============================================
   DARK MODE SUPPORT
   ============================================ */
@media (prefers-color-scheme: dark) {
    .hero-slide-content {
        color: rgba(255, 255, 255, 0.9);
    }

    .hero-title {
        color: rgba(255, 255, 255, 1);
    }

    .slide-left {
        color: rgba(255, 255, 255, 0.9);
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .hero-slider-wrapper {
        display: none;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .shape-1, .shape-2, .shape-3 {
        animation: none;
    }

    .floating-card {
        animation: none;
    }
}

/* ============================================
   HIGH CONTRAST MODE
   ============================================ */
@media (prefers-contrast: more) {
    .hero-badge {
        background: rgba(255, 255, 255, 0.25);
        border: 2px solid rgba(255, 255, 255, 0.5);
    }

    .hero-btn {
        border: 2px solid currentColor;
    }

    .floating-card {
        border: 2px solid rgba(255, 255, 255, 0.4);
    }
}
