/* ============================================================
   NegoFit Timer — Informational site
   Pure HTML + CSS3, responsive, bilingual (ES/EN via CSS only)
   Brand tokens shared with NEGO
   ============================================================ */

:root {
  --bg:            #001426;
  --bg-2:          #04223d;
  --surface:       #ffffff;
  --accent:        #97b002;
  --accent-2:      #a8c40a;
  --accent-border: #326736;

  --text:          #eaf1f7;
  --text-muted:    #9db2c4;
  --radius:        16px;
  --radius-sm:     10px;
  --maxw:          1120px;
  --maxw-read:     760px;
  --font:          "Belanosima", "Roboto", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* ===== Language toggle (pure CSS — default Spanish) ===== */
.lang-input { position: absolute; opacity: 0; pointer-events: none; }
.en { display: none; }
#lang-en:checked ~ .site .en { display: revert; }
#lang-en:checked ~ .site .es { display: none; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.lang-toggle__btn {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}
#lang-es:checked ~ .site .lang-toggle__es,
#lang-en:checked ~ .site .lang-toggle__en {
  background: var(--accent);
  color: var(--bg);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 20, 38, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--surface);
  font-size: 1.15rem;
}
.brand__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: block;
}
.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav a { color: var(--text-muted); transition: color 0.2s; }
.nav a:hover, .nav a.is-active { color: var(--accent); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, 0.25); color: var(--surface); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Google Play button */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--bg);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-store:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0,0,0,0.7); }
.btn-store__icon { font-size: 1.2rem; color: var(--accent-border); }
.btn-store__text { display: flex; flex-direction: column; line-height: 1.15; }
.btn-store__small { font-size: 0.64rem; letter-spacing: 0.04em; opacity: 0.8; }
.btn-store__big { font-size: 1.05rem; font-weight: 700; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 72px 0 48px; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}
.hero__title {
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--surface);
}
.accent { color: var(--accent); }
.hero__lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 0 28px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__art { display: flex; justify-content: center; }
.hero__icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 40px;
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.7);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 64px 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section__kicker {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  margin: 0 0 10px;
}
.section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--surface);
  margin: 0 0 12px;
}
.section__sub { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--accent); }
.feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(151, 176, 2, 0.15);
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.feature__title { font-size: 1.2rem; font-weight: 700; color: var(--surface); margin: 0 0 8px; }
.feature__text { color: var(--text-muted); margin: 0; font-size: 0.97rem; }

/* States highlight (work / rest) */
.states {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
.state-card {
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.state-card--work { background: var(--accent); color: var(--bg); }
.state-card--rest { background: var(--bg-2); color: var(--text); }
.state-card__label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.state-card__title { font-size: 1.5rem; font-weight: 700; margin: 6px 0 6px; }
.state-card--work .state-card__title { color: var(--bg); }
.state-card--rest .state-card__title { color: var(--surface); }
.state-card__text { margin: 0; opacity: 0.9; font-size: 0.97rem; }

/* CTA */
.cta { text-align: center; }
.cta__inner {
  background:
    radial-gradient(130% 120% at 50% 0%, rgba(151, 176, 2, 0.14), rgba(4, 34, 61, 0) 60%),
    var(--bg-2);
  border: 1px solid var(--accent-border);
  border-radius: 28px;
  padding: 56px 32px;
}
.cta__title { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; color: var(--surface); margin: 0 0 14px; }
.cta__text { color: var(--text-muted); font-size: 1.08rem; margin: 0 0 26px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   LEGAL / READABLE PAGES
   ============================================================ */
.legal { padding: 56px 0 40px; }
.legal__wrap { max-width: var(--maxw-read); margin: 0 auto; }
.legal h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--surface);
  margin: 0 0 8px;
}
.legal__updated { color: var(--text-muted); font-size: 0.92rem; margin: 0 0 32px; }
.legal h2 {
  font-size: 1.35rem;
  color: var(--accent);
  margin: 36px 0 10px;
}
.legal p, .legal li { color: var(--text); opacity: 0.92; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); text-decoration: underline; }
.callout {
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 24px 0;
}
.callout p { margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 0;
  margin-top: 40px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}
.footer__col h4 { color: var(--surface); font-size: 1rem; margin: 0 0 12px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { color: var(--text-muted); font-size: 0.95rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--accent); }
.footer__brandline { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.9rem; }
.footer__logo { height: 40px; width: auto; }
.footer__copy { color: var(--text-muted); font-size: 0.85rem; margin-top: 14px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__art { order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav { gap: 16px; font-size: 0.88rem; }
  .hero { padding: 44px 0 24px; }
  .states { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .nav a:not(.nav__cta) { display: none; }
  .footer__inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
