:root {
    --primary: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
    --primary-solid: #0066ff;
    --primary-dark: #0052cc;
    --text: #ffffff;
    --text-light: #cccccc;
    --background: #000000;
    --card-bg: #111111;
    --border: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-solid);
    border-radius: 5px;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
}

body {
    line-height: 1.6;
    color: var(--text);
    background: #000000;
    background-image: linear-gradient(rgba(0, 102, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

main {
 backdrop-filter: blur(1px);
}

.load-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-out;
}

.load-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.load-screen img {
    width: 120px;
    height: auto;
    opacity: 1;
    transition: opacity 0.3s ease-out;
    position: fixed;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
}

.load-screen img.fade-out {
    opacity: 0;
}

nav {
    padding: 1rem 2rem;
    background: rgba(17, 17, 17, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.25rem;
    font-weight: 500;
}

.brand {
    font-weight: 700;
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-tabs {
    display: flex;
    gap: 1rem;
}

.nav-tab {
    color: var(--text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-tab:hover,
.nav-tab.active {
    background: var(--primary);
    box-shadow: 0 0 15px rgba(1, 117, 254, 0.7);
    border-radius: 20px;
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.8), transparent);
}

.cat-logo {
    width: 120px;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.gradient-text {
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.features {
    padding: 4rem 2rem;
}

.features h2,
.pricing h2 {
    text-align: center;
    margin-bottom: 2rem;
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
}

.feature-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.highlight {
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #0a0a0a00;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 2px;
    background: rgb(0, 123, 255);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    display: none;
}

.feature-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(1, 117, 254, 0.5);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-icon i {
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing {
    padding: 4rem 2rem;
    background: rgba(15, 15, 15, 0);
    backdrop-filter: blur(10px);
}

.pricing h2,
.pricing-intro {
    text-align: center;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    background: var(--background);
    color: var(--text);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn:hover,
.toggle-btn.active {
    background: var(--primary);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.price-card {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    transform: translateY(50px);
    opacity: 0;
}

.price-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 10px rgba(1, 117, 254, 0.5);
}

.price-card.popular {
    border: 2px solid transparent;
    background: linear-gradient(var(--background), var(--background)) padding-box, var(--primary) border-box;
    transform: scale(1.05);
}

.price-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.price-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s ease;
}

.price-card h3 span {
    font-size: 1rem;
    color: var(--text-light);
    -webkit-text-fill-color: var(--text-light);
}

.price-card ul {
    list-style: none;
    margin-bottom: 2.5rem;
}

.price-card li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.price-card li i {
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-card .btn {
    margin-top: 1rem;
}

.tutorial {
    padding: 4rem 2rem;
    text-align: center;
}

.video-container {
    max-width: 640px;
    margin: 2rem auto;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(50px);
    opacity: 0;
}

.video-container.visible {
    transform: translateY(0);
    opacity: 1;
}

.video-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 10px rgba(1, 117, 254, 0.5);
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
}

footer {
    background: rgba(17, 17, 17, 0.5);
    backdrop-filter: blur(10px);
    color: var(--text);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

.footer-link::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--primary-solid);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.footer-link:hover::before {
    transform: translateY(0);
}

.footer-link:hover {
    color: transparent;
    transform: scale(1.1);
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .price-card.popular {
        transform: none;
    }

    .nav-tabs {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.primary {
    background: var(--primary);
    color: white;
}

.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(1, 117, 254, 0.5);
}

.cursor-glow {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.3) 0%, rgba(0, 102, 255, 0) 70%);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none;
}
.large-cursor-glow {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, rgba(0, 102, 255, 0) 70%);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
  contain: layout style paint;
}

.large-cursor-glow.active {
  opacity: 1;
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    border-right: 2px solid var(--primary-solid);
    white-space: nowrap;
    animation: typing 3.5s steps(30, end),
        blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary-solid)
    }
}
.hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;  /* <--- Transición suave para todos los cambios */
    display: inline-block;
    transform: scale(1);
}

/* Primary button */
.btn.primary {
    background-color: #017BFE;
    color: white;
    border: none;
}

.btn.primary:hover {
    background-color: #005ec1;
    transform: scale(1.05); /* ligera ampliación */
    box-shadow: 0 4px 12px rgba(1, 123, 254, 0.3);
}

/* Secondary button */
.btn.secondary {
    background-color: transparent;
    color: #017BFE;
    border: 2px solid #017BFE;
    transition: all 0.3s ease;
}

.btn.secondary:hover {
    transform: scale(1.05);  /* Solo agrandar suavemente */
    box-shadow: 0 4px 12px rgba(1, 123, 254, 0.3); /* Opcional: agregar sombra */
    /* Eliminar cambio de color para mantener fondo transparente */
}




.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: #0066ff;
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #0066ff;
}

.nav-links {
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 5rem 1rem 1rem;
        transform: translateX(-100%);
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .nav-link:last-child {
        margin-bottom: 0;
    }
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
}


.logo2 {
    font-size: 1.25rem;
    font-weight: 500;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    gap: 0.5rem;
    position: relative;
    color: var(--text);
    filter: drop-shadow(0 0 2px rgba(0, 102, 255, 0.5));
    opacity: 0.95;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.topnav{
    padding: 1rem 2rem;
    background: rgba(17, 17, 17, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}



.gradient-text {
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: #0066ff;
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #0066ff;
}

.nav-links {
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

@media (max-width: 1365px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 5rem 1rem 1rem;
        transform: translateX(-100%);
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .nav-link:last-child {
        margin-bottom: 0;
    }
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
}



.topbar {
    background: rgba(17, 17, 17, 0.5);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}



.auto-text {
    min-width: 12ch;
    position: relative;
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

