/* Landing pública — estética oscura editorial, acento marca */
:root {
    /* Base más “producto tech”: carbón azulado, no negro puro */
    --ln-void: #070910;
    --ln-surface: #0c1018;
    --ln-elevated: #121a26;
    --ln-border: rgba(255, 255, 255, 0.06);
    --ln-muted: #8b92a8;
    --ln-text: #e8eaef;
    --ln-accent: #176be0;
    --ln-accent-dim: rgba(23, 107, 224, 0.15);
    --ln-glow: rgba(23, 107, 224, 0.45);
    --ln-serif: "Fraunces", "Georgia", serif;
    --ln-sans: "Instrument Sans", system-ui, sans-serif;
}

body.landing-body,
body.public-auth-body {
    background-color: var(--ln-void);
    color: var(--ln-text);
    font-family: var(--ln-sans);
    -webkit-font-smoothing: antialiased;
}

/* Login, registro, org, términos, 2FA — misma envolvente que la landing */
.public-auth-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.public-auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem 3rem;
    position: relative;
    z-index: 1;
}

.public-auth-stage {
    width: 100%;
    max-width: 28rem;
}

.public-auth-stage--wide {
    max-width: 42rem;
}

.public-auth-hero {
    text-align: center;
    margin-bottom: 1.5rem;
}

.public-auth-hero img {
    height: 3.75rem;
    width: auto;
    margin-inline: auto;
}

.public-auth-kicker {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ln-accent);
    margin-bottom: 0.35rem;
}

.public-auth-title {
    font-family: var(--ln-serif);
    font-weight: 700;
    font-size: clamp(1.65rem, 4vw, 2rem);
    letter-spacing: -0.02em;
    color: #f1f5f9;
    margin-top: 0.75rem;
}

.public-auth-lead {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ln-muted);
}

.public-auth-card {
    margin-top: 1.5rem;
    padding: 2rem;
    border-radius: 1.25rem;
    border: 1px solid var(--ln-border);
    background: linear-gradient(165deg, rgba(18, 26, 38, 0.88) 0%, rgba(10, 14, 22, 0.94) 100%);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.public-auth-card--terms {
    max-height: min(60vh, 520px);
    overflow-y: auto;
    padding: 1.5rem 1.75rem;
}

.public-auth-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #c7cad8;
    margin-bottom: 0.35rem;
}

.public-auth-hint {
    font-size: 0.75rem;
    color: var(--ln-muted);
    margin-bottom: 0.35rem;
    line-height: 1.45;
}

.public-auth-hint code {
    background: rgba(255, 255, 255, 0.06);
    color: #a5b4fc;
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
}

.public-auth-input-wrap {
    position: relative;
}

.public-auth-input-wrap > i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ln-muted);
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.public-auth-input,
.public-auth-card textarea {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.65rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.28);
    color: var(--ln-text);
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.public-auth-input.no-icon-padding,
.public-auth-card .public-auth-input--center {
    padding-left: 1rem;
}

.public-auth-card textarea {
    padding-left: 1rem;
    min-height: 6rem;
}

.public-auth-input::placeholder {
    color: rgba(139, 146, 168, 0.65);
}

.public-auth-input:focus,
.public-auth-card textarea:focus {
    outline: none;
    border-color: rgba(23, 107, 224, 0.55);
    box-shadow: 0 0 0 3px rgba(23, 107, 224, 0.2);
}

.public-auth-field {
    margin-bottom: 1.15rem;
}

.public-auth-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.85rem 1.25rem;
    border-radius: 0.85rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(135deg, var(--ln-accent) 0%, #2563eb 100%);
    box-shadow: 0 4px 20px var(--ln-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.public-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px var(--ln-glow);
}

.public-auth-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.public-auth-links {
    text-align: center;
    font-size: 0.875rem;
    color: var(--ln-muted);
    margin-top: 1.75rem;
    line-height: 1.65;
}

.public-auth-links a {
    color: #93c5fd;
    font-weight: 600;
    text-decoration: none;
}

.public-auth-links a:hover {
    color: #bfdbfe;
    text-decoration: underline;
}

.public-auth-links .public-auth-muted-link {
    color: #9ca3af;
    font-weight: 500;
}

.public-auth-links .public-auth-muted-link:hover {
    color: #c4b5fd;
}

.public-auth-alert {
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.public-auth-alert--error {
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.public-auth-alert--success {
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

/* Términos: contenido HTML cargado por API */
#terms-container.public-auth-prose {
    color: #c7cad8;
    font-size: 0.9rem;
    line-height: 1.65;
}

#terms-container.public-auth-prose h1,
#terms-container.public-auth-prose h2,
#terms-container.public-auth-prose h3 {
    color: #f1f5f9;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

#terms-container.public-auth-prose a {
    color: #93c5fd;
}

#terms-container.public-auth-prose p {
    margin-bottom: 0.75rem;
}

.public-auth-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .public-auth-actions {
        flex-direction: row;
    }
}

.public-auth-btn-secondary {
    padding: 0.85rem 1.5rem;
    border-radius: 0.85rem;
    border: 1px solid var(--ln-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--ln-muted);
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.public-auth-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--ln-text);
    background: rgba(255, 255, 255, 0.06);
}

.public-auth-icon-hero {
    font-size: 3.25rem;
    color: #60a5fa;
    line-height: 1;
    display: block;
    margin-bottom: 0.75rem;
}

.public-auth-qr {
    width: 12rem;
    height: 12rem;
    border-radius: 0.85rem;
    border: 1px solid var(--ln-border);
    background: #fff;
}

@keyframes ln-grid-drift {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        /* Un periodo exacto del tile (72px) = bucle continuo sin saltos */
        background-position: 72px 72px, 72px 72px;
    }
}

.landing-root,
.public-auth-shell {
    min-height: 100%;
    position: relative;
    overflow-x: hidden;
    /* Rejilla fina (estilo sitios dev modernos): estructura, sin “suciedad” */
    background-color: var(--ln-void);
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    background-position: 0 0;
    /* Desplazamiento muy lento de la rejilla (diag. suave) */
    animation: ln-grid-drift 110s linear infinite;
}

/* Aurora / mesh suave + profundidad; animación muy lenta (tendencia 2024–26) */
.landing-root::before,
.public-auth-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    will-change: transform, opacity;
    background:
        radial-gradient(ellipse 100% 70% at 50% -15%, rgba(23, 107, 224, 0.18), transparent 55%),
        radial-gradient(ellipse 55% 45% at 8% 25%, rgba(34, 211, 238, 0.07), transparent 60%),
        radial-gradient(ellipse 50% 42% at 92% 18%, rgba(167, 139, 250, 0.11), transparent 55%),
        radial-gradient(ellipse 85% 55% at 50% 108%, rgba(23, 107, 224, 0.14), transparent 58%),
        linear-gradient(165deg, #070910 0%, #0a0e18 38%, #070910 100%);
    animation: ln-bg-breathe 22s ease-in-out infinite alternate;
}

@keyframes ln-bg-breathe {
    from {
        opacity: 1;
        transform: scale(1) translate3d(0, 0, 0);
    }
    to {
        opacity: 0.92;
        transform: scale(1.03) translate3d(-0.8%, 0.6%, 0);
    }
}

/* Línea de horizonte luminosa + viñeta lateral; sustituye el ruido SVG */
.landing-root::after,
.public-auth-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 120% 60% at 50% -5%, rgba(255, 255, 255, 0.07), transparent 42%),
        radial-gradient(ellipse 90% 90% at 50% 50%, transparent 35%, rgba(0, 0, 0, 0.45) 100%),
        linear-gradient(105deg, transparent 0%, rgba(23, 107, 224, 0.03) 48%, transparent 100%);
    mix-blend-mode: normal;
}

.ln-inner {
    position: relative;
    z-index: 1;
}

/* Nav */
.ln-nav {
    border-bottom: 1px solid var(--ln-border);
    background: rgba(7, 9, 16, 0.62);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.ln-nav a.ln-ghost {
    color: var(--ln-muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
    border-radius: 9999px;
    transition: color 0.2s, background 0.2s;
}

.ln-nav a.ln-ghost:hover {
    color: var(--ln-text);
    background: rgba(255, 255, 255, 0.05);
}

.ln-nav a.ln-primary {
    background: linear-gradient(135deg, var(--ln-accent) 0%, #3b82f6 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 1.15rem;
    border-radius: 9999px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 4px 24px var(--ln-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ln-nav a.ln-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 8px 32px var(--ln-glow);
}

/* Mobile menu */
.ln-menu summary {
    list-style: none;
    cursor: pointer;
    color: var(--ln-text);
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid var(--ln-border);
    background: var(--ln-elevated);
}

.ln-menu summary::-webkit-details-marker {
    display: none;
}

.ln-menu[open] summary {
    border-color: rgba(23, 107, 224, 0.35);
}

.ln-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    min-width: 12rem;
    padding: 0.5rem;
    border-radius: 1rem;
    background: var(--ln-elevated);
    border: 1px solid var(--ln-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.ln-menu-panel a {
    display: block;
    padding: 0.65rem 1rem;
    border-radius: 0.65rem;
    color: var(--ln-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.ln-menu-panel a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--ln-text);
}

/* Hero */
.ln-heading-serif {
    font-family: var(--ln-serif);
}

.ln-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ln-accent);
}

.ln-kicker span.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ln-accent);
    box-shadow: 0 0 12px var(--ln-glow);
    animation: ln-pulse 2.4s ease-in-out infinite;
}

@keyframes ln-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.ln-headline {
    font-family: var(--ln-serif);
    font-weight: 700;
    font-size: clamp(2.25rem, 5vw, 3.65rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-top: 1.25rem;
}

.ln-headline em {
      font-style: italic;
      font-weight: 600;
      color: #93c5fd;
}

.ln-lead {
    margin-top: 1.35rem;
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--ln-muted);
    max-width: 36rem;
}

.ln-cta-row {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

a.ln-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.6rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--ln-accent) 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 4px 24px var(--ln-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

a.ln-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--ln-glow);
}

a.ln-btn-sec {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ln-text);
    border: 1px solid var(--ln-border);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s, background 0.2s;
}

a.ln-btn-sec:hover {
    border-color: rgba(23, 107, 224, 0.35);
    background: rgba(23, 107, 224, 0.08);
}

/* Mock ventana chat */
.ln-mock-wrap {
    perspective: 1200px;
}

.l.win {
    border-radius: 1.25rem;
    border: 1px solid var(--ln-border);
    background: linear-gradient(165deg, var(--ln-elevated) 0%, var(--ln-surface) 100%);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    transform: rotateY(-6deg) rotateX(3deg);
    transition: transform 0.5s ease;
}

.ln-mock-wrap:hover .win {
    transform: rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

.win-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--ln-border);
}

.win-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #374151;
}

.win-dot:nth-child(1) { background: #ef4444; opacity: 0.85; }
.win-dot:nth-child(2) { background: #eab308; opacity: 0.85; }
.win-dot:nth-child(3) { background: #22c55e; opacity: 0.85; }

.win-title {
    flex: 1;
    text-align: center;
    font-size: 0.7rem;
    color: var(--ln-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.win-body {
    padding: 1.1rem;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.bubble {
    max-width: 92%;
    padding: 0.65rem 0.85rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    line-height: 1.45;
}

.bubble-user {
    align-self: flex-end;
    background: rgba(23, 107, 224, 0.25);
    border: 1px solid rgba(23, 107, 224, 0.25);
    color: #dbeafe;
}

.bubble-ai {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--ln-border);
    color: var(--ln-muted);
}

.bubble-ai strong {
    color: #a5b4fc;
    font-weight: 600;
}

.win-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    color: var(--ln-muted);
    opacity: 0.85;
}

/* Carril logos */
.ln-strip {
    border-block: 1px solid var(--ln-border);
    background: rgba(255, 255, 255, 0.02);
}

.ln-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
    padding-block: 1.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ln-muted);
    opacity: 0.75;
}

/* Secciones */
.ln-section {
    padding-block: 5rem;
}

.ln-section h2 {
    font-family: var(--ln-serif);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.ln-section > .ln-inner > p.ln-sub {
    color: var(--ln-muted);
    font-size: 1.05rem;
    max-width: 40rem;
    margin-bottom: 3rem;
}

.ln-card-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .ln-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ln-card {
    border-radius: 1.25rem;
    padding: 1.75rem;
    border: 1px solid var(--ln-border);
    background: var(--ln-surface);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.ln-card:hover {
    border-color: rgba(23, 107, 224, 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    transform: translateY(-3px);
}

.ln-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ln-accent-dim);
    color: #93c5fd;
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
}

.ln-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ln-card p {
    font-size: 0.9rem;
    color: var(--ln-muted);
    line-height: 1.6;
}

/* Pricing / modelos de chat (Tier A vs Tier B) */
.ln-pricing-grid {
    display: grid;
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 900px) {
    .ln-pricing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }
}

.ln-price-card {
    border-radius: 1.35rem;
    border: 1px solid var(--ln-border);
    background: linear-gradient(165deg, rgba(18, 26, 38, 0.75) 0%, rgba(10, 14, 22, 0.9) 100%);
    padding: 1.75rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.ln-price-card:hover {
    border-color: rgba(23, 107, 224, 0.22);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.ln-price-card--enterprise {
    border-color: rgba(167, 139, 250, 0.3);
    background: linear-gradient(165deg, rgba(26, 22, 48, 0.65) 0%, rgba(10, 14, 22, 0.92) 100%);
    box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.06) inset;
}

.ln-price-card--enterprise:hover {
    border-color: rgba(167, 139, 250, 0.4);
}

.ln-price-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 0.45rem;
}

.ln-price-card--enterprise .ln-price-badge {
    color: #c4b5fd;
}

.ln-price-name {
    font-family: var(--ln-serif);
    font-size: 1.45rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.ln-price-desc {
    font-size: 0.88rem;
    color: var(--ln-muted);
    line-height: 1.55;
    margin-bottom: 1.2rem;
}

.ln-model-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ln-model-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ln-model-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.3;
}

.ln-model-note {
    font-size: 0.7rem;
    color: var(--ln-muted);
    margin-top: 0.2rem;
    line-height: 1.35;
}

.ln-tier-pill {
    flex-shrink: 0;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.25rem 0.5rem;
    border-radius: 0.35rem;
    background: rgba(23, 107, 224, 0.22);
    color: #93c5fd;
    line-height: 1;
}

.ln-tier-pill--estandar {
    background: rgba(100, 116, 139, 0.35);
    color: #e2e8f0;
}

.ln-tier-pill--plus {
    background: rgba(23, 107, 224, 0.22);
    color: #93c5fd;
}

.ln-tier-pill--premium {
    background: rgba(99, 102, 241, 0.28);
    color: #c4b5fd;
}

.ln-tier-pill--ultra {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.4), rgba(23, 107, 224, 0.25));
    color: #f5f3ff;
}

.ln-price-foot {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ln-border);
    font-size: 0.8rem;
    color: var(--ln-muted);
    line-height: 1.55;
}

.ln-price-foot strong {
    color: #cbd5e1;
    font-weight: 600;
}

.ln-price-foot--tight {
    margin-top: 0.35rem;
    padding-top: 0;
    border-top: none;
}

.ln-embeddings-note {
    margin-top: 1.1rem;
    font-size: 0.78rem;
    color: var(--ln-muted);
    padding: 0.8rem 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    line-height: 1.5;
}

/* Timeline */
.ln-flow {
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .ln-flow {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.ln-step {
    position: relative;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px dashed var(--ln-border);
    background: rgba(255, 255, 255, 0.02);
}

.ln-step-num {
    font-family: var(--ln-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ln-accent);
    opacity: 0.9;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.ln-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.ln-step p {
    font-size: 0.88rem;
    color: var(--ln-muted);
    line-height: 1.55;
}

/* Integraciones */
.ln-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.ln-pill {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ln-muted);
    border: 1px solid var(--ln-border);
    background: var(--ln-surface);
}

/* Seguridad band */
.ln-band {
    border-radius: 1.5rem;
    border: 1px solid var(--ln-border);
    background: linear-gradient(120deg, rgba(23, 107, 224, 0.12) 0%, var(--ln-surface) 50%);
    padding: 2.5rem 2rem;
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .ln-band {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* FAQ */
.ln-faq details {
    border-bottom: 1px solid var(--ln-border);
    padding-block: 1rem;
}

.ln-faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.ln-faq summary::-webkit-details-marker {
    display: none;
}

.ln-faq summary::after {
    content: "+";
    color: var(--ln-accent);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1;
}

.ln-faq details[open] summary::after {
    content: "−";
}

.ln-faq p {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--ln-muted);
    line-height: 1.65;
}

/* CTA final */
.ln-cta-final {
    text-align: center;
    padding-block: 4rem;
}

.ln-cta-final h2 {
    font-family: var(--ln-serif);
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 700;
    max-width: 32rem;
    margin-inline: auto;
}

.ln-cta-final p {
    margin-top: 1rem;
    color: var(--ln-muted);
    max-width: 28rem;
    margin-inline: auto;
}

/* Footer */
.ln-footer {
    border-top: 1px solid var(--ln-border);
    padding-block: 2.5rem;
    background: rgba(0, 0, 0, 0.25);
}

.ln-footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .ln-footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.ln-footer a {
    color: var(--ln-muted);
    font-size: 0.88rem;
}

.ln-footer a:hover {
    color: var(--ln-text);
}

/* Animación entrada suave */
.ln-reveal {
    animation: ln-up 0.8s ease forwards;
    opacity: 0;
}

@keyframes ln-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ln-delay-1 { animation-delay: 0.1s; }
.ln-delay-2 { animation-delay: 0.2s; }
.ln-delay-3 { animation-delay: 0.3s; }

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    .landing-root,
    .public-auth-shell {
        animation: none;
    }
    .landing-root::before,
    .public-auth-shell::before {
        animation: none;
    }
    .ln-reveal {
        animation: none;
        opacity: 1;
    }
}
