﻿:root {
    --primary-color: #6e57e0;
    --secondary-color: #4b9fff;
    --accent-color: #7d2ae8;
    --dark-color: #0f0f1c;
    --darker-color: #06060e;
    --light-color: #ffffff;
    --gray-color: #8a8aa3;
    --light-gray: #f5f5f7;
    --gradient-1: linear-gradient(135deg, #6e57e0 0%, #4b9fff 100%);
    --gradient-2: linear-gradient(135deg, #7d2ae8 0%, #4b9fff 100%);
    --shadow-1: 0 10px 30px rgba(110, 87, 224, 0.15);
    --shadow-2: 0 15px 40px rgba(125, 42, 232, 0.2);
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition: all 0.15s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    color: var(--light-color);
    background-color: #09091b;
    background-image: linear-gradient(180deg, rgba(9,9,27,1) 0%, rgba(15,15,40,1) 100%);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.background-canvas {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

html {
    scroll-behavior: smooth;
}

/* Initial hidden states for animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced fade effects */
.fade-in-slow {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in-slow.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Hero animations */
.hero h1 {
    animation: heroTitleReveal 1.2s ease-out;
}

.hero-description {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stats {
    animation: fadeInUp 1s ease-out 0.9s both;
}

@keyframes heroTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover animations */
.service-card,
.pricing-card,
.portfolio-item,
.testimonial-item {
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
    cursor: pointer;
}

/* Enhanced hover effects for interactive elements */
.service-card:hover,
.pricing-card:hover,
.testimonial-item:hover,
.faq-item:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 20px 50px rgba(110, 87, 224, 0.25) !important;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out !important;
}

/* Portfolio items have no hover effects */
.portfolio-item:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Class for elements with smooth hover effects */
.hover-ready {
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out !important;
}

/* Process step special animation */
.process-step {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.process-step:nth-child(even) {
    transform: translateX(30px);
}

.process-step.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stats counter animation */
.stat-item {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stat-number {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 2rem;
    transition: color 0.05s ease;
}

.stat-item:hover .stat-number {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.contact-item:hover {
    transform: translateX(10px);
    transition: transform 0.05s ease;
}

/* Pulse animation for CTA buttons */
.btn-gradient {
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-gradient:hover {
    animation: none;
    transform: scale(1.1);
}

.btn-gradient:hover::before {
    left: 100%;
}

/* Floating animation for hero shapes */
.float-shape {
    animation: float 6s ease-in-out infinite;
}

.float-shape:nth-child(2) {
    animation-delay: -2s;
}

.float-shape:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

/* Hero stats enhanced animation */
.hero-stats {
    animation: slideUpStagger 1.2s ease-out 1s both;
}

@keyframes slideUpStagger {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading skeleton animation for cards */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite linear;
}

/* Staggered animation for grids */
.services-grid .service-card,
.pricing-cards .pricing-card,
.testimonial-slider .testimonial-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.services-grid .service-card.visible,
.pricing-cards .pricing-card.visible,
.testimonial-slider .testimonial-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar scroll animation */
.navbar {
    transition: all 0.05s ease;
}

.navbar.scrolled {
    backdrop-filter: blur(20px);
    background-color: rgba(6, 6, 14, 0.95);
}

/* Button pulse animation */
.btn-gradient {
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn-gradient:hover::before {
    width: 300px;
    height: 300px;
}

/* Fallback geometric shapes if 3D doesn't load immediately */
.geometric-shape {
    position: absolute;
    z-index: 0;
    opacity: 0.5;
}
.shape-1 {
    top: 20%;
    left: 15%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    border-radius: 10px;
    animation: float 6s infinite ease-in-out;
}
.shape-2 {
    top: 65%;
    right: 15%;
    width: 100px;
    height: 100px;
    border: 4px solid #7d2ae8;
    transform: rotate(45deg);
    animation: rotate 10s linear infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Critical Responsive Improvements */
/* Navbar base styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    position: relative;
}

.logo {
    order: 1;
    flex: 0 0 auto;
}

.nav-links {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
}

.cta-button {
    order: 3;
    flex: 0 0 auto;
    display: flex !important; 
}
@media (min-width: 769px) {
    .cta-button {
        display: flex !important;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1002;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background: none;
    border: none;
    order: 4;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
    position: relative;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Force hamburger visibility on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        z-index: 1002 !important;
    }
    
    .cta-button {
        display: none !important;
    }
}

/* Form Success Animation Styles */
.form-success-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    color: white;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(110, 87, 224, 0.3);
    z-index: 10000;
    text-align: center;
    min-width: 300px;
    opacity: 0;
    scale: 0.8;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-success-message.show {
    display: block;
    opacity: 1;
    scale: 1;
}

.form-success-message .success-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #4ade80;
    animation: checkmarkBounce 0.6s ease-out 0.2s;
}

.form-success-message h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
}

.form-success-message p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

@keyframes checkmarkBounce {
    0% { 
        transform: scale(0);
        opacity: 0;
    }
    50% { 
        transform: scale(1.2);
        opacity: 1;
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

/* Form Error Message Styles */
.form-error-message {
    background: linear-gradient(135deg, #ff4757, #ff6b7a);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.3);
    animation: slideInError 0.3s ease-out;
    border-left: 4px solid #ff3742;
}

.form-error-message i {
    margin-right: 10px;
    font-size: 16px;
    color: #ffebee;
}

@keyframes slideInError {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Improved form validation styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #ff4757;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

/* Solo aplica borde rojo al select cuando se ha interactuado con él y está inválido */
.form-group select:invalid:not(.untouched):focus,
.form-group select:invalid:not(.untouched) {
    border-color: #ff4757;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown):not(.untouched),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

/* Estilo normal para select sin tocar */
.form-group select.untouched,
.form-group select:required:invalid {
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}

/* Form overlay during submission */
.form-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 40, 0.8);
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.form-overlay.show {
    display: block;
}

/* Button loading state */
.btn-form.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-form.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Background geometric shapes for all sections */
.section-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    opacity: 0.03;
    filter: blur(1px);
    animation: floatSlow 20s infinite ease-in-out;
}

.bg-shape-1 {
    top: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    border-radius: 20px;
    transform: rotate(15deg);
    animation-delay: 0s;
}

.bg-shape-2 {
    top: 25%;
    right: 8%;
    width: 80px;
    height: 80px;
    border: 3px solid #7d2ae8;
    border-radius: 50%;
    animation-delay: 5s;
}

.bg-shape-3 {
    top: 45%;
    left: 15%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #4b9fff, #7d2ae8);
    transform: rotate(45deg);
    animation-delay: 10s;
}

.bg-shape-4 {
    top: 65%;
    right: 20%;
    width: 90px;
    height: 90px;
    border: 2px solid #6e57e0;
    border-radius: 15px;
    transform: rotate(-30deg);
    animation-delay: 15s;
}

.bg-shape-5 {
    top: 80%;
    left: 10%;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, #6e57e0, transparent 70%);
    border-radius: 50%;
    animation-delay: 8s;
}

.bg-shape-6 {
    top: 35%;
    left: 45%;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7d2ae8, #4b9fff);
    border-radius: 30px;
    transform: rotate(60deg);
    animation-delay: 12s;
}

@keyframes floatSlow {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 0.03;
    }
    25% { 
        transform: translateY(-30px) rotate(5deg); 
        opacity: 0.05;
    }
    50% { 
        transform: translateY(-15px) rotate(-3deg); 
        opacity: 0.04;
    }
    75% { 
        transform: translateY(-25px) rotate(8deg); 
        opacity: 0.06;
    }
}

/* Section-specific shape variations */
.servicios .section-bg-shapes .bg-shape-1 {
    top: 15%;
    left: 8%;
    opacity: 0.04;
}

.planes .section-bg-shapes .bg-shape-2 {
    top: 30%;
    right: 12%;
    opacity: 0.05;
}

.portfolio .section-bg-shapes .bg-shape-3 {
    top: 20%;
    left: 10%;
    opacity: 0.04;
}

.proceso .section-bg-shapes .bg-shape-4 {
    top: 40%;
    right: 15%;
    opacity: 0.05;
}

.testimonios .section-bg-shapes .bg-shape-5 {
    top: 25%;
    left: 5%;
    opacity: 0.04;
}

.contacto .section-bg-shapes .bg-shape-6 {
    top: 50%;
    right: 10%;
    opacity: 0.05;
}

/* Additional shapes for larger sections */
.bg-shape-7 {
    top: 60%;
    left: 70%;
    width: 50px;
    height: 50px;
    background: linear-gradient(90deg, #4b9fff, transparent);
    border-radius: 50%;
    animation-delay: 18s;
    opacity: 0.025;
}

.bg-shape-8 {
    top: 85%;
    right: 30%;
    width: 40px;
    height: 40px;
    border: 1px solid #6e57e0;
    transform: rotate(30deg);
    animation-delay: 22s;
    opacity: 0.03;
}

/* Force all main content elements to be visible */
.service-card,
.pricing-card,
.portfolio-item,
.testimonial-item,
.process-step,
.section-header,
.contact-form,
.contact-info,
.contact-grid,
.contact-form-container,
.hero-content,
.hero h1,
.hero-description,
.hero-buttons,
.services-grid,
.pricing-cards,
.portfolio-grid,
.testimonial-slider,
.process-timeline {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
    opacity: 0.9;
}

a {
    text-decoration: none;
    color: var(--light-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-2);
}

.btn-gradient {
    background: var(--gradient-1);
    color: var(--light-color);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-gradient:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    z-index: -1;
    transition: 0.5s;
    opacity: 0;
}

.btn-gradient:hover:before {
    opacity: 1;
}

.btn-gradient:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 50px rgba(110, 87, 224, 0.4), 0 0 40px rgba(75, 159, 255, 0.6);
    background: var(--gradient-2);
}

.btn-outline:hover {
    background: var(--gradient-1);
    color: var(--light-color);
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(110, 87, 224, 0.3), 0 0 30px rgba(75, 159, 255, 0.4);
}

.btn-primary:hover {
    background: var(--gradient-2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(125, 42, 232, 0.4), 0 0 30px rgba(110, 87, 224, 0.5);
}

.btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.reveal-text {
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 1000;
    transition: all 0.4s ease;
    background-color: rgba(6, 6, 14, 0.8);
    backdrop-filter: blur(10px);
}

/* Force CTA button to be visible in navbar */
.navbar .cta-button {
    display: flex !important;
    order: 3;
}

.navbar .cta-button .btn {
    display: inline-flex !important;
}

.navbar.scrolled {
    height: 70px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(6, 6, 14, 0.95);
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 32px;
    width: auto;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px rgba(110, 87, 224, 0.5));
}

.logo a {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    position: relative;
    font-weight: 500;
    padding: 5px 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--light-color);
}

/* Hero Section Styles */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 120px;
    position: relative;
    overflow: hidden;
    background-color: #09091b;
    background-image: linear-gradient(180deg, rgba(9,9,27,1) 0%, rgba(15,15,40,1) 100%);
}

.background-canvas {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 180px 40px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 140px;
    line-height: 1.05;
    margin-bottom: 40px;
    padding: 0;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
    font-weight: 700;
}

.hero h1 .gradient-text {
    font-size: 180px;
    font-weight: 700;
    display: block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 .main-title {
    font-size: 120px;
    font-weight: 700;
    display: block;
    margin-top: -25px;
    color: #ffffff;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

.hero-buttons .btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
    position: relative;
    min-width: 120px;
    z-index: 20;
    margin-bottom: 25px;
}

.stat-icon {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    z-index: 2;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #4b9fff;
    line-height: 1;
    margin-bottom: 12px;
    margin-top: 16px;
    text-shadow: 0 0 20px rgba(75, 159, 255, 0.5);
    transition: all 0.3s ease;
}

.stat-number-highlighted {
    color: #5ae4ff;
    text-shadow: 0 0 25px rgba(90, 228, 255, 0.7);
    transform: scale(1.05);
}

.stat-label {
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    min-height: 20px;
    display: block !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 15;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 8px;
    z-index: 5;
    opacity: 1;
    visibility: visible;
}

.gradient-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-1);
    filter: blur(100px);
    opacity: 0.2;
    top: -150px;
    left: -150px;
    z-index: -1;
    animation: float 10s infinite ease-in-out;
}

.shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    filter: blur(30px);
    opacity: 0.05;
    top: 20%;
    right: 20%;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    filter: blur(40px);
    opacity: 0.05;
    bottom: 30%;
    left: 15%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    filter: blur(20px);
    opacity: 0.05;
    bottom: 20%;
    right: 30%;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-shape {
    position: absolute;
    opacity: 0.7;
    box-shadow: 0 0 20px rgba(110, 87, 224, 0.5);
    filter: blur(0.5px);
}

.fs-1 {
    top: 15%;
    left: 8%;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 20px;
    animation: float 6s infinite ease-in-out;
    opacity: 0.9;
    box-shadow: 0 0 40px rgba(110, 87, 224, 0.6);
}

.fs-2 {
    top: 60%;
    left: 15%;
    width: 80px;
    height: 80px;
    background: transparent;
    border: 4px solid var(--secondary-color);
    border-radius: 15px;
    animation: rotate-float 8s infinite linear;
    box-shadow: 0 0 40px rgba(75, 159, 255, 0.7);
    opacity: 0.9;
}

.fs-3 {
    top: 25%;
    right: 10%;
    width: 120px;
    height: 120px;
    background: transparent;
    border: 5px solid var(--accent-color);
    border-radius: 50%;
    animation: rotate-float 12s infinite linear;
    box-shadow: 0 0 40px rgba(125, 42, 232, 0.7);
    opacity: 0.9;
}

.fs-4 {
    bottom: 15%;
    right: 15%;
    width: 90px;
    height: 90px;
    background: var(--secondary-color);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: float 9s infinite ease-in-out;
    box-shadow: 0 0 40px rgba(75, 159, 255, 0.7);
    opacity: 0.9;
}

.fs-5 {
    top: 45%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    animation: float 7s infinite ease-in-out;
    animation-delay: 2s;
    opacity: 0.8;
    box-shadow: 0 0 30px rgba(125, 42, 232, 0.6);
}

.fs-6 {
    top: 70%;
    right: 25%;
    width: 70px;
    height: 70px;
    background: transparent;
    border: 3px solid var(--primary-color);
    transform: rotate(45deg);
    animation: rotate-float 10s infinite linear;
    animation-delay: 4s;
    opacity: 0.8;
    box-shadow: 0 0 35px rgba(110, 87, 224, 0.6);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes rotate-float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Servicios Section Styles */
.servicios {
    background-color: var(--darker-color);
    visibility: visible;
    opacity: 1;
}

/* Servicios Section Styles */
.servicios {
    background: var(--darker-color);
    padding: 60px 0;
    position: relative;
}

.servicios .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.servicios .section-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.servicios .section-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 40px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.service-card {
    background: rgba(25, 25, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: left;
    transition: all 0.05s ease;
    position: relative;
    backdrop-filter: blur(10px);
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(110, 87, 224, 0.6);
    background: rgba(35, 35, 55, 0.9);
    box-shadow: 0 15px 40px rgba(110, 87, 224, 0.3), 0 0 30px rgba(75, 159, 255, 0.2);
    transition: all 0.05s ease;
}

/* .service-card:hover .service-icon {
    background: var(--gradient-2);
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(125, 42, 232, 0.6);
} */

.service-card:hover h3 {
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(75, 159, 255, 0.5);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon i {
    font-size: 28px;
    color: white;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-features li:before {
    content: '•';
    color: #6e57e0;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Planes Section Styles */
.planes {
    background: var(--dark-color);
    padding: 60px 0;
    position: relative;
}

.planes .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.planes .section-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.planes .section-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: rgba(25, 25, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.05s ease;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(110, 87, 224, 0.6);
    background: rgba(35, 35, 55, 0.95);
    box-shadow: 0 20px 50px rgba(110, 87, 224, 0.4), 0 0 40px rgba(75, 159, 255, 0.3);
    transition: all 0.05s ease;
}

/* .pricing-card:hover .pricing-icon {
    background: var(--gradient-1);
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(110, 87, 224, 0.7);
} */

.pricing-card:hover h3 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 25px 60px rgba(110, 87, 224, 0.5), 0 0 50px rgba(125, 42, 232, 0.4);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.pricing-icon i {
    font-size: 28px;
    color: white;
}

.pricing-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.pricing-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.5;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 32px;
}

.pricing-price .currency {
    font-size: 24px;
    font-weight: 600;
    color: #6e57e0;
    margin-right: 4px;
}

.pricing-price .amount {
    font-size: 56px;
    font-weight: 700;
    color: #6e57e0;
    line-height: 1;
}

.pricing-price .period {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 8px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.pricing-features li i {
    color: #6e57e0;
    margin-right: 12px;
    font-size: 16px;
}

.pricing-action {
    text-align: center;
}

.pricing-action .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    font-weight: 600;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-gradient {
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    border: none;
    color: white;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(110, 87, 224, 0.3);
}

/* Portfolio Section Styles */
.portfolio {
    background: var(--darker-color);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.portfolio .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio .section-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portfolio .section-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Portfolio Slider Styles */
.portfolio-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-container {
    overflow: hidden;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.portfolio-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.portfolio-slide.active {
    opacity: 1;
}

.portfolio-item {
    background: linear-gradient(145deg, rgba(30, 30, 50, 0.95) 0%, rgba(20, 20, 35, 0.9) 100%);
    border: 1px solid rgba(110, 87, 224, 0.2);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    display: flex;
    gap: 40px;
    align-items: center;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(110, 87, 224, 0.05) 0%, rgba(75, 159, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover::before {
    opacity: 1;
}

/* Animated gradient border effect */
.portfolio-item::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #6e57e0, #4b9fff, #7d2ae8, #6e57e0);
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
}

.portfolio-item:hover::after {
    opacity: 0.6;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating animation for portfolio images */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.portfolio-mockup img {
    animation: float 6s ease-in-out infinite;
}

.portfolio-item.large {
    grid-row: unset;
}

.portfolio-mockup {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    max-width: 550px;
    height: 400px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.portfolio-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(110, 87, 224, 0.3);
}

.portfolio-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(110, 87, 224, 0.1) 50%, transparent 100%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-mockup:hover::before {
    opacity: 1;
}

/* Reglas originales comentadas para evitar conflictos con enlaces
.portfolio-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(110, 87, 224, 0.05) 100%);
    transition: transform 0.4s ease;
}

.portfolio-mockup:hover img {
    transform: scale(1.05);
}
*/

/* Tech Stack Overlay */
.mockup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(110, 87, 224, 0.3) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    z-index: 3;
    pointer-events: none; /* Permite que los clics pasen a través del overlay */
}

.portfolio-mockup:hover .mockup-overlay {
    opacity: 1;
}

/* Enlaces en imágenes del portfolio */
.portfolio-mockup a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    z-index: 4; /* Mayor que el overlay para que esté por encima */
    transition: all 0.3s ease;
}

.portfolio-mockup a:hover {
    transform: translateY(-2px);
}

.portfolio-mockup a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(110, 87, 224, 0.05) 100%);
    transition: transform 0.4s ease;
    cursor: pointer;
}

/* Efecto adicional para indicar que es clickeable */
.portfolio-mockup a::after {
    content: '🔗';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(110, 87, 224, 0.9);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.portfolio-mockup a:hover::after {
    opacity: 1;
    transform: scale(1.1);
}

.portfolio-mockup:hover a img {
    transform: scale(1.05);
}

.tech-stack {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    pointer-events: none; /* Permite que los clics pasen a través */
}

.tech-tag {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a2e;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    pointer-events: none; /* Permite que los clics pasen a través */
}

.tech-tag:hover {
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    color: white;
    transform: translateY(-2px);
}

.portfolio-details {
    flex: 1;
    padding: 20px 0;
    position: relative;
    z-index: 3;
}

.portfolio-category {
    display: inline-block;
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(110, 87, 224, 0.3);
}

.portfolio-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(110, 87, 224, 0.4);
}

.portfolio-details h3 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-details p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 90%;
}

/* Project Stats */
.project-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 15px;
    background: rgba(110, 87, 224, 0.1);
    border: 1px solid rgba(110, 87, 224, 0.3);
    border-radius: 12px;
    min-width: 80px;
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(110, 87, 224, 0.2);
    border-color: rgba(110, 87, 224, 0.5);
    transform: translateY(-3px);
}

.stat-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #4b9fff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #4b9fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 24px;
    border: 2px solid #4b9fff;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(75, 159, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.portfolio-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.portfolio-link:hover::before {
    left: 100%;
}

.portfolio-link:hover {
    background: linear-gradient(135deg, #4b9fff, #6e57e0);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(75, 159, 255, 0.4);
    border-color: transparent;
}

/* Navigation Buttons */
.portfolio-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(145deg, rgba(30, 30, 50, 0.95) 0%, rgba(20, 20, 35, 0.9) 100%);
    border: 2px solid rgba(110, 87, 224, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    z-index: 10;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-nav:hover {
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(110, 87, 224, 0.5);
}

.portfolio-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.portfolio-prev {
    left: -30px;
}

.portfolio-next {
    right: -30px;
}

.portfolio-nav i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.portfolio-nav:hover i {
    transform: scale(1.2);
}

/* Indicators */
.portfolio-indicators {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.portfolio-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.portfolio-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.portfolio-dot.active::before {
    width: 100%;
    height: 100%;
}

.portfolio-dot.active {
    background: transparent;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(110, 87, 224, 0.6);
}

.portfolio-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .portfolio {
        padding: 60px 0;
    }
    
    .portfolio .section-header h2 {
        font-size: 36px;
    }
    
    .portfolio-slider {
        padding: 0 15px;
    }
    
    .portfolio-item {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .portfolio-mockup {
        max-width: 100%;
        height: 280px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .portfolio-mockup img {
        object-fit: cover;
    }
    
    .portfolio-details {
        padding: 10px 0;
    }
    
    .portfolio-details h3 {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .portfolio-details p {
        max-width: 100%;
        margin-bottom: 25px;
    }
    
    .project-stats {
        gap: 15px;
        justify-content: center;
        margin-bottom: 25px;
    }
    
    .stat {
        padding: 12px 15px;
        min-width: 75px;
    }
    
    .mockup-overlay {
        padding: 15px;
    }
    
    .tech-stack {
        justify-content: center;
    }
    
    .portfolio-nav {
        width: 50px;
        height: 50px;
    }
    
    .portfolio-prev {
        left: -20px;
    }
    
    .portfolio-next {
        right: -20px;
    }
    
    .portfolio-nav i {
        font-size: 16px;
    }
    
    .portfolio-indicators {
        gap: 12px;
        margin-top: 30px;
    }
    
    .portfolio-dot {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .portfolio-item {
        padding: 25px 15px;
        gap: 25px;
    }
    
    .portfolio-mockup {
        height: 240px;
    }
    
    .portfolio-details h3 {
        font-size: 22px;
    }
    
    .portfolio-details p {
        font-size: 15px;
    }
    
    .project-stats {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .stat {
        padding: 12px 8px;
        min-width: 70px;
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .tech-stack {
        gap: 6px;
    }
    
    .tech-tag {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .portfolio-link {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .portfolio-nav {
        width: 45px;
        height: 45px;
    }
    
    .portfolio-prev {
        left: -15px;
    }
    
    .portfolio-next {
        right: -15px;
    }
}

.shape-divider .shape-fill {
    fill: var(--darker-color);
}

.shape-divider.bottom {
    bottom: auto;
    top: 0;
    transform: rotate(0);
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.portfolio-info h4 {
    margin-bottom: 5px;
    font-size: 20px;
}

.portfolio-info p {
    opacity: 0.8;
    margin-bottom: 15px;
    font-size: 14px;
}

.portfolio-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.portfolio-link:after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s;
}

.portfolio-link:hover:after {
    transform: translateX(5px);
}

/* Process Section Styles */
.proceso {
    background-color: var(--dark-color);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--gradient-1);
    opacity: 0.3;
    z-index: 1;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 1;
    transform: translateY(0) !important;
    visibility: visible;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    z-index: 2;
    position: relative;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(110, 87, 224, 0.5);
}

.step-content {
    background: rgba(15, 15, 28, 0.5);
    border-radius: 15px;
    padding: 25px 20px;
    width: 100%;
    box-shadow: var(--shadow-1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.step-content:hover {
    border-color: rgba(110, 87, 224, 0.6);
    transform: translateY(-5px);
    background: rgba(35, 35, 55, 0.9);
    box-shadow: 0 15px 40px rgba(110, 87, 224, 0.3), 0 0 25px rgba(75, 159, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-content:hover h3 {
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(75, 159, 255, 0.5);
}

.step-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.step-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* Prevent hover effects on specific internal elements */
.portfolio-mockup img,
.testimonial-author img,
.step-number,
.pricing-price .amount,
.service-features,
.pricing-features {
    transition: none !important;
    transform: none !important;
}

/* Removed conflicting hover rules for portfolio images */

/* Ensure numbers in process steps stay static */
.step-number {
    pointer-events: none;
    transition: none !important;
}

.step-number:hover {
    background: var(--gradient-1) !important;
    transform: none !important;
    scale: 1 !important;
    box-shadow: none !important;
}

/* Additional protection for images and small elements */
.testimonial-author img,
.portfolio-mockup img,
.author-info,
.portfolio-details,
.service-features li,
.pricing-features li {
    pointer-events: auto;
    transition: none !important;
}

/* Portfolio images maintain visibility */

.testimonial-author img:hover {
    transform: none !important;
    scale: 1 !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.step-content h3 {
    color: var(--light-color);
    font-size: 22px;
    margin-bottom: 10px;
}

/* Testimonios Section Styles */
.testimonios {
    background-color: var(--darker-color);
    position: relative;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: rgba(15, 15, 28, 0.5);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    border-color: rgba(110, 87, 224, 0.6);
    background: rgba(35, 35, 55, 0.9);
    box-shadow: 0 18px 45px rgba(110, 87, 224, 0.3), 0 0 35px rgba(75, 159, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-item:hover .testimonial-quote i {
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(75, 159, 255, 0.6);
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-quote i {
    color: var(--secondary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author .ai-portrait {
    border: 2px solid rgba(110, 87, 224, 0.3);
    box-shadow: 0 0 15px rgba(75, 159, 255, 0.3);
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.author-info p {
    opacity: 0.8;
    font-size: 14px;
    margin: 0;
}

/* FAQ Section Styles */
.faq {
    background-color: var(--dark-color);
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(110, 87, 224, 0.3);
    background: rgba(110, 87, 224, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: none;
}

.faq-question:hover h3 {
    color: var(--secondary-color);
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 500;
    color: var(--light-color);
    transition: color 0.3s ease;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    background: var(--gradient-1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-toggle i {
    color: white;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer p {
    margin: 0;
    padding: 0 0 24px 0;
    color: var(--gray-color);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 16px 24px 0 24px;
}

.faq-item.active .faq-toggle {
    background: var(--gradient-2);
    transform: rotate(45deg);
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

/* Contact Section Styles */
.contacto {
    background: #060612; /* Un color más oscuro que el fondo normal */
    padding: 60px 0;
    position: relative;
}

.contacto .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.contacto .section-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contacto .section-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-container {
    background: rgba(25, 25, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.contact-form-container h3 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(15, 15, 28, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6e57e0;
    box-shadow: 0 0 0 3px rgba(110, 87, 224, 0.1);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(110, 87, 224, 0.5);
    background: rgba(35, 35, 55, 0.8);
    box-shadow: 0 5px 15px rgba(110, 87, 224, 0.1);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-form {
    width: 100%;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-info {
    padding: 20px 0;
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-items {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(15, 15, 28, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(110, 87, 224, 0.6);
    background: rgba(35, 35, 55, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(110, 87, 224, 0.25), 0 0 20px rgba(75, 159, 255, 0.15);
}

.contact-item:hover .contact-icon {
    background: var(--gradient-2);
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(125, 42, 232, 0.6);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: white;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.response-guarantee {
    display: flex;
    align-items: flex-start;
    padding: 24px;
    background: rgba(15, 15, 28, 0.5);
    border: 1px solid rgba(110, 87, 224, 0.2);
    border-radius: 16px;
}

.guarantee-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.guarantee-icon i {
    font-size: 20px;
    color: white;
}

.response-guarantee h4 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.response-guarantee p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Footer Section Styles */
.footer {
    background: var(--darker-color);
    padding: 50px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 32px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item i {
    color: #6e57e0;
    font-size: 16px;
    width: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #6e57e0;
}

.footer-column p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(15, 15, 28, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #6e57e0;
}

.newsletter-form button {
    padding: 12px 20px;
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(15, 15, 28, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #6e57e0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        gap: 16px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary-color);
    }
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h2 {
    font-size: 32px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 15px;
}

.footer-logo p {
    max-width: 300px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 80px;
        line-height: 1.0;
    }

    .hero h1 .gradient-text {
        font-size: 80px;
    }

    .hero h1 .main-title {
        font-size: 80px;
        margin-top: -15px;
    }

    .hero-content {
        padding: 160px 30px 60px;
        max-width: 900px;
    }

    .hero-description {
        font-size: 18px;
        max-width: 700px;
    }

    .hero-stats {
        gap: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        margin-bottom: 80px;
        min-height: auto;
        align-items: center;
    }

    .process-step:nth-child(even) {
        flex-direction: column;
    }

    .step-number {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-bottom: 20px;
    }

    .step-content {
        width: 100%;
        margin: 0 !important;
        text-align: center !important;
    }

    .process-timeline:before {
        left: 50%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--dark-color);
        width: 100%;
        height: calc(100vh - 80px);
        transition: 0.5s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 40px 0;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hero {
        min-height: 100vh;
        height: auto;
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 48px;
        line-height: 1.1;
        margin-bottom: 30px;
    }

    .hero h1 .gradient-text {
        font-size: 48px;
        display: block;
        margin-bottom: 5px;
    }

    .hero h1 .main-title {
        font-size: 48px;
        margin-top: 0;
        display: block;
    }

    .hero-content {
        padding: 120px 20px 40px;
        max-width: 100%;
    }

    .hero-description {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 35px;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 15px;
    }

    .hero-stats {
        gap: 40px;
        margin-top: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-item {
        min-width: 80px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 13px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .portfolio-filter {
        overflow-x: auto;
        padding-bottom: 15px;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        min-height: 100vh;
        padding: 80px 0 40px;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 25px;
    }

    .hero h1 .gradient-text {
        font-size: 44px;
        margin-bottom: 5px;
    }

    .hero h1 .main-title {
        font-size: 32px;
        margin-top: 0;
    }

    .hero-content {
        padding: 100px 15px 30px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 260px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .hero-stats {
        gap: 30px;
        margin-top: 35px;
        padding-top: 30px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }
}

/* Extra small devices (320px - 375px) */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero h1 .gradient-text {
        font-size: 42px;
    }

    .hero h1 .main-title {
        font-size: 28px;
    }

    .hero-content {
        padding: 90px 10px 25px;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .hero-buttons .btn {
        max-width: 240px;
        padding: 11px 18px;
        font-size: 13px;
    }

    .hero-stats {
        gap: 25px;
        margin-top: 30px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }
}

/* Responsive Enhanced Rules */
@media (max-width: 768px) {
    .navbar {
        padding: 0 15px !important;
        justify-content: space-between !important;
    }
    
    .hamburger {
        display: flex !important;
        order: 3;
    }
    
    .cta-button {
        display: flex !important;
        order: 2;
        margin-right: 15px;
    }
    
    .cta-button .btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
        white-space: nowrap;
    }
    
    .nav-links {
        position: fixed !important;
        left: -100% !important;
        top: 80px !important;
        flex-direction: column !important;
        background-color: rgba(15, 15, 40, 0.98) !important;
        width: 100% !important;
        height: calc(100vh - 80px) !important;
        transition: 0.5s !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
        padding: 40px 0 !important;
        z-index: 999 !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .nav-links.active {
        left: 0 !important;
    }
    
    .nav-links li {
        margin: 15px 0 !important;
    }
    
    .hero {
        min-height: 100vh !important;
        height: auto !important;
        padding: 70px 0 0px !important;
    }
    
    .hero h1 {
        font-size: 62px !important;
        line-height: 1.1 !important;
        margin-bottom: 30px !important;
        animation: none !important;
    }
    
    .hero h1 .gradient-text,
    .hero h1 .main-title {
        font-size: 62px !important;
        display: block !important;
        margin-top: 0 !important;
    }
    
    .hero-content {
        padding: 120px 20px 40px !important;
        text-align: center !important;
        max-width: 100% !important;
    }
    
    .hero-description {
        font-size: 17px !important;
        line-height: 1.6 !important;
        margin-bottom: 35px !important;
        animation: none !important;
        max-width: 100% !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
        animation: none !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        max-width: 280px !important;
        padding: 14px 24px !important;
        font-size: 15px !important;
    }
    
    .hero-stats {
        gap: 40px !important;
        margin-top: 40px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        animation: none !important;
    }
    
    .stat-item {
        min-width: 80px !important;
    }
    
    .stat-number {
        font-size: 36px !important;
    }
    
    .stat-label {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px !important;
    }
    
    .navbar {
        padding: 0 10px !important;
    }
    
    .cta-button .btn {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }
    
    .hero {
        min-height: 100vh !important;
        padding: 80px 0 40px !important;
    }
    
    .hero h1 {
        font-size: 52px !important;
        line-height: 1.2 !important;
        margin-bottom: 25px !important;
    }
    
    .hero h1 .gradient-text,
    .hero h1 .main-title {
        font-size: 52px !important;
    }
    
    .hero-content {
        padding: 100px 15px 30px !important;
    }
    
    .hero-description {
        font-size: 16px !important;
        margin-bottom: 30px !important;
    }
    
    .hero-buttons .btn {
        max-width: 260px !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
    
    .hero-stats {
        gap: 30px !important;
        margin-top: 35px !important;
        padding-top: 30px !important;
    }
    
    .stat-number {
        font-size: 28px !important;
    }
    
    .stat-label {
        font-size: 12px !important;
    }
}

@media (max-width: 375px) {
    .navbar {
        padding: 0 8px !important;
    }
    
    .cta-button .btn {
        padding: 5px 8px !important;
        font-size: 10px !important;
    }
    
    .hero h1 {
        font-size: 48px !important;
    }
    
    .hero h1 .gradient-text,
    .hero h1 .main-title {
        font-size: 48px !important;
    }
    
    .hero-content {
        padding: 90px 10px 25px !important;
    }
    
    .hero-description {
        font-size: 15px !important;
        margin-bottom: 25px !important;
    }
    
    .hero-buttons .btn {
        max-width: 240px !important;
        padding: 11px 18px !important;
        font-size: 13px !important;
    }
    
    .hero-stats {
        gap: 25px !important;
        margin-top: 30px !important;
    }
    
    .stat-number {
        font-size: 24px !important;
    }
    
    .stat-label {
        font-size: 11px !important;
    }
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 80px;
        line-height: 1.0;
    }

    .hero h1 .gradient-text {
        font-size: 80px;
    }

    .hero h1 .main-title {
        font-size: 80px;
        margin-top: -15px;
    }

    .hero-content {
        padding: 160px 30px 60px;
        max-width: 900px;
    }

    .hero-description {
        font-size: 18px;
        max-width: 700px;
    }

    .hero-stats {
        gap: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        margin-bottom: 80px;
        min-height: auto;
        align-items: center;
    }

    .process-step:nth-child(even) {
        flex-direction: column;
    }

    .step-number {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-bottom: 20px;
    }

    .step-content {
        width: 100%;
        margin: 0 !important;
        text-align: center !important;
    }

    .process-timeline:before {
        left: 50%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--dark-color);
        width: 100%;
        height: calc(100vh - 80px);
        transition: 0.5s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 40px 0;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hero {
        min-height: 100vh;
        height: auto;
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 48px;
        line-height: 1.1;
        margin-bottom: 30px;
    }

    .hero h1 .gradient-text {
        font-size: 48px;
        display: block;
        margin-bottom: 5px;
    }

    .hero h1 .main-title {
        font-size: 48px;
        margin-top: 0;
        display: block;
    }

    .hero-content {
        padding: 120px 20px 40px;
        max-width: 100%;
    }

    .hero-description {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 35px;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 15px;
    }

    .hero-stats {
        gap: 40px;
        margin-top: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-item {
        min-width: 80px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 13px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .portfolio-filter {
        overflow-x: auto;
        padding-bottom: 15px;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        min-height: 100vh;
        padding: 80px 0 40px;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 25px;
    }

    .hero h1 .gradient-text {
        font-size: 36px;
        margin-bottom: 5px;
    }

    .hero h1 .main-title {
        font-size: 36px;
        margin-top: 0;
    }

    .hero-content {
        padding: 100px 15px 30px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 260px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .hero-stats {
        gap: 30px;
        margin-top: 35px;
        padding-top: 30px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }
}

/* Extra small devices (320px - 375px) */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero h1 .gradient-text {
        font-size: 32px;
    }

    .hero h1 .main-title {
        font-size: 32px;
    }

    .hero-content {
        padding: 90px 10px 25px;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .hero-buttons .btn {
        max-width: 240px;
        padding: 11px 18px;
        font-size: 13px;
    }

    .hero-stats {
        gap: 25px;
        margin-top: 30px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .hero-description {
        font-size: 17px !important;
        line-height: 1.6 !important;
        margin-bottom: 35px !important;
        animation: none !important;
        max-width: 100% !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
        animation: none !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        max-width: 280px !important;
        padding: 14px 24px !important;
        font-size: 15px !important;
    }
    
    .hero-stats {
        gap: 40px !important;
        margin-top: 40px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        animation: none !important;
    }
    
    .stat-item {
        min-width: 80px !important;
    }
    
    .stat-number {
        font-size: 36px !important;
    }
    
    .stat-label {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px !important;
    }
    
    .navbar {
        padding: 0 10px !important;
    }
    
    .cta-button .btn {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }
    
    .hero {
        min-height: 100vh !important;
        padding: 80px 0 40px !important;
    }
    
    .hero h1 {
        font-size: 52px !important;
        line-height: 1.2 !important;
        margin-bottom: 25px !important;
    }
    
    .hero h1 .gradient-text,
    .hero h1 .main-title {
        font-size: 52px !important;
    }
    
    .hero-content {
        padding: 100px 15px 30px !important;
    }
    
    .hero-description {
        font-size: 16px !important;
        margin-bottom: 30px !important;
    }
    
    .hero-buttons .btn {
        max-width: 260px !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
    
    .hero-stats {
        gap: 30px !important;
        margin-top: 35px !important;
        padding-top: 30px !important;
    }
    
    .stat-number {
        font-size: 28px !important;
    }
    
    .stat-label {
        font-size: 12px !important;
    }
}

@media (max-width: 375px) {
    .navbar {
        padding: 0 8px !important;
    }
    
    .cta-button .btn {
        padding: 5px 8px !important;
        font-size: 10px !important;
    }
    
    .hero h1 {
        font-size: 48px !important;
    }
    
    .hero h1 .gradient-text,
    .hero h1 .main-title {
        font-size: 48px !important;
    }
    
    .hero-content {
        padding: 90px 10px 25px !important;
    }
    
    .hero-description {
        font-size: 15px !important;
        margin-bottom: 25px !important;
    }
    
    .hero-buttons .btn {
        max-width: 240px !important;
        padding: 11px 18px !important;
        font-size: 13px !important;
    }
    
    .hero-stats {
        gap: 25px !important;
        margin-top: 30px !important;
    }
    
    .stat-number {
        font-size: 24px !important;
    }
    
    .stat-label {
        font-size: 11px !important;
    }
}


/* Additional responsive fixes for hero text sizing */
@media (max-width: 1024px) {
    .hero h1 .gradient-text {
        font-size: 130px !important;
    }

    .hero h1 .main-title {
        font-size: 100px !important;
    }
}

@media (max-width: 768px) {
    .hero h1 .gradient-text {
        font-size: 80px !important;
    }

    .hero h1 .main-title {
        font-size: 60px !important;
    }
}

@media (max-width: 480px) {
    .hero h1 .gradient-text {
        font-size: 55px !important;
    }

    .hero h1 .main-title {
        font-size: 42px !important;
    }
}

/* Critical Mobile Menu Fix */
@media (max-width: 768px) {
    .navbar {
        z-index: 1000 !important;
    }
    
    .hamburger {
        display: flex !important;
        z-index: 1002 !important;
    }
    
    .nav-links {
        z-index: 1001 !important;
        transition: left 0.3s ease-in-out !important;
        justify-content: flex-start !important;
        align-items: center !important;
        overflow-y: auto !important;
    }
    
    .nav-links.active {
        left: 0 !important;
    }
    
    .nav-links li {
        text-align: center !important;
        width: 100% !important;
    }
    
    .nav-links a {
        font-size: 18px !important;
        padding: 10px 20px !important;
        display: block !important;
        width: 100% !important;
    }
    
    .cta-button {
        display: none !important;
    }
}

/* CRITICAL FIX: Ensure CTA button is always visible on desktop */
@media (min-width: 769px) {
    .navbar .cta-button {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .navbar .cta-button .btn {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Override any rules that might be hiding the CTA button on desktop */
.navbar .cta-button {
    display: flex !important;
}

@media (min-width: 769px) {
    .cta-button {
        display: flex !important;
    }
}

/* FormSubmit Message Styles */
.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    animation: slideInFromTop 0.5s ease-out;
}

.form-message-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.form-message i {
    font-size: 18px;
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FormSubmit loading spinner for submit button */
.btn-form:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message Styles - En la misma página */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 6, 14, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-message.show {
    opacity: 1;
    visibility: visible;
}

.success-content {
    background: rgba(25, 25, 40, 0.95);
    border: 1px solid rgba(110, 87, 224, 0.3);
    border-radius: 24px;
    padding: 60px 50px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(110, 87, 224, 0.4), 0 0 50px rgba(75, 159, 255, 0.3);
    transform: scale(0.8) translateY(30px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-message.show .success-content {
    transform: scale(1) translateY(0);
}

.success-content .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 0 30px rgba(110, 87, 224, 0.6);
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(110, 87, 224, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(110, 87, 224, 0.8);
    }
}

.success-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.success-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.success-close-btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    background: transparent;
    border: 2px solid rgba(110, 87, 224, 0.6);
    color: #6e57e0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.success-close-btn:hover {
    background: linear-gradient(135deg, #6e57e0, #4b9fff);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(110, 87, 224, 0.4);
}

.success-close-btn i {
    font-size: 14px;
}

/* Responsive para el mensaje de éxito */
@media (max-width: 768px) {
    .success-content {
        padding: 40px 30px;
        margin: 20px;
    }
    
    .success-content h3 {
        font-size: 28px;
    }
    
    .success-content p {
        font-size: 16px;
    }
    
    .success-content .success-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

/* ===== POPUP STYLES ===== */
.success-popup, .error-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.success-popup.show, .error-popup.show {
    opacity: 1;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 9, 27, 0.9);
    backdrop-filter: blur(10px);
}

.popup-content {
    background: linear-gradient(135deg, rgba(15, 15, 40, 0.95) 0%, rgba(30, 30, 60, 0.95) 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(110, 87, 224, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.success-popup.show .popup-content,
.error-popup.show .popup-content {
    transform: translateY(0);
}

.popup-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--gradient-1);
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(110, 87, 224, 0.4);
}

.popup-icon.error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.popup-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-popup .popup-content h3 {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.popup-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.detail-item i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.popup-btn {
    min-width: 150px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.popup-contact {
    margin-bottom: 25px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(75, 159, 255, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(75, 159, 255, 0.1);
}

.contact-link:hover {
    background: rgba(75, 159, 255, 0.2);
    border-color: rgba(75, 159, 255, 0.5);
    transform: translateY(-2px);
}

/* Responsive para popups */
@media (max-width: 768px) {
    .popup-content {
        padding: 30px 25px;
        margin: 20px;
    }
    
    .popup-content h3 {
        font-size: 1.5rem;
    }
    
    .popup-content p {
        font-size: 1rem;
    }
    
    .popup-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .popup-details {
        flex-direction: column;
        gap: 15px;
    }
    
    .popup-btn {
        min-width: 120px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 25px 20px;
    }
    
    .popup-details {
        gap: 10px;
    }
    
    .detail-item {
        font-size: 0.9rem;
    }
}

/* Stats Text Visibility Fixes */

/* Desktop Stats Fixes */
.hero-stats {
    gap: 80px !important;
    margin-top: 60px !important;
    padding-top: 40px !important;
    padding-bottom: 20px !important;
    min-height: 140px !important;
    overflow: visible !important;
    position: relative !important;
}

.stat-item {
    min-width: 140px !important;
    padding: 0 10px !important;
    overflow: visible !important;
    position: relative !important;
}

.stat-icon {
    width: 24px !important;
    height: 24px !important;
    font-size: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: -8px !important;
}

.stat-number {
    font-size: 48px !important;
    font-weight: 700 !important;
    color: var(--secondary-color) !important;
    line-height: 1 !important;
    margin-bottom: 15px !important;
    margin-top: 16px !important;
    text-shadow: 0 0 20px rgba(75, 159, 255, 0.5) !important;
}

.stat-label {
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    line-height: 1.4 !important;
    min-height: 25px !important;
    display: block !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 10 !important;
}

@media (max-width: 1024px) {
    .hero-stats {
        gap: 60px !important;
        margin-top: 50px !important;
        min-height: 120px !important;
    }

    .stat-item {
        min-width: 120px !important;
    }

    .stat-number {
        font-size: 42px !important;
    }

    .stat-label {
        font-size: 14px !important;
        color: rgba(255, 255, 255, 0.95) !important;
        line-height: 1.3 !important;
        min-height: 22px !important;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 40px !important;
        margin-top: 40px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        padding-top: 35px !important;
    }

    .stat-item {
        min-width: 90px !important;
        margin-bottom: 20px !important;
    }

    .stat-icon {
        width: 22px !important;
        height: 22px !important;
        font-size: 11px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .stat-number {
        font-size: 36px !important;
        margin-bottom: 10px !important;
        margin-top: 18px !important;
    }

    .stat-label {
        font-size: 13px !important;
        color: rgba(255, 255, 255, 0.95) !important;
        min-height: 22px !important;
        line-height: 1.3 !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 30px !important;
        margin-top: 35px !important;
        padding-top: 30px !important;
    }

    .stat-item {
        min-width: 85px !important;
    }

    .stat-number {
        font-size: 28px !important;
        margin-bottom: 8px !important;
    }

    .stat-label {
        font-size: 12px !important;
        color: rgba(255, 255, 255, 0.95) !important;
        min-height: 20px !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 375px) {
    .hero-stats {
        gap: 25px !important;
        margin-top: 30px !important;
    }

    .stat-number {
        font-size: 24px !important;
    }

    .stat-label {
        font-size: 11px !important;
        color: rgba(255, 255, 255, 0.95) !important;
        min-height: 18px !important;
    }
}

/* Sección divisoria entre FAQ y Contacto */
.section-divider {
    width: 100%;
    height: 8px;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    z-index: 10;
    background-color: #0f0f1c; /* Color base oscuro */
}

.divider-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-2); /* Usando el gradiente definido en variables */
    animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
        opacity: 0.7;
    }
    50% {
        background-position: 100% 50%;
        opacity: 1;
    }
    100% {
        background-position: 0% 50%;
        opacity: 0.7;
    }
}

/* Responsive adicional para el proceso */
@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        max-width: 100% !important;
    }

    .process-timeline:before {
        display: block !important;
        left: 40px !important;
        right: auto !important;
        top: 80px !important;
        bottom: 0 !important;
        width: 2px !important;
        height: calc(100% - 80px) !important;
    }

    .process-step {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 20px !important;
    }

    .step-number {
        flex-shrink: 0 !important;
        width: 60px !important;
        height: 60px !important;
        font-size: 20px !important;
        margin-bottom: 0 !important;
        z-index: 3 !important;
        position: relative !important;
    }

    .step-content {
        flex: 1 !important;
        padding: 20px !important;
        text-align: left !important;
        margin-top: 10px !important;
    }

    .step-content h3 {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }

    .step-content p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
}
