/* ══════════════════════════════════════════════════════════════
   Multisistemas 360 — Landing Page
   ══════════════════════════════════════════════════════════════ */

.landing-body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: #0f172a;
    color: #f8fafc;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── Header ── */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 1.5rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease;
}

.landing-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}

.landing-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
}

.landing-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.landing-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.landing-nav a:hover {
    color: #f8fafc;
}

.landing-nav-btn {
    padding: 0.5rem 1rem !important;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff !important;
    border-radius: 8px;
    font-weight: 500;
}

.landing-nav-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ── Hero ── */
.landing-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.5rem 4rem;
    overflow: hidden;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.25), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(139, 92, 246, 0.15), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(99, 102, 241, 0.1), transparent);
    pointer-events: none;
}

.landing-hero-content {
    position: relative;
    max-width: 720px;
    text-align: center;
}

.landing-hero-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #a5b4fc;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-hero-badge:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.landing-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #f8fafc;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.landing-hero-title strong {
    background: linear-gradient(135deg, #a5b4fc, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-hero-subtitle {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.landing-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* ── Buttons ── */
.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.landing-btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.landing-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.landing-btn-primary:active {
    transform: translateY(-1px);
}

.landing-btn-outline {
    background: transparent;
    color: #a5b4fc;
    border: 2px solid rgba(99, 102, 241, 0.5);
}

.landing-btn-outline:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: #6366f1;
}

.landing-btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ── Packages Section ── */
.landing-packages {
    padding: 5rem 1.5rem;
    background: #0f172a;
}

.landing-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.landing-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #f8fafc;
}

.landing-section-subtitle {
    text-align: center;
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.landing-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

/* ── Cards ── */
.landing-card {
    position: relative;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.landing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.landing-card-featured {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.15), rgba(30, 41, 59, 0.8));
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.2);
}

.landing-card-featured:hover {
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.landing-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.35rem 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.landing-card-header {
    margin-bottom: 1.5rem;
}

.landing-card-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #f8fafc;
}

.landing-card-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.landing-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.landing-price-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #f8fafc;
}

.landing-price-period {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 400;
}

.landing-card-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.landing-card-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.landing-card-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.landing-card-btn {
    display: block;
    text-align: center;
    padding: 0.85rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #f8fafc;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.landing-card-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.landing-card-btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    color: #fff;
}

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

/* ── Features Section ── */
.landing-features {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

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

.landing-feature {
    padding: 2rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.landing-feature:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.landing-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #a5b4fc;
}

.landing-feature-icon svg {
    width: 40px;
    height: 40px;
}

.landing-modules-group {
    margin-bottom: 3.5rem;
}

.landing-modules-group:last-of-type {
    margin-bottom: 0;
}

.landing-modules-group-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #a5b4fc;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
}

.landing-features-grid-expanded {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.landing-feature-expanded {
    padding: 1.75rem;
}

.landing-feature-expanded p {
    margin-bottom: 0.75rem;
}

.landing-feature-plan {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

.landing-feature h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f8fafc;
}

.landing-feature p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* ── CTA Section ── */
.landing-cta {
    padding: 5rem 1.5rem;
    text-align: center;
    background: #0f172a;
}

.landing-cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #f8fafc;
}

.landing-cta-subtitle {
    color: #94a3b8;
    margin-bottom: 2rem;
}

/* ── Relations Section ── */
.landing-relations {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.landing-relations-flow {
    margin-top: 2rem;
}

.landing-relations-center {
    text-align: center;
    margin-bottom: 2rem;
}

.landing-relations-node-core {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    font-size: 1.1rem;
}

.landing-relations-desc {
    margin-top: 1rem;
    color: #94a3b8;
    font-size: 0.95rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.landing-relations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.landing-relations-item {
    padding: 1.25rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: border-color 0.2s;
}

.landing-relations-item:hover {
    border-color: rgba(99, 102, 241, 0.25);
}

.landing-relations-node {
    display: inline-block;
    font-weight: 600;
    color: #a5b4fc;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.landing-relations-item p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

.landing-relations-example {
    margin-top: 2.5rem;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.landing-relations-example h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.landing-relations-example ol {
    margin: 0;
    padding-left: 1.5rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.9;
}

.landing-relations-example li {
    margin-bottom: 0.35rem;
}

/* ── Footer ── */
.landing-footer {
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #64748b;
    font-size: 0.9rem;
}

.landing-footer-inner a {
    color: #94a3b8;
    text-decoration: none;
}

.landing-footer-inner a:hover {
    color: #a5b4fc;
}

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .landing-nav {
        gap: 1rem;
    }

    .landing-nav a:not(.landing-nav-btn) {
        display: none;
    }

    .landing-packages-grid {
        grid-template-columns: 1fr;
    }

    .landing-card-featured {
        order: -1;
    }
}

@media (min-width: 900px) {
    .landing-packages-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

#paquetes,
#caracteristicas,
#relaciones {
    scroll-margin-top: 5rem;
}
