/* FitTek — Landing producto (naranja + negro, estilo hub SoporTek) */

:root {
  --bg-dark: #0a0a0b;
  --bg-card: #121214;
  --bg-elevated: #1a1a1e;
  --accent-orange: #f56a12;
  --accent-orange-light: #ff8a4c;
  --accent-orange-dim: rgba(245, 106, 18, 0.25);
  --text-white: #ffffff;
  --text-muted: #b0b0b8;
  --text-dim: #6b6b72;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --glow-orange: rgba(245, 106, 18, 0.22);
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--text-white);
  color: var(--bg-dark);
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--accent-orange-light);
  outline-offset: 2px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-white);
  background-color: var(--bg-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

.grid-bg {
  position: fixed;
  inset: 0;
  contain: layout paint;
  background-image:
    linear-gradient(rgba(245, 106, 18, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 106, 18, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--accent-orange-light);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10, 10, 11, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text-white);
}

.nav a:focus-visible {
  outline: 2px solid var(--accent-orange-light);
  outline-offset: 2px;
  border-radius: 4px;
}

main {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 2rem 4rem;
}

.hero {
  padding: 1.5rem 0 3rem;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 320px;
  text-align: left;
  min-width: 0;
}

.hero-visual {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-photo {
  display: block;
  max-width: 100%;
  width: min(420px, 100%);
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 48px var(--glow-orange);
  object-fit: cover;
}

.como-funciona {
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
}

.como-funciona-inner {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  flex-wrap: wrap;
}

/* Imagen a la izquierda; pasos a la derecha (contrario al hero: texto izq, foto der) */
.como-funciona-visual {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
}

.como-funciona-photo {
  display: block;
  max-width: 100%;
  width: min(420px, 100%);
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 32px var(--glow-orange);
  object-fit: cover;
}

.como-funciona-steps {
  flex: 1 1 300px;
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-orange-light);
  border: 1px solid var(--accent-orange-dim);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-white);
  max-width: min(560px, 100%);
  margin: 0 0 0.75rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: min(560px, 100%);
  margin: 0 0 0.5rem;
}

.hero-subtitle:last-of-type {
  margin-bottom: 2rem;
}

.hero-cta {
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-orange-light);
  outline-offset: 2px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: var(--bg-dark);
  background: var(--accent-orange);
  border: 2px solid var(--accent-orange);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent-orange-light);
}

.btn-secondary {
  color: var(--text-white);
  background: transparent;
  border: 2px solid var(--accent-orange-light);
}

.btn-secondary:hover {
  background: var(--accent-orange-dim);
}

.resuelve {
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
}

.resuelve-list,
.beneficios-list,
.steps-list,
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resuelve-list li,
.beneficios-list li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
  overflow-wrap: break-word;
}

.resuelve-list li::before,
.beneficios-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  color: var(--accent-orange-light);
}

.steps-list {
  counter-reset: step;
}

.steps-list li {
  padding: 1rem 0 1rem 3rem;
  position: relative;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.steps-list li:last-child {
  border-bottom: none;
}

.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--bg-dark);
  background: var(--accent-orange);
  border-radius: 6px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.audience-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.audience-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--accent-orange-light);
}

.audience-card p,
.audience-card ul {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.audience-card ul {
  padding-left: 1.1rem;
}

.faq-list dt {
  font-weight: 600;
  color: var(--text-white);
  margin-top: 1rem;
}

.faq-list dd {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.roadmap-note {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
  padding: 1rem;
  border-left: 3px solid var(--accent-orange);
  background: var(--bg-card);
}

.beneficios {
  padding: 2rem 0;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 3rem 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.section-title .mono {
  font-size: 0.9rem;
  color: var(--accent-orange-light);
}

.features-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}

.feature-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--accent-orange-light);
  box-shadow: 0 0 24px var(--glow-orange);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  color: var(--accent-orange-light);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.cta {
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-align: center;
}

.cta-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: min(560px, 100%);
  margin-inline: auto;
}

.footer {
  margin-top: 4rem;
  padding: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
}

.footer-copy a {
  color: var(--accent-orange-light);
  text-decoration: none;
}

.footer-copy a:hover {
  color: var(--text-white);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .header {
    padding: 0.875rem 1.25rem;
    flex-wrap: wrap;
  }

  .nav {
    flex: 1 1 100%;
    gap: 1.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-subtle);
    overflow-x: auto;
  }

  main {
    padding: 2rem 1.25rem 3rem;
  }

  .hero-inner {
    flex-direction: column;
  }

  .hero-content {
    text-align: center;
  }

  .hero-visual {
    justify-content: center;
    order: -1;
  }

  .como-funciona-inner {
    flex-direction: column;
  }

  .como-funciona-visual {
    justify-content: center;
    order: -1;
  }

  .como-funciona-steps {
    width: 100%;
  }

  .hero-lead,
  .hero-subtitle {
    margin-inline: auto;
  }

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

  .btn {
    width: 100%;
    text-align: center;
  }
}
