/* ========================================
   HUSS Light & Fresh Design System
   Custom CSS Enhancements
   ======================================== */

/* Subtle Background Pattern */
body {
    background: linear-gradient(180deg, #f0fdf4 0%, #dbeafe 100%) !important;
    position: relative;
    min-height: 100vh;
}

/* Background Pattern Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(
            circle at 20% 20%,
            rgba(16, 185, 129, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(6, 182, 212, 0.15) 0%,
            transparent 50%
        );
    pointer-events: none;
}

/* Floating Shapes Container */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: float-gentle 25s infinite ease-in-out;
}

.floating-shape:nth-child(1) {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.floating-shape:nth-child(3) {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #06b6d4, #10b981);
    top: 50%;
    left: 10%;
    animation-delay: 10s;
}

@keyframes float-gentle {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -50px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 40px) scale(0.95);
    }
    75% {
        transform: translate(40px, 30px) scale(1.02);
    }
}

/* Enhanced Sections */
section {
    position: relative;
    z-index: 10;
}

/* Hero Section Enhancements */
#home {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%) !important;
}

/* Alternate Section Backgrounds */
#solusi {
    background: linear-gradient(180deg, #ecfeff 0%, #f0f9ff 100%) !important;
}

#proses {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%) !important;
}

#teknologi {
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%) !important;
}

#harga {
    background: linear-gradient(180deg, #ffffff 0%, #ecfeff 100%) !important;
}

#testimoni {
    background: linear-gradient(180deg, #f0fdf4 0%, #d1fae5 100%) !important;
}

#FAQ {
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%) !important;
}

/* Enhanced Card Hover Effects */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Gradient Button Enhancement */
.btn-gradient-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gradient-enhanced::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.btn-gradient-enhanced:hover::before {
    width: 300px;
    height: 300px;
}

.btn-gradient-enhanced > * {
    position: relative;
    z-index: 1;
}

/* Swiper Pagination Custom */
.swiper-pagination-bullet {
    background: #10b981;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #10b981;
    transform: scale(1.2);
}

/* Enhanced Shadow Utilities */
.shadow-glow-green {
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.shadow-glow-green:hover {
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

/* Animated Stats Counter */
.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.95;
    color: white;
}

/* Testimonial Card Enhancement */
.testimonial-card-enhanced {
    background: white;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #10b981;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.testimonial-card-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-top-color: #059669;
}

/* Feature Icon Gradients */
.feature-icon-gradient-1 {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.feature-icon-gradient-2 {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.feature-icon-gradient-3 {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.feature-icon-gradient-4 {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.feature-icon-gradient-5 {
    background: linear-gradient(135deg, #10b981, #84cc16);
}

.feature-icon-gradient-6 {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    border-radius: 10px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #059669, #0891b2);
}

/* Parallax Container */
.parallax-container {
    position: relative;
    overflow: hidden;
}

/* Enhanced FAQ Accordion */
.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
}

/* Pricing Card Enhancement */
.pricing-card-enhanced {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card-enhanced:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Loading Animation for Images */
img {
    transition: opacity 0.3s ease;
}

/* Gradient Text Utility */
.gradient-text {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Badge Styles */
.badge-gradient {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .floating-shape {
        opacity: 0.03;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}
