:root {
  --bg: #050505;
  --bg-soft: rgba(19, 19, 19, 0.74);
  --panel: rgba(18, 18, 18, 0.82);
  --panel-strong: rgba(11, 11, 11, 0.88);
  --line: rgba(255, 199, 0, 0.18);
  --line-strong: rgba(255, 199, 0, 0.34);
  --text: #fbfbfb;
  --muted: #c3c3c3;
  --yellow: #ffcc14;
  --yellow-deep: #c79600;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  isolation: isolate;
}

.background-layer {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.82)),
    linear-gradient(125deg, rgba(0, 0, 0, 0.88), rgba(23, 23, 23, 0.52)),
    url("fondo.jpg") center / cover no-repeat;
  transform: scale(1.05);
  z-index: -3;
}

.background-layer::before,
.background-layer::after {
  content: "";
  position: absolute;
  inset: 0;
}

.background-layer::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 204, 20, 0.12), transparent 26%),
    radial-gradient(circle at 80% 70%, rgba(255, 204, 20, 0.08), transparent 24%);
  z-index: -2;
}

.background-layer::after {
  background-image:
    linear-gradient(rgba(255, 204, 20, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 204, 20, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 95%);
  opacity: 0.35;
  z-index: -1;
}

.landing {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.topbar-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.language-toggle {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.68);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.language-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 204, 20, 0.6);
  color: var(--yellow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 42px;
  align-items: center;
  min-height: 100vh;
}

.secondary-button,
.feature-panel,
.hero-card,
.cta-banner,
.stats li,
.climb-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-logo-lockup {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 28px 0 10px;
}

.hero-logo-lockup__image {
  width: min(100%, 148px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(255, 204, 20, 0.16));
}

.hero-logo-lockup__name {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -0.04em;
}

.eyebrow,
.feature-index,
.tag {
  font-family: "Space Grotesk", sans-serif;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy h1 span {
  display: block;
  color: var(--yellow);
}

.eyebrow {
  margin: 26px 0 0;
  color: var(--yellow);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-text,
.feature-panel p,
.cta-banner p,
.climb-card p,
.stats span {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 62ch;
  margin: 0 0 28px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 18px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button {
  background: linear-gradient(180deg, #ffd84b, var(--yellow));
  color: #141414;
  box-shadow: 0 16px 34px rgba(255, 204, 20, 0.24);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.secondary-button {
  border: 1px solid var(--line-strong);
  background: rgba(20, 20, 20, 0.62);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats li {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 1rem;
}

.hero-card {
  justify-self: end;
  width: min(100%, 430px);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.76), rgba(9, 9, 9, 0.9));
  box-shadow: var(--shadow);
}

.phone-frame {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(33, 33, 33, 0.55);
}

.phone-screen {
  overflow: hidden;
  border-radius: 22px;
  background: #050505;
}

.feature-panel h3,
.cta-banner h2 {
  margin: 12px 0 8px;
  line-height: 1.15;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
}

.app-brand__logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.app-user {
  color: #d6c6c6;
  font-size: 0.82rem;
}

.app-content {
  position: relative;
  padding: 18px 14px 0;
}

.app-section-header h2 {
  margin: 0 0 16px;
  font-size: 1.9rem;
  line-height: 1.05;
}

.app-search {
  display: flex;
  align-items: center;
  min-height: 46px;
  margin-bottom: 20px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: #1b1b1b;
  color: #928b8b;
  font-size: 0.94rem;
}

.wall-card {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #171717;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.wall-card__image {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.wall-card__body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
}

.wall-card__body h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.wall-card__body p {
  margin: 0;
  color: #b8b8b8;
  font-size: 0.82rem;
}

.wall-card__body span {
  color: #8f8f8f;
  font-size: 0.74rem;
  white-space: nowrap;
}

.app-scrollbar {
  position: absolute;
  top: 0;
  right: 2px;
  width: 10px;
  height: calc(100% - 8px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.app-scrollbar span {
  position: absolute;
  top: 12px;
  left: 2px;
  width: 6px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.app-bottom-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 12px 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #030303;
}

.app-bottom-nav__item {
  text-align: center;
  color: #d3d3d3;
  font-size: 0.84rem;
  font-weight: 700;
}

.app-bottom-nav__item--active {
  color: var(--yellow);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.feature-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.feature-index {
  color: var(--yellow);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 20px 0 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 204, 20, 0.08), rgba(10, 10, 10, 0.92));
  box-shadow: var(--shadow);
}

.cta-banner h2 {
  margin-bottom: 0;
}

.primary-button--compact {
  flex-shrink: 0;
}

.dev-notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 20;
  width: min(calc(100% - 24px), 520px);
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(12, 12, 12, 0.92);
  color: var(--text);
  text-align: center;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.dev-notice--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 22px 4px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__brand {
  margin: 0;
  color: var(--yellow);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__links a {
  color: var(--muted);
  transition: color 180ms ease;
}

.site-footer__links a:hover {
  color: var(--yellow);
}

@media (max-width: 980px) {
  .landing {
    width: min(100% - 24px, 1180px);
    padding-top: 24px;
  }

  .topbar-controls {
    margin-bottom: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding-top: 28px;
  }

  .hero-card {
    justify-self: stretch;
    width: 100%;
  }

  .features {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .hero-copy h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .topbar-controls {
    justify-content: center;
  }

  .language-toggle {
    width: 100%;
  }

  .hero-logo-lockup {
    gap: 16px;
    margin-top: 22px;
  }

  .hero-logo-lockup__image {
    width: min(40vw, 132px);
  }

  .hero-logo-lockup__name {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button,
  .primary-button--compact {
    width: 100%;
  }

  .landing {
    padding-bottom: 32px;
  }

  .feature-panel,
  .cta-banner,
  .hero-card {
    border-radius: 24px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
