/* TDT Online · landing. Mismos colores y tipografía que la web de la app (web/style.css). */
@font-face { font-family: "Source Sans"; font-weight: 400; font-display: swap; src: url("fonts/source-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Source Sans"; font-weight: 700; font-display: swap; src: url("fonts/source-sans-700.woff2") format("woff2"); }

:root {
  --bg: #11161d; --panel: #18202a; --panel-2: #0c1015; --line: rgba(255, 255, 255, .08);
  --accent: #ee3d6b; --accent-2: #ff7a45; --violet: #9b2bd1; --gold: #ffc53d;
  --text: #fff; --soft: #c9d1d9; --muted: #8a94a0;
  --grad: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, var(--violet));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--soft); font: 400 1.0625rem/1.55 "Source Sans", "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent-2); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--text); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 10; background: rgba(17, 22, 29, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--soft); text-decoration: none; font-size: .98rem; }
.nav a:hover { color: var(--text); }
@media (max-width: 760px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--panel); color: var(--text); font-weight: 700; text-decoration: none; border: 1px solid var(--line); }
.btn:hover { border-color: rgba(255, 255, 255, .25); }
.btn-primary { background: var(--grad); border: 0; box-shadow: 0 10px 30px -10px rgba(238, 61, 107, .7); }
.btn-small { padding: 8px 16px; font-size: .95rem; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Portada */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.badge { display: inline-block; margin-bottom: 18px; padding: 5px 14px; border-radius: 999px; background: var(--panel); color: var(--gold); font-size: .9rem; font-weight: 700; }
.lead { font-size: 1.25rem; color: var(--soft); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.facts li::before { content: "✓ "; color: var(--accent-2); font-weight: 700; }
.phones { position: relative; display: flex; justify-content: center; }
.phone { width: 270px; border-radius: 34px; padding: 10px; background: #05080b; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4); }
.phone img { display: block; border-radius: 26px; }
.phones .phone + .phone { position: absolute; left: 50%; top: 60px; transform: translateX(6%) rotate(5deg); width: 240px; z-index: -1; opacity: .9; }
.phones .phone:first-child { transform: translateX(-22%) rotate(-3deg); }
.glow { position: absolute; inset: 10% 0 auto; height: 70%; background: radial-gradient(closest-side, rgba(238, 61, 107, .35), transparent); filter: blur(30px); z-index: -2; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { margin-top: 10px; }
  .phones .phone:first-child { transform: none; }
  .phones .phone + .phone { display: none; }
}

/* Secciones */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.card p { margin: 0; color: var(--soft); }
.icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; background: var(--grad); }
.icon svg { width: 22px; height: 22px; fill: #fff; }
.icon.icon-img { background: none; }
.icon.icon-img img { width: 42px; height: 42px; border-radius: 12px; }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.split.reverse { grid-template-columns: 1.2fr .8fr; }
.split.reverse .phone { order: 2; }
.split .phone { margin: 0 auto; }
@media (max-width: 900px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse .phone { order: 0; } }
.checks { padding: 0; margin: 0; list-style: none; }
.checks li { position: relative; padding: 0 0 12px 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); }
.checks b { color: var(--text); }

.sources { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: 18px; overflow: hidden; }
.sources th, .sources td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.sources th { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; background: var(--panel-2); }
.sources tr:last-child td { border-bottom: 0; }
.sources td:first-child { color: var(--text); font-weight: 700; white-space: nowrap; }
.table-scroll { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); }

.steps { counter-reset: paso; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; padding: 0; list-style: none; }
.steps li { counter-increment: paso; padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.steps li::before { content: counter(paso); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; }
.steps b { color: var(--text); }

.download { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 28px; padding: 26px; border-radius: 22px; background: linear-gradient(135deg, rgba(255, 122, 69, .14), rgba(155, 43, 209, .14)); border: 1px solid rgba(238, 61, 107, .35); }
.download p { margin: 0; }

details { margin-bottom: 10px; padding: 16px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
summary { cursor: pointer; color: var(--text); font-weight: 700; }
details p { margin: 12px 0 0; }

.foot { padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.foot .wrap { display: grid; gap: 10px; }
.foot a { color: var(--soft); }

code { padding: 1px 6px; border-radius: 6px; background: var(--panel-2); color: var(--text); font-size: .92em; }

/* «Made with ♥ by jairamrb.com», como en el pie de la web */
.foot .credit a{font-weight:700}
.heart{color:#e53935}
