/* Reset y variables globales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00ff88;
    --secondary: #0066ff;
    --accent: #ff0066;
    --dark: #0a0a0a;
    --gray: #1a1a1a;
    --light-gray: #333;
    --text: #ffffff;
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #0a0a0a, #1a1a2e, #16213e);
    animation: bgShift 10s ease-in-out infinite;
}

.bg-animation::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 136, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 102, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { background: linear-gradient(45deg, #0a0a0a, #1a1a2e, #16213e); }
    50% { background: linear-gradient(45deg, #16213e, #0a0a0a, #1a1a2e); }
}

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

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 50%;
    animation: particles 15s linear infinite;
}

@keyframes particles {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 12px 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.15);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-brand {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    padding: 6px 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.logo:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
}

.logo-image {
    width: 75px;
    height: 75px;
    border-radius: 12px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
    object-fit: contain;
}

.logo:hover .logo-image {
    transform: scale(1.1) rotate(5deg);
}

.logo-text {
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: logoGlow 2s ease-in-out infinite;
}



@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

@keyframes logoGlow {
    0% { opacity: 0; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(0); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 16px;
    border-radius: 20px;
    font-weight: 600;
    overflow: hidden;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
}

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

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

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-3px) scale(1.05);
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.2);
}



.nav-text {
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.2), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    pointer-events: none;
}

.nav-link:hover::after {
    width: 100px;
    height: 100px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 25px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 255, 136, 0.1);
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

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

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 60%;
    animation-delay: 4s;
}

.shape-4 {
    width: 80px;
    height: 80px;
    top: 80%;
    right: 5%;
    animation-delay: 1s;
}

.hero-content {
    z-index: 2;
    max-width: 600px;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 8px 16px;
    border-radius: 25px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.badge-icon {
    font-size: 18px;
    color: var(--primary);
    font-weight: bold;
    animation: pulse 2s ease-in-out infinite;
}

.badge-text {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
}

.hero-title {
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.title-line {
    display: block;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

.title-line:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes titleGlow {
    0%, 100% { 
        filter: brightness(1) drop-shadow(0 0 10px rgba(0, 255, 136, 0.3)); 
    }
    50% { 
        filter: brightness(1.3) drop-shadow(0 0 30px rgba(0, 255, 136, 0.6)); 
    }
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #ccc;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.hero .description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #aaa;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.9s both;
}



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

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 1.3s both;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.scroll-text {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
    font-weight: 500;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    margin: 0 auto;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.hero-visual {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    z-index: 1;
    width: 200px;
    height: 300px;
}

.floating-card {
    position: absolute;
    background: rgba(26, 26, 26, 0.95);
    border: 2px solid rgba(0, 255, 136, 0.4);
    border-radius: 15px;
    padding: 15px 12px;
    text-align: center;
    backdrop-filter: blur(15px);
    animation: float 4s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 100px;
    max-width: 120px;
}

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

.floating-card:hover::before {
    left: 100%;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.4);
    background: rgba(26, 26, 26, 0.98);
}

.card-1 {
    top: -80px;
    right: 20px;
    animation-delay: 0s;
}

.card-2 {
    top: 20px;
    right: -20px;
    animation-delay: 1.5s;
}

.card-3 {
    top: 120px;
    right: 40px;
    animation-delay: 3s;
}

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: block;
    animation: iconPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5));
}

.card-1 .card-icon {
    animation-delay: 0s;
}

.card-2 .card-icon {
    animation-delay: 0.5s;
}

.card-3 .card-icon {
    animation-delay: 1s;
}

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

.card-text {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.card-subtitle {
    font-size: 9px;
    color: #aaa;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.8;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.2), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    pointer-events: none;
}

.floating-card:hover .card-glow {
    width: 200px;
    height: 200px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

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

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

/* Code Terminal Section */
.terminal-section {
    padding: 100px 0;
    background: rgba(16, 16, 16, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
}

.terminal {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--primary);
}

.terminal-header {
    background: #2a2a2a;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.dot-red { background: #ff4444; }
.dot-yellow { background: #ffff44; }
.dot-green { background: var(--primary); }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.terminal-body {
    padding: 30px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.terminal-line {
    margin-bottom: 10px;
    opacity: 0;
    animation: typewriter 0.5s ease-out forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.5s; }
.terminal-line:nth-child(2) { animation-delay: 1s; }
.terminal-line:nth-child(3) { animation-delay: 1.5s; }
.terminal-line:nth-child(4) { animation-delay: 2s; }
.terminal-line:nth-child(5) { animation-delay: 2.5s; }
.terminal-line:nth-child(6) { animation-delay: 3s; }
.terminal-line:nth-child(7) { animation-delay: 3.5s; }

@keyframes typewriter {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.prompt { color: var(--primary); }
.command { color: var(--secondary); }
.string { color: var(--accent); }
.comment { color: #888; }

/* Services Section */
.services {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: rgba(26, 26, 26, 0.8);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card p {
    color: #ccc;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 5px 0;
    color: #aaa;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Technologies Section */
.technologies {
    padding: 100px 0;
    background: rgba(16, 16, 16, 0.5);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.tech-item {
    text-align: center;
    padding: 30px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.tech-item:hover::after {
    width: 200px;
    height: 200px;
}

.tech-item:hover {
    transform: translateY(-5px) rotateY(5deg);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.2);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Form */
.contact {
    padding: 100px 0;
    position: relative;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.7));
    padding: 60px;
    border-radius: 25px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 255, 136, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    background: rgba(10, 10, 10, 0.6);
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

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

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: rgba(0, 255, 136, 0.7);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Indicadores de campo */
.field-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.field-indicator.active {
    width: 100%;
}

/* Mensaje de estado único del formulario */
.form-status {
    margin-top: 30px;
    padding: 25px;
    border-radius: 20px;
    animation: slideInUp 0.5s ease-out;
    display: none;
}

.form-status.success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--primary);
}

.form-status.error {
    background: rgba(255, 0, 102, 0.1);
    border: 1px solid rgba(255, 0, 102, 0.3);
    color: var(--accent);
}

.status-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.status-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.status-text p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* Botón de envío mejorado */
.submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary), #00cc6a);
    border: none;
    padding: 18px 30px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 
        0 8px 25px rgba(0, 255, 136, 0.3),
        0 0 0 1px rgba(0, 255, 136, 0.2);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 35px rgba(0, 255, 136, 0.4),
        0 0 0 1px rgba(0, 255, 136, 0.3);
    background: linear-gradient(135deg, #00ff88, var(--primary));
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 
        0 5px 20px rgba(0, 255, 136, 0.3),
        0 0 0 1px rgba(0, 255, 136, 0.2);
}

.submit-btn::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;
}

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

.btn-loader {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--text);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Contador de caracteres */
.char-counter {
    color: #888;
    font-size: 0.8rem;
    text-align: right;
    margin-top: 5px;
    transition: color 0.3s ease;
}

/* Mensajes de error de validación */
.error-message {
    color: var(--accent);
    font-size: 0.8rem;
    margin-top: 5px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}



/* Animaciones del formulario */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estados de validación */
.form-group.valid input,
.form-group.valid textarea,
.form-group.valid select {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 0, 102, 0.2);
}

/* Mejoras en campos del formulario */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.4);
    transform: scale(1.02);
}

.form-group label {
    transition: color 0.3s ease;
}

.form-group:focus-within label {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Responsive del formulario */
@media (max-width: 768px) {
    .form-container {
        max-width: 95%;
        padding: 40px 30px;
        margin: 0 20px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 16px 18px;
        font-size: 16px; /* Evita zoom en iOS */
    }
    
    .submit-btn {
        padding: 16px 25px;
        font-size: 1rem;
    }
    
    .form-status {
        padding: 20px;
    }
    
    .status-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .status-icon {
        margin-bottom: 0;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 30px 20px;
    }
    
    .form-group {
        margin-bottom: 25px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}

/* Footer */
footer {
    background: rgba(10, 10, 10, 0.9);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    color: #888;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* Animaciones adicionales */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-8px) rotate(1deg); 
    }
    50% { 
        transform: translateY(-15px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-8px) rotate(-1deg); 
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.lang-switch {
    display: flex;
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 14px;
    background: transparent;
    border: none;
    position: relative;
    min-width: 50px;
}

.lang-btn.active {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.lang-btn:not(.active) {
    color: #888;
}

.lang-btn:hover:not(.active) {
    color: var(--primary);
    background: rgba(0, 255, 136, 0.1);
}

.lang-text {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Language Toggle Responsive */
@media (max-width: 768px) {
    .language-toggle {
        bottom: 15px;
        right: 15px;
    }
    
    .lang-switch {
        border-radius: 20px;
    }
    
    .lang-btn {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 45px;
    }
}

@media (max-width: 480px) {
    .language-toggle {
        bottom: 10px;
        right: 10px;
    }
    
    .lang-btn {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 40px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: rgba(16, 16, 16, 0.5);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: rgba(26, 26, 26, 0.8);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.3);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-content p {
    color: #ccc;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.author-avatar {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 136, 0.3);
}

.author-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info span {
    color: #888;
    font-size: 0.9rem;
}



/* Process Section */
.process {
    padding: 100px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    padding: 30px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.process-step:hover::before {
    left: 100%;
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.3);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.process-step h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.process-step p {
    color: #ccc;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: rgba(16, 16, 16, 0.5);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: rgba(26, 26, 26, 0.8);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.3);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

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

.pricing-card:hover::before {
    left: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.currency {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
}

.amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
}

.period {
    color: #888;
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    color: #ccc;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--gray) 100%);
}

.section-subtitle {
    text-align: center;
    color: #ccc;
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.why-choose-card {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.why-choose-card:hover::before {
    left: 100%;
}

.why-choose-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.15);
}

.why-choose-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.why-choose-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.why-choose-card p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

.why-choose-features {
    list-style: none;
    padding: 0;
}

.why-choose-features li {
    color: #aaa;
    margin-bottom: 8px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.why-choose-card:hover .why-choose-features li {
    color: #fff;
}

.why-choose-cta {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%);
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    border: 1px solid rgba(0, 255, 136, 0.2);
    position: relative;
    overflow: hidden;
}

.why-choose-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    color: #ccc;
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    color: #ccc;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

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

.faq-item {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

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

.faq-question:hover {
    background: rgba(0, 255, 136, 0.05);
}

.faq-question h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 102, 255, 0.1));
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
}

.stat-label {
    color: #888;
    font-size: 0.9rem;
    margin-top: 5px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .title-line {
        font-size: 3.5rem;
    }
    

}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(0, 255, 136, 0.2);
        flex-direction: column;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .cta-stats {
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .nav-links.mobile-active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        justify-content: center;
        padding: 15px 20px;
        border-radius: 15px;
        border-bottom: 1px solid rgba(0, 255, 136, 0.1);
        margin: 5px 20px;
        background: rgba(0, 255, 136, 0.05);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-actions .btn-sm {
        display: none;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .title-line {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .hero .description {
        font-size: 1rem;
    }
    

    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 30px;
        margin: 0 20px;
    }
    
        .services-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-choose-card {
        padding: 25px;
    }

    .why-choose-cta {
        padding: 40px 30px;
    }

    .cta-content h3 {
        font-size: 28px;
    }

    .cta-stats {
        gap: 30px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .title-line {
        font-size: 2rem;
    }
    
    .hero-badge {
        flex-direction: column;
        gap: 5px;
    }
    
    .nav-container {
        gap: 10px;
    }
    
    .logo {
        padding: 6px 10px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-image {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 20px;
    }
} 