/* Services Page Specific Styles */

/* Hero Section */
.services-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0f1a 0%, #050813 100%);
    color: #fff;
    padding: 120px 0 80px;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/particle-bg.png') center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin: -3cm 0 20px 0;
    padding: 0;
    background: linear-gradient(90deg, #00f3ff, #00ffaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: block;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: #a0a8c0;
    margin-bottom: 40px;
    line-height: 1.6;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-down i {
    margin-top: 10px;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Services Grid */
.services-grid {
    padding: 100px 0;
    position: relative;
    background: #0a0f1a;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 243, 255, 0.1);
    color: #00f3ff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

.highlight {
    color: #00f3ff;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #00f3ff, rgba(0, 243, 255, 0.2));
    z-index: -1;
    opacity: 0.7;
    border-radius: 4px;
}

/* Service Cards */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(15, 20, 40, 0.6);
    border-radius: 15px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.05) 0%, rgba(0, 255, 170, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 120px;
    height: 120px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    position: relative;
    z-index: 1;
}

.icon-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-icon i {
    font-size: 3.5rem;
    color: #00f3ff;
    z-index: 2;
}

.pulse-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 243, 255, 0.4);
    border-radius: 20px;
    z-index: 1;
    animation: pulse 2s infinite;
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    70% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* Números de servicio eliminados */

.service-content h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-content p {
    color: #a0a8c0;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.service-features li {
    color: #d1d5e0;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    font-size: 0.95rem;
}

.service-features li i {
    color: #00ffaa;
    margin-right: 8px;
    font-size: 0.8em;
    vertical-align: middle;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    color: #00f3ff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.service-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00f3ff, #00ffaa);
    transition: width 0.3s ease;
}

.service-cta:hover {
    color: #fff;
}

.service-cta:hover::after {
    width: 100%;
}

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

.service-cta:hover i {
    transform: translateX(5px);
}

.service-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 243, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover .service-hover-effect {
    opacity: 1;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #0e1422;
    position: relative;
    overflow: hidden;
}

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

.feature-card {
    background: rgba(15, 20, 40, 0.6);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.05) 0%, rgba(0, 255, 170, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 243, 255, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: #00f3ff;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #00f3ff, #00ffaa);
    color: #0a0f1a;
    transform: rotateY(180deg);
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-card p {
    color: #a0a8c0;
    line-height: 1.6;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: #0a0f1a;
    position: relative;
    overflow: hidden;
}

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

.testimonial-card {
    background: rgba(15, 20, 40, 0.6);
    border-radius: 15px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.quote-icon {
    font-size: 2.5rem;
    color: rgba(0, 243, 255, 0.2);
    margin-bottom: 20px;
}

.testimonial-card p {
    color: #d1d5e0;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid #00f3ff;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #00f3ff;
}

.author-info h4 {
    color: #fff;
    margin: 0 0 5px;
    font-size: 1.1rem;
}

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

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0f1a 0%, #050813 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    color: #a0a8c0;
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

.btn-primary {
    background: linear-gradient(90deg, #00f3ff, #00ffaa);
    color: #0a0f1a;
    box-shadow: 0 10px 20px rgba(0, 243, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 243, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #00f3ff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #00f3ff, #00ffaa);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: #0a0f1a;
    border-color: transparent;
}

.btn-secondary:hover::before {
    width: 100%;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    color: #fff;
    overflow: hidden;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00ff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: 2px 0 #00ffff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
    }
    20% {
        clip: rect(112px, 9999px, 76px, 0);
    }
    40% {
        clip: rect(75px, 9999px, 77px, 0);
    }
    60% {
        clip: rect(42px, 9999px, 30px, 0);
    }
    80% {
        clip: rect(98px, 9999px, 68px, 0);
    }
    100% {
        clip: rect(98px, 9999px, 38px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(65px, 9999px, 119px, 0);
    }
    20% {
        clip: rect(25px, 9999px, 145px, 0);
    }
    40% {
        clip: rect(106px, 9999px, 50px, 0);
    }
    60% {
        clip: rect(93px, 9999px, 66px, 0);
    }
    80% {
        clip: rect(120px, 9999px, 120px, 0);
    }
    100% {
        clip: rect(85px, 9999px, 140px, 0);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.2rem;
    }
    
    .services-container,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        margin: 5px 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content .subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .service-card,
    .feature-card,
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
}

/* AOS Animation Delay */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"] {
    transform: translateX(30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Particle Effects */
.hero-particles,
.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0f1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#00f3ff, #00ffaa);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(#00d9e6, #00e69c);
}
