/* Estilos compartidos de las páginas de producto (mismo aspecto que index.html) */
:root {
  --bg:       #0a0d14;
  --surface:  #111623;
  --surface2: #161c2d;
  --border:   #1e2535;
  --cyan:     #00d4ff;
  --cyan-dim: #0094b3;
  --cyan-bg:  rgba(0,212,255,.07);
  --text:     #e2e8f0;
  --muted:    #6b7a96;
  --white:    #ffffff;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(0,212,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: .25rem;
}
code {
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: .86em; color: var(--cyan);
  background: var(--cyan-bg); padding: .1rem .35rem; border-radius: .25rem;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 3rem;
  background: rgba(10,13,20,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1rem;
  color: var(--white); letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.nav-logo span { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: .9rem; font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--cyan); }

.nav-products { position: relative; }
.nav-products-btn {
  display: flex; align-items: center; gap: .3rem;
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-family: 'Inter', sans-serif;
  font-size: .9rem; font-weight: 500; line-height: inherit;
  transition: color .15s;
}
.nav-products-btn:hover, .nav-products.open .nav-products-btn { color: var(--cyan); }
.nav-products-btn svg { width: 13px; height: 13px; transition: transform .15s; }
.nav-products.open .nav-products-btn svg { transform: rotate(180deg); }
.products-menu {
  display: none;
  position: absolute; top: calc(100% + .9rem); left: 50%;
  transform: translateX(-50%);
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: .5rem; padding: .4rem;
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  min-width: 290px; list-style: none; z-index: 110;
}
.nav-products.open .products-menu { display: block; }
.products-menu a {
  display: flex; align-items: center; gap: .8rem;
  padding: .65rem .8rem; border-radius: .35rem;
  color: var(--text);
}
.products-menu a:hover, .products-menu a[aria-current="page"] { background: var(--cyan-bg); }
.products-menu .pm-icon {
  width: 34px; height: 34px; border-radius: .35rem; flex-shrink: 0;
  background: var(--cyan-bg);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.products-menu .pm-name {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: .92rem; color: var(--white);
}
.products-menu .pm-desc { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; }
.products-menu a:hover .pm-name, .products-menu a[aria-current="page"] .pm-name { color: var(--cyan); }

/* ── HERO ── */
.p-hero {
  max-width: 1100px; margin: 0 auto;
  padding: 9rem 3rem 4rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.p-hero-left { border-left: 3px solid var(--cyan); padding-left: 2rem; }
.p-eyebrow {
  font-size: .8rem; color: var(--cyan);
  font-weight: 500; letter-spacing: .06em;
  margin-bottom: 1.2rem; text-transform: uppercase;
}
h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -.03em; color: var(--white);
  margin-bottom: 1.2rem;
}
.p-sub {
  font-size: 1.05rem; color: var(--muted);
  line-height: 1.75; max-width: 460px;
  margin-bottom: 2.2rem; font-weight: 300;
}
.p-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--cyan); color: #000;
  padding: .75rem 1.8rem; border-radius: .35rem;
  font-weight: 600; font-size: .95rem;
  text-decoration: none; transition: opacity .15s;
}
.btn-primary:hover { opacity: .85; }
.btn-ghost {
  border: 1px solid var(--border); color: var(--text);
  padding: .75rem 1.8rem; border-radius: .35rem;
  font-weight: 500; font-size: .95rem;
  text-decoration: none; transition: border-color .15s, color .15s;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.p-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.p-tag {
  font-size: .78rem; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px;
  padding: .2rem .7rem;
}
.p-shot {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--border); border-radius: .5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}

/* ── SECTIONS ── */
.p-section { border-top: 1px solid var(--border); }
.p-section.alt { background: var(--surface); }
.p-inner { max-width: 1100px; margin: 0 auto; padding: 5rem 3rem; }
.section-head { margin-bottom: 2.8rem; }
.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700; letter-spacing: -.02em;
  color: var(--white); margin-bottom: .6rem;
}
.section-head p { color: var(--muted); max-width: 560px; font-weight: 300; line-height: 1.75; }

.features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); border-radius: .5rem; overflow: hidden;
}
.feature {
  padding: 1.8rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  transition: background .15s;
}
.feature:nth-child(3n) { border-right: none; }
.feature:nth-last-child(-n+3) { border-bottom: none; }
.feature:hover { background: var(--surface2); }
.feature-icon { font-size: 1.3rem; margin-bottom: .8rem; }
.feature h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 600; color: var(--white);
  margin-bottom: .4rem;
}
.feature p { font-size: .88rem; color: var(--muted); line-height: 1.65; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: .88rem; color: var(--muted); margin-top: .8rem; line-height: 1.6; }
.gallery figcaption strong { color: var(--white); font-weight: 600; }

.voice { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.voice li {
  list-style: none;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: .4rem; padding: .8rem 1.1rem;
  font-size: .92rem; color: var(--text);
}
.voice li::before { content: '🗣  '; }

.steps { counter-reset: step; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; max-width: 760px; }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 1rem;
  align-items: start;
}
.step::before {
  content: counter(step);
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan-bg); color: var(--cyan);
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
}
.step h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; color: var(--white); margin-bottom: .2rem; }
.step p { font-size: .9rem; color: var(--muted); }
pre {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: .4rem; padding: 1rem 1.2rem; margin-top: .6rem;
  overflow-x: auto; font-size: .85rem; line-height: 1.7;
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  color: var(--text);
}

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.plan {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: .5rem; padding: 1.6rem 1.4rem;
  position: relative;
}
.plan.featured { border-color: var(--cyan-dim); background: var(--cyan-bg); }
.plan-badge {
  position: absolute; top: -.7rem; left: 1.4rem;
  background: var(--cyan); color: #000;
  font-size: .72rem; font-weight: 700; padding: .1rem .6rem; border-radius: 999px;
}
.plan h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; color: var(--white); margin-bottom: .6rem; }
.plan-price { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1.1; }
.plan-period { font-size: .82rem; color: var(--muted); margin-bottom: .9rem; }
.plan p { font-size: .86rem; color: var(--muted); }

table.compare {
  width: 100%; border-collapse: collapse; margin-top: 2rem;
  font-size: .9rem;
}
.compare th, .compare td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
.compare th { color: var(--white); font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare td { color: var(--muted); }
.compare td.yes { color: var(--cyan); }
.note { font-size: .82rem; color: var(--muted); margin-top: 1.2rem; }
.note a, .p-inner p a { color: var(--cyan); }

/* ── FOOTER ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
footer p { font-size: .82rem; color: var(--muted); }
footer a { color: var(--cyan); text-decoration: none; }
footer a:hover { opacity: .7; }
.footer-meta { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
}
@media (max-width: 768px) {
  nav { padding: .9rem 1.2rem; }
  .nav-links {
    gap: 1.1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a, .nav-products-btn { font-size: .82rem; white-space: nowrap; }
  .products-menu {
    position: fixed; top: var(--nav-bottom, 3.6rem);
    left: 1rem; right: 1rem; transform: none; min-width: 0;
  }
  .products-menu a { white-space: normal; }
  .p-hero { grid-template-columns: 1fr; gap: 2.5rem; padding: 7rem 1.2rem 3rem; }
  .p-hero-left { padding-left: 1.2rem; }
  .p-inner { padding: 3.5rem 1.2rem; }
  .features { grid-template-columns: 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--border); }
  .feature:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .feature:last-child { border-bottom: none; }
  .gallery, .voice { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: .6rem .5rem; }
  footer { padding: 1.5rem 1.2rem; flex-direction: column; gap: .6rem; text-align: center; }
}
@media (max-width: 480px) {
  .plans { grid-template-columns: 1fr; }
  .p-actions .btn-primary, .p-actions .btn-ghost { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
