* {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
}

/* Glassmorphism */
.glass {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-up.visible {
    opacity: 1;
}

/* Hero background overlay */
.hero-overlay {
    background-blend-mode: overlay;
    background-color: rgba(15, 23, 42, 0.6);
}

/* Gradient button */
.btn-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Service card hover */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
}

/* Pricing table */
.pricing-card {
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid #3b82f6;
    transform: scale(1.05);
}

.pricing-card:hover {
    border-color: #3b82f6;
}

/* Form floating label */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-bottom-color: #3b82f6;
}

.form-label {
    position: absolute;
    top: 12px;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    transform: translateY(-24px);
    font-size: 0.75rem;
    color: #3b82f6;
}

/* PayPal button styling */
.btn-paypal {
    background: linear-gradient(135deg, #003087 0%, #009cde 100%);
    transition: all 0.3s ease;
}

.btn-paypal:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 112, 186, 0.3);
}

/* Scroll animation trigger */
.scroll-trigger {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-trigger.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar animation */
.navbar-scroll {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: none;
    transition: all 0.3s ease;
}

.navbar-scroll.scrolled {
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Electric blue accent */
.accent-blue {
    color: #3b82f6;
}

.accent-blue-border {
    border-color: #3b82f6;
}

/* Stagger animation */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
    }

    .hidden-mobile {
        display: none;
    }
}

/* Success/Error messages */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    animation: slideDown 0.3s ease-out;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #86efac;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Professional & Realistic WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 40;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* Pulse animation background */
.whatsapp-pulse {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 64px;
    height: 64px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.4) 0%, rgba(37, 211, 102, 0) 70%);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
    pointer-events: none;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Online status badge */
.whatsapp-badge {
    position: absolute;
    bottom: 10px;
    right: -8px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #128c7e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: badge-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 41;
}

.whatsapp-status-dot {
    width: 8px;
    height: 8px;
    background: #31a24c;
    border-radius: 50%;
    display: inline-block;
    animation: status-pulse 2s infinite;
    box-shadow: 0 0 0 2px white;
}

.whatsapp-status-text {
    display: none;
}

@keyframes status-pulse {
    0%, 100% {
        background: #31a24c;
        box-shadow: 0 0 0 2px white, 0 0 8px rgba(49, 162, 76, 0.4);
    }
    50% {
        background: #27ae60;
        box-shadow: 0 0 0 2px white, 0 0 0 rgba(49, 162, 76, 0);
    }
}

@keyframes badge-pop {
    0% {
        transform: scale(0.3) translateY(20px);
        opacity: 0;
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Main button */
.whatsapp-widget a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35),
                0 0 0 0 rgba(37, 211, 102, 0.1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    animation: float-up 3s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    color: white;
}

.whatsapp-widget a:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5),
                0 0 20px rgba(37, 211, 102, 0.2);
    transform: scale(1.12) translateY(-3px);
}

.whatsapp-widget a:active {
    transform: scale(0.95) translateY(0);
}

@keyframes float-up {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Realistic tooltip */
.whatsapp-tooltip {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 260px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.15);
    padding: 12px 16px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 42;
    border: 1px solid rgba(200, 200, 200, 0.2);
}

.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.whatsapp-tooltip-header {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}

.whatsapp-tooltip-status {
    font-size: 12px;
    color: #65676b;
    margin-bottom: 8px;
}

.whatsapp-tooltip-message {
    font-size: 13px;
    color: #333;
    padding: 8px 10px;
    background: #f0f0f0;
    border-radius: 8px;
    border-left: 3px solid #25d366;
}

/* Responsive WhatsApp widget */
@media (max-width: 640px) {
    .whatsapp-widget {
        bottom: 16px;
        right: 16px;
    }
    
    .whatsapp-widget a {
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-badge {
        font-size: 10px;
        padding: 3px 6px;
        bottom: 8px;
        right: -6px;
    }
    
    .whatsapp-tooltip {
        width: 240px;
        bottom: 70px;
    }
}

@media (max-width: 480px) {
    .whatsapp-widget {
        bottom: 12px;
        right: 12px;
    }
    
    .whatsapp-widget a {
        width: 52px;
        height: 52px;
    }
    
    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
    
    .whatsapp-tooltip {
        width: 220px;
        bottom: 65px;
        right: -40px;
    }
    
    .whatsapp-status-text {
        display: inline;
    }
}
