*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --tl-orange: #F07E13;
    --tl-orange-light: #FF7043;
    --tl-dark: #1c1b3a;
    --tl-dark-bg: #09183a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    color: #1a1a2e;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Topbar (mismo estilo que la landing) ── */
.top-bar {
    background-color: #1a2c48;
    color: #fff;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 200;
}

.top-bar .tb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    padding: 9px 0;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: var(--tl-dark);
    padding: 9px 24px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a {
    text-decoration: none;
    color: #fff;
    transition: color .2s;
}

.top-bar-left a:hover { color: var(--tl-orange); }

.top-bar-right a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: color .2s, transform .2s;
    display: inline-flex;
}

.top-bar-right a:hover {
    color: var(--tl-orange);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .top-bar .tb-container { padding: 0 20px; }
    .top-bar-right { width: 100%; justify-content: center; padding: 9px 0; }
}

/* ── Navbar (mismo estilo que la landing) ── */
.nav {
    position: sticky;
    top: 0;
    z-index: 190;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 24px;
    background: rgba(9, 24, 58, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Poppins', sans-serif;
}

.nav-logo img { height: 40px; display: block; }

.nav-links-pill {
    display: none;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-links-pill li { display: flex; }

.nav-links-pill a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links-pill a:hover { color: var(--tl-orange); }

.nav-actions {
    display: none;
    align-items: center;
    gap: 14px;
}

.nav-login {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-login:hover { color: var(--tl-orange); }

.nav-cta {
    background: var(--tl-orange);
    border: none;
    color: #fff;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.nav-cta:hover { background: var(--tl-orange-light); }
.nav-cta:active { transform: scale(0.96); }

.nav-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 6px;
    transition: transform 0.1s;
}

.nav-burger:active { transform: scale(0.9); }

/* ── Menú móvil fullscreen overlay ── */
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-overlay.is-open { transform: translateX(0); }

.mobile-overlay-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0 40px;
}

.mobile-overlay-nav a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.3px;
    transition: color 0.2s;
}

.mobile-overlay-nav a:first-child { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.mobile-overlay-nav a:hover { color: var(--tl-orange); }

.mobile-overlay-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 32px 40px 0;
}

.mobile-overlay-footer .btn-login-mob {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: border-color 0.2s, color 0.2s;
}

.mobile-overlay-footer .btn-login-mob:hover {
    border-color: var(--tl-orange);
    color: var(--tl-orange);
}

.mobile-overlay-footer .btn-register-mob {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 9999px;
    background: var(--tl-orange);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
}

.mobile-overlay-footer .btn-register-mob:hover { background: var(--tl-orange-light); }

.mobile-overlay-close {
    position: absolute;
    top: 28px;
    right: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-overlay-close:hover { background: rgba(255, 255, 255, 0.22); }

@media (min-width: 768px) {
    .nav { padding: 16px 60px; }
    .nav-links-pill { display: flex; }
    .nav-actions { display: flex; }
    .nav-burger { display: none; }
    .mobile-overlay { display: none; }
}

@media (min-width: 1024px) {
    .nav { padding: 16px 80px; }
}

/* ── Hero ── */
.lp-hero {
    border-bottom: 1px solid #e5e7eb;
    padding: 52px 32px 40px;
}

.lp-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}

.lp-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.lp-hero p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 520px;
}

/* ── Página ── */
.lp-page {
    flex: 1;
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
    padding: 0 32px;
}

/* ── Secciones acordeón ── */
.lp-section {
    border-bottom: 1px solid #e5e7eb;
}

.lp-section-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.lp-section-toggle span {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    transition: color 0.15s;
}

.lp-section-toggle:hover span { color: #ff6b35; }

.lp-chevron {
    width: 20px;
    height: 20px;
    color: #9ca3af;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.lp-section-toggle[aria-expanded="true"] .lp-chevron {
    transform: rotate(180deg);
}

.lp-section-toggle[aria-expanded="true"] span { color: #ff6b35; }

/* ── Cuerpo de sección ── */
.lp-section-body {
    display: none;
    padding-bottom: 32px;
}

.lp-section-body.open { display: block; }

/* ── Contenido del documento ── */
.lp-doc-content {
    max-width: 720px;
}

.lp-updated {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.lp-doc-content p {
    font-size: 14.5px;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 14px;
}

.lp-doc-content h3 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 24px 0 8px;
}

.lp-doc-content ul {
    padding-left: 20px;
    margin-bottom: 14px;
}

.lp-doc-content ul li {
    font-size: 14.5px;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 6px;
}

.lp-doc-content a {
    color: #ff6b35;
    text-decoration: none;
}

.lp-doc-content a:hover { text-decoration: underline; }

.lp-doc-content strong {
    color: #111827;
    font-weight: 600;
}

/* ── CTA ── */
.lp-cta {
    text-align: center;
    padding: 64px 32px;
    border-top: 1px solid #e5e7eb;
    margin-top: 20px;
}

.lp-cta h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

.lp-cta-btn {
    display: inline-block;
    background: #111827;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 99px;
    transition: background 0.15s;
}

.lp-cta-btn:hover { background: #374151; }

/* ── Footer ── */
.lp-footer {
    border-top: 1px solid #e5e7eb;
    padding: 24px 32px;
}

.lp-footer-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.lp-footer-logo img { height: 22px; opacity: 0.6; }

.lp-footer p {
    font-size: 12px;
    color: #9ca3af;
}

@media (max-width: 600px) {
    .lp-hero { padding: 36px 20px 28px; }
    .lp-page { padding: 0 20px; }
    .lp-hero h1 { font-size: 1.5rem; }
    .lp-footer { padding: 20px; }
    .lp-footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}
