/* =============================================================
   Voxa Flow — Landing styles
   100% CSS-driven, no JS required
   Ulu-ecosystem safe: works with scripts stripped
   ============================================================= */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #0a0a0f;
  color: #e8e8f0;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

:root {
  --bg: #0a0a0f;
  --surface: #13131c;
  --surface-2: #1a1a26;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f8;
  --muted: #8b8ba3;
  --primary: #8b5cf6;
  --primary-2: #a78bfa;
  --accent: #06b6d4;
  --accent-2: #22d3ee;
  --success: #10b981;
  --wa: #25D366;
  --grad: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
  --shadow: 0 20px 60px -20px rgba(139, 92, 246, 0.4);
  --radius: 16px;
  --radius-sm: 10px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Background glow ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(50% 40% at 85% 30%, rgba(6, 182, 212, 0.14), transparent 60%),
    radial-gradient(40% 30% at 50% 100%, rgba(139, 92, 246, 0.10), transparent 60%);
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(10, 10, 15, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.logo img { height: 32px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }

@media (max-width: 780px) { .nav__links { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 20px -8px rgba(139, 92, 246, 0.7);
  position: relative;
  overflow: hidden;
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -8px rgba(139, 92, 246, 0.85); }

.btn--wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 20px -8px rgba(37, 211, 102, 0.7);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn--wa:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -8px rgba(37, 211, 102, 0.85); background: #20bd5a; }
.btn--wa svg { width: 18px; height: 18px; }

.btn--ghost { border: 1px solid var(--border-strong); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); }

.btn--lg { padding: 14px 24px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 60px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 32px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  font-size: 12px;
  font-weight: 600;
  color: #c4b5fd;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 8px #a78bfa; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero__title {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero__title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub { font-size: clamp(15px, 1.4vw, 18px); color: var(--muted); max-width: 540px; margin-bottom: 32px; }

.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.hero__trust { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: 6px; }
.hero__trust-item .check { color: #10b981; }

/* Hero visual: animated chat */
.hero__visual { position: relative; height: 520px; }
@media (max-width: 980px) { .hero__visual { height: 420px; } }

.chat {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(26, 26, 38, 0.92), rgba(19, 19, 28, 0.96));
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}
.chat__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; color: #fff;
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.25);
}
.chat__name { font-size: 14px; font-weight: 600; line-height: 1.2; }
.chat__status { font-size: 11px; color: #10b981; display: flex; align-items: center; gap: 5px; }
.chat__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #10b981; box-shadow: 0 0 6px #10b981; }

.chat__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; height: calc(100% - 65px); overflow: hidden; }

.bubble {
  max-width: 78%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  animation: bubbleIn 0.5s forwards;
}
.bubble__name { font-size: 11px; font-weight: 700; margin-bottom: 3px; opacity: 0.85; }
.bubble--user { align-self: flex-end; background: var(--grad); color: #fff; border-top-right-radius: 4px; }
.bubble--user .bubble__name { color: #fff; text-align: right; }
.bubble--bot { align-self: flex-start; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); border-top-left-radius: 4px; }
.bubble--bot .bubble__name { color: #a78bfa; }

@keyframes bubbleIn { to { opacity: 1; transform: translateY(0); } }

.typing { display: inline-flex; gap: 4px; align-items: center; padding: 4px 0; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Floating channel chips */
.chips { position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 999px;
  background: rgba(19, 19, 28, 0.85);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; color: #e8e8f0;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  animation: float 6s ease-in-out infinite;
}
.chip svg { width: 18px; height: 18px; }
.chip--1 { top: 6%; left: -6%; animation-delay: 0s; }
.chip--2 { top: 18%; right: -4%; animation-delay: 1s; }
.chip--3 { bottom: 22%; left: -4%; animation-delay: 2s; }
.chip--4 { bottom: 6%; right: 6%; animation-delay: 3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 980px) {
  .chip--1 { left: 0; } .chip--2 { right: 0; } .chip--3 { left: 0; } .chip--4 { right: 0; }
}

/* ---------- Generic section ---------- */
.section { padding: 96px 0; position: relative; }
@media (max-width: 780px) { .section { padding: 64px 0; } }

.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__title {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 14px 0 14px;
}
.section__title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__sub { color: var(--muted); font-size: 16px; }

/* ---------- Channels ---------- */
.channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .channels { grid-template-columns: repeat(2, 1fr); } }

.channel {
  padding: 24px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.channel:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.08), rgba(6, 182, 212, 0.04));
}
.channel__icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.channel__icon svg { width: 22px; height: 22px; }
.channel__name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.channel__desc { color: var(--muted); font-size: 13px; line-height: 1.5; }

/* ---------- Multi-agent ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.agents { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 520px; margin: 0 auto; }
.agents__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.agents__lines path { stroke: url(#lineGrad); stroke-width: 1.5; fill: none; stroke-dasharray: 4 4; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -16; } }

.agent {
  position: absolute;
  width: 104px; height: 104px; border-radius: 50%;
  background: linear-gradient(180deg, rgba(26, 26, 38, 0.95), rgba(19, 19, 28, 0.95));
  border: 1px solid var(--border-strong);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 6px;
  font-size: 11px; font-weight: 600; color: #e8e8f0; line-height: 1.2;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}
.agent svg { width: 20px; height: 20px; margin-bottom: 4px; flex-shrink: 0; }
.agent--1 { top: 5%; left: 50%; transform: translateX(-50%); }
.agent--2 { top: 32%; right: 0; }
.agent--3 { bottom: 18%; right: 8%; }
.agent--4 { bottom: 5%; left: 50%; transform: translateX(-50%); }
.agent--5 { bottom: 18%; left: 8%; }
.agent--6 { top: 32%; left: 0; }
.agent--center {
  width: 130px; height: 130px; font-size: 12px;
  background: var(--grad); color: #fff; border: 0;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.15), 0 20px 60px -20px rgba(139, 92, 246, 0.6);
  z-index: 2;
}

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: #d4d4e0; font-size: 15px; }
.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.4);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a78bfa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 1px;
}

/* ---------- Privacy / Voxa Cloud ---------- */
.privacy {
  border-radius: 24px;
  padding: 64px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(180deg, rgba(10, 10, 15, 0.85), rgba(10, 10, 15, 0.95)),
    url('../assets/images/data-center.jpg') center / cover no-repeat;
}
.privacy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 80% at 20% 0%, rgba(139, 92, 246, 0.25), transparent 60%),
    radial-gradient(60% 80% at 80% 100%, rgba(6, 182, 212, 0.20), transparent 60%);
}
@media (max-width: 780px) { .privacy { padding: 36px 24px; } }

.privacy__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 980px) { .privacy__grid { grid-template-columns: 1fr; } }

.privacy__list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.privacy__item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.privacy__icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  display: grid; place-items: center;
}
.privacy__item h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.privacy__item p { font-size: 13px; color: var(--muted); }

.cloud-arch { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 420px; margin: 0 auto; }
.cloud-arch svg { width: 100%; height: 100%; }

/* ---------- Features grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.feature {
  padding: 24px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s;
}
.feature:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feature__icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  color: #c4b5fd;
  margin-bottom: 14px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}
.feature__icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- Stats ---------- */
.stats {
  border-radius: 24px;
  padding: 48px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.10), rgba(6, 182, 212, 0.10));
  border: 1px solid var(--border-strong);
}
@media (max-width: 780px) { .stats { padding: 32px 20px; } }

.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 780px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

.stat__val {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat__val .small { font-size: 0.6em; }
.stat__lbl { color: var(--muted); font-size: 13px; margin-top: 8px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
}
.step__num {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad); color: #fff;
  font-weight: 800; font-size: 15px;
  margin-bottom: 14px;
  box-shadow: 0 6px 20px -8px rgba(139, 92, 246, 0.6);
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }
.step__time {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 14px;
  font-size: 12px; font-weight: 600; color: #a78bfa;
  background: rgba(139, 92, 246, 0.12);
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; } }

.testimonial {
  padding: 24px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.testimonial__stars { color: #facc15; margin-bottom: 12px; letter-spacing: 1px; font-size: 14px; }
.testimonial__q { font-size: 14px; line-height: 1.6; margin-bottom: 18px; flex: 1; }
.testimonial__author { display: flex; align-items: center; gap: 10px; }
.testimonial__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad);
  display: grid; place-items: center;
  font-weight: 700; color: #fff; font-size: 14px;
}
.testimonial__name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.testimonial__role { font-size: 12px; color: var(--muted); }

/* ============================================================
   MATERIALES — filter by category (CSS-only, no JS)
   ============================================================ */
.materials-filter {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}
.materials-filter__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.materials-filter__hint svg { width: 14px; height: 14px; color: #a78bfa; }

.materials-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* Hide the actual radio inputs but keep them focusable */
.mat-filter-input {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Chip label styling */
.materials-chips label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.materials-chips label:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Materials grid + CSS-only filtering */
.materials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .materials { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .materials { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .materials { grid-template-columns: 1fr; } }

.material {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.material:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.06), rgba(6, 182, 212, 0.03));
}
.material__icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  margin-bottom: 14px;
}
.material__name { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.material__cat { display: inline-block; font-size: 11px; color: var(--muted); background: rgba(255, 255, 255, 0.04); padding: 3px 8px; border-radius: 999px; margin-bottom: 10px; }
.material__desc { color: var(--muted); font-size: 13px; line-height: 1.5; }
.material__meta { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.material__meta-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

/* CSS-only filter: hide all by default, show based on checked radio */
.materials .material { display: none; }
#mf-all:checked ~ .materials .material { display: block; }
#mf-comercio:checked ~ .materials .material[data-cat="comercio"] { display: block; }
#mf-salud:checked ~ .materials .material[data-cat="salud"] { display: block; }
#mf-banca:checked ~ .materials .material[data-cat="banca"] { display: block; }
#mf-gastronomia:checked ~ .materials .material[data-cat="gastronomia"] { display: block; }
#mf-hoteleria:checked ~ .materials .material[data-cat="hoteleria"] { display: block; }
#mf-cultura:checked ~ .materials .material[data-cat="cultura"] { display: block; }
#mf-educacion:checked ~ .materials .material[data-cat="educacion"] { display: block; }
#mf-belleza:checked ~ .materials .material[data-cat="belleza"] { display: block; }
#mf-hogar:checked ~ .materials .material[data-cat="hogar"] { display: block; }
#mf-seguros:checked ~ .materials .material[data-cat="seguros"] { display: block; }
#mf-fitness:checked ~ .materials .material[data-cat="fitness"] { display: block; }

/* Active chip styling (radio is sibling of .materials-filter) */
#mf-all:checked ~ .materials-filter label[for="mf-all"],
#mf-comercio:checked ~ .materials-filter label[for="mf-comercio"],
#mf-salud:checked ~ .materials-filter label[for="mf-salud"],
#mf-banca:checked ~ .materials-filter label[for="mf-banca"],
#mf-gastronomia:checked ~ .materials-filter label[for="mf-gastronomia"],
#mf-hoteleria:checked ~ .materials-filter label[for="mf-hoteleria"],
#mf-cultura:checked ~ .materials-filter label[for="mf-cultura"],
#mf-educacion:checked ~ .materials-filter label[for="mf-educacion"],
#mf-belleza:checked ~ .materials-filter label[for="mf-belleza"],
#mf-hogar:checked ~ .materials-filter label[for="mf-hogar"],
#mf-seguros:checked ~ .materials-filter label[for="mf-seguros"],
#mf-fitness:checked ~ .materials-filter label[for="mf-fitness"] {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px -4px rgba(139, 92, 246, 0.6);
}

.materials-chips .chip-count {
  display: inline-block;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

#mf-all:checked ~ .materials-filter label[for="mf-all"] .chip-count,
#mf-comercio:checked ~ .materials-filter label[for="mf-comercio"] .chip-count,
#mf-salud:checked ~ .materials-filter label[for="mf-salud"] .chip-count,
#mf-banca:checked ~ .materials-filter label[for="mf-banca"] .chip-count,
#mf-gastronomia:checked ~ .materials-filter label[for="mf-gastronomia"] .chip-count,
#mf-hoteleria:checked ~ .materials-filter label[for="mf-hoteleria"] .chip-count,
#mf-cultura:checked ~ .materials-filter label[for="mf-cultura"] .chip-count,
#mf-educacion:checked ~ .materials-filter label[for="mf-educacion"] .chip-count,
#mf-belleza:checked ~ .materials-filter label[for="mf-belleza"] .chip-count,
#mf-hogar:checked ~ .materials-filter label[for="mf-hogar"] .chip-count,
#mf-seguros:checked ~ .materials-filter label[for="mf-seguros"] .chip-count,
#mf-fitness:checked ~ .materials-filter label[for="mf-fitness"] .chip-count {
  background: rgba(255, 255, 255, 0.25);
}

/* Focus state for keyboard accessibility */
#mf-all:focus-visible ~ .materials-filter label[for="mf-all"],
#mf-comercio:focus-visible ~ .materials-filter label[for="mf-comercio"],
#mf-salud:focus-visible ~ .materials-filter label[for="mf-salud"],
#mf-banca:focus-visible ~ .materials-filter label[for="mf-banca"],
#mf-gastronomia:focus-visible ~ .materials-filter label[for="mf-gastronomia"],
#mf-hoteleria:focus-visible ~ .materials-filter label[for="mf-hoteleria"],
#mf-cultura:focus-visible ~ .materials-filter label[for="mf-cultura"],
#mf-educacion:focus-visible ~ .materials-filter label[for="mf-educacion"],
#mf-belleza:focus-visible ~ .materials-filter label[for="mf-belleza"],
#mf-hogar:focus-visible ~ .materials-filter label[for="mf-hogar"],
#mf-seguros:focus-visible ~ .materials-filter label[for="mf-seguros"],
#mf-fitness:focus-visible ~ .materials-filter label[for="mf-fitness"] {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 880px) { .pricing { grid-template-columns: 1fr; } }

.price {
  padding: 32px 28px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  display: flex; flex-direction: column; position: relative;
}
.price--featured {
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(139, 92, 246, 0.2), transparent 60%),
    linear-gradient(180deg, #1a1a26, #13131c);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 30px 80px -30px rgba(139, 92, 246, 0.5);
}
.price__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.price h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.price__tag { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.price__amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 24px; }
.price__amount-num {
  font-size: 42px; font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price__amount-per { color: var(--muted); font-size: 14px; }
.price__features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.price__features li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: #d4d4e0; }
.price__features li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 2px;
}
.price .btn { justify-content: center; width: 100%; }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  padding: 80px 32px;
  border-radius: 24px;
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(139, 92, 246, 0.25), transparent 60%),
    linear-gradient(180deg, #13131c, #0f0f17);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}
.cta h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.1; }
.cta h2 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; font-size: 16px; }
.cta__row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer (minimal) ---------- */
.foot { padding: 32px 0; border-top: 1px solid var(--border); margin-top: 48px; }
.foot__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot__brand { display: flex; align-items: center; gap: 10px; }
.foot__brand img { height: 30px; }
.foot__meta { color: var(--muted); font-size: 13px; }
.foot__cta { display: flex; align-items: center; gap: 12px; }

/* ============================================================
   CSS-only reveal animations (no JS required)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: revealIn 0.7s ease forwards;
}
.reveal[data-delay="1"] { animation-delay: 0.1s; }
.reveal[data-delay="2"] { animation-delay: 0.2s; }
.reveal[data-delay="3"] { animation-delay: 0.3s; }
.reveal[data-delay="4"] { animation-delay: 0.4s; }
.reveal[data-delay="5"] { animation-delay: 0.5s; }

@keyframes revealIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
