:root {
  --ink: #102033;
  --muted: #627184;
  --brand: #0f6f68;
  --brand-dark: #084a48;
  --accent: #d9a441;
  --surface: #ffffff;
  --surface-soft: #f4f7f8;
  --line: #dce5e8;
  --shadow: 0 24px 70px rgba(12, 32, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #eef6f5 0%, #ffffff 42%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 229, 232, 0.7);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.hero-actions,
.trust-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.12rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 10px 24px rgba(15, 111, 104, 0.25);
}

.nav-links {
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--brand);
}

.hero,
.section,
.panel,
.cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
  padding: 86px 0 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  letter-spacing: -0.025em;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 650px;
  font-size: 1.12rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: var(--brand);
  box-shadow: 0 16px 30px rgba(15, 111, 104, 0.23);
}

.button.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.button.light {
  background: white;
  color: var(--brand-dark);
  box-shadow: none;
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 18px;
  border-radius: 34px;
  background: linear-gradient(180deg, #dff1f1 0%, #f7fbfa 58%, #c9ddd7 58%, #a9c4bf 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.animated-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 15%, rgba(247, 216, 135, 0.95) 0 52px, transparent 54px),
    linear-gradient(160deg, rgba(255,255,255,0.52), transparent 42%);
  pointer-events: none;
}

.scene-sky,
.houses,
.street-layer {
  position: absolute;
  inset: 0;
}

.cloud-data {
  position: absolute;
  top: 34px;
  right: 38px;
  z-index: 4;
  width: 220px;
  height: 118px;
  border-radius: 44px;
  background: white;
  border: 1px solid #d5e3e5;
  box-shadow: 0 22px 45px rgba(16, 32, 51, 0.12);
  animation: floatCloud 5.5s ease-in-out infinite;
}

.cloud-bubble {
  position: absolute;
  border-radius: 999px;
  background: white;
  border: 1px solid #d5e3e5;
}

.cloud-bubble.one { width: 78px; height: 78px; left: 18px; top: -27px; }
.cloud-bubble.two { width: 104px; height: 104px; left: 70px; top: -49px; }
.cloud-bubble.three { width: 82px; height: 82px; right: 22px; top: -25px; }

.cloud-dot {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.8;
  animation: cloudDot 1.8s ease-in-out infinite;
}

.dot-one { left: 70px; top: 58px; }
.dot-two { left: 104px; top: 58px; animation-delay: 0.25s; }
.dot-three { left: 138px; top: 58px; animation-delay: 0.5s; }

.cloud-phone-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.link-track,
.link-pulse {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-track {
  stroke: rgba(15, 111, 104, 0.18);
  stroke-width: 5;
  stroke-dasharray: 8 12;
}

.link-pulse {
  stroke: var(--brand);
  stroke-width: 6;
  stroke-dasharray: 34 470;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 7px rgba(15, 111, 104, 0.45));
  animation: cloudToPhone 2.2s linear infinite;
}

.houses {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  padding: 0 28px 178px;
}

.house {
  position: relative;
  width: 185px;
  height: 150px;
  border: 4px solid #c9d9db;
  border-radius: 14px 14px 8px 8px;
  background: #fffdfa;
}

.house::before {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  top: -72px;
  height: 92px;
  background: var(--brand-dark);
  clip-path: polygon(50% 0, 100% 78%, 0 78%);
}

.house span::before,
.house span::after {
  content: "";
  position: absolute;
  top: 48px;
  width: 48px;
  height: 38px;
  border-radius: 6px;
  background: #a9cbd6;
}

.house span::before { left: 24px; }
.house span::after { right: 24px; }

.house-main {
  width: 235px;
  height: 188px;
  z-index: 2;
}

.house-main::before { background: var(--brand); }
.house-left,
.house-right { transform: scale(0.88); opacity: 0.9; }

.street-layer {
  z-index: 5;
}

.sale-board {
  position: absolute;
  left: 292px;
  bottom: 78px;
  width: 220px;
  height: 190px;
}

.board-post {
  position: absolute;
  left: 42px;
  top: 28px;
  width: 12px;
  height: 164px;
  border-radius: 8px;
  background: #143554;
}

.board-face {
  position: absolute;
  left: 0;
  top: 0;
  width: 210px;
  padding: 18px 18px 16px;
  border: 6px solid #143554;
  border-radius: 10px;
  text-align: center;
  background: white;
  box-shadow: 0 16px 26px rgba(16, 32, 51, 0.12);
}

.board-face b {
  display: block;
  margin-bottom: 13px;
  padding: 7px 10px;
  border-radius: 4px;
  color: white;
  background: #d9272e;
  letter-spacing: 0.08em;
}

.board-face span {
  font-weight: 800;
  color: #143554;
}

.nfc-dot {
  position: absolute;
  right: 17px;
  bottom: 15px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(15, 111, 104, 0.45);
  animation: nfcPing 1.8s ease-out infinite;
}

.passerby {
  position: absolute;
  left: 92px;
  bottom: 54px;
  width: 166px;
  height: 270px;
  animation: subtleWalk 4.8s ease-in-out infinite;
}

.head {
  position: absolute;
  left: 54px;
  top: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #8a573b;
}

.head::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 23px;
  width: 10px;
  height: 8px;
  border-radius: 50%;
  background: #8a573b;
}

.body {
  position: absolute;
  left: 37px;
  top: 58px;
  width: 82px;
  height: 126px;
  border-radius: 44px 44px 18px 18px;
  background: #143554;
}

.arm {
  position: absolute;
  left: 106px;
  top: 82px;
  width: 76px;
  height: 17px;
  border-radius: 999px;
  background: #8a573b;
  transform: rotate(-17deg);
}

.phone {
  position: absolute;
  left: 163px;
  top: 54px;
  width: 38px;
  height: 68px;
  border-radius: 10px;
  background: #102033;
  transform: rotate(10deg);
  animation: phoneGlow 1.8s ease-in-out infinite;
}

.phone span {
  position: absolute;
  inset: 8px 7px;
  border-radius: 6px;
  background: #dff7f3;
}

.leg {
  position: absolute;
  top: 178px;
  width: 20px;
  height: 88px;
  border-radius: 999px;
  background: #193b5b;
}

.leg.left { left: 51px; transform: rotate(5deg); }
.leg.right { left: 87px; transform: rotate(-5deg); }

.property-card {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 215px;
  padding: 18px;
  border-radius: 22px;
  background: white;
  border: 1px solid #d5e3e5;
  box-shadow: 0 24px 50px rgba(16, 32, 51, 0.16);
  animation: cardReveal 4.8s ease-in-out infinite;
}

.property-card small,
.property-card span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.property-card strong {
  display: block;
  margin: 6px 0;
  color: var(--brand);
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}

.property-card button {
  margin-top: 15px;
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--brand);
  font-weight: 800;
}

@keyframes floatCloud {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes cloudToPhone {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -504; }
}

@keyframes cloudDot {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(-5px); opacity: 1; }
}

@keyframes nfcPing {
  0% { box-shadow: 0 0 0 0 rgba(15, 111, 104, 0.45); }
  70% { box-shadow: 0 0 0 22px rgba(15, 111, 104, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 111, 104, 0); }
}

@keyframes subtleWalk {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes phoneGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(15, 111, 104, 0); }
  50% { box-shadow: 0 0 28px rgba(15, 111, 104, 0.45); }
}

@keyframes cardReveal {
  0%, 18% { opacity: 0.55; transform: translateY(14px) scale(0.98); }
  34%, 100% { opacity: 1; transform: translateY(0) scale(1); }
}

.panel.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--line);
  box-shadow: 0 18px 50px rgba(16, 32, 51, 0.08);
}

.stats div {
  background: var(--surface);
  padding: 32px;
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  letter-spacing: -0.05em;
  color: var(--brand-dark);
}

.stats span {
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: 92px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 60px;
}

.steps {
  display: grid;
  gap: 18px;
}

.steps article,
.card {
  padding: 26px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(16, 32, 51, 0.06);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #e6f2f1;
  color: var(--brand);
  font-weight: 800;
}

.cards-section {
  padding-top: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.card {
  min-height: 210px;
}

.cta {
  margin-bottom: 56px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 32px;
  color: white;
  background:
    radial-gradient(circle at 18% 20%, rgba(217, 164, 65, 0.35), transparent 28%),
    linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.cta h2,
.cta p,
.cta .eyebrow {
  color: white;
}

.cta p {
  margin-bottom: 0;
  opacity: 0.86;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero,
  .split,
  .cards,
  .panel.stats {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .stats div {
    padding: 26px;
  }

  .section {
    padding: 62px 0;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero,
  .section,
  .panel,
  .cta,
  .nav {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 2.7rem;
  }

  .hero-visual {
    min-height: 500px;
    padding: 10px;
    border-radius: 22px;
  }

  .cloud-data {
    right: 12px;
    top: 26px;
    width: 190px;
    transform: scale(0.82);
    transform-origin: top right;
  }

  .houses {
    transform: scale(0.72);
    transform-origin: center bottom;
    padding-bottom: 150px;
  }

  .sale-board {
    left: 175px;
    transform: scale(0.72);
    transform-origin: left bottom;
  }

  .passerby {
    left: 30px;
    transform: scale(0.68);
    transform-origin: left bottom;
  }

  .property-card {
    right: 12px;
    top: auto;
    bottom: 18px;
    width: 168px;
    padding: 14px;
  }

  .cta {
    padding: 30px;
  }
}

.hero-showcase {
  min-height: auto;
  padding: 0;
  background: transparent;
}

.hero-animation {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
  overflow: hidden;
}

.cloud-group {
  animation: svgFloatCloud 5.5s ease-in-out infinite;
}

.cloud-dot-svg {
  transform-box: fill-box;
  transform-origin: center;
  animation: svgCloudDot 1.6s ease-in-out infinite;
}

.cloud-dot-svg.dot-b { animation-delay: 0.2s; }
.cloud-dot-svg.dot-c { animation-delay: 0.4s; }

.cloud-link-track,
.cloud-link-pulse,
.phone-card-track,
.phone-card-pulse {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cloud-link-track {
  stroke: rgba(15, 111, 104, 0.2);
  stroke-width: 6;
  stroke-dasharray: 10 13;
}

.cloud-link-pulse {
  stroke: #0f6f68;
  stroke-width: 7;
  stroke-dasharray: 44 430;
  filter: drop-shadow(0 0 8px rgba(15, 111, 104, 0.55));
  animation: svgDataFlow 2.1s linear infinite;
}

.phone-card-track {
  stroke: rgba(15, 111, 104, 0.18);
  stroke-width: 5;
  stroke-dasharray: 7 12;
}

.phone-card-pulse {
  stroke: #0f6f68;
  stroke-width: 6;
  stroke-dasharray: 34 260;
  filter: drop-shadow(0 0 8px rgba(15, 111, 104, 0.48));
  animation: svgPhoneToCard 2.1s linear infinite;
}

.phone-arrival {
  opacity: 0;
  animation: svgPhoneArrival 2.1s ease-out infinite;
}

.board-nfc-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: svgNfcRing 1.9s ease-out infinite;
}

.phone-svg {
  transform-box: fill-box;
  transform-origin: center;
  animation: svgPhoneTap 2.8s ease-in-out infinite;
}

.screen-bar {
  transform-box: fill-box;
  transform-origin: left center;
  animation: svgScreenLoad 2.4s ease-in-out infinite;
}

.screen-bar.two { animation-delay: 0.18s; }
.screen-bar.three { animation-delay: 0.36s; }

.listing-card-svg {
  animation: svgCardReveal 4.2s ease-in-out infinite;
}

@keyframes svgFloatCloud {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes svgCloudDot {
  0%, 100% { transform: scale(0.72); opacity: 0.42; }
  50% { transform: scale(1); opacity: 1; }
}

@keyframes svgDataFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -474; }
}

@keyframes svgPhoneToCard {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -294; }
}

@keyframes svgPhoneArrival {
  0%, 62% { opacity: 0; transform: scale(0.4); }
  72% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.8); }
}

@keyframes svgNfcRing {
  0% { opacity: 0.8; transform: scale(1); }
  75%, 100% { opacity: 0; transform: scale(2.55); }
}

@keyframes svgPhoneTap {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(15, 111, 104, 0)); }
  50% { filter: drop-shadow(0 0 12px rgba(15, 111, 104, 0.55)); }
}

@keyframes svgScreenLoad {
  0%, 25% { opacity: 0.35; transform: scaleX(0.45); }
  45%, 100% { opacity: 1; transform: scaleX(1); }
}

@keyframes svgCardReveal {
  0%, 20% { opacity: 0; }
  36%, 72% { opacity: 1; }
  100% { opacity: 0; }
}

.agent-overload {
  margin-top: 34px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(16, 32, 51, 0.08);
}

.agent-overload svg {
  display: block;
  width: 100%;
  height: auto;
}

.incoming-card {
  opacity: 0;
  animation: agentCardFloat 4.2s ease-in-out infinite;
}

.incoming-card.card-b { animation-delay: 0.55s; }
.incoming-card.card-c { animation-delay: 1.1s; }

.agent-data-track,
.agent-data-pulse {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agent-data-track {
  stroke: rgba(15, 111, 104, 0.18);
  stroke-width: 5;
  stroke-dasharray: 7 11;
}

.agent-data-pulse {
  stroke: #0f6f68;
  stroke-width: 6;
  stroke-dasharray: 30 220;
  filter: drop-shadow(0 0 7px rgba(15, 111, 104, 0.45));
  animation: agentDataRush 1.55s linear infinite;
}

.agent-data-pulse.pulse-two { animation-delay: 0.35s; }
.agent-data-pulse.pulse-three { animation-delay: 0.7s; }

.screen-flash {
  transform-box: fill-box;
  transform-origin: left center;
  animation: agentScreenFlash 1.8s ease-in-out infinite;
}

.screen-flash.flash-two { animation-delay: 0.25s; }
.screen-flash.flash-three { animation-delay: 0.5s; }

.agent-person {
  animation: agentOverwhelmed 2.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center bottom;
}

.stress-line {
  opacity: 0;
  animation: stressBlink 1.4s ease-in-out infinite;
}

.stress-line.two { animation-delay: 0.2s; }
.stress-line.three { animation-delay: 0.4s; }

.ringing-phone {
  transform-box: fill-box;
  transform-origin: center;
  animation: phoneRingShake 0.55s ease-in-out infinite;
}

.ring {
  opacity: 0;
  animation: ringPulse 1.1s ease-out infinite;
}

.ring-right { animation-delay: 0.18s; }

@keyframes agentCardFloat {
  0%, 16% { opacity: 0; transform: translateY(-8px); }
  30%, 72% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

@keyframes agentDataRush {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -250; }
}

@keyframes agentScreenFlash {
  0%, 28% { opacity: 0.35; transform: scaleX(0.35); }
  45%, 100% { opacity: 1; transform: scaleX(1); }
}

@keyframes agentOverwhelmed {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  50% { transform: translateX(2px); }
  75% { transform: translateX(-1px); }
}

@keyframes stressBlink {
  0%, 25% { opacity: 0; transform: scale(0.82); }
  45%, 80% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.08); }
}

@keyframes phoneRingShake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
}

@keyframes ringPulse {
  0% { opacity: 0; transform: scale(0.86); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.12); }
}

.agent-flow-track,
.agent-flow-pulse {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agent-flow-track {
  stroke: rgba(15, 111, 104, 0.2);
  stroke-width: 5;
  stroke-dasharray: 7 11;
}

.agent-flow-pulse {
  stroke: #0f6f68;
  stroke-width: 6;
  stroke-dasharray: 28 170;
  filter: drop-shadow(0 0 7px rgba(15, 111, 104, 0.45));
  animation: agentFlow 1.55s linear infinite;
}

.agent-flow-pulse.pulse-two { animation-delay: 0.45s; }

.lead-pop {
  opacity: 0;
  animation: leadPop 4s ease-in-out infinite;
}

.lead-two { animation-delay: 0.85s; }

.buyer-phone {
  transform-box: fill-box;
  transform-origin: center;
  animation: buyerPhoneGlow 1.7s ease-in-out infinite;
}

.mini-board,
.mini-buyer,
.agent-desk {
  transform-box: fill-box;
  transform-origin: center bottom;
}

@keyframes agentFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -198; }
}

@keyframes leadPop {
  0%, 22% { opacity: 0; transform: translateY(10px); }
  35%, 76% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}

@keyframes buyerPhoneGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(15, 111, 104, 0)); }
  50% { filter: drop-shadow(0 0 12px rgba(15, 111, 104, 0.5)); }
}

.agent-dashboard {
  position: relative;
  min-height: 360px;
  padding: 22px;
  background:
    radial-gradient(circle at 82% 20%, rgba(217, 164, 65, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff, #eef8f6);
  border: 1px solid var(--line);
}

.dashboard-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.dashboard-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbdadb;
}

.dashboard-topbar strong {
  margin-left: 10px;
  font-size: 0.95rem;
}

.dashboard-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 22px;
}

.inbound-panel,
.agent-call-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #d8e6e8;
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.08);
}

.inbound-panel {
  padding: 18px;
}

.mini-label {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-row {
  padding: 14px;
  border-radius: 16px;
  background: #f3f8f8;
  border: 1px solid #e1ecee;
  animation: leadRowPulse 4s ease-in-out infinite;
}

.lead-row + .lead-row {
  margin-top: 10px;
}

.lead-row.active {
  background: #e4f4f2;
  border-color: rgba(15, 111, 104, 0.28);
}

.lead-row b,
.lead-row small,
.agent-call-card b,
.agent-call-card small {
  display: block;
}

.lead-row b {
  color: var(--ink);
  font-size: 0.95rem;
}

.lead-row small,
.agent-call-card small {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 700;
}

.agent-call-card {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 224px;
  padding: 22px;
  text-align: center;
}

.phone-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--brand);
  font-size: 2.2rem;
  box-shadow: 0 0 0 0 rgba(15, 111, 104, 0.35);
  animation: phoneCallPulse 1.4s ease-out infinite;
}

.agent-call-card b {
  color: var(--ink);
}

.data-rain {
  position: absolute;
  inset: 68px 22px 24px;
  pointer-events: none;
  overflow: hidden;
}

.data-rain i {
  position: absolute;
  top: -30px;
  width: 72px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(15, 111, 104, 0.42), transparent);
  animation: dataRain 2.5s linear infinite;
}

.data-rain i:nth-child(1) { left: 8%; animation-delay: 0s; }
.data-rain i:nth-child(2) { left: 28%; animation-delay: 0.5s; }
.data-rain i:nth-child(3) { left: 49%; animation-delay: 1s; }
.data-rain i:nth-child(4) { left: 68%; animation-delay: 1.5s; }
.data-rain i:nth-child(5) { left: 84%; animation-delay: 2s; }

@keyframes phoneCallPulse {
  0% { transform: rotate(0); box-shadow: 0 0 0 0 rgba(15, 111, 104, 0.38); }
  20% { transform: rotate(-5deg); }
  40% { transform: rotate(5deg); }
  80% { box-shadow: 0 0 0 22px rgba(15, 111, 104, 0); }
  100% { transform: rotate(0); box-shadow: 0 0 0 0 rgba(15, 111, 104, 0); }
}

@keyframes leadRowPulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

@keyframes dataRain {
  from { transform: translateY(0) rotate(18deg); opacity: 0; }
  20% { opacity: 0.9; }
  to { transform: translateY(320px) rotate(18deg); opacity: 0; }
}

@media (max-width: 560px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
