/* Clavito Store — landing de actualización Android
   Colores: fondo #F3F3F3, marca #232F3E, acento #FF9900 */

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

:root {
  --bg: #f3f3f3;
  --navy: #232f3e;
  --navy-light: #3b4a5c;
  --orange: #ff9900;
  --orange-border: #e58a00;
  --text: #232f3e;
  --text-muted: #4a5666;
  --text-soft: #6b7787;
  --border: #e3e3e3;
  --border-soft: #eeeeee;
  --blue: #146eb4;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 44px; height: 44px;
  background: var(--orange);
  transform: rotate(45deg);
  border-radius: 5px;
  flex-shrink: 0;
}
.brand-mark-img {
  transform: none;
  object-fit: contain;
  background: transparent;
  border-radius: 4px;
  width: auto;
  height: auto;
  max-height: 52px;
  max-width: 220px;
}
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.brand-badge {
  font-family: var(--mono);
  font-size: 11px;
  color: #9aa7b6;
  border: 1px solid var(--navy-light);
  border-radius: 3px;
  padding: 3px 7px;
  margin-left: 6px;
}
.header-right { display: flex; align-items: center; gap: 28px; }
.header-release { font-family: var(--mono); font-size: 12px; color: #c3ccd6; white-space: nowrap; }
.lang-switch {
  display: flex;
  border: 1px solid var(--navy-light);
  border-radius: 4px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px;
}
.lang-switch a {
  padding: 6px 11px;
  letter-spacing: 0.06em;
  color: #c3ccd6;
  font-weight: 400;
}
.lang-switch a.active {
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
}

/* Banner */
.update-banner {
  background: var(--orange);
  color: var(--navy);
  padding: 11px 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}
.update-banner .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--navy);
  animation: pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Hero */
.hero {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  padding: 72px 40px 64px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.app-icon-wrap { margin-bottom: 18px; }
.app-icon-wrap img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(35, 47, 62, 0.18);
  border: 1px solid var(--border);
}
.hero h1 {
  font-size: 56px;
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  font-weight: 700;
}
.hero p.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 34px;
  max-width: 56ch;
}
.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.btn-primary {
  background: var(--orange);
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  padding: 17px 30px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--orange-border);
}
.btn-secondary {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  padding: 17px 22px;
  border: 1px solid #cfd6de;
  border-radius: 6px;
  background: #fff;
}
.play-icon { font-size: 11px; line-height: 1; }
.hero-footnote {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.9;
}

/* Play card */
.play-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.play-card-head {
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.play-card-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13px;
}
.play-card-row .k { color: var(--text-soft); }
.play-card-row .v {
  font-family: var(--mono);
  color: var(--navy);
  text-align: right;
  word-break: break-all;
}
.play-card-foot {
  padding: 16px 20px;
  background: var(--bg);
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Section headings */
.section { padding: 80px 40px 20px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: 30px;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.section-head .meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-soft);
}

/* Changelog cards */
.changelog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.change-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tag {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 4px 8px;
  color: var(--blue);
  display: inline-block;
  width: fit-content;
}
.change-card h3 { font-size: 19px; margin: 0; letter-spacing: -0.01em; font-weight: 700; }
.change-card p { font-size: 14px; line-height: 1.65; color: var(--text-muted); margin: 0; }
.change-card .meta-line {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-soft);
  border-top: 1px dashed var(--border);
  padding-top: 12px;
  margin-top: auto;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.step {
  padding: 28px 24px;
  border-right: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
}
.step h3 { font-size: 15px; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
.step p { font-size: 13px; line-height: 1.6; color: var(--text-muted); margin: 0; }

.install-cta {
  margin-top: 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.install-cta-text { max-width: 60ch; }
.install-cta-title { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.install-cta-sub {
  font-family: var(--mono);
  font-size: 12px;
  color: #9aa7b6;
  line-height: 1.7;
  white-space: pre-line;
}
.install-cta .btn-primary { padding: 16px 28px; white-space: nowrap; }

/* Screenshots */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.screen { display: flex; flex-direction: column; gap: 14px; }
.screen-frame {
  aspect-ratio: 9 / 16;
  border: 1px solid #cfd6de;
  border-radius: 14px;
  background-image: repeating-linear-gradient(135deg, #fff 0px, #fff 9px, #eef0f2 9px, #eef0f2 18px);
  background-size: cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
}
.screen-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.screen-caption {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-soft);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 6px 10px;
  text-align: center;
}
.screen-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* EOL notice */
.eol-section { padding: 80px 40px 100px; }
.eol-box {
  background: #fff;
  border-width: 1px 1px 1px 6px;
  border-style: solid;
  border-color: var(--border) var(--border) var(--border) var(--orange);
  border-radius: 8px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}
.eol-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eol-box h2 { font-size: 28px; margin: 0 0 14px; letter-spacing: -0.02em; font-weight: 700; }
.eol-box p { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin: 0; max-width: 58ch; }
.eol-facts { border-left: 1px solid var(--border); padding-left: 32px; }
.eol-fact { padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.eol-fact:last-child { border-bottom: none; }
.eol-fact .k {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}
.eol-fact .v { font-size: 15px; font-weight: 600; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #9aa7b6;
  padding: 44px 40px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand .brand-mark { width: 32px; height: 32px; border-radius: 4px; }
.footer-brand .brand-mark-img { max-height: 36px; max-width: 160px; }
.footer-brand span { font-weight: 700; }
.footer-text {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-line;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .changelog-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .screens-grid { grid-template-columns: 1fr; }
  .eol-box { grid-template-columns: 1fr; gap: 28px; }
  .eol-facts { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; }
  .hero h1 { font-size: 40px; }
}
@media (max-width: 640px) {
  .site-header { padding: 0 20px; }
  .container, .section, .eol-section { padding-left: 20px; padding-right: 20px; }
  .hero-grid { padding: 40px 20px 48px; }
  .update-banner { padding: 11px 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .header-release { display: none; }
  .install-cta { padding: 24px; }
}
