/* Zensia Vizn partner home: small additions on top of style.css.
   Everything visual (colours, cards, calculator, comparison) is the existing design. */

/* --- nav: Distributor login + Become a distributor --- */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-link {
  display: inline-flex; align-items: center; color: #fff; font-size: .92rem; font-weight: 600;
  padding: 12px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45);
  transition: .18s;
}
.nav-link:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }

/* --- hero calls to action (same pill language as the old email capsule) --- */
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 640px; margin: 0 auto; }
.cta {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px;
  font-weight: 600; font-size: .9rem; white-space: nowrap; transition: .18s;
}
.cta.main {
  background: #08262a; color: #fff; padding: 8px 24px 8px 8px;
  box-shadow: 0 20px 46px -20px rgba(4, 45, 42, .65);
}
.cta.main .badge-ic {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(140deg, #2dd4bf, #0d9488); display: grid; place-items: center; flex: none;
}
.cta.main:hover { background: #0c343a; transform: translateY(-1px); }
.cta.ghost, .cta.wa { padding: 15px 26px; }
.cta.ghost {
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.55); color: #fff;
  backdrop-filter: blur(10px);
}
.cta.ghost:hover { background: rgba(255,255,255,.28); transform: translateY(-1px); }
.cta.wa { background: #fff; color: #0f766e; box-shadow: 0 14px 30px -16px rgba(4, 45, 42, .5); }
.cta.wa:hover { transform: translateY(-1px); }

/* --- comparison: two columns now --- */
.cmp-table { min-width: 0; }
.cmp-table th:first-child, .cmp-table td:first-child { width: 38%; }
.cmp-table th:last-child, .cmp-table td:last-child { width: 31%; }
.cmp-mobile-grid { grid-template-columns: 1.9fr .9fr .9fr; }

/* --- "Become a distributor" card --- */
.next-steps { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 14px; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; }
.ns-n {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 800; font-size: .85rem;
}
.next-steps b { display: block; font-size: .95rem; }
.next-steps small { color: var(--ink-2); font-size: .82rem; }
.join-card a.btn { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 10px; text-align: center; }
.btn.wa { background: #25d366; color: #fff; border: 0; box-shadow: none; }
.foot a:not(.foot-brand) { color: var(--brand-dark); font-weight: 600; }

@media (max-width: 820px) {
  .nav-link { padding: 10px 16px; font-size: .82rem; }
  .cta.ghost, .cta.wa { padding: 13px 22px; }
}
@media (max-width: 560px) {
  .nav-link { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; padding: 0 16px; }
  .cta { justify-content: center; }
  .cta.main { padding: 8px 20px 8px 8px; }
}


/* ============ earnings calculator (redesigned) ============ */
#calc-section .c2 { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: stretch; position: relative; z-index: 1; }
.c2-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--grad-soft); min-height: 100%; }
.c2-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }

.c2-card {
  display: grid; grid-template-columns: 1.08fr 1fr; background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-float); position: relative; overflow: hidden; min-width: 0;
}
.c2-in { padding: 30px 32px; min-width: 0; }

.c2-step { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; color: var(--ink); margin: 0 0 12px; }
.c2-step > span {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: .74rem; font-weight: 800;
}
.c2-step em {
  margin-left: auto; font-style: normal; font-family: var(--mono); font-weight: 800; font-size: .9rem;
  color: var(--brand-dark); background: var(--brand-tint); padding: 3px 11px; border-radius: 8px;
}
.c2-num {
  margin-left: auto; width: 72px; text-align: center; font: inherit; font-family: var(--mono); font-weight: 800;
  font-size: .9rem; color: var(--brand-dark); background: var(--brand-tint); border: 1px solid var(--brand-line);
  border-radius: 8px; padding: 4px 6px; outline: none; -moz-appearance: textfield;
}
.c2-num::-webkit-outer-spin-button, .c2-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.c2-num:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .15); }

/* plan cards */
.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.plan-card {
  text-align: left; font: inherit; cursor: pointer; display: grid; gap: 1px; padding: 14px 16px;
  background: #fff; border: 1.5px solid var(--border-strong); border-radius: 14px; transition: .18s;
}
.plan-card b { font-size: 1.05rem; color: var(--ink); }
.plan-card span { font-size: .8rem; color: var(--ink-2); }
.plan-card em { font-style: normal; font-family: var(--mono); font-weight: 800; font-size: 1rem; color: var(--brand-dark); margin-top: 8px; }
.plan-card em small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); margin-top: 1px; }
.plan-card:hover { border-color: var(--brand-light); }
.plan-card.on { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .14); }

/* sliders (the value bubble now has its own row, so it never covers a label) */
.c2-slide { position: relative; padding-top: 30px; margin-bottom: 26px; }
.c2-bubble {
  position: absolute; top: 0; left: 0; transform: translateX(-50%); background: var(--brand-dark); color: #fff;
  font-family: var(--mono); font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 7px;
  white-space: nowrap; pointer-events: none; box-shadow: 0 4px 10px -4px rgba(2, 20, 20, .5);
}
.c2-bubble::after {
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 4px solid transparent; border-top-color: var(--brand-dark);
}
.c2-range {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 8px; border-radius: 999px;
  background: #eef2f6; outline: none; cursor: pointer; margin: 0;
}
.c2-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand); box-shadow: 0 3px 10px -2px rgba(var(--brand-rgb), .6); cursor: pointer;
}
.c2-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); cursor: pointer; }
.c2-range::-moz-range-track { height: 8px; border-radius: 999px; background: #eef2f6; }
.c2-ticks { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); margin-top: 10px; }

.c2-price {
  background: var(--brand-tint); border: 1px solid var(--brand-line); border-radius: 12px;
  padding: 13px 16px; font-size: .88rem; color: var(--ink-2); line-height: 1.5;
}
.c2-price b { font-family: var(--mono); color: var(--brand-dark); font-size: .95rem; }

/* income panel */
.c2-out {
  position: relative; overflow: hidden; color: #fff; padding: 30px 32px; display: flex; flex-direction: column; min-width: 0;
  background: linear-gradient(160deg, #0f766e 0%, #0d9488 45%, #059669 100%);
}
.c2-out::before {
  content: ''; position: absolute; inset: -40% -10% auto auto; width: 85%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(134,239,172,.32), transparent 70%); pointer-events: none;
}
.c2-money { position: absolute; top: 14px; right: 16px; width: 78px; height: 78px; object-fit: contain; pointer-events: none; z-index: 1; }
.c2-eyebrow { position: relative; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.78); margin-bottom: 8px; }
.c2-total {
  position: relative; font-family: var(--mono); font-weight: 800; letter-spacing: -.02em; line-height: 1;
  font-size: clamp(2.3rem, 4.4vw, 3rem); text-shadow: 0 2px 20px rgba(0,0,0,.15); margin-bottom: 8px;
}
.c2-cap { position: relative; font-size: .82rem; color: rgba(255,255,255,.85); margin-bottom: 22px; }
.c2-chips { position: relative; display: grid; gap: 10px; margin-bottom: 16px; }
.c2-chips > div {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 15px; border-radius: 12px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px);
}
.c2-chips span { font-size: .82rem; color: rgba(255,255,255,.88); }
.c2-chips b { font-family: var(--mono); font-weight: 800; font-size: .95rem; white-space: nowrap; }
.c2-break { position: relative; font-family: var(--mono); font-size: .66rem; line-height: 1.6; color: rgba(255,255,255,.78); margin-bottom: 20px; }
.c2-cta {
  position: relative; margin-top: auto; display: flex; align-items: center; justify-content: center; text-align: center;
  background: #fff; color: var(--brand-dark); font-weight: 700; font-size: .93rem; padding: 14px 20px; border-radius: var(--r-sm);
  box-shadow: 0 10px 22px -10px rgba(2, 20, 20, .5); transition: .18s;
}
.c2-cta:hover { background: #f0fdfa; transform: translateY(-1px); }

@media (max-width: 1000px) {
  #calc-section .c2 { grid-template-columns: 1fr; }
  .c2-photo { display: none; }
}
@media (max-width: 760px) {
  .c2-card { grid-template-columns: 1fr; border-radius: 20px; }
  .c2-in { padding: 22px 18px 20px; }
  .c2-out { padding: 24px 18px 22px; }
  .plan-cards { gap: 10px; margin-bottom: 22px; }
  .plan-card { padding: 12px 13px; }
  .c2-step { font-size: .9rem; }
  .c2-money { width: 58px; height: 58px; top: 12px; right: 12px; }
  .c2-total { font-size: 2.3rem; }
  .c2-chips > div { padding: 10px 13px; }
  .c2-chips span { font-size: .78rem; }
}


/* --- hero: floating cash on the live camera card (same treatment as the calculator's) --- */
.stage-card { position: relative; }
.hero-money { position: absolute; top: -104px; right: -34px; width: 138px; height: 138px; pointer-events: none; z-index: 3; }
.hero-money::before {
  content: ''; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(190,255,220,.55), rgba(52,211,153,0) 65%); filter: blur(2px);
}
.hero-money img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: rotate(9deg);
  filter: drop-shadow(0 3px 4px rgba(0,60,40,.35)) drop-shadow(0 16px 22px rgba(0,30,20,.35));
  animation: moneyFloat 4.5s ease-in-out infinite;
}
@media (max-width: 820px) { .hero-money { width: 96px; height: 96px; top: -68px; right: -10px; } }
@media (max-width: 560px) { .hero-money { width: 60px; height: 60px; top: -46px; right: 4px; } }
