:root {
  --bg: #09090b;
  --surface: #18181b;
  --surface-alt: #27272a;
  --border: #3f3f46;
  --accent: #ccff00;
  --accent-dark: #aacc00;
  --text: #ffffff;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --team-a: #ff2a5f;
  --team-b: #00e5ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.lang-toggle button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  cursor: pointer;
}

.lang-toggle button.active {
  background-color: var(--accent);
  color: var(--bg);
}

section {
  padding: 56px 0;
}

section.alt {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero {
  text-align: center;
  padding: 64px 0 48px;
}

.hero-logo {
  /* icon.png encuadra la pala más ajustada (más alta en proporción) que el logo.png antiguo que
     sustituye — se reduce el ancho objetivo (antes 220px/180px) para que la pala se vea del mismo
     tamaño visual que antes, en vez de ~14% más grande. */
  width: 193px;
  height: auto;
  margin: 0 auto 8px;
}

@media (max-width: 480px) {
  .hero-logo {
    width: 158px;
  }
}

.hero h1 {
  font-size: 34px;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero p.claim {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg);
}

.btn-outline {
  background: none;
  color: var(--text);
  border: 1px solid var(--border);
}

h2.section-title {
  font-size: 26px;
  text-align: center;
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.feature-card .icon {
  font-size: 26px;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.mock-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  margin-top: 16px;
}

.screens-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screens-gallery img {
  flex: 0 0 auto;
  height: 420px;
  width: auto;
  border-radius: 22px;
  border: 6px solid var(--surface-alt);
  background-color: var(--bg);
  scroll-snap-align: start;
}

@media (max-width: 480px) {
  .screens-gallery img {
    height: 340px;
  }
}

.pricing-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 480px;
  margin: -20px auto 40px;
}

.plans-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  flex: 1 1 220px;
  max-width: 260px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
}

.plan-card.featured {
  border-color: var(--accent);
  background-color: var(--surface-alt);
  transform: scale(1.04);
}

.plan-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.plan-price {
  font-size: 34px;
  font-weight: 900;
  margin: 10px 0 2px;
  color: var(--text);
}

.plan-price .plan-unit {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-equiv {
  color: var(--text-dim);
  font-size: 12px;
  min-height: 16px;
}

.plan-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.savings-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: var(--bg);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.pricing-fallback {
  color: var(--text-muted);
  text-align: center;
}

.pro-benefits {
  max-width: 640px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 560px) {
  .pro-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pro-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pro-benefit-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(204, 255, 0, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
}

.pro-benefit h4 {
  margin: 0 0 2px;
  font-size: 14px;
  color: var(--text);
}

.pro-benefit p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.pricing-cta-row {
  text-align: center;
  margin-top: 36px;
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

.pricing-legal {
  color: var(--text-dim);
  font-size: 12px;
  margin-top: 12px;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.download-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
}

.download-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.download-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex: 0 0 auto;
}

.download-card img.qr {
  width: 160px;
  height: 160px;
  margin: 16px auto;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.coming-soon-badge {
  display: inline-block;
  margin: 16px auto;
  padding: 10px 18px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 13px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

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

.waitlist-box {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-form input[type="email"] {
  flex: 1 1 220px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background-color: var(--surface);
  color: var(--text);
  font-size: 15px;
}

.waitlist-form input[type="text"].hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.waitlist-msg {
  margin-top: 14px;
  font-size: 14px;
  min-height: 20px;
}

.waitlist-msg.ok {
  color: var(--accent);
}

.waitlist-msg.error {
  color: #ef4444;
}

footer {
  padding: 32px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

.footer-legal {
  margin-top: 8px;
}

.footer-legal a {
  color: var(--text-dim);
  text-decoration: underline;
}

.footer-legal a:hover {
  color: var(--accent);
}

.legal-page .container {
  max-width: 720px;
  padding: 48px 24px 64px;
}

.legal-page h1 {
  font-size: 28px;
  margin-bottom: 24px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.legal-back:hover {
  color: var(--accent);
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  font-size: 17px;
  color: var(--accent);
  margin-bottom: 10px;
}

.legal-section p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.legal-meta {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 32px;
}

