:root{
  --bg:#0b0b0f;
  --bg2:#101019;
  --card:#121221;
  --text:#f4f4f6;
  --muted:#b6b6c3;
  --line:rgba(255,255,255,.08);
  --primary:#f6c74a;
  --primary2:#ffdf7c;
  --shadow:rgba(0,0,0,.6);
  --radius:18px;
  --max:1120px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,system-ui;
  background:var(--bg);
  color:var(--text);
}
a{text-decoration:none;color:inherit}

.container{max-width:var(--max);margin:0 auto;padding:0 20px}

html{
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* para que el header sticky no tape el título */
}

/* Header */
.header{
  position:sticky;top:0;z-index:10;
  background:rgba(11,11,15,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header__inner{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand__logo{height:42px}

/* Nav */
.nav{display:none;gap:18px}
.nav a{color:var(--muted);font-weight:600;font-size:14px}
.nav a:hover{color:var(--text)}

.header__actions{display:flex;gap:10px;align-items:center}

/* Buttons */
.btn{
  padding:10px 14px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
}
.btn--primary{
  background:linear-gradient(180deg,var(--primary2),var(--primary));
  color:#1a1406;
  border-color:rgba(246,199,74,.4);
}
.btn--ghost{background:transparent}

/* Hero */
.hero{padding:64px 0}
.hero__inner{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:32px;
}
.pill{
  display:inline-block;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(246,199,74,.1);
  color:var(--primary2);
  font-weight:700;
  font-size:12px;
}
h1{font-size:52px;margin:14px 0}
.lead{color:var(--muted);max-width:60ch}
.hero__cta{margin-top:20px;display:flex;gap:12px;flex-wrap:wrap}
.hero__meta{margin-top:22px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}

.meta-item{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:12px;
}
.meta-title{font-weight:800;font-size:13px}
.meta-sub{font-size:12px;color:var(--muted)}

/* Sections */
.section{padding:56px 0}
.section--alt{background:rgba(255,255,255,.02)}
.section__header{margin-bottom:12px}
.section__header h2{margin:0;font-size:28px}
.section__header p{color:var(--muted)}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  background:rgba(255,255,255,.02);
  box-shadow:0 20px 50px var(--shadow);
}
.card__icon{
  width:42px;height:42px;
  display:grid;place-items:center;
  border-radius:14px;
  border:1px solid var(--line);
  margin-bottom:12px;
}
.card__actions{margin-top:14px;display:flex;gap:10px;flex-wrap:wrap}

/* App icon */
.appIconWrap{
  width:52px;height:52px;
  border-radius:14px;
  border:1px solid var(--line);
  display:grid;place-items:center;
  margin-bottom:12px;
}
.appIcon{width:44px;height:44px;border-radius:12px}

/* Screenshots */
.shots{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.shots img{
  width:100%;
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow:0 20px 50px var(--shadow);
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:22px 0;
}
.muted{color:var(--muted)}
.small{font-size:12px}

/* Device mock */
.device__screen{
  border-radius:28px;
  padding:16px;
  border:1px solid var(--line);
}
.mock{border-radius:20px;border:1px solid var(--line)}
.mock__top{display:flex;gap:6px;padding:10px}
.dot{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.2)}
.mock__body{padding:16px}
.mock__label{color:var(--primary2);font-weight:800}
.mock__time{font-size:36px;font-weight:900}

/* Responsive */
@media(max-width:980px){
  .hero__inner{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .shots{grid-template-columns:1fr 1fr}
}
@media(min-width:900px){
  .nav{display:flex}
}
#langToggle{
  color: var(--text);
  min-width: 36px;
  text-align: center;
}
/* Improve ghost button contrast (used by Back button) */
.btn--ghost{
  color: var(--text);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.btn--ghost:hover{
  background: rgba(255,255,255,.12);
}
.hero__inner{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 24px;
  align-items: start;
}

.hero__meta--vertical{
  margin-top: 34px; /* alinea visualmente con el h1/lead */
  display:flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 980px){
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__meta--vertical{ margin-top: 14px; }
}

/* Credits showcase */
.credits-showcase{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  margin: 32px 0 48px;
  align-items: center;
}

.credits-image img{
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 20px 50px var(--shadow);
}

.credits-info{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.credits-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
}

.credits-icon{
  font-size:22px;
  line-height:1;
}

.credits-item h4{
  margin:0 0 6px;
  font-size:16px;
  font-weight:700;
}

.credits-item p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.credits-bonus-img{
  display: block;
  width: 100%;
  max-width: 140px;
  height: auto;
  margin-top: 10px;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 980px){
  .credits-showcase{
    grid-template-columns:1fr;
  }
  .credits-image{
    order:2;
  }
}