/* ============================================================
   landing.css — estilos compartidos de las landings de AgendAR
   Depende de las variables de assets/css/styles.css
   ============================================================ */

/* ---------- Hero de landing ---------- */
.lp-hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 70px;
}

.lp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 72% 28%, rgba(179, 136, 255, 0.07) 0%, transparent 60%);
    z-index: 0;
}

.lp-hero .container { position: relative; z-index: 1; }

.lp-hero h1 {
    font-size: clamp(1.9rem, 4.6vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.lp-lead {
    color: var(--text-silver);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    max-width: 62ch;
    margin-bottom: 2rem;
}

.lp-logo-chip {
    background: #ffffff;
    border-radius: 16px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.lp-logo-chip img { height: 44px; width: auto; object-fit: contain; display: block; }

.lp-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Bloque de respuesta corta (para IA y featured snippets) ---------- */
.answer-box {
    border: 1px solid rgba(0, 240, 255, 0.25);
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.05), rgba(0, 240, 255, 0.01));
    border-left: 3px solid var(--cyan-electric);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    max-width: 860px;
    margin: 0 auto;
}

.answer-box p { color: #e8edf2; margin: 0; }
.answer-box p + p { margin-top: 0.9rem; }
.answer-box strong { color: #fff; }

/* ---------- Tabla comparativa ---------- */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    background: var(--carbon-light);
}

.cmp-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.cmp-table caption {
    caption-side: top;
    text-align: left;
    padding: 1rem 1.25rem 0;
    color: var(--text-silver);
    font-size: 0.9rem;
}

.cmp-table th,
.cmp-table td {
    padding: 0.95rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-dark);
    vertical-align: top;
}

.cmp-table thead th {
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.03);
}

.cmp-table tbody th {
    font-weight: 600;
    color: #fff;
    width: 34%;
}

.cmp-table td { color: var(--text-silver); }
.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td { border-bottom: 0; }

.yes { color: var(--green-data); font-weight: 700; }
.no  { color: #ff7a7a; font-weight: 700; }

/* ---------- FAQ estática (sin JS: el texto siempre está visible) ---------- */
.faq-list { max-width: 860px; margin: 2.5rem auto 0; }

.faq-entry {
    border-bottom: 1px solid var(--border-dark);
    padding: 1.5rem 0;
}

.faq-entry:first-child { border-top: 1px solid var(--border-dark); }

.faq-entry h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
}

.faq-entry p { color: var(--text-silver); margin: 0; }
.faq-entry p + p { margin-top: 0.7rem; }

/* ---------- Grilla de rubros / enlaces internos ---------- */
.rubro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.rubro-card {
    display: block;
    padding: 1.5rem;
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    background: var(--carbon-light);
    text-decoration: none;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.rubro-card:hover {
    border-color: rgba(0, 240, 255, 0.45);
    transform: translateY(-3px);
}

.rubro-card h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.rubro-card p { color: var(--text-silver); font-size: 0.92rem; margin: 0; }

/* ---------- Lista de checks ---------- */
.check-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }

.check-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    color: var(--text-silver);
    margin-bottom: 0.9rem;
    line-height: 1.6;
}

.check-list li::before {
    content: "✓";
    color: var(--cyan-electric);
    font-weight: 700;
    flex-shrink: 0;
}

.check-list strong { color: #fff; font-weight: 600; }

/* ---------- Pasos numerados ---------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; margin-top: 2.5rem; }

.step {
    counter-increment: step;
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 4.25rem;
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    background: var(--carbon-light);
}

.step::before {
    content: counter(step);
    position: absolute;
    left: 1.5rem;
    top: 1.4rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: var(--cyan-electric);
    font-weight: 700;
    font-size: 0.9rem;
}

.step h3 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.step p { color: var(--text-silver); margin: 0; }

/* ---------- Enlaces internos estáticos (visibles sin JavaScript) ---------- */
.static-links {
    border-top: 1px solid var(--border-dark);
    padding: 3rem 0;
    background: var(--carbon);
}

.static-links h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-silver);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.static-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
}

.static-links a { color: var(--text-silver); text-decoration: none; font-size: 0.93rem; }
.static-links a:hover { color: var(--cyan-electric); text-decoration: underline; }

/* ---------- Prosa ---------- */
.prose { max-width: 78ch; }
.prose p { color: var(--text-silver); margin-bottom: 1.15rem; }
.prose h3 { color: #fff; font-size: 1.25rem; font-weight: 700; margin: 2.25rem 0 0.75rem; }
.prose strong { color: #fff; font-weight: 600; }
.prose a { color: var(--cyan-electric); }

/* ---------- Responsive ---------- */
@media (min-width: 900px) {
    .lp-hero { padding-top: 160px; }
}

@media (max-width: 640px) {
    .cmp-table th, .cmp-table td { padding: 0.8rem 0.9rem; }
    .step { padding-left: 3.75rem; }
}
