:root {
  --ww-ink: #0a192f;
  --ww-muted: #64748b;
  --ww-blue: #2563eb;
  --ww-green: #10b981;
  --ww-danger: #ef4444;
  --ww-glass: rgba(255, 255, 255, 0.72);
  --ww-glass-2: rgba(255, 255, 255, 0.56);
  --ww-border: rgba(15, 23, 42, 0.12);
  --ww-radius-lg: 22px;
}

.ww-zara {
  width: 100%;
  border-radius: var(--ww-radius-lg);
  border: 1px solid var(--ww-border);
  position: relative;
  background:
    radial-gradient(860px 520px at 22% 18%, rgba(37, 99, 235, 0.12), transparent 62%),
    radial-gradient(980px 560px at 78% 28%, rgba(16, 185, 129, 0.10), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.32) 100%);
  box-shadow: 0 26px 70px rgba(10, 25, 47, 0.14);
  backdrop-filter: blur(14px);
  overflow: hidden;

  /* Layout tuning */
  /* Keep above-the-fold compact: hero + widget should fit without scroll on common laptops. */
  --ww-pane-h: clamp(420px, 50vh, 520px);
  /* Match the call orb size so both panes feel equally "primary". */
  --ww-orb-size: clamp(92px, 8.5vw, 112px);

  /* Orb defaults (idle) */
  --ww-orb-glow: rgba(148, 163, 184, 0.16);
  --ww-orb-core: rgba(255, 255, 255, 0.92);
  --ww-orb-tint: rgba(148, 163, 184, 0.16);
  --ww-orb-wave: rgba(148, 163, 184, 0.24);
}

.ww-zara[data-ww-orb-mode="user"] {
  --ww-orb-glow: rgba(37, 99, 235, 0.24);
  --ww-orb-tint: rgba(37, 99, 235, 0.24);
  --ww-orb-wave: rgba(37, 99, 235, 0.30);
}

.ww-zara[data-ww-orb-mode="agent"] {
  --ww-orb-glow: rgba(16, 185, 129, 0.23);
  --ww-orb-tint: rgba(16, 185, 129, 0.21);
  --ww-orb-wave: rgba(16, 185, 129, 0.28);
}

.ww-zara__panes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .ww-zara {
    --ww-pane-h: auto;
    --ww-orb-size: clamp(86px, 24vw, 106px);
  }
  .ww-zara__panes {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .ww-zara__screen {
    margin: 10px 10px 12px;
  }
}

.ww-zara .ww-zara__pane {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: linear-gradient(135deg, var(--ww-glass), var(--ww-glass-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Ensure flex children can actually stretch inside a CSS grid row. */
  min-height: 0;
  /* Landing page defines a global `section { padding: ... }`.
   * These panes are sections too, so we must zero it out explicitly. */
  padding: 0 !important;
}

.ww-zara__paneHeader {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.55);
  position: relative;
}

.ww-zara__timer {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.74);
  color: rgba(10, 25, 47, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 6px 10px;
  display: none;
}

.ww-zara__timer[data-visible="true"] {
  display: inline-flex;
}

.ww-zara__paneTitle {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ww-ink);
  font-size: 20px;
}

.ww-zara__paneSub {
  font-size: 13.5px;
  color: var(--ww-muted);
  font-weight: 500;
}

.ww-zara__paneVoice {
  /* Use a definite height (not just min-height) so the inner screen can reliably
   * take remaining space; otherwise the screen collapses and clips its content. */
  height: var(--ww-pane-h);
  min-height: var(--ww-pane-h);
  display: flex;
  flex-direction: column;
}

.ww-zara__screen {
  /* Prefer filling the pane height (remove "dead space" below the screen). */
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 10px 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  position: relative;
  background:
    radial-gradient(700px 260px at 32% 20%, rgba(37, 99, 235, 0.08), transparent 70%),
    radial-gradient(780px 280px at 72% 28%, rgba(16, 185, 129, 0.07), transparent 72%),
    rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -22px 38px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.ww-zara__screenChrome {
  height: 24px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.52));
}

.ww-zara__screenDot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.ww-zara__unlock {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.10);
  color: rgba(37, 99, 235, 0.94);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 120ms ease, background 140ms ease, border-color 140ms ease;
}

.ww-zara__unlock:hover {
  transform: translateY(-1px);
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.24);
}

.ww-zara[data-ww-zara-locked="false"] .ww-zara__unlock {
  display: none;
}

/* Gate modal */
.ww-zara__gate {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: none;
}

.ww-zara__gate[data-visible="true"] {
  display: grid;
  place-items: center;
}

.ww-zara__gateBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.54);
  backdrop-filter: blur(10px);
}

.ww-zara__gateDialog {
  position: relative;
  width: min(560px, calc(100% - 28px));
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 40px 120px rgba(10, 25, 47, 0.35);
  padding: 18px 18px 16px;
}

.ww-zara__gateClose {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.70);
  color: rgba(10, 25, 47, 0.72);
  font-weight: 800;
  cursor: pointer;
}

.ww-zara__gateTitle {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(10, 25, 47, 0.96);
  padding-right: 42px;
}

.ww-zara__gateSub {
  margin-top: 6px;
  font-size: 13.5px;
  color: rgba(100, 116, 139, 0.95);
  line-height: 1.45;
}

.ww-zara__gateForm {
  margin-top: 14px;
}

.ww-zara__gateGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 520px) {
  .ww-zara__gateGrid {
    grid-template-columns: 1fr;
  }
}

.ww-zara__gateField {
  display: grid;
  gap: 6px;
}

.ww-zara__gateField span {
  font-size: 12px;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.72);
}

.ww-zara__gateField input {
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(248, 250, 252, 0.92);
  padding: 0 12px;
  font-size: 14px;
  color: rgba(10, 25, 47, 0.94);
  outline: none;
}

.ww-zara__gateField input:focus {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.ww-zara__gateStatus {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 650;
  color: rgba(100, 116, 139, 0.95);
}

.ww-zara__gateStatus[data-state="error"] {
  color: rgba(239, 68, 68, 0.95);
}

.ww-zara__gateCta {
  margin-top: 12px;
  width: 100%;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: rgba(37, 99, 235, 0.96);
  color: white;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 120ms ease, filter 140ms ease;
}

.ww-zara__gateCta:disabled {
  opacity: 0.72;
  cursor: default;
}

.ww-zara__gateCta:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.ww-zara__gateFineprint {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(100, 116, 139, 0.90);
  line-height: 1.45;
}

.ww-zara__paneMsg {
  position: absolute;
  top: 34px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.ww-zara__paneMsg[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

.ww-zara__debugPanel {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  margin: 0;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.74);
  color: rgba(10, 25, 47, 0.82);
  font-size: 11px;
  line-height: 1.25;
  max-height: 120px;
  overflow: hidden;
  white-space: pre-wrap;
  pointer-events: none;
}

.ww-zara__orbStage {
  flex: 1 1 0;
  display: grid;
  place-items: center;
  padding: 18px 0 8px;
  position: relative;
  min-height: calc(var(--ww-orb-size) + 10px);
}

.ww-zara__edu {
  align-self: center;
  text-align: center;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: rgba(10, 25, 47, 0.86);
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  max-width: 440px;
  width: calc(100% - 32px);

  /* Collapse when hidden (no dead space). */
  max-height: 0;
  opacity: 0;
  padding: 0 12px;
  margin: 0 16px;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 220ms ease, opacity 220ms ease, transform 220ms ease, padding 220ms ease, margin 220ms ease;
}

.ww-zara__edu[data-visible="true"] {
  max-height: 96px;
  opacity: 1;
  padding: 10px 12px;
  margin: 0 16px 8px;
  transform: translateY(0);
}

.ww-zara__edu--phone {
  background: rgba(255, 255, 255, 0.62);
}

.ww-zara__orbStage::before,
.ww-zara__orbStage::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--ww-orb-size) + 18px);
  height: calc(var(--ww-orb-size) + 18px);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
  opacity: 0;
  transition: transform 60ms linear, opacity 60ms linear;
}

.ww-zara__orbStage::before {
  border: 2px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.06);
  opacity: calc(var(--ww-user-level) * 0.62);
  transform: translate(-50%, -50%) scale(calc(1 + var(--ww-user-level) * 0.44));
}

.ww-zara__orbStage::after {
  border: 2px solid rgba(16, 185, 129, 0.14);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.05);
  opacity: calc(var(--ww-agent-level) * 0.62);
  transform: translate(-50%, -50%) scale(calc(1 + var(--ww-agent-level) * 0.44));
}

.ww-zara__orbBtn {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  border-radius: 999px;
  line-height: 0;
  position: relative;
  z-index: 1;
}

.ww-zara__orbBtn:disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

.ww-zara__orb {
  width: var(--ww-orb-size);
  height: var(--ww-orb-size);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 58% 70%, var(--ww-orb-tint), rgba(255, 255, 255, 0) 62%),
    radial-gradient(circle at 52% 52%, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.00) 64%),
    conic-gradient(from 210deg, rgba(255, 255, 255, 0.18), var(--ww-orb-tint), rgba(255, 255, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.70);
  /* Keep all glow inside the orb (no outer halo). */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -18px 28px rgba(15, 23, 42, 0.08);
  transform: translateZ(0) scale(calc(1 + var(--ww-orb-level) * 0.04));
  filter:
    saturate(calc(1 + var(--ww-orb-level) * 0.24))
    brightness(calc(1 + var(--ww-orb-level) * 0.11));
  transition: transform 40ms linear, filter 60ms linear, background 180ms ease;
  isolation: isolate;
}

.ww-zara__orbInner {
  position: absolute;
  inset: 10%;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.00) 62%),
    radial-gradient(circle at 42% 40%, var(--ww-orb-wave) 0%, rgba(255, 255, 255, 0.00) 64%);
  opacity: calc(0.12 + var(--ww-orb-level) * 0.62);
  transform: scale(calc(0.94 + var(--ww-orb-level) * 0.10));
  filter: blur(calc(2.8px - var(--ww-orb-level) * 1.4px));
  transition: opacity 60ms linear, transform 60ms linear, filter 60ms linear;
  pointer-events: none;
}

.ww-zara__orb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.00) 56%),
    conic-gradient(from 220deg, rgba(255, 255, 255, 0.00), var(--ww-orb-glow), rgba(255, 255, 255, 0.00));
  opacity: calc(0.010 + var(--ww-orb-level) * 0.05);
  filter: blur(2.2px);
  pointer-events: none;
  animation: ww-orb-spin 9.5s linear infinite;
  transform: rotate(0deg);
}

.ww-zara__orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
  opacity: calc(0.18 + var(--ww-orb-level) * 0.26);
  pointer-events: none;
}

.ww-zara[data-ww-orb-mode="user"] .ww-zara__orb::after {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    inset 0 0 0 2px rgba(37, 99, 235, 0.18);
}

.ww-zara[data-ww-orb-mode="agent"] .ww-zara__orb::after {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    inset 0 0 0 2px rgba(16, 185, 129, 0.16);
}

.ww-zara[data-ww-orb-mode="idle"] .ww-zara__orb {
  animation: ww-orb-breathe 4.6s ease-in-out infinite;
}

@keyframes ww-orb-breathe {
  0%, 100% { transform: translateZ(0) scale(1); }
  50% { transform: translateZ(0) scale(1.015); }
}

@keyframes ww-orb-spin {
  from { transform: rotate(0deg) scale(calc(1 + var(--ww-orb-level) * 0.05)); }
  to { transform: rotate(360deg) scale(calc(1 + var(--ww-orb-level) * 0.05)); }
}

@keyframes ww-mist-drift {
  from { transform: translate3d(-1.5%, -0.8%, 0) scale(1); }
  to { transform: translate3d(1.5%, 0.8%, 0) scale(1.06); }
}

.ww-zara__voiceActions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 6px 16px 6px;
}

.ww-zara__caps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 6px 16px 8px;
}

.ww-zara__cap {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(10, 25, 47, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.64);
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.ww-zara__btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 120ms ease, filter 120ms ease, opacity 120ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 110px;
}

.ww-zara__btn:hover {
  transform: translateY(-1px);
}

.ww-zara__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.ww-zara__btnPrimary {
  color: white;
  background: linear-gradient(180deg, #0b2a4a, #061426);
  box-shadow: 0 14px 32px rgba(6, 20, 38, 0.26);
}

.ww-zara__btnDanger {
  color: white;
  background: linear-gradient(135deg, #fb7185, var(--ww-danger));
  box-shadow: 0 14px 30px rgba(239, 68, 68, 0.18);
}

.ww-zara__suggest {
  margin: 0 16px 12px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.70);
  padding: 12px 12px;
  display: none;
}

.ww-zara__suggest[data-visible="true"] {
  display: block;
}

.ww-zara__suggestLabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(10, 25, 47, 0.70);
  margin-bottom: 6px;
}

.ww-zara__suggestText {
  color: rgba(10, 25, 47, 0.86);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.ww-zara__notice,
.ww-zara__err {
  margin: 0;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12px;
  display: none;
}

.ww-zara__notice[data-visible="true"],
.ww-zara__err[data-visible="true"] {
  display: block;
}

.ww-zara__notice {
  border: 1px solid rgba(251, 191, 36, 0.32);
  background: rgba(251, 191, 36, 0.12);
  color: rgba(146, 64, 14, 0.95);
}

.ww-zara__err {
  border: 1px solid rgba(239, 68, 68, 0.28);
  background: rgba(239, 68, 68, 0.08);
  color: rgba(127, 29, 29, 0.95);
}

.ww-zara__panePhone {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  height: var(--ww-pane-h);
  min-height: var(--ww-pane-h);
}

.ww-zara__phoneFrame {
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background:
    radial-gradient(720px 420px at 20% 20%, rgba(16, 185, 129, 0.16), transparent 64%),
    radial-gradient(760px 440px at 86% 28%, rgba(255, 255, 255, 0.40), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.54));
  box-shadow:
    0 22px 64px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
  padding: 12px 14px 14px;
  margin: 10px 12px 12px;
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (max-width: 980px) {
  .ww-zara__phoneFrame {
    margin: 10px 10px 12px;
    border-radius: 22px;
  }
}

.ww-zara__phoneNotch {
  width: 132px;
  height: 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.10);
  margin: 6px auto 12px;
}

.ww-zara__phoneContent {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 8px 10px;
  flex: 1;
  justify-content: flex-start;
}

.ww-zara__phoneTitle {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ww-ink);
  font-size: 20px;
}

.ww-zara__phoneSub {
  color: var(--ww-muted);
  font-weight: 500;
  font-size: 13.5px;
  margin-top: -4px;
}

.ww-zara__phoneHero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 0 6px;
}

.ww-zara__phoneStatus {
  text-align: center;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: rgba(10, 25, 47, 0.72);
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.62);
  padding: 0 12px;

  /* Collapse when empty */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 220ms ease, opacity 220ms ease, transform 220ms ease, padding 220ms ease, margin 220ms ease;
}

.ww-zara__phoneStatus[data-visible="true"] {
  max-height: 32px;
  opacity: 1;
  padding: 6px 10px;
  margin-top: -2px;
  transform: translateY(0);
}

.ww-zara__phoneAvatar {
  width: var(--ww-orb-size);
  height: var(--ww-orb-size);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 44%),
    radial-gradient(circle at 60% 70%, rgba(16, 185, 129, 0.26), rgba(255, 255, 255, 0) 64%),
    linear-gradient(180deg, rgba(10, 25, 47, 0.10), rgba(10, 25, 47, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 18px 50px rgba(15, 23, 42, 0.14),
    0 0 28px rgba(16, 185, 129, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transform: translateZ(0);
  animation: ww-phone-breathe 4.8s ease-in-out infinite;
}

.ww-zara__phoneAvatarIcon {
  width: 34px;
  height: 34px;
  fill: rgba(10, 25, 47, 0.75);
  filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.10));
}

.ww-zara__phoneFrame[data-ww-phone-state="calling"] .ww-zara__phoneAvatar,
.ww-zara__phoneFrame[data-ww-phone-state="ringing"] .ww-zara__phoneAvatar {
  animation: ww-phone-ring 1.35s ease-in-out infinite;
}

.ww-zara__phoneFrame[data-ww-phone-state="connected"] .ww-zara__phoneAvatar {
  animation: ww-phone-connected 2.4s ease-in-out infinite;
}

@keyframes ww-phone-breathe {
  0%, 100% { transform: translateZ(0) scale(1); }
  50% { transform: translateZ(0) scale(1.025); }
}

@keyframes ww-phone-ring {
  0% { transform: translateZ(0) scale(1); }
  40% { transform: translateZ(0) scale(1.055); }
  100% { transform: translateZ(0) scale(1); }
}

@keyframes ww-phone-connected {
  0%, 100% { transform: translateZ(0) scale(1.01); }
  50% { transform: translateZ(0) scale(1.035); }
}

.ww-zara__srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ww-zara__phoneInput {
  width: 100%;
  border-radius: 16px;
  padding: 15px 16px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.80);
  font-family: inherit;
  font-size: 15px;
  color: rgba(10, 25, 47, 0.92);
  outline: none;
  transition: box-shadow 120ms ease, border-color 120ms ease;
}

.ww-zara__phoneInput::placeholder {
  color: rgba(100, 116, 139, 0.82);
}

.ww-zara__phoneInput:focus {
  border-color: rgba(37, 99, 235, 0.40);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.ww-zara__phoneBtn {
  width: 100%;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: white;
  background: linear-gradient(180deg, #0b2a4a, #061426);
  box-shadow: 0 16px 34px rgba(6, 20, 38, 0.22);
  transition: transform 120ms ease, filter 120ms ease, opacity 120ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .ww-zara__orbStage::after,
  .ww-zara__orb::before,
  .ww-zara[data-ww-orb-mode="idle"] .ww-zara__orb {
    animation: none !important;
  }
  .ww-zara__orb {
    transition: none;
  }
}

.ww-zara__phoneBtn:hover {
  transform: translateY(-1px);
}

.ww-zara__phoneBtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.ww-zara__phoneEnd {
  width: 100%;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: white;
  background: linear-gradient(135deg, #fb7185, var(--ww-danger));
  box-shadow: 0 16px 36px rgba(239, 68, 68, 0.18);
  transition: transform 120ms ease, filter 120ms ease, opacity 120ms ease;
  display: none;
}

.ww-zara__phoneEnd:hover {
  transform: translateY(-1px);
}

.ww-zara__phoneEnd:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.ww-zara__phoneFrame[data-ww-phone-state="calling"] .ww-zara__phoneBtn,
.ww-zara__phoneFrame[data-ww-phone-state="ringing"] .ww-zara__phoneBtn,
.ww-zara__phoneFrame[data-ww-phone-state="connected"] .ww-zara__phoneBtn {
  display: none;
}

.ww-zara__phoneFrame[data-ww-phone-state="calling"] .ww-zara__phoneEnd,
.ww-zara__phoneFrame[data-ww-phone-state="ringing"] .ww-zara__phoneEnd,
.ww-zara__phoneFrame[data-ww-phone-state="connected"] .ww-zara__phoneEnd {
  display: block;
}

.ww-zara__phoneNote {
  font-size: 12px;
  color: rgba(100, 116, 139, 0.95);
  line-height: 1.45;
  text-align: center;
}

.ww-zara__suggest--phone {
  margin: 6px 0 0;
  background: rgba(255, 255, 255, 0.64);
}
