/* ═══════════════════════════════════════════════════════════════
   Televista 2026 revamp — waves hero · live dashboard demo · pricing v2
   Scoped additive layer over main.css; uses the site's own tokens.
   ═══════════════════════════════════════════════════════════════ */

/* ——— Hero v2: white type over living Cyprus-green waves ——— */
.hero-v2 {
  position: relative;
  min-height: 92svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background: #01201c; /* paint under the canvas — no flash */
  padding: 120px 0 90px;
}
#heroWaves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-v2-inner { position: relative; z-index: 1; max-width: 880px; }
.hero-v2-kicker {
  font: 600 0.75rem var(--font-primary);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8fd4c6;
}
.hero-v2-title {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(3rem, 7.2vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-wrap: balance;
}
.hero-v2-title em { font-style: italic; color: #8fd4c6; }
.hero-v2-sub {
  margin: 24px auto 0;
  max-width: 600px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: #cfe6e0;
  line-height: 1.65;
}
.hero-v2-ctas {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-v2-trust { margin-top: 22px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }
.btn-light-v2 {
  color: #004643 !important;
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: 0 14px 36px -14px rgba(0, 0, 0, 0.45);
}
.btn-light-v2:hover { transform: translateY(-2px); background: #f0f7f7 !important; }
.btn-ghost-v2 {
  color: #ffffff !important;
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
}
.btn-ghost-v2:hover { border-color: rgba(255, 255, 255, 0.75) !important; transform: translateY(-2px); }
/* load-in */
@keyframes v2rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-v2-kicker, .hero-v2-title, .hero-v2-sub, .hero-v2-ctas, .hero-v2-trust {
  animation: v2rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-v2-title { animation-delay: 0.08s; }
.hero-v2-sub { animation-delay: 0.18s; }
.hero-v2-ctas { animation-delay: 0.28s; }
.hero-v2-trust { animation-delay: 0.38s; }
@media (prefers-reduced-motion: reduce) {
  .hero-v2 * { animation: none !important; }
}

/* ——— Live dashboard demo ——— */
.demo-section { background: var(--color-bg-secondary); }
.demo-em { font-style: italic; color: var(--color-accent-secondary); }
.demoCard {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 70, 67, 0.06), 0 40px 90px -35px rgba(0, 70, 67, 0.35);
}
.demoBar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: #fbfdfd;
  border-bottom: 1px solid var(--color-border);
}
.demoBar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border); }
.demoUrl { margin-left: 8px; font-size: 0.75rem; color: var(--color-text-muted); }
.demoLive {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  padding: 5px 12px;
}
.demoLive i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--color-success);
  animation: demoPulse 2.4s ease-in-out infinite;
}
@keyframes demoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}
.demoTabs { display: flex; gap: 4px; padding: 12px 18px 0; border-bottom: 1px solid var(--color-border); }
.demoTabs button {
  border: 0; background: transparent; cursor: pointer;
  font: 600 0.85rem var(--font-primary);
  color: var(--color-text-muted);
  padding: 10px 18px 12px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.demoTabs button:hover { color: var(--color-accent-primary); }
.demoTabs button.on { color: var(--color-accent-primary); border-bottom-color: var(--color-accent-primary); }
.demoPane { padding: 26px 24px 28px; }
.demoPane[hidden] { display: none; }
.demoTiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.demoTile {
  border: 1.5px dashed var(--color-border);
  border-radius: 14px;
  padding: 16px 18px;
  background: #ffffff;
  text-align: left;
}
.demoTile span {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.demoTile b {
  display: block;
  margin-top: 6px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--color-accent-primary);
  font-variant-numeric: tabular-nums;
}
.demoTile small { display: block; margin-top: 4px; font-size: 0.72rem; color: var(--color-text-muted); }
.demoStrip {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 16px 20px;
  background: #ffffff;
  text-align: left;
}
.demoStat b { font-size: 1.15rem; font-weight: 700; color: var(--color-text-primary); font-variant-numeric: tabular-nums; }
.demoStat span { display: block; font-size: 0.72rem; color: var(--color-text-muted); }
.demoSync { margin-left: auto; font-size: 0.72rem; color: var(--color-text-muted); }
.demoPaceCard {
  margin-top: 14px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 16px 20px;
  background: #ffffff;
  text-align: left;
}
.demoPaceLabel {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-text-muted);
}
.demoPaceRow { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font-weight: 600; font-size: 0.9rem; }
.demoPaceRow span { color: var(--color-text-muted); font-weight: 500; font-size: 0.8rem; }
.demoBarTrack { margin-top: 9px; height: 8px; border-radius: 99px; background: var(--color-bg-tertiary); overflow: hidden; }
.demoBarFill {
  display: block; height: 100%; width: 0; border-radius: 99px;
  background: var(--color-warning);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.demoLeadRow {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 4px; border-bottom: 1px solid var(--color-border-light);
  text-align: left;
}
.demoLeadRow:last-child { border-bottom: 0; }
.demoPlay {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-accent-primary); color: #fff;
  display: grid; place-items: center; border: 0; cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.demoPlay:hover { transform: scale(1.06); background: var(--color-accent-dark); }
.demoWave { display: flex; align-items: center; gap: 3px; height: 34px; flex: 1; min-width: 90px; }
.demoWave i {
  flex: 1; border-radius: 2px; min-height: 15%;
  background: linear-gradient(180deg, var(--color-accent-secondary), rgba(0, 102, 99, 0.35));
  transform-origin: center;
}
.demoWave.playing i { animation: demoWaveDance 0.9s ease-in-out infinite alternate; }
.demoWave.playing i:nth-child(2n) { animation-delay: 0.15s; }
.demoWave.playing i:nth-child(3n) { animation-delay: 0.3s; }
@keyframes demoWaveDance { from { transform: scaleY(0.55); } to { transform: scaleY(1.15); } }
.demoLeadWho b { display: block; font-size: 0.9rem; font-weight: 600; color: var(--color-text-primary); }
.demoLeadWho span { display: block; font-size: 0.76rem; color: var(--color-text-muted); }
.demoBadge {
  margin-left: auto; white-space: nowrap;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px; padding: 4px 11px;
}
.demoBadge.hot { color: var(--color-warning); border-color: rgba(245, 158, 11, 0.35); }
.demoRoi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.demoRoiCell {
  border: 1px solid var(--color-border); border-radius: 14px;
  padding: 18px 20px; background: #ffffff; text-align: left;
}
.demoRoiCell span {
  display: block; font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted);
}
.demoRoiCell b {
  display: block; margin-top: 8px;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.9rem;
  font-variant-numeric: tabular-nums;
}
.demoRoiCell .win { color: var(--color-success); }
.demoRoiCell .closed { color: var(--color-accent-primary); }
.demoRoiCell .spend { color: var(--color-text-secondary); }
.demoRoiNote { margin-top: 14px; font-size: 0.8rem; color: var(--color-text-muted); text-align: left; }
.demoFoot { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--color-text-secondary); }
.demoFoot a { color: var(--color-accent-primary); font-weight: 600; }
@media (max-width: 760px) {
  .demoTiles, .demoRoi { grid-template-columns: 1fr; }
  .demoSync { margin-left: 0; width: 100%; }
}

/* ——— Pricing v2: base + data add-on toggle ——— */
.priceToggle {
  display: flex; gap: 4px; margin: 0 auto 10px; width: max-content; max-width: 100%;
  border: 1px solid var(--color-border); border-radius: 999px; padding: 4px; background: #ffffff;
}
.priceToggle button {
  border: 0; cursor: pointer; border-radius: 999px;
  font: 600 0.85rem var(--font-primary);
  color: var(--color-text-secondary); background: transparent;
  padding: 10px 20px; transition: color 0.25s, background 0.25s;
}
.priceToggle button.on { color: #ffffff; background: var(--color-accent-primary); }
.priceToggleNote { text-align: center; font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 34px; }
.dataDelta { font-size: 0.8rem; font-weight: 600; color: var(--color-accent-secondary); }

/* ——— real-demo launch panel ——— */
.demoLaunch { position: relative; display: block; }
.demoLaunch img { width: 100%; height: auto; display: block; }
.demoLaunchOverlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(180deg, rgba(1, 32, 28, 0.08), rgba(1, 32, 28, 0.42));
  opacity: 1; transition: background 0.3s;
}
.demoLaunch:hover .demoLaunchOverlay { background: linear-gradient(180deg, rgba(1, 32, 28, 0.16), rgba(1, 32, 28, 0.55)); }
.demoLaunchBtn {
  font: 600 1.05rem var(--font-primary); color: #004643;
  background: #ffffff; border-radius: 999px; padding: 16px 34px;
  box-shadow: 0 16px 40px -12px rgba(1, 32, 28, 0.55);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.demoLaunch:hover .demoLaunchBtn { transform: translateY(-2px) scale(1.03); }
.demoLaunchNote {
  font: 600 0.72rem var(--font-primary); letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 8px rgba(1, 32, 28, 0.6);
}
.official-partner-divider { width: 1px; height: 34px; background: var(--color-border); margin: 0 6px; }
.landvoice-logo { object-fit: contain; }

/* Landvoice partner backlink layout */
.landvoice-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.landvoice-link:hover .official-partner-name-inline { color: var(--color-accent-primary); }
a.partner-logo-card { text-decoration: none; color: inherit; }

/* Benefits: 5 cards on one row (base grid is 4-col; the 5th card wrapped).
   Tighter cards so all five sit on the same line on desktop. */
@media (min-width: 1024px) {
  .benefits-carousel { grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
  .benefit-card { padding: var(--space-5); }
  .benefit-card h3 { font-size: 1.02rem; line-height: 1.3; }
  .benefit-card p { font-size: 0.83rem; line-height: 1.55; }
  .benefit-illustration svg { max-height: 100px; width: 100%; }
}
