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

/* Hide sections */

.partners {
    display: none;
}

:root {
    --primary-color: #8b5cf6;
    --secondary-color: #a855f7;
    --accent-color: #3b82f6;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --bg-primary: #0f0f23;
    --bg-secondary: #1a1b3a;
    --bg-card: #252550;
    --border-color: #3730a3;
    --border-light: #312e81;
    --shadow-sm: 0 1px 2px 0 rgb(139 92 246 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(139 92 246 / 0.2);
    --shadow-lg: 0 10px 15px -3px rgb(139 92 246 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(139 92 246 / 0.4);
    --glow-primary: 0 0 20px rgb(139 92 246 / 0.4);
    --glow-accent: 0 0 30px rgb(59 130 246 / 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header y navegación */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 24px;
}

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

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.contact-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.2s ease;
    font-weight: 600;
    box-shadow: var(--glow-primary);
    border: 1px solid var(--primary-color);
}

.contact-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--glow-accent);
    border-color: var(--accent-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Menu Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* WhatsApp Button Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 12px;
        right: 12px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* Botones */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--glow-primary);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: var(--glow-accent);
    border-color: var(--accent-color);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.full-width {
    width: 100%;
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    opacity: 0;
    transform: translateX(-30px);
    animation: heroTitleEntry 1s ease-out forwards;
    animation-delay: 0.5s;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: heroButtonsEntry 1s ease-out forwards;
    animation-delay: 1.2s;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 110%;
    height: auto;
    max-width: 650px;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    opacity: 0;
    animation: heroImageFade 1.2s ease-out forwards;
    animation-delay: 0.8s;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-cube,
.floating-pyramid,
.floating-sphere {
    position: absolute;
    background: var(--primary-color);
    border-radius: 16px;
    opacity: 0.1;
    box-shadow: var(--shadow-lg);
}

.floating-cube {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 5%;
}

.floating-pyramid {
    width: 80px;
    height: 80px;
    top: 65%;
    right: 15%;
    border-radius: 50%;
}

.floating-sphere {
    width: 140px;
    height: 140px;
    top: 35%;
    right: 35%;
    border-radius: 50%;
}

/* Secciones */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Servicios */
.services {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

.service-card li:last-child {
    border-bottom: none;
}

/* Precios */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow-primary);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.02);
    box-shadow: var(--glow-primary);
    background: linear-gradient(135deg, var(--bg-card), rgba(139, 92, 246, 0.05));
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

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

/* About */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 1.5rem;
}

.feature h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

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

.tech-item {
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    font-weight: 600;
}

/* Contacto */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-label {
    font-weight: 600;
    color: var(--primary-color);
}

.form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(240, 148, 51, 0.3);
    border-color: transparent;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive */
/* Tablet styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 1rem 16px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-light);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 2rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-light);
        font-size: 1rem;
        text-align: left;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .contact-btn {
        margin-top: 1rem;
        text-align: center;
        border-radius: 12px;
        padding: 0.75rem 1.5rem;
        border-bottom: none !important;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 450px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {

    .cursor-trail {
       background-color: transparent;
    }

    .hero-visual {
        margin-top: 30px;
        transform: scale(0.9);

    }

    .hero-container {
        gap: 0 !important;
    }

    .container {
        padding: 0 12px;
    }

    .nav-container {
        padding: 0.75rem 12px;
    }

    .logo-img {
        height: 32px;
    }

    .hamburger {
        width: 24px;
        height: 24px;
    }

    .nav-menu {
        width: 250px;
        padding: 70px 1.5rem 1.5rem 1.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.75rem 0;
    }

    .contact-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }

    .hero {
        padding-top: 70px;
        min-height: 85vh;
    }

    .hero-container,
    .about-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 1rem;
    }

    .floating-element {
        display: none;
    }

    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .container {
        padding: 0 30px;
    }

    .nav-container {
        padding: 1rem 20px;
    }

    .logo-img {
        height: 28px;
    }

    .hamburger {
        width: 22px;
        height: 22px;
    }

    .nav-menu {
        width: 220px;
        padding: 60px 1rem 1rem 1rem;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.6rem 0;
    }

    .contact-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero {
        padding-top: 60px;
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .btn {
        max-width: 100%;
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }
}

/* Efectos tecnológicos adicionales */
.service-card::before,
.pricing-card::before,
.form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.tech-item:hover {
    background: var(--bg-card);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

/* Portfolio */
.portfolio {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-8px);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.portfolio-image img {
    width: 90%;
    height: auto;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4)) drop-shadow(0 8px 15px rgba(0, 0, 0, 0.3));
}

.portfolio-item:hover .portfolio-image img {
    transform: translateY(-8px);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35)) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

.portfolio-image::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 25px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 80%);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.portfolio-item:hover .portfolio-image::after {
    transform: translateX(-50%) translateY(5px);
    width: 80%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 80%);
}

.portfolio-placeholder {
    color: var(--text-secondary);
    font-weight: 600;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.portfolio-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Portfolio Pagination */
.portfolio-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pagination-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: scale(1.05);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: var(--gradient-primary);
    transform: scale(1.2);
}

.pagination-dot:hover {
    background: var(--text-secondary);
    transform: scale(1.1);
}

/* Portfolio Grid Animation */
.portfolio-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.portfolio-item.show {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

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

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}

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

.testimonial-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-text {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 2rem;
    color: var(--primary);
    position: absolute;
    top: -0.5rem;
    left: -0.8rem;
    opacity: 0.2;
    font-family: serif;
    z-index: -1;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border: 2px solid var(--primary);
}

.author-avatar i {
    font-size: 1.8rem;
    color: white;
}

.author-info h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
}

.author-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Hero Animations */
@keyframes heroContentEntry {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroTitleEntry {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroImageFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes heroButtonsEntry {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Cursor - Solo en desktop */
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
    * {
        cursor: none !important;
    }

    body {
        cursor: none;
    }
}

/* Ocultar cursor personalizado en móviles */
@media (max-width: 767px), (hover: none), (pointer: coarse) {
    .cursor,
    .cursor-trail {
        display: none !important;
    }
}

.cursor {
    position: fixed;
    width: 16px;
    height: 16px;
    background: #00ff88;
    border: 2px solid #00ff88;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    box-shadow: 0 0 20px #00ff88;
}

.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: rgba(0, 255, 136, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.2s ease;
}

.cursor-hover {
    transform: scale(1.5);
    background: #ff0080;
    border-color: #ff0080;
    box-shadow: 0 0 25px #ff0080;
}

.cursor-click {
    transform: scale(0.8);
}

/* Partners */
.partners {
    padding: 4rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.partner-item {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.partner-item:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: var(--glow-primary);
    z-index: 9999;
    transition: all 0.3s ease;
}

.notification.hidden {
    opacity: 0;
    transform: translateX(100%);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-icon {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.notification-text {
    color: var(--text-primary);
    font-weight: 500;
}

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

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

/* Efectos de partículas mejorados */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
    opacity: 0.8;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.floating-cube,
.floating-pyramid,
.floating-sphere {
    animation: float 6s ease-in-out infinite;
}

.floating-cube {
    animation-delay: -1s;
}

.floating-pyramid {
    animation-delay: -3s;
}

.floating-sphere {
    animation-delay: -5s;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, #6366f1, #8b5cf6);
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat infinite linear;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}