/* Web de StarkDev (catálogo de apps). Sin fuentes, scripts ni servicios externos. */
:root {
  --bg: #09090c;
  --surface: #131318;
  --surface-high: #1c1c23;
  --border: #26262f;
  --text: #f5f5f7;
  --muted: #a2a2ad;
  --warm: linear-gradient(120deg, #ffc35c 0%, #ff7a59 50%, #ff4f86 100%);
  --radius: 30px;
  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: 820px;
  background:
    radial-gradient(circle at 15% -5%, rgba(255, 122, 89, 0.22) 0%, rgba(255, 122, 89, 0) 42%),
    radial-gradient(circle at 88% 8%, rgba(123, 97, 255, 0.18) 0%, rgba(123, 97, 255, 0) 42%),
    radial-gradient(circle at 60% 55%, rgba(63, 210, 63, 0.08) 0%, rgba(63, 210, 63, 0) 50%);
  pointer-events: none;
  z-index: -1;
}

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

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

.warm-text {
  background: var(--warm);
  -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: 20px; letter-spacing: -0.3px; }
.brand img { width: 38px; height: 38px; }
.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 { padding: 72px 0 40px; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 122, 89, 0.12);
  border: 1px solid rgba(255, 122, 89, 0.3);
  color: #ffbfa6;
  font-weight: 700;
  font-size: 14px;
}
h1 { font-size: clamp(42px, 8vw, 80px); line-height: 1.02; letter-spacing: -2px; margin: 20px auto 18px; max-width: 13em; }
.lead { color: var(--muted); font-size: 19px; max-width: 36em; margin: 0 auto 32px; }
.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
}
.btn-primary { background: var(--warm); color: #1d0a06; box-shadow: 0 10px 34px rgba(255, 122, 89, 0.35); }
.btn-primary:hover { color: #1d0a06; filter: brightness(1.06); }
.btn-secondary { background: var(--surface-high); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { color: var(--text); border-color: #3a3a46; }

.icons-row { display: flex; justify-content: center; gap: 14px; margin-top: 44px; }
.icons-row a { display: block; transition: transform 0.2s; }
.icons-row a:hover { transform: translateY(-3px) rotate(-3deg); }
.icons-row img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
.icons-row .soon { width: 64px; height: 64px; border-radius: 16px; border: 2px dashed #3a3a46; display: grid; place-items: center; color: var(--muted); font-size: 26px; font-weight: 300; }

/* 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; }
.kicker { display: block; color: #ffa585; font-weight: 800; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 10px; }

/* Tarjetas de app. Cada app define su color con --accent, --accent-soft y --glow. */
.apps { display: grid; gap: 24px; }
.app {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  padding: 44px;
  border-radius: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.app::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(circle at 60% 50%, var(--glow) 0%, rgba(0, 0, 0, 0) 62%);
  pointer-events: none;
}
.app > * { position: relative; }
.app-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app-head img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.app-head h3 { margin: 0; font-size: 30px; letter-spacing: -0.6px; line-height: 1.1; }
.app-head span { color: var(--muted); font-size: 14px; font-weight: 600; }
.app-tagline { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.3; margin: 0 0 10px; }
.app-tagline em { font-style: normal; color: var(--accent); }
.app p.desc { color: var(--muted); margin: 0 0 20px; font-size: 16px; max-width: 34em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; }
.app .buttons { justify-content: flex-start; }
.app .btn-primary { background: var(--accent-btn); color: var(--on-accent); box-shadow: 0 10px 30px var(--glow); }
.app .btn-primary:hover { color: var(--on-accent); }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 14px; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ffc35c; box-shadow: 0 0 0 4px rgba(255, 195, 92, 0.18); }
.app-shots { display: flex; justify-content: center; align-items: center; }
.app-shots img {
  width: 46%;
  max-width: 200px;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.app-shots img:first-child { transform: rotate(-5deg) translateX(14px); }
.app-shots img:last-child { transform: rotate(4deg) translate(-14px, 24px); z-index: 1; }

.app.framyclip {
  --accent: #b8a8ff;
  --accent-soft: rgba(123, 97, 255, 0.16);
  --accent-btn: linear-gradient(120deg, #4fa8ff 0%, #7b61ff 50%, #d95ceb 100%);
  --on-accent: #fff;
  --glow: rgba(123, 97, 255, 0.32);
}
.app.console {
  --accent: #5fe05f;
  --accent-soft: rgba(63, 210, 63, 0.13);
  --accent-btn: #107c10;
  --on-accent: #fff;
  --glow: rgba(63, 210, 63, 0.24);
}

.app.next {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 40px 28px;
  background: transparent;
  border: 2px dashed #2f2f39;
}
.app.next::before { display: none; }
.app.next h3 { margin: 12px 0 6px; font-size: 24px; }
.app.next p { margin: 0 auto; color: var(--muted); max-width: 30em; }
.spark { width: 52px; height: 52px; margin: 0 auto; opacity: 0.8; }

/* Principios */
.values { 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; }
.card h3 { margin: 16px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.tile {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(255, 122, 89, 0.12);
  border: 1px solid rgba(255, 122, 89, 0.28);
  display: grid;
  place-items: center;
}
.tile svg { width: 26px; height: 26px; stroke: #ffb08f; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.contact {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  padding: 48px 44px;
  background: var(--warm);
  color: #1d0a06;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
.contact::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, 0.16);
}
.contact h2 { margin-bottom: 8px; }
.contact p { margin: 0; font-weight: 600; font-size: 17px; max-width: 34em; }
.contact .btn { position: relative; z-index: 1; justify-self: start; background: #1d0a06; color: #fff; }
.contact .btn:hover { color: #fff; background: #000; }

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); }
footer p { margin: 18px 0 0; font-size: 13px; }

@media (max-width: 880px) {
  .hero { padding-top: 40px; }
  .app { grid-template-columns: 1fr; padding: 30px 24px; gap: 28px; }
  .app-shots { order: -1; }
  .values { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; padding: 34px 28px; }
  .nav-links a:not(.lang) { display: none; }
}

@media (max-width: 480px) {
  .app-head img { width: 60px; height: 60px; border-radius: 15px; }
  .app-head h3 { font-size: 26px; }
  .app-tagline { font-size: 19px; }
  .app .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .icons-row a { transition: none; }
}
