
.main-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 480px;
    background: #ffffff;
    font-family: 'Outfit', sans-serif;
    margin-bottom: -115px; /* Overlap with the next white section */
    padding-bottom: 25px; /* Prevents domain bar box-shadow from clipping */
    z-index: 10;
}

/* Base background mesh gradients (Light theme) */
.slider-bg-mesh {
    position: absolute;
    top: 0; left: 0; width: 100%; height: calc(100% - 115px);
    background: 
        radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 15% 85%, rgba(251, 146, 60, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 50% 50%, #f0f7ff 0%, #f8fafc 100%);
    z-index: 1;
}

/* Dots and accents */
.slider-dot-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: calc(100% - 115px);
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    z-index: 2;
    mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
}

.slider-glow-accent {
    position: absolute;
    width: 130%; height: 80px;
    background: linear-gradient(90deg, transparent, rgba(251, 146, 60, 0.05), transparent);
    transform: rotate(-10deg);
    top: 45%; left: -15%;
    z-index: 2;
}

/* Slider wrappers */
.slider-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 5;
}

.hero-slide {
    display: none;
    width: 100%;
    padding: 45px 0;
    min-height: 480px;
    align-items: center;
    position: relative;
}

.hero-slide.active {
    display: flex;
}

/* Animations for active slide content */
.hero-slide.active .hero-info {
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide.active .hero-visual {
    animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

/* Trust badge & rating */
.hk-v3-trust-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding: 6px 16px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 50px;
    width: fit-content;
}

.hk-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.hk-trust-stars {
    color: #fbbf24;
    font-size: 14px;
    display: flex;
    gap: 2px;
}

.hk-trust-stars i {
    text-shadow: 0 0 4px rgba(251, 191, 36, 0.2);
}

.hk-rating-score {
    color: #0f172a;
    font-weight: 800;
    font-size: 14px;
}

.hk-trust-divider {
    width: 1px;
    height: 16px;
    background: rgba(15, 23, 42, 0.1);
}

.hk-trust-customers {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 13px;
}

.hk-trust-customers i {
    color: #fb923c;
}

.hk-trust-text strong {
    color: #0f172a;
}

/* Typography */
.hero-title {
    font-size: 36px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-title span, .hero-title b {
    font-weight: 900;
}

.hero-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 600px;
}

/* Technical feature tags */
.hero-tech-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tech-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(15, 23, 42, 0.04);
    padding: 6px 14px;
    border-radius: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-badge-item:hover {
    border-color: rgba(251, 146, 60, 0.3);
    background: rgba(251, 146, 60, 0.05);
}

.tech-badge-item i {
    color: #fb923c;
    font-size: 14px;
}

.hero-cta-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-cta-buttons .btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 28px;
    transition: all 0.3s ease;
}

.hero-cta-buttons .btn-primary {
    background: linear-gradient(90deg, #0B66D3 0%, #3b82f6 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(11, 102, 211, 0.35);
    color: #ffffff !important;
}

.hero-cta-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(11, 102, 211, 0.55);
}

.hero-cta-buttons .btn-secondary {
    background: linear-gradient(90deg, #7c3aed 0%, #db2777 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
    color: #ffffff !important;
}

.hero-cta-buttons .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(124, 58, 237, 0.55);
}

.hero-title-accent {
    background: linear-gradient(135deg, #0B66D3 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.hero-cta-buttons .btn-outline-light {
    border-color: rgba(15, 23, 42, 0.15);
    background: rgba(15, 23, 42, 0.02);
    color: #334155;
}

.hero-cta-buttons .btn-outline-light:hover {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.3);
    color: #0f172a;
    transform: translateY(-2px);
}

.hero-glow-discount {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13.5px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.25);
}

/* Visual layout and image floats */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.hero-img-wrapper {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.hero-img-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0B66D3, #3b82f6);
    border-radius: 30px;
    transform: rotate(-3deg);
    z-index: 1;
    opacity: 0.12;
    transition: all 0.4s ease;
}

.hero-img-wrapper:hover::before {
    transform: rotate(-1.5deg) scale(1.01);
    opacity: 0.18;
}

.hero-main-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
    display: block;
    position: relative;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

/* Premium Floating Badges (Dark Gradient Theme with Shimmer) */
.hero-float {
    position: absolute;
    z-index: 15;
    padding: 12px 18px;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
    min-width: 210px;
    animation: floatAnimation 5s ease-in-out infinite;
    color: #ffffff;
    overflow: hidden;
    border: none;
}

.hero-float::after {
    content: ''; 
    position: absolute; 
    top: -50%; 
    left: -50%; 
    width: 200%; 
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg);
    animation: hxShimmer 3.5s infinite;
}

@keyframes hxShimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.float-gift {
    top: 12%; 
    left: -55px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 20px 50px rgba(234, 88, 12, 0.35);
    animation-delay: 0s;
    transform: rotate(-3deg);
}

.float-ssl {
    top: 50%; 
    right: -30px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.35);
    animation-delay: -1.5s;
    transform: rotate(2deg);
}

.float-support {
    bottom: 10%; 
    left: -35px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.35);
    animation-delay: -0.8s;
    transform: rotate(-1deg);
}

/* Per-slide floating badge color variants */
.slide-0.float-gift { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); box-shadow: 0 20px 50px rgba(234, 88, 12, 0.35); }
.slide-0.float-ssl { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); box-shadow: 0 20px 50px rgba(37, 99, 235, 0.35); }
.slide-0.float-support { background: linear-gradient(135deg, #10b981 0%, #059669 100%); box-shadow: 0 20px 50px rgba(16, 185, 129, 0.35); }

.slide-1.float-gift { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); box-shadow: 0 20px 50px rgba(124, 58, 237, 0.35); }
.slide-1.float-ssl { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); box-shadow: 0 20px 50px rgba(6, 182, 212, 0.35); }
.slide-1.float-support { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); box-shadow: 0 20px 50px rgba(245, 158, 11, 0.35); }

.slide-2.float-gift { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); box-shadow: 0 20px 50px rgba(219, 39, 119, 0.35); }
.slide-2.float-ssl { background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); box-shadow: 0 20px 50px rgba(13, 148, 136, 0.35); }
.slide-2.float-support { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); box-shadow: 0 20px 50px rgba(79, 70, 229, 0.35); }

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hk-float-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.hk-float-icon,
.hk-float-icon-shield,
.hk-float-icon-support {
    font-size: 18px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hk-float-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.hk-badge-tag {
    font-size: 8.5px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    margin-bottom: 1px;
    letter-spacing: 0.5px;
}

.hk-float-text strong {
    font-size: 13px;
    color: #ffffff;
    font-weight: 700;
}

.hk-float-text small {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.85);
}

/* Dots navigation indicator */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 25;
}

.slider-dot {
    width: 14px;
    height: 14px;
    background: rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slider-dot:hover {
    background: rgba(15, 23, 42, 0.3);
}

.slider-dot.active {
    background: #ff7900;
    width: 32px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(251, 146, 60, 0.4);
}

/* Responsive sizes */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-info {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hk-v3-trust-row {
        margin: 0 auto 20px auto !important;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .main-hero-slider {
        min-height: auto;
    }
    
    .hero-slide {
        min-height: auto;
        padding: 40px 0 70px 0;
    }
}

@media (max-width: 767px) {
    .main-hero-slider {
        margin-bottom: -30px;
        min-height: auto;
    }
    .hk-v3-trust-row {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 20px;
        padding: 8px 12px;
        gap: 8px;
        width: 100%;
        max-width: 90%;
    }
    .hk-trust-divider {
        display: none;
    }
    .hk-trust-customers, .hk-trust-badge {
        font-size: 11.5px;
    }
    .hero-title {
        font-size: 26px;
    }
    .hero-desc {
        font-size: 14.5px;
    }
    .hero-tech-badges {
        justify-content: center;
        gap: 6px;
    }
    .tech-badge-item {
        font-size: 11px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 22px;
        line-height: 1.25;
    }
    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .hero-cta-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 12px 15px;
    }
}
