/* ==========================================
   HiveVps - Main Stylesheet
   Light Theme | Blue Primary | Modern SaaS
   ========================================== */

/* CSS Variables */
:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --primary-light: #e8f0fe;
    --secondary: #6c757d;
    --success: #198754;
    --dark: #212529;
    --light: #f8f9fa;
    --body-bg: #ffffff;
    --body-color: #212529;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--body-bg);
    color: var(--body-color);
    line-height: 1.7;
    padding-top: 76px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Section Padding */
.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    padding: 12px 0;
    transition: var(--transition);
}

.navbar .navbar-brand {
    font-size: 1.5rem;
    color: var(--dark);
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--secondary);
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar .nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-wa-btn {
    border-radius: 50px;
    padding: 8px 20px !important;
    font-weight: 600;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    min-height: calc(100vh - 76px);
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section h1 {
    font-size: 3.2rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .d-flex {
        justify-content: center;
    }
}

.hero-image-wrapper {
    position: relative;
    display: inline-block;
}

.hero-icon-circle {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(13, 110, 253, 0.15);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-stats-mini {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    white-space: nowrap;
}

.hero-stats-mini .stat-item {
    background: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.feature-card {
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--primary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
}

.feature-card:hover .feature-icon i {
    color: white !important;
}

/* ==========================================
   PRICING SECTION
   ========================================== */
.pricing-card {
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg) !important;
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: 12px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 4px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-price {
    padding: 10px 0;
}

@media (max-width: 992px) {
    .pricing-card.popular {
        transform: none;
    }
    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
}

/* ==========================================
   USE CASES
   ========================================== */
.use-case-card {
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: default;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow) !important;
}

/* ==========================================
   WHY CHOOSE US
   ========================================== */
.why-card {
    padding: 24px;
    background: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow) !important;
}

.why-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   STATISTICS SECTION
   ========================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0b5ed7 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.stat-item-counter {
    padding: 20px;
}

.counter {
    font-size: 2.5rem;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonial-card {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-card {
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    margin: 0 auto;
}

/* ==========================================
   FLOATING WHATSAPP BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: #1a1d23 !important;
}

.footer h5, .footer h6 {
    color: #ffffff;
}

.footer p.text-muted,
.footer .text-muted,
.footer a.text-muted {
    color: rgba(255, 255, 255, 0.65) !important;
}

.footer a.text-muted:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer a:hover {
    color: white !important;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-icon-circle {
        width: 140px;
        height: 140px;
    }

    .hero-icon-circle i {
        font-size: 3rem !important;
    }

    .counter {
        font-size: 2rem;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 24px;
        bottom: 16px;
        right: 16px;
    }
}

/* ==========================================
   UTILITY
   ========================================== */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-lg {
    border-radius: 12px;
}

.btn-success {
    border-radius: 50px;
}

/* AOS Fix */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}