/* ==========================================
   GLOBAL STYLES & RESET
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --accent-500: #d946ef;
    --accent-600: #c026d3;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ==========================================
   NAVIGATION STYLES
   ========================================== */

#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo-icon {
    background: linear-gradient(135deg, #0ea5e9 0%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(20deg);
    }
}

.logo-text {
    color: #1f2937;
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
    color: #4b5563;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #d946ef);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #0ea5e9;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(14, 165, 233, 0.4);
}

/* Mobile Menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.mobile-menu.active {
    max-height: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mobile-nav-link {
    display: block;
    color: #4b5563;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(217, 70, 239, 0.1));
    color: #0ea5e9;
}

/* ==========================================
   PAGE HEADER (for internal pages)
   ========================================== */

.page-header {
    position: relative;
    background: linear-gradient(135deg, #0c4a6e 0%, #075985 50%, #0369a1 100%);
    overflow: hidden;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.nav-link.active {
    color: #0ea5e9;
    font-weight: 700;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0c4a6e 0%, #075985 50%, #0369a1 100%);
    overflow: hidden;
    margin-top: 2rem;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(217, 70, 239, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.2) 0%, transparent 50%);
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #f0abfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientTextShift 5s ease infinite;
}

@keyframes gradientTextShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary-large {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
    display: inline-flex;
    align-items: center;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.5);
}

.btn-secondary-large {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
}

.btn-secondary-large:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.stat-card {
    text-align: center;
}

.hero-image-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.floating-card {
    position: absolute;
    bottom: 1rem;
    right: .5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ==========================================
   SECTION STYLES
   ========================================== */

.section-padding {
    padding: 6rem 0;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(217, 70, 239, 0.1));
    color: #0ea5e9;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(14, 165, 233, 0.2);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   FEATURE CARDS
   ========================================== */

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* ==========================================
   SERVICE CARDS
   ========================================== */

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: #0ea5e9;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.2);
}

.service-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #d946ef 100%);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.service-description {
    color: #6b7280;
    line-height: 1.6;
}

/* ==========================================
   PRICING STYLES
   ========================================== */

.pricing-tab {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    background: white;
    color: #4b5563;
    font-weight: 600;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pricing-tab:hover {
    border-color: #0ea5e9;
    color: #0ea5e9;
}

.pricing-tab.active {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.pricing-category {
    display: none;
}

.pricing-category.active {
    display: block;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.pricing-item {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.pricing-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.15);
    border-color: #0ea5e9;
}

.pricing-item.featured {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(217, 70, 239, 0.05));
    border: 2px solid #0ea5e9;
}

.pricing-item-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem;
}

.pricing-item-price {
    font-weight: 700;
    color: #0ea5e9;
    font-size: 1.125rem;
}

/* ==========================================
   PROCESS STEPS
   ========================================== */

.process-step {
    position: relative;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.process-number {
    position: absolute;
    top: -1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #d946ef 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.4);
}

.process-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(217, 70, 239, 0.1));
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #0ea5e9;
}

.process-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.process-description {
    color: #6b7280;
    line-height: 1.6;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact-icon-box {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.form-label {
    display: block;
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(14, 165, 233, 0.4);
}

/* ==========================================
   FOOTER
   ========================================== */

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #d946ef 100%);
    color: white;
    transform: translateY(-3px);
}

.footer-link {
    color: #9ca3af;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #0ea5e9;
    padding-left: 0.5rem;
}

/* ==========================================
   FLOATING WHATSAPP BUTTON
   ========================================== */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 10px 40px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */

.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #d946ef 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
    z-index: 1000;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.5);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.delay-600 {
    animation-delay: 0.6s;
}

.delay-700 {
    animation-delay: 0.7s;
}

.delay-800 {
    animation-delay: 0.8s;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .scroll-top-btn {
        width: 3rem;
        height: 3rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero-section h1 {
        font-size: 2.5rem !important;
    }

    .stat-card {
        font-size: 0.875rem;
    }

    .stat-card .text-3xl {
        font-size: 1.5rem !important;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.text-gradient {
    background: linear-gradient(135deg, #0ea5e9 0%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shadow-glow {
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.3);
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}