/* Web de FramyClip. Sin fuentes, scripts ni servicios externos: nada sale de la página. */
:root {
  --bg: #0b0d13;
  --surface: #141721;
  --surface-high: #1c2030;
  --border: #262b3b;
  --text: #f3f4f8;
  --muted: #a3a8b8;
  --blue: #4fc3ff;
  --violet: #7b61ff;
  --pink: #e46cf0;
  --grad: linear-gradient(120deg, #4fa8ff 0%, #7b61ff 50%, #d95ceb 100%);
  --radius: 28px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 760px;
  background:
    radial-gradient(circle at 12% 0%, rgba(79, 168, 255, 0.24) 0%, rgba(79, 168, 255, 0) 45%),
    radial-gradient(circle at 85% 12%, rgba(217, 92, 235, 0.2) 0%, rgba(217, 92, 235, 0) 45%),
    radial-gradient(circle at 50% 40%, rgba(123, 97, 255, 0.12) 0%, rgba(123, 97, 255, 0) 60%);
  pointer-events: none;
  z-index: -1;
}

a { color: #a9b8ff; }
a:hover { color: #fff; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Cabecera */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.2px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.lang { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-high); }

/* Portada */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 40px 0 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(123, 97, 255, 0.16);
  border: 1px solid rgba(123, 97, 255, 0.35);
  color: #c9bfff;
  font-weight: 700;
  font-size: 14px;
}
h1 { font-size: clamp(40px, 7vw, 70px); line-height: 1.04; letter-spacing: -1.8px; margin: 18px 0 16px; }
.lead { color: var(--muted); font-size: 19px; max-width: 32em; margin: 0 0 28px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 32px rgba(123, 97, 255, 0.45); }
.btn-primary:hover { color: #fff; filter: brightness(1.08); }
.btn-secondary { background: var(--surface-high); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { color: var(--text); border-color: #3a4058; }
.btn small { display: block; font-weight: 600; font-size: 11px; opacity: 0.85; line-height: 1; }
.btn .label { line-height: 1.15; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* Teléfono de la portada */
.stage { position: relative; justify-self: center; width: 100%; max-width: 380px; padding: 12px 36px; }
.stage::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  background: var(--grad);
  filter: blur(70px);
  opacity: 0.45;
  border-radius: 50%;
  z-index: -1;
}
.phone {
  position: relative;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2f42, #10121a 60%);
  border: 1px solid #353b52;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transform: rotate(-3deg);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 35px; }
.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 18px;
  background: rgba(20, 23, 33, 0.88);
  border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.float small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; line-height: 1.2; }
.float .dot { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); flex: none; }
.float .dot svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.float-1 { top: 18%; left: -6px; }
.float-2 { bottom: 16%; right: -6px; }

/* Secciones */
section { padding: 64px 0; }
h2 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.12; letter-spacing: -1px; margin: 0 0 12px; }
.section-lead { color: var(--muted); margin: 0 0 36px; font-size: 18px; max-width: 40em; }
.section-lead.note { font-size: 14px; margin: 16px 0 0; }
.kicker { display: block; color: #b9a9ff; font-weight: 800; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 10px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: #3a4160; transform: translateY(-2px); }
.card h3 { margin: 16px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.card li { margin: 3px 0; }
.tile {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79, 168, 255, 0.2), rgba(217, 92, 235, 0.2));
  border: 1px solid rgba(123, 97, 255, 0.3);
  display: grid;
  place-items: center;
}
.tile svg { width: 26px; height: 26px; stroke: #cfc6ff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Bloques destacados (texto + captura) */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.spotlight.reverse .spot-media { order: -1; }
.spot-media img.crop-sync { object-position: 50% 38%; }
.spot-media img.crop-bottom { object-position: 50% 92%; }
.spot-media {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 340px;
}
.spot-media::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: var(--grad);
  filter: blur(60px);
  opacity: 0.32;
  z-index: -1;
}
/* Recorte de la captura (540 × 1080) a 4:5 para que no quede tan alta; cada una enfoca su zona. */
.spot-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 30px; border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.checks { list-style: none; margin: 20px 0 0; padding: 0; }
.checks li { position: relative; padding-left: 34px; margin: 12px 0; color: #d5d8e4; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* Capturas */
.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-color: #3a4058 transparent;
}
.shots img {
  width: 240px;
  height: auto;
  flex: 0 0 auto;
  border-radius: 26px;
  border: 1px solid var(--border);
  scroll-snap-align: start;
}

/* Cifras de exportación */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 22px; }
.stat b { display: block; font-size: 30px; letter-spacing: -0.8px; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }

.highlight {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 44px;
  background: var(--grad);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
.highlight::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.12);
}
.highlight h2 { margin-bottom: 8px; }
.highlight p { margin: 0; font-weight: 600; font-size: 17px; opacity: 0.95; max-width: 34em; }
.highlight .btn { justify-self: start; position: relative; z-index: 1; background: #fff; color: #3b2a99; }
.highlight .btn:hover { color: #3b2a99; filter: none; background: #f1eeff; }

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 22px;
  margin-bottom: 12px;
}
details[open] { border-color: #3a4160; }
summary { cursor: pointer; font-weight: 700; font-size: 17px; }
details p { color: var(--muted); margin: 12px 0 0; }

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* Páginas de texto (privacidad y soporte) */
.doc { max-width: 760px; padding: 32px 0 64px; }
.doc h1 { font-size: clamp(36px, 6vw, 52px); }
.doc h2 { font-size: 24px; letter-spacing: -0.3px; margin-top: 40px; }
.doc h3 { font-size: 18px; margin: 28px 0 4px; }
.doc p, .doc li { color: #d3d6e2; }
.doc .updated { color: var(--muted); }
.doc .summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--violet);
  border-radius: 18px;
  padding: 18px 22px;
  margin: 24px 0;
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; gap: 32px; }
  .stage { max-width: 320px; }
  .features { grid-template-columns: 1fr 1fr; }
  .spotlight { grid-template-columns: 1fr; gap: 32px; }
  .spotlight.reverse .spot-media { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .highlight { grid-template-columns: 1fr; padding: 32px 28px; }
  .nav-links a:not(.lang) { display: none; }
  .shots img { width: 200px; }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .float { font-size: 13px; }
  .float-1 { left: -4px; }
  .float-2 { right: -4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .card:hover { transform: none; }
}
