/* =====================================================
   DESARROLLO WEB - MODERN STYLES
   Paleta: Negro (#000, #1a1a1a), Azul (#2196F3, #1976D2), Blanco (#fff)
   ===================================================== */

:root {
    --primary-blue: #2196F3;
    --dark-blue: #1976D2;
    --bg-dark: #1a1a1a;
    --bg-darker: #000000;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --accent-shadow: rgba(33, 150, 243, 0.3);
}

/* ===== SECCIÓN PRINCIPAL ===== */
.desarrollo-web-hero {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.desarrollo-web-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-shadow) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
    color: var(--bg-darker);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px var(--accent-shadow);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-image {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

/* Ocultar imagen original si existe */
.hero-image img {
    display: none;
}

/* ===== SECCIÓN DE DEFINICIÓN ===== */
.web-definition {
    padding: 80px 0;
    background: var(--text-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-darker);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
    border-radius: 2px;
}

.definition-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.definition-highlight {
    background: linear-gradient(120deg, rgba(33, 150, 243, 0.1) 0%, transparent 100%);
    border-left: 4px solid var(--primary-blue);
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

/* ===== COMPONENTES DEL DESARROLLO WEB ===== */
.web-components {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.component-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.component-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.component-card:hover::before {
    transform: scaleX(1);
}

.component-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--accent-shadow);
}

.component-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.75rem;
    color: var(--bg-darker);
}

.component-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.component-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.component-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.component-features li {
    padding: 8px 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 25px;
}

.component-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* ===== BENEFICIOS ===== */
.benefits-section {
    padding: 80px 0;
    background: var(--text-light);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(10px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
    color: var(--bg-darker);
}

.benefit-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bg-darker);
    margin-bottom: 8px;
}

.benefit-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ===== PROCESO ===== */
.process-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.process-timeline {
    position: relative;
    padding: 40px 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-darker);
    margin-right: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px var(--accent-shadow);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    width: 2px;
    height: calc(100% + 50px);
    background: linear-gradient(180deg, var(--primary-blue), transparent);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-content {
    flex: 1;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== TECNOLOGÍAS ===== */
.technologies-section {
    padding: 80px 0;
    background: var(--text-light);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tech-item {
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.tech-item:hover .tech-icon {
    filter: grayscale(0%);
}

.tech-name {
    font-weight: 600;
    color: var(--bg-darker);
    font-size: 1rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-shadow) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-blue {
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
    color: var(--text-light);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px var(--accent-shadow);
}

.btn-primary-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px var(--accent-shadow);
    color: var(--text-light);
}

.btn-secondary-outline {
    background: transparent;
    color: var(--primary-blue);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
    margin-left: 20px;
}

.btn-secondary-outline:hover {
    background: var(--primary-blue);
    color: var(--text-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-number {
        margin-bottom: 15px;
    }
    
    .timeline-item::before {
        left: 30px;
        top: 60px;
    }
}

@media (max-width: 768px) {
    .desarrollo-web-hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 20px;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .btn-secondary-outline {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .component-card {
        padding: 20px;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}