* {
    box-sizing: border-box;
}

:root {
    --primary: #7C3AED;
    --primary-dark: #5B21B6;
    --primary-soft: rgba(124, 58, 237, 0.16);
    --secondary: #A855F7;
    --bg: #050816;
    --bg-soft: #0B1023;
    --card: rgba(255, 255, 255, 0.06);
    --card-strong: rgba(255, 255, 255, 0.08);
    --line: rgba(255, 255, 255, 0.10);
    --text: #F8FAFC;
    --muted: #CBD5E1;
    --muted-2: #94A3B8;
    --white: #FFFFFF;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --radius: 24px;
    --container: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(124, 58, 237, 0.22), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(168, 85, 247, 0.12), transparent 20%),
        linear-gradient(180deg, #030712 0%, #070C1B 55%, #050816 100%);
    color: var(--text);
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

/* Fondo */
.bg-orb {
    position: fixed;
    border-radius: 999px;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

.orb-1 {
    width: 320px;
    height: 320px;
    background: rgba(124, 58, 237, 0.28);
    top: -80px;
    left: -80px;
}

.orb-2 {
    width: 360px;
    height: 360px;
    background: rgba(168, 85, 247, 0.18);
    right: -100px;
    top: 220px;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Header */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: rgba(5, 8, 22, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
    position: relative;
    z-index: 2;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.desktop-nav a {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.desktop-nav a:hover {
    color: var(--white);
}

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

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--white);
    border-radius: 999px;
    transition: 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 0 16px 18px;
    background: rgba(5, 8, 22, 0.96);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu a {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
}

.mobile-menu.show {
    display: flex;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(124, 58, 237, 0.42);
}

.btn-secondary {
    color: var(--white);
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.10);
}

.btn-secondary:hover,
.btn-ghost:hover {
    background: rgba(255,255,255,0.10);
}

.btn-ghost {
    color: var(--white);
    background: transparent;
    border-color: rgba(255,255,255,0.14);
}

.btn-full {
    width: 100%;
}

.btn-light {
    background: var(--white);
    color: #111827;
}

.btn-light:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.btn-outline-light {
    color: var(--white);
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.08);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.14);
}

.mobile-login {
    margin-top: 6px;
}

/* Hero */
.hero {
    position: relative;
    z-index: 1;
    padding: 72px 0 44px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 42px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.24);
    color: #DDD6FE;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow.light {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.26);
    color: #F5F3FF;
}

.hero-content h1 {
    margin: 18px 0 0;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 800;
    max-width: 760px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #C4B5FD 0%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    max-width: 620px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-stats {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.stat-card {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
}

.stat-card strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.stat-card span {
    display: block;
    font-size: 13px;
    color: var(--muted-2);
    line-height: 1.5;
}

/* Panel */
.hero-panel {
    display: flex;
    justify-content: center;
}

.panel-window {
    width: 100%;
    max-width: 470px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 30px 80px rgba(0,0,0,0.42);
    padding: 14px;
    backdrop-filter: blur(18px);
}

.panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px 14px;
}

.panel-dots {
    display: flex;
    gap: 8px;
}

.panel-dots span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.35);
}

.panel-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted-2);
}

.panel-body {
    border-radius: 24px;
    background: rgba(8, 13, 30, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 26px;
}

.panel-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.panel-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 16px;
}

.panel-brand p {
    margin: 0 0 4px;
    color: var(--muted-2);
    font-size: 13px;
}

.panel-brand h3 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.fake-field {
    margin-bottom: 16px;
}

.fake-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.fake-field div {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #8FA0B8;
    font-size: 14px;
}

.panel-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.panel-mini-stats div {
    padding: 14px 10px;
    border-radius: 18px;
    text-align: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.panel-mini-stats strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.panel-mini-stats span {
    display: block;
    font-size: 12px;
    color: var(--muted-2);
}

/* Sections */
.section {
    position: relative;
    z-index: 1;
    padding: 90px 0;
}

.section-alt {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2,
.benefits-grid h2,
.cta-content h2 {
    margin: 16px 0 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.section-heading p,
.benefits-intro,
.cta-content p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

/* Modules */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.module-card {
    padding: 26px 22px;
    border-radius: 24px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.module-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.07);
}

.module-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.30), rgba(168, 85, 247, 0.18));
    border: 1px solid rgba(168, 85, 247, 0.24);
    color: #E9D5FF;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 16px;
}

.module-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.module-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    background: #E5E7EB;
    color: #374151;
    padding: 3px 8px;
    border-radius: 999px;
    margin-left: 8px;
    vertical-align: middle;
    white-space: nowrap;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: start;
}

.benefits-list {
    display: grid;
    gap: 16px;
}

.benefit-item {
    padding: 22px;
    border-radius: 22px;
    background: rgba(10, 15, 35, 0.65);
    border: 1px solid rgba(255,255,255,0.08);
}

.benefit-item h3 {
    margin: 0 0 10px;
    font-size: 19px;
    letter-spacing: -0.02em;
}

.benefit-item p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Pricing */
.pricing-section {
    padding-top: 96px;
}

.pricing-heading {
    text-align: center;
    margin-inline: auto;
}

.premium-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 42px;
}

.pricing-card {
    position: relative;
    padding: 28px 24px;
    border-radius: 26px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
    transition: 0.3s ease;
    backdrop-filter: blur(14px);
}

.pricing-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.07);
}

.pricing-card.featured {
    border: 1px solid rgba(168, 85, 247, 0.50);
    transform: scale(1.04);
    background: linear-gradient(180deg, rgba(124,58,237,0.20), rgba(255,255,255,0.06));
    box-shadow: 0 26px 70px rgba(91, 33, 182, 0.34);
}

.pricing-card-top {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.plan-pill,
.trial-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.plan-pill {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.10);
    color: #E9D5FF;
}

.trial-pill {
    background: rgba(124, 58, 237, 0.18);
    border: 1px solid rgba(168, 85, 247, 0.22);
    color: #DDD6FE;
}

.pricing-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.price {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--white);
}

.price-note {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted-2);
}

.plan-description {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.plan-list-premium {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    gap: 12px;
}

.plan-list-premium li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.plan-list-premium li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #C4B5FD;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
}

.plan-btn {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.28);
    transition: 0.25s ease;
}

.plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(124, 58, 237, 0.34);
}

.badge-top {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(124, 58, 237, 0.35);
    white-space: nowrap;
}

.pricing-footnote {
    text-align: center;
    margin-top: 22px;
    font-size: 13px;
    color: var(--muted-2);
}

.pricing-footnote strong {
    color: var(--white);
}

/* CTA */
.cta-box {
    border-radius: 34px;
    padding: 34px;
    background: linear-gradient(135deg, #6D28D9 0%, #9333EA 55%, #7C3AED 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    box-shadow: 0 22px 60px rgba(109, 40, 217, 0.35);
}

.cta-content {
    max-width: 700px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Footer */
.landing-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.10);
}

.footer-wrap {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
}

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

.footer-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: contain;
}

.footer-brand strong {
    display: block;
    font-size: 15px;
}

.footer-brand span {
    display: block;
    font-size: 13px;
    color: var(--muted-2);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    font-size: 14px;
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--white);
}

/* Animaciones */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
    .hero-grid,
    .benefits-grid,
    .premium-pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        justify-content: flex-start;
    }

    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 860px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .brand-logo {
        height: 38px;
    }

    .hero {
        padding-top: 48px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .panel-mini-stats {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .nav-wrap {
        min-height: 74px;
    }

    .brand-logo {
        height: 34px;
    }

    .btn {
        width: 100%;
    }

    .nav-actions .btn-secondary {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .panel-body {
        padding: 20px;
    }

    .section {
        padding: 72px 0;
    }

    .modules-grid,
    .panel-mini-stats {
        grid-template-columns: 1fr;
    }

    .module-card,
    .benefit-item,
    .stat-card,
    .pricing-card {
        border-radius: 20px;
    }

    .cta-box {
        padding: 26px 20px;
        border-radius: 26px;
    }

    .cta-actions {
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .footer-links {
        gap: 14px;
    }

    .pricing-card-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .badge-top {
        position: static;
        transform: none;
        display: inline-flex;
        margin-bottom: 14px;
    }
}
