 :root {
    --bg: #07080a;
    --card: #0f1720;
    --accent: #00c2ff;
    --muted: #98a1b2;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-2: rgba(255, 255, 255, 0.02);
    --radius: 16px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    margin: 0;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(0, 194, 255, 0.06), transparent 8%), radial-gradient(1200px 600px at 90% 90%, rgba(120, 86, 255, 0.03), transparent 8%), var(--bg);
    color: #e6eef8;
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}


/* Animación de entrada avanzada */

.intro-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(0, 194, 255, 0.06), transparent 8%), radial-gradient(1200px 600px at 90% 90%, rgba(120, 86, 255, 0.03), transparent 8%), var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 1s ease, visibility 1s ease;
}

.intro-animation.fade-out {
    opacity: 0;
    visibility: hidden;
}

.logo-container {
    position: relative;
    margin-bottom: 40px;
}

.logo-icon {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent), #5b6cff);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Orbitron";
    font-weight: 700;
    font-size: 32px;
    color: #021022;
    box-shadow: 0 10px 30px rgba(0, 194, 255, 0.2), inset 0 -6px 15px rgba(255, 255, 255, 0.05);
    transform: scale(0);
    animation: logo-appear 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s forwards;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.logo-text {
    font-family: "Orbitron";
    font-weight: 700;
    font-size: 36px;
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--accent), #5b6cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: text-appear 1s ease 1s forwards;
    margin-top: 20px;
    text-align: center;
}

.logo-subtitle {
    font-family: "Poppins";
    font-size: 14px;
    color: var(--muted);
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: text-appear 1s ease 1.2s forwards;
    text-align: center;
    max-width: 300px;
    line-height: 1.5;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 40px;
    overflow: hidden;
    opacity: 0;
    animation: fade-in 0.5s ease 1.4s forwards;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #5b6cff);
    border-radius: 2px;
    animation: loading 2s ease 1.5s forwards;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
}


/* Contenido principal */

.content-wrapper {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

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


/* Animaciones para elementos individuales */

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, rgba(7, 8, 10, 0.6), rgba(7, 8, 10, 0.35));
    backdrop-filter: blur(6px);
    z-index: 40;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #5b6cff);
    display: grid;
    place-items: center;
    font-family: "Orbitron";
    font-weight: 700;
    color: #021022;
    box-shadow: 0 6px 24px rgba(0, 194, 255, 0.06), inset 0 -4px 10px rgba(255, 255, 255, 0.03);
}

.brand h1 {
    margin: 0;
    font-size: 18px;
    line-height: 1
}

.brand p {
    margin: 0;
    font-size: 12px;
    color: var(--muted)
}

nav {
    display: flex;
    gap: 12px;
    align-items: center
}

nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 600
}

nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03)
}

.hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    padding: 48px 28px 36px;
    align-items: center;
}

.panel {
    background: linear-gradient(180deg, var(--glass), var(--glass-2));
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 8px 30px rgba(2, 8, 23, 0.6);
}

.kicker {
    color: var(--accent);
    font-weight: 700;
    font-family: "Orbitron";
    letter-spacing: 1px;
    font-size: 12px
}

.hero h2 {
    margin: 8px 0 12px;
    font-size: 28px
}

.hero p.lead {
    color: var(--muted);
    margin: 0 0 18px
}


/* Cards grid */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.00));
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform .28s ease, box-shadow .28s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6)
}

.card h3 {
    margin: 0 0 6px;
    font-size: 16px
}

.card p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px
}


/* Products column */

.checkout-column {
    position: relative
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
    border: 1px solid rgba(255, 255, 255, 0.02)
}

.product .meta {
    display: flex;
    gap: 12px;
    align-items: center
}

.thumb {
    width: 56px;
    height: 46px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2b6fff, #00c2ff);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-family: "Orbitron";
}

.product .info {
    min-width: 0
}

.product .info h4 {
    margin: 0;
    font-size: 14px
}

.product .info p {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--muted)
}

.price {
    font-weight: 700;
    font-family: "Poppins";
    font-size: 16px;
    color: #fff
}

.buy-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end
}


/* PayPal container */

.paypal-container {
    width: 100%;
    display: flex;
    gap: 8px;
    flex-direction: column;
    align-items: stretch
}

#paypal-button-container {
    width: 100%
}


/* Contact form */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.input,
textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    background: transparent;
    color: inherit
}

textarea {
    min-height: 120px;
    resize: vertical
}

.btn {
    background: linear-gradient(90deg, var(--accent), #5b6cff);
    border: none;
    padding: 12px 16px;
    border-radius: 12px;
    color: #021022;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 194, 255, 0.06);
}

.muted {
    color: var(--muted);
    font-size: 13px
}

footer {
    padding: 24px 28px;
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center
}


/* Responsive */

@media (max-width:1000px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 28px;
        gap: 18px
    }
    .cards {
        grid-template-columns: repeat(2, 1fr)
    }
    .contact-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:600px) {
    .cards {
        grid-template-columns: 1fr
    }
}


/* subtle animated background lines */

.bg-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.06
}

.tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.01);
    font-size: 12px;
    color: var(--muted)
}

.socials a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 12px
}

.small {
    font-size: 12px;
    color: var(--muted)
}

.download-link {
    display: inline-block;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: var(--accent);
    font-weight: 700
}


/* Animaciones */

@keyframes logo-appear {
    0% {
        transform: scale(0) rotate(-180deg);
    }
    70% {
        transform: scale(1.1) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes text-appear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes loading {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(10px, -10px);
    }
    50% {
        transform: translate(-5px, 15px);
    }
    75% {
        transform: translate(-10px, -5px);
    }
}