/* ============================================
   idear — Landing page
   Dark, warm, premium. Violet → teal gradient.
   ============================================ */

:root {
  --bg: #0f1018;
  --bg-2: #14161d;
  --surface: #1b1e27;
  --surface-2: #222633;
  --surface-3: #2b3040;
  --border: #2b303d;
  --border-strong: #3a4154;
  --text: #eceef4;
  --text-dim: #a3a9ba;
  --text-faint: #757b8d;
  --brand: #7c6cff;
  --brand-2: #36c9b4;
  --brand-3: #8b7dff;
  --brand-grad: linear-gradient(100deg, #8b7dff, #45d6c2);
  --brand-grad-soft: linear-gradient(100deg, rgba(139, 125, 255, 0.15), rgba(69, 214, 194, 0.15));
  --danger: #ff7088;
  --ok: #3fcfb0;
  --warn: #ffce6b;
  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(124, 108, 255, 0.15);
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: rgba(124, 108, 255, 0.3); color: #fff; }

/* ---- Grain overlay ---- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

/* ---- Typography helpers ---- */
.gradient-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 108, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 108, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--brand);
  color: var(--brand-3);
}

.btn-wa {
  background: #25d366;
  color: #fff;
}
.btn-wa:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---- Nav ---- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(15, 16, 24, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
#nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(15, 16, 24, 0.85);
}

.nav-logo { display: flex; align-items: center; }
.logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text) !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  border-color: var(--brand);
  background: var(--surface-3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Hero ---- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 8rem 2rem 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}
.orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #7c6cff, transparent 70%);
  top: -100px; left: -100px;
}
.orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #36c9b4, transparent 70%);
  bottom: -50px; right: 10%;
  animation-delay: -7s;
}
.orb-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #8b7dff, transparent 70%);
  top: 40%; left: 50%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -40px); }
  66% { transform: translate(-20px, 20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s var(--ease) both;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 0 rgba(54, 201, 180, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(54, 201, 180, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(54, 201, 180, 0); }
  100% { box-shadow: 0 0 0 0 rgba(54, 201, 180, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s var(--ease) 0.1s both;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s var(--ease) 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s var(--ease) 0.3s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Hero visual: phone mockup ---- */
.hero-visual {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  animation: fadeIn 1s var(--ease) 0.4s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--surface);
  border: 3px solid var(--border-strong);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 6px;
  background: var(--border-strong);
  border-radius: 0 0 10px 10px;
  z-index: 2;
}

.phone-screen {
  width: 100%; height: 100%;
  background: var(--bg-2);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1rem 0.75rem;
}
.phone-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-grad);
}
.phone-dots { display: flex; gap: 4px; }
.phone-dots span {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text-faint);
}

.phone-3d-viewer {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at center, var(--surface-2), transparent 70%);
  margin: 0.5rem;
  border-radius: 16px;
  overflow: hidden;
}

.cube-scene {
  width: 80px; height: 80px;
  perspective: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cube {
  width: 60px; height: 60px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotate3d 8s linear infinite;
}
@keyframes rotate3d {
  from { transform: rotateX(-20deg) rotateY(0deg); }
  to { transform: rotateX(-20deg) rotateY(360deg); }
}
.cube-face {
  position: absolute;
  width: 60px; height: 60px;
  border: 1px solid rgba(139, 125, 255, 0.3);
  background: var(--brand-grad-soft);
  backdrop-filter: blur(4px);
}
.cube-front { transform: translateZ(30px); }
.cube-back { transform: rotateY(180deg) translateZ(30px); }
.cube-right { transform: rotateY(90deg) translateZ(30px); }
.cube-left { transform: rotateY(-90deg) translateZ(30px); }
.cube-top { transform: rotateX(90deg) translateZ(30px); }
.cube-bottom { transform: rotateX(-90deg) translateZ(30px); }

.ar-badge {
  position: absolute;
  top: 8px; right: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--brand-grad);
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.phone-card {
  display: flex;
  gap: 0.6rem;
  padding: 0.6rem;
  margin: 0 0.5rem 0.5rem;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.phone-card-img {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--surface-3);
  flex-shrink: 0;
}
.phone-card-info { flex: 1; display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.phone-card-line {
  height: 6px;
  border-radius: 3px;
  background: var(--surface-3);
}
.w-70 { width: 70%; }
.w-60 { width: 60%; }
.w-40 { width: 40%; }
.w-35 { width: 35%; }

/* ---- Floating QR ---- */
.floating-qr {
  position: absolute;
  bottom: 20px;
  left: -30px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow);
  animation: floatQR 4s ease-in-out infinite;
}
@keyframes floatQR {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.qr-grid {
  width: 70px; height: 70px;
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
}
.qr-corner {
  position: absolute;
  width: 16px; height: 16px;
  border: 3px solid var(--bg);
}
.qr-tl { top: 4px; left: 4px; border-right: none; border-bottom: none; }
.qr-tr { top: 4px; right: 4px; border-left: none; border-bottom: none; }
.qr-bl { bottom: 4px; left: 4px; border-right: none; border-top: none; }
.qr-br { bottom: 4px; right: 4px; border-left: none; border-top: none; }
.qr-pattern {
  position: absolute;
  inset: 20px;
  background-image:
    repeating-linear-gradient(0deg, var(--bg) 0 3px, transparent 3px 6px),
    repeating-linear-gradient(90deg, var(--bg) 0 3px, transparent 3px 6px);
  opacity: 0.6;
}
.qr-label {
  font-size: 0.65rem;
  color: var(--text-faint);
  font-weight: 500;
}

/* ---- Trust bar ---- */
.trust-bar {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.trust-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.trust-label {
  font-size: 0.8rem;
  color: var(--text-faint);
  text-align: center;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---- Sections ---- */
.section {
  padding: 6rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-alt {
  background: var(--bg-2);
  max-width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-alt > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-3);
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-header h2 em { font-style: normal; }
.section-lead {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---- Feature grid ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s var(--ease);
}
.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-grad-soft);
  border: 1px solid rgba(124, 108, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--brand-3);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- Split layout ---- */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-reverse .split-text { order: 2; }
.split-reverse .split-visual { order: 1; }

.split-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.split-text .section-lead { margin: 0 0 1.5rem; text-align: left; }

.check-list {
  list-style: none;
  margin-bottom: 2rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.check-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ---- Menu mockup ---- */
.menu-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}
.menu-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.menu-logo {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--brand-grad);
  flex-shrink: 0;
}
.menu-cats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.menu-cat {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--surface-2);
  color: var(--text-faint);
}
.menu-cat.active {
  background: var(--brand-grad);
  color: #fff;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.menu-dish {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  transition: all 0.3s var(--ease);
}
.menu-dish:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.dish-3d {
  position: relative;
  height: 80px;
  border-radius: 8px;
  background: radial-gradient(circle at center, var(--surface-3), var(--bg-2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.dish-emoji { font-size: 2.5rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); }
.dish-ar {
  position: absolute;
  top: 4px; right: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--brand-grad);
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
}
.dish-name { font-size: 0.8rem; font-weight: 600; margin-bottom: 0.3rem; }
.dish-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 0.3rem; }
.tag {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 500;
  background: var(--surface-3);
  color: var(--text-dim);
}
.tag-warn { background: rgba(255, 206, 107, 0.15); color: var(--warn); }
.dish-price {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-3);
}

/* ---- Collectibles mockup ---- */
.collect-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.collect-viewer {
  position: relative;
  height: 280px;
  border-radius: var(--radius);
  background: radial-gradient(circle at center, var(--surface-2), var(--bg-2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
}
.viewer-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.2), transparent 70%);
  filter: blur(20px);
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}
.figure-3d {
  position: relative;
  z-index: 1;
  font-size: 5rem;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
  animation: floatFigure 3s ease-in-out infinite;
}
@keyframes floatFigure {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}
.viewer-controls {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.viewer-btn {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(27, 30, 39, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.viewer-btn:hover { background: var(--surface-3); }
.viewer-ar {
  background: var(--brand-grad);
  border: none;
  font-weight: 600;
}
.collect-info h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.collect-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-3);
  margin-bottom: 1rem;
}
.btn-wa { width: 100%; justify-content: center; }

/* ---- Menu detail block (restaurantes) ---- */
.menu-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}
.menu-detail-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.menu-detail-text p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.menu-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.detail-chip {
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
}
.menu-detail-visual {
  display: flex;
  justify-content: center;
}
.screenshot-tall {
  max-height: 560px;
  width: auto;
  max-width: 100%;
}

@media (max-width: 900px) {
  .menu-detail-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .menu-detail-visual { order: -1; }
  .screenshot-tall { max-height: 450px; }
}

/* ---- Screenshot images ---- */
.screenshot-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: block;
}
.screenshot-wide {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  border-radius: var(--radius);
}
.games-screenshot {
  margin-bottom: 0;
}
.step-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ---- Screenshot note ---- */
.screenshot-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-faint);
  text-align: center;
}

/* ---- Games ---- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.game-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.game-preview {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.game-precio { background: linear-gradient(135deg, rgba(124, 108, 255, 0.15), rgba(69, 214, 194, 0.1)); }
.game-ahorcado { background: linear-gradient(135deg, rgba(255, 206, 107, 0.12), rgba(124, 108, 255, 0.1)); }
.game-reaccion { background: linear-gradient(135deg, rgba(63, 207, 176, 0.12), rgba(255, 112, 136, 0.08)); }

.game-emoji-big {
  font-size: 3.5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
.game-price-tag {
  position: absolute;
  bottom: 12px; right: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-3);
}
.game-letters { display: flex; gap: 4px; }
.letter {
  width: 28px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.letter-blank { color: var(--text-faint); }
.game-reaction-time {
  position: absolute;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ok);
}

.game-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 1.25rem 1.25rem 0.5rem;
}
.game-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 0 1.25rem 1.25rem;
  line-height: 1.55;
}

.games-note { margin-bottom: 2rem; }

.games-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.game-feature {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.game-feature strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}
.game-feature span {
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* ---- Steps ---- */
.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 260px;
  max-width: 340px;
  text-align: center;
  padding: 0 1rem;
}
.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.step-visual {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

/* Step 1: photos */
.step-icon-stack {
  display: flex;
  gap: 8px;
}
.photo-thumb {
  width: 50px; height: 50px;
  border-radius: 8px;
  background: var(--brand-grad-soft);
  border: 1px solid var(--border-strong);
  animation: thumbPop 0.5s var(--ease) both;
}
.photo-thumb:nth-child(1) { animation-delay: 0.1s; }
.photo-thumb:nth-child(2) { animation-delay: 0.2s; transform: translateY(-8px); }
.photo-thumb:nth-child(3) { animation-delay: 0.3s; }
@keyframes thumbPop {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}
.step-visual-1 .photo-thumb:nth-child(2) { transform: translateY(-8px); }

/* Step 2: spinner */
.step-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.spinner-ring {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Step 3: QR + phone */
.step-qr-final {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.qr-mini {
  width: 50px; height: 50px;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  background-image:
    repeating-linear-gradient(0deg, var(--bg) 0 3px, transparent 3px 6px),
    repeating-linear-gradient(90deg, var(--bg) 0 3px, transparent 3px 6px);
}
.step-phone-mini {
  width: 50px; height: 80px;
  background: var(--surface-2);
  border: 2px solid var(--border-strong);
  border-radius: 10px;
  padding: 4px;
}
.step-phone-screen {
  width: 100%; height: 100%;
  background: var(--bg-2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-3d-cube {
  width: 24px; height: 24px;
  background: var(--brand-grad);
  border-radius: 4px;
  animation: pulseGlow 2s ease-in-out infinite;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55;
}

.step-connector {
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}
.step-connector::before {
  content: '';
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* ---- Diff grid ---- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.diff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  transition: all 0.3s var(--ease);
}
.diff-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.diff-highlight {
  border-color: rgba(124, 108, 255, 0.3);
  background: linear-gradient(135deg, var(--surface), rgba(124, 108, 255, 0.05));
}
.diff-badge {
  position: absolute;
  top: -10px; right: 16px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--brand-grad);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.diff-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.diff-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---- CTA section ---- */
.cta-section {
  text-align: center;
  padding: 5rem 2rem;
}
.cta-card {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.15), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
  position: relative;
}
.cta-card p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer-brand { max-width: 300px; }
.footer-brand .logo-mark { font-size: 1.5rem; }
.footer-brand p {
  margin-top: 0.75rem;
  color: var(--text-faint);
  font-size: 0.9rem;
  line-height: 1.55;
}
.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.85rem;
  color: var(--text-faint);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--brand-3); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ---- Cookie consent ---- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: var(--surface);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  opacity: 1;
}
.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-content {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  flex-wrap: wrap;
}
.cookie-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.cookie-text p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 520px;
}
.cookie-text a {
  color: var(--brand-3);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .cookie-actions {
    flex-direction: column;
  }
  .cookie-actions .btn { width: 100%; justify-content: center; }
}

/* ---- Reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  #hero {
    flex-direction: column;
    text-align: center;
    padding-top: 6rem;
  }
  .hero-content { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-visual { margin-top: 2rem; }
  .floating-qr { left: 10px; }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split-reverse .split-text { order: 1; }
  .split-reverse .split-visual { order: 2; }

  .step-connector { display: none; }
  .steps { gap: 2rem; }
}

@media (max-width: 700px) {
  #nav { padding: 0.75rem 1rem; }
  .nav-links {
    position: fixed;
    top: 56px; left: 0; right: 0;
    flex-direction: column;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-150%);
    transition: transform 0.3s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }

  .section { padding: 4rem 1rem; }
  .trust-bar { padding: 1.5rem 1rem; }
  .trust-divider { display: none; }
  .trust-inner { gap: 1.5rem; }

  .menu-grid { grid-template-columns: 1fr; }
  .phone-mockup { width: 240px; height: 480px; }
  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .footer-links { gap: 2rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
