/* iComplements — Product page (dark theme) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --dark: #0A0E1A;
  --bg: #0A0E1A; --bg-card: rgba(255,255,255,0.025); --bg-pale: rgba(96,165,250,0.05);
  --navy: #FFFFFF; --royal: #3B82F6; --blue: #2563EB;
  --blue-mid: #3B82F6; --blue-sky: #60A5FA;
  --red-disc: #EF4444; --border: rgba(255,255,255,0.08);
  --border-blue: rgba(96,165,250,0.25);
  --text-body: rgba(255,255,255,0.78); --text-muted: rgba(255,255,255,0.62); --text-dim: rgba(255,255,255,0.4);
  --grad: linear-gradient(135deg, #1E3A8A 0%, #2563EB 50%, #60A5FA 100%);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'DM Mono', monospace;
  --nav-h: 76px;
  --nav-logo: 32px;
}
.bg-glow {
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(96,165,250,0.05), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(37,99,235,0.05), transparent 60%);
  z-index: 0; pointer-events: none;
}
.page-content { position: relative; z-index: 1; }

html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text-body);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}

/* CANVAS CURSOR */
#paint-canvas {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: var(--nav-h);
  background: rgba(10,14,26,0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo img { height: var(--nav-logo); width: auto; display: block; margin-left: -10px; }
.nav-links { display: flex; gap: 18px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 13px; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { color: var(--blue-sky); }
.nav-search-light {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  color: var(--text-muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.nav-search-light:hover { background: rgba(255,255,255,0.12); border-color: var(--border-blue); color: var(--blue-sky); transform: scale(1.05); }
.nav-search-light svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.4; }
@media (max-width: 600px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-search-light) { font-size: 12px; }
}
@media (max-width: 420px) {
  .nav-links a:not(.nav-search-light):not(.active) { display: none; }
}

/* ANNOUNCE */
.announce {
  margin-top: var(--nav-h); background: var(--grad); color: #fff;
  text-align: center; padding: 9px 16px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.2px;
}


.product-wrap { max-width: 480px; margin: 0 auto; padding-bottom: 40px; }

/* CRUMB */
.crumb {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 16px 0; max-width: 480px; margin: 0 auto;
  font-size: 12px; color: var(--text-muted);
  position: static; background: transparent; border: 0; height: auto;
}
.crumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.crumb a:hover { color: var(--blue); }
.crumb-arrow { color: var(--text-dim); }
.crumb-current { color: var(--navy); font-weight: 600; }

/* CARRUSEL */
.carousel-wrap { position: relative; background: transparent; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.carousel-slide { min-width: 100%; }
.carousel-slide img {
  width: 100%; aspect-ratio: 4/3; object-fit: contain;
  display: block; padding: 20px 24px; background: transparent;
}
.carousel-dots {
  display: flex; justify-content: center; gap: 6px;
  padding: 8px 0 12px; background: transparent;
}
.carousel-dots[data-count="1"] { display: none; }
.dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.25); cursor: pointer; transition: all 0.25s;
  border: none; padding: 0;
}
.dot.active { background: var(--blue-sky); width: 20px; }

/* HERO */
.hero-section {
  position: relative; overflow: hidden;
  padding: 28px 16px 24px; background: transparent;
}
.hero-content { position: relative; z-index: 2; }
.social-proof {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.social-proof-icon { font-size: 18px; line-height: 1; }
.social-proof-text {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; font-size: 13px; color: var(--text-body);
}
.social-proof-text a {
  display: inline-block; padding: 3px 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; font-weight: 600;
  color: var(--blue-sky); text-decoration: none;
  font-size: 12px; transition: all 0.2s;
}
.social-proof-text a:hover { border-color: var(--border-blue); color: #fff; }
.social-proof-text svg { width: 13px; height: 13px; }

.product-name {
  font-size: 34px; font-weight: 800; color: var(--navy);
  letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 5px;
}
.product-subtitle {
  font-size: 17px; font-weight: 500; color: var(--text-muted);
  letter-spacing: -0.02em; margin-bottom: 16px;
}

.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.ptag {
  background: var(--royal); color: #fff;
  font-size: 11px; font-weight: 600; padding: 5px 12px;
  border-radius: 8px; letter-spacing: 0.2px;
}

.price-block { margin-top: 4px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 3px; }
.price-was { font-family: var(--mono); font-size: 14px; color: var(--text-dim); text-decoration: line-through; }
.price-saving {
  font-size: 11px; font-weight: 700; color: var(--red-disc);
  background: rgba(239,68,68,0.08); padding: 2px 8px; border-radius: 6px; font-family: var(--mono);
}
.price-now {
  font-family: var(--font); font-size: 38px; font-weight: 800;
  color: var(--navy); letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px;
}
.price-note { font-size: 11px; color: var(--text-dim); margin-bottom: 20px; }

/* CTAs */
.btn-buy {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: #fff; color: #1A2744;
  border: 2px solid rgba(37,99,235,0.55);
  box-shadow: 0 0 15px rgba(37,99,235,0.18);
  border-radius: 12px; padding: 14px 20px;
  font-family: var(--font); cursor: pointer; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
  width: 100%; margin-bottom: 6px;
}
.btn-buy:hover { transform: translateY(-1px); box-shadow: 0 0 22px rgba(37,99,235,0.32); }
.btn-buy-main { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: #1A2744; display: flex; align-items: center; gap: 6px; }
.btn-buy-sub { font-size: 12px; font-weight: 500; color: #6B7280; }

.btn-advisor {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px;
  background: var(--grad); color: #fff; border: none;
  border-radius: 14px; padding: 16px 20px;
  font-family: var(--font); cursor: pointer; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s; width: 100%; margin-bottom: 6px;
  box-shadow: 0 4px 20px rgba(37,99,235,0.25);
}
.btn-advisor:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(37,99,235,0.35); }
.btn-advisor-main { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.btn-advisor-sub { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.82); }

/* OBJECTIONS */
.objections {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  text-align: left; margin-top: 16px;
}
.obj-item { display: flex; align-items: flex-start; gap: 8px; }
.obj-check {
  flex-shrink: 0; width: 18px; height: 18px;
  background: rgba(37,99,235,0.1); color: var(--blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.obj-check svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.obj-text { font-size: 13px; font-weight: 500; color: var(--text-body); line-height: 1.3; }

.divider { height: 8px; background: var(--bg-card); }

.section { padding: 24px 16px; max-width: 480px; margin: 0 auto; }
.section-title { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 4px; }
.section-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }

.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.spec-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 12px; transition: border-color 0.2s;
}
.spec-card:hover { border-color: var(--border-blue); }
.spec-icon { font-size: 20px; margin-bottom: 6px; display: block; }
.spec-name { font-size: 10px; color: var(--text-dim); font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase; margin-bottom: 3px; }
.spec-value { font-family: var(--font); font-size: 13px; color: var(--navy); font-weight: 500; line-height: 1.3; }

.obsequio-block {
  background: linear-gradient(135deg, rgba(30,58,138,0.05) 0%, rgba(96,165,250,0.05) 100%);
  border: 1.5px solid var(--border-blue); border-radius: 16px; padding: 22px 18px;
  position: relative; overflow: hidden;
}
.obsequio-block::before {
  content: ''; position: absolute; top: -20px; right: -20px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(37,99,235,0.08), transparent 70%);
}
.obsequio-tag {
  display: inline-block; background: var(--grad); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.obsequio-title { font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: -0.04em; margin-bottom: 4px; line-height: 1.1; }
.obsequio-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }

.obsequio-tiers { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.tier {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; gap: 12px;
}
.tier.featured { border-color: var(--blue-sky); background: var(--bg-pale); }
.tier-badge {
  background: var(--grad); color: #fff; border-radius: 8px;
  padding: 6px 10px; font-size: 11px; font-weight: 700;
  text-align: center; flex-shrink: 0; min-width: 48px; line-height: 1.3;
}
.tier-months { font-size: 16px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.tier-cond { font-size: 12px; color: var(--text-muted); }

.platforms-label { font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.3px; text-transform: uppercase; margin-bottom: 12px; }
.platforms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.platform-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 8px; display: flex; flex-direction: column;
  align-items: center; gap: 6px; cursor: pointer;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.platform-card:hover { border-color: var(--blue-sky); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(96,165,250,0.12); }
.platform-card.selected { border-color: var(--blue-sky); background: var(--bg-pale); box-shadow: 0 0 0 2px rgba(96,165,250,0.15); }
.platform-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.platform-name { font-size: 10px; font-weight: 600; color: var(--text-muted); text-align: center; }
.obsequio-note { font-size: 12px; color: var(--blue-sky); font-weight: 600; display: flex; align-items: center; gap: 5px; margin-top: 14px; }

.related-scroll {
  display: flex; gap: 12px; overflow-x: auto;
  padding: 4px 16px 16px; scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.related-scroll::-webkit-scrollbar { display: none; }
.related-card {
  min-width: 142px; max-width: 170px; flex-shrink: 0; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  scroll-snap-align: start; text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.related-card:hover { border-color: var(--border-blue); box-shadow: 0 4px 16px rgba(37,99,235,0.1); }
.related-img { width: 100%; height: 110px; background: transparent; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 6px; border-bottom: 1px solid var(--border); }
.related-img img { max-width: 70%; max-height: 75%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(37,99,235,0.18)); transition: transform 0.3s; }
.related-card:hover .related-img img { transform: translateY(-2px) scale(1.05); }
.related-info { padding: 10px 12px 12px; }
.related-cat { font-size: 9.5px; font-weight: 700; color: var(--blue-sky); letter-spacing: 0.55px; text-transform: uppercase; margin-bottom: 3px; }
.related-name { font-size: 12.5px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 5px; }
.related-price { font-family: var(--font); font-size: 12.5px; font-weight: 800; color: var(--navy); }

/* FLOATING */
.floating-wa {
  position: fixed; bottom: 24px; right: 16px; z-index: 300;
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; text-decoration: none;
  animation: popIn 0.4s 0.6s both;
}
.floating-wa-btn {
  display: flex; align-items: center; gap: 9px;
  background: var(--grad); color: #fff;
  padding: 12px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 8px 28px rgba(37,99,235,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.floating-wa:hover .floating-wa-btn { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(37,99,235,0.4); }
.floating-wa svg { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }
.floating-wa-sub {
  font-size: 10px; font-weight: 600; color: var(--text-muted);
  text-align: center; background: rgba(10,14,26,0.85);
  border: 1px solid var(--border); padding: 2px 8px; border-radius: 999px;
}

.bottom-cta { padding: 28px 16px 120px; max-width: 480px; margin: 0 auto; }
.bottom-cta-title { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 6px; }
.bottom-cta-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }

@keyframes popIn { from { opacity:0; transform:scale(0.8) translateY(10px); } to { opacity:1; transform:scale(1) translateY(0); } }
@keyframes fadeUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.fade-up { opacity:0; animation: fadeUp 0.4s forwards; }
.d-05 { animation-delay: 0.05s; }
.d-10 { animation-delay: 0.10s; }
.d-12 { animation-delay: 0.12s; }
.d-18 { animation-delay: 0.18s; }
.d-22 { animation-delay: 0.22s; }
.d-26 { animation-delay: 0.26s; }

/* SEARCH OVERLAY (dark theme) */
.search-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(10,14,26,0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: none; align-items: flex-start; justify-content: center;
  padding: 18vh 16px 16px; opacity: 0; transition: opacity 0.25s;
}
.search-overlay.open { display: flex; opacity: 1; }
.search-box {
  width: min(560px, 100%);
  background: rgba(10,14,26,0.9);
  border: 1px solid var(--border-blue);
  border-radius: 18px;
  padding: 6px 6px 6px 18px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 20px 60px rgba(37,99,235,0.25);
}
.search-box svg { width: 18px; height: 18px; stroke: var(--blue-sky); fill: none; stroke-width: 2.2; flex-shrink: 0; }
.search-box input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: #ffffff; font-family: var(--font);
  font-size: 17px; letter-spacing: -0.01em; padding: 14px 4px;
}
.search-box input::placeholder { color: var(--text-dim); }
.search-close {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-muted); border-radius: 12px;
  padding: 8px 12px; font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: var(--font);
}
.search-close:hover { color: var(--blue-sky); border-color: var(--border-blue); }
#searchResults a { background: var(--bg-card) !important; border-color: var(--border) !important; }
#searchResults a > div > div:first-child { color: var(--blue-sky) !important; }
#searchResults a > div > div:nth-child(2) { color: #ffffff !important; }
#searchResults a > div > div:nth-child(3) { color: var(--text-muted) !important; }
#searchResults a > div:last-child { color: #ffffff !important; }

/* ━━━ MOBILE NAV ACTIONS & TOGGLE ━━━ */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  z-index: 210;
  align-items: center;
}
.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-soft, var(--text-muted, #c8d4f0));
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}
.nav-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ━━━ MOBILE MENU DRAWER ━━━ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 199;
  display: none;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open {
  display: block;
  pointer-events: auto;
}
.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 26, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu.open .mobile-menu-overlay {
  opacity: 1;
}
.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: rgba(10, 14, 26, 0.95);
  border-left: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  padding: 100px 24px 40px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open .mobile-menu-content {
  transform: translateX(0);
}
.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu-links a {
  color: var(--text-muted, rgba(255, 255, 255, 0.7));
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: block;
}
.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  color: var(--blue-sky, #60A5FA);
  padding-left: 4px;
}

