/* ===========================================================
   LumenRay — hoja de estilos
   Web de promoción del buscador de escritorio
   =========================================================== */

/* ---------- Tipografía Manrope auto-alojada (OFL, vía Fontsource) ----------
   Subset 'latin' (cubre acentos de ES/FR/DE: á é í ó ú ñ ü ö ä ç à è ê ß œ). */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/manrope-400.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/manrope-500.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/manrope-600.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/manrope-700.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/manrope-800.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #0b0c10;
  --bg-2: #101119;
  --bg-3: #161826;
  --card: #14151f;
  --border: rgba(255, 255, 255, .08);
  --border-2: rgba(255, 255, 255, .14);
  --text: #ECECF1;
  --text-2: #A3A4B2;
  --text-3: #6E6F7E;
  --accent: #7C6CFF;
  --accent-2: #38D6FF;
  --accent-soft: rgba(124, 108, 255, .14);
  --grad: linear-gradient(135deg, #7C6CFF 0%, #38D6FF 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,108,255,.16), rgba(56,214,255,.10));
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1140px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --shadow-accent: 0 18px 50px rgba(124, 108, 255, .28);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* glow ambiental de fondo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(640px 380px at 78% -4%, rgba(124, 108, 255, .22), transparent 60%),
    radial-gradient(560px 360px at 8% 6%, rgba(56, 214, 255, .12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---------- tipografía utilitaria ---------- */
h1, h2, h3 { font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-2);
  background: var(--accent-soft); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 100px;
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 44px); margin: 16px 0 14px; }
.section-head p { color: var(--text-2); font-size: 18px; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 12, 16, .72);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(11, 12, 16, .9); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand .logo { width: 32px; height: 32px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: var(--text-2); font-size: 15px; font-weight: 500; transition: color .18s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  padding: 12px 22px; border-radius: 11px; border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .22s ease, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad); color: #0a0a12; box-shadow: var(--shadow-accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 60px rgba(124, 108, 255, .42); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: rgba(255,255,255,.09); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn .ti { font-size: 18px; }

.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }
.nav-toggle .ti { font-size: 26px; }

/* ---------- selector de idioma ---------- */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--text-2); cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid var(--border-2);
  padding: 9px 12px; border-radius: 11px; transition: background .18s, color .18s;
}
.lang-btn:hover { background: rgba(255,255,255,.09); color: var(--text); }
.lang-btn .ti-world { font-size: 17px; }
.lang-btn .chev { font-size: 15px; transition: transform .2s; }
.lang.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px;
  background: var(--bg-3); border: 1px solid var(--border-2); border-radius: 12px;
  padding: 6px; box-shadow: var(--shadow); z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s, transform .16s, visibility .16s;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu li { border-radius: 8px; }
.lang-menu a {
  display: block; font-size: 14.5px; font-weight: 500; color: var(--text-2); cursor: pointer;
  padding: 9px 12px; border-radius: 8px; transition: background .14s, color .14s;
}
.lang-menu a:hover { background: rgba(255,255,255,.06); color: var(--text); }
.lang-menu a[aria-current="true"] { color: var(--accent-2); background: var(--accent-soft); }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 84px 0 60px; text-align: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(38px, 6.4vw, 70px); margin: 26px auto 22px; max-width: 14ch; }
.hero .sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--text-2); max-width: 620px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 26px; color: var(--text-3); font-size: 14px; font-weight: 500; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .ti { font-size: 17px; color: var(--accent-2); }

/* ---------- mockup de la app ---------- */
.app-shot {
  max-width: 940px; margin: 60px auto 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  background: var(--bg-2);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.app-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: #0e0f17; border-bottom: 1px solid var(--border); }
.app-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #2c2d3a; }
.app-bar .dot:nth-child(1) { background: #ff5f57; }
.app-bar .dot:nth-child(2) { background: #febc2e; }
.app-bar .dot:nth-child(3) { background: #28c840; }
.app-bar .app-title { margin-left: 10px; font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.app-search {
  display: flex; align-items: center; gap: 12px; margin: 18px; padding: 0 16px;
  height: 52px; background: #0d0e16; border: 1px solid var(--border-2);
  border-radius: 13px; box-shadow: 0 0 0 3px rgba(124,108,255,.16);
}
.app-search .ti { font-size: 20px; color: var(--accent-2); }
.app-search .q { font-size: 16px; color: var(--text); }
.app-search .caret { width: 2px; height: 20px; background: var(--accent); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.app-search .kbd { margin-left: auto; font-size: 11.5px; color: var(--text-3); border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px; }
.app-chips { display: flex; gap: 8px; padding: 0 18px 6px; flex-wrap: wrap; }
.app-chips span { font-size: 12.5px; font-weight: 600; color: var(--text-2); border: 1px solid var(--border); padding: 6px 12px; border-radius: 100px; }
.app-chips span.on { background: var(--accent-soft); color: var(--accent-2); border-color: transparent; }
.app-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 270px; }
.app-list { border-right: 1px solid var(--border); padding: 8px; }
.app-hit { display: flex; gap: 12px; padding: 11px; border-radius: 11px; text-align: left; }
.app-hit.sel { background: var(--accent-soft); }
.app-hit .ic { width: 36px; height: 36px; border-radius: 9px; flex: none; display: grid; place-items: center; font-size: 18px; }
.ic-pdf { background: rgba(226,75,74,.16); color: #f0817f; }
.ic-doc { background: rgba(55,138,221,.16); color: #6cb2ff; }
.ic-mail { background: rgba(56,214,255,.14); color: var(--accent-2); }
.ic-xls { background: rgba(99,153,34,.18); color: #9ccb5f; }
.app-hit .tt { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-hit .sn { font-size: 12px; color: var(--text-2); line-height: 1.45; max-height: 2.9em; overflow: hidden; }
.app-hit .mt { font-size: 11px; color: var(--text-3); margin-top: 5px; }
.app-hit mark { background: rgba(124,108,255,.34); color: #d9d4ff; border-radius: 3px; padding: 0 2px; }
.app-prev { padding: 20px 22px; text-align: left; }
.app-prev .pt { font-size: 15px; font-weight: 700; }
.app-prev .pp { font-family: ui-monospace, monospace; font-size: 11px; color: var(--text-3); margin: 4px 0 16px; }
.app-prev .pb { font-size: 13px; color: var(--text-2); line-height: 1.75; }
.app-prev .pb mark { background: rgba(56,214,255,.22); color: #bdefff; border-radius: 3px; padding: 0 3px; }

/* =========================================================
   FRANJA DE MÉTRICAS
   ========================================================= */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 46px; padding-bottom: 46px; }
.stat { text-align: center; }
.stat .n { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.stat .l { font-size: 14px; color: var(--text-2); margin-top: 4px; }

/* =========================================================
   CARACTERÍSTICAS
   ========================================================= */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .2s ease, border-color .2s, background .2s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-2); background: #181a27; }
.feature .ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border); margin-bottom: 18px;
}
.feature .ic .ti { font-size: 24px; color: var(--accent-2); }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 9px; letter-spacing: -.01em; }
.feature p { font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* =========================================================
   CÓMO FUNCIONA
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.step .num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 20px; font-weight: 800; color: #0a0a12; background: var(--grad); margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; font-weight: 700; }
.step p { color: var(--text-2); font-size: 15px; }

/* =========================================================
   FORMATOS
   ========================================================= */
.formats { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 760px; margin: 0 auto; }
.format {
  display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600;
  padding: 12px 20px; border-radius: 100px; background: var(--card); border: 1px solid var(--border);
}
.format .ti { font-size: 19px; color: var(--accent-2); }

/* =========================================================
   SECCIÓN "PARA QUÉ SIRVE" (contenido SEO)
   ========================================================= */
.about-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.about-inner h2 { font-size: clamp(28px, 4.4vw, 44px); margin: 16px 0 18px; }
.about-inner p { color: var(--text-2); font-size: 18px; line-height: 1.78; margin-bottom: 16px; }
.about-inner p:last-child { margin-bottom: 0; }

/* =========================================================
   PRIVACIDAD (banda destacada)
   ========================================================= */
.privacy { position: relative; z-index: 1; }
.privacy-card {
  background: var(--grad-soft); border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: 56px clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center;
}
.privacy-card h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 16px; }
.privacy-card p { color: var(--text-2); font-size: 17px; }
.privacy-list { display: grid; gap: 16px; }
.privacy-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; }
.privacy-list .ti { font-size: 22px; color: var(--accent-2); flex: none; margin-top: 1px; }
.privacy-list b { font-weight: 700; }
.privacy-list span { color: var(--text-2); }

/* =========================================================
   CTA DESCARGA
   ========================================================= */
.download { text-align: center; }
.download-card {
  background: var(--card); border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 72px); box-shadow: var(--shadow);
}
.download-card h2 { font-size: clamp(30px, 5vw, 50px); margin-bottom: 18px; }
.download-card p { color: var(--text-2); font-size: 18px; max-width: 520px; margin: 0 auto 32px; }
.download-note { margin-top: 18px; font-size: 13.5px; color: var(--text-3); }

/* ---------- descarga verificada ---------- */
.verified { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.verified-item { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-2); }
.verified-item .ti { font-size: 17px; color: var(--accent-2); }
a.verified-item { transition: color .15s; }
a.verified-item:hover { color: var(--text); }
.verified-item.sha code { font-family: ui-monospace, monospace; font-size: 12px; color: var(--text-3); background: rgba(255,255,255,.05); padding: 2px 7px; border-radius: 6px; word-break: break-all; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: var(--card); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; color: var(--text); cursor: pointer;
  font-family: inherit; font-size: 17px; font-weight: 700; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q .ti { font-size: 22px; color: var(--accent-2); transition: transform .25s; flex: none; }
.faq-item.open .faq-q .ti { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--text-2); font-size: 15.5px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--border); padding: 56px 0 34px; background: var(--bg-2); position: relative; z-index: 1; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer .brand { margin-bottom: 12px; }
.footer-about { max-width: 320px; color: var(--text-2); font-size: 14.5px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 14px; font-weight: 700; }
.footer-col a { display: block; color: var(--text-2); font-size: 14.5px; margin-bottom: 10px; transition: color .18s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 13.5px; }
.footer-badge { display: inline-flex; align-items: center; gap: 7px; }
.footer-badge .ti { color: var(--accent-2); }

/* =========================================================
   ANIMACIONES DE APARICIÓN
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 920px) {
  .features-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .privacy-card { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 8px 0;
  }
  .nav.open .nav-links a { padding: 14px 24px; width: 100%; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 40px; }
  .app-body { grid-template-columns: 1fr; }
  .app-prev { display: none; }
  .app-list { border-right: 0; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .features-grid, .steps { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { width: 100%; }
  .footer-cols { gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .app-search .caret { animation: none; }
}
