/* Real Estate App hero — from Corewave Real Estate App Page (01 Hero) */

@keyframes cw-re-ping {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.55;
  }
}

@keyframes cw-re-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-real-estate-app-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(760px 540px at 76% 40%, rgba(124, 245, 200, 0.14), transparent 70%), #141210;
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-real-estate-app-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 40px) 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.cw-real-estate-app-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.cw-real-estate-app-hero__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #d4f53c;
}

.cw-real-estate-app-hero__title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 5.6vw, 86px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.cw-real-estate-app-hero__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #7cf5c8;
  letter-spacing: -0.02em;
}

.cw-real-estate-app-hero__subtitle {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 24px);
  letter-spacing: -0.02em;
  color: #f3efe7;
}

.cw-real-estate-app-hero__lead {
  margin: 0;
  max-width: 580px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.72);
}

.cw-real-estate-app-hero__lead--muted {
  color: rgba(243, 239, 231, 0.58);
}

.cw-real-estate-app-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cw-real-estate-app-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cw-real-estate-app-hero__btn--primary {
  background: #7cf5c8;
  color: #141210;
  font-weight: 700;
}

.cw-real-estate-app-hero__btn--primary:hover,
.cw-real-estate-app-hero__btn--primary:focus-visible {
  background: #fff;
  color: #141210;
}

.cw-real-estate-app-hero__btn--secondary {
  border: 1px solid rgba(243, 239, 231, 0.25);
  color: #f3efe7;
  font-weight: 600;
}

.cw-real-estate-app-hero__btn--secondary:hover,
.cw-real-estate-app-hero__btn--secondary:focus-visible {
  border-color: #d4f53c;
  color: #d4f53c;
}

.cw-real-estate-app-hero__visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  perspective: 1100px;
}

.cw-real-estate-app-hero__mode-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.cw-real-estate-app-hero__modes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cw-real-estate-app-hero__mode-btn {
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cw-real-estate-app-hero__pin-count {
  margin-left: auto;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #8e877c;
}

.cw-real-estate-app-hero__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 14px;
  align-items: stretch;
  transition: transform 0.25s ease-out;
  transform-style: preserve-3d;
}

@media (max-width: 720px) {
  .cw-real-estate-app-hero__stage {
    grid-template-columns: 1fr;
  }
}

.cw-real-estate-app-hero__map-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(243, 239, 231, 0.12);
  background: #1c1916;
  min-height: 340px;
}

.cw-real-estate-app-hero__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cw-real-estate-app-hero__pin-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cw-real-estate-app-hero__pin-labels button {
  pointer-events: auto;
  position: absolute;
  transform: translate(-50%, -100%);
  border: 0;
  color: #141210;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  font-family: inherit;
}

.cw-real-estate-app-hero__map-pin {
  cursor: pointer;
}

.cw-real-estate-app-hero__ping {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #7cf5c8;
  animation: cw-re-ping 1.6s infinite;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.cw-real-estate-app-hero__map-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #7cf5c8;
  color: #141210;
  border-radius: 999px;
  padding: 5px 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
}

.cw-real-estate-app-hero__map-hint {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(20, 18, 16, 0.85);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 11.5px;
  color: #cfc9be;
}

.cw-real-estate-app-hero__phone-shell {
  background: #0e0d0b;
  border: 1px solid rgba(243, 239, 231, 0.14);
  border-radius: 30px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.cw-real-estate-app-hero__phone {
  background: #f3efe7;
  color: #141210;
  border-radius: 22px;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.cw-real-estate-app-hero__ar {
  background: #1c1916;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-real-estate-app-hero__ar-head {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  color: #7cf5c8;
}

.cw-real-estate-app-hero__ar-plan {
  position: relative;
  width: 100%;
  aspect-ratio: 200 / 120;
}

.cw-real-estate-app-hero__ar-room {
  position: absolute;
  border: 1px solid rgba(243, 239, 231, 0.5);
  display: grid;
  place-items: center;
  font-size: 8.5px;
  transition: background 0.3s;
}

.cw-real-estate-app-hero__listing {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.cw-real-estate-app-hero__listing-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.cw-real-estate-app-hero__listing-tag {
  font-size: 10px;
  font-weight: 700;
  background: #141210;
  color: #7cf5c8;
  border-radius: 999px;
  padding: 3px 8px;
}

.cw-real-estate-app-hero__listing-name {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.cw-real-estate-app-hero__listing-loc {
  font-size: 11.5px;
  color: #5a534a;
}

.cw-real-estate-app-hero__listing-price {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #0b6b4f;
}

.cw-real-estate-app-hero__listing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  font-size: 10.5px;
  text-align: center;
}

.cw-real-estate-app-hero__listing-stats span {
  border: 1px solid #d8d2c6;
  border-radius: 8px;
  padding: 5px 2px;
}

.cw-real-estate-app-hero__listing-emi {
  font-size: 11px;
  color: #5a534a;
}

.cw-real-estate-app-hero__listing-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.cw-real-estate-app-hero__listing-actions span:first-child {
  background: #141210;
  color: #f3efe7;
  border-radius: 999px;
  padding: 8px 0;
}

.cw-real-estate-app-hero__listing-actions span:last-child {
  border: 1px solid #141210;
  border-radius: 999px;
  padding: 8px 0;
}

.cw-real-estate-app-hero__pipeline {
  border: 1px solid rgba(243, 239, 231, 0.12);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cw-real-estate-app-hero__pipeline-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cw-real-estate-app-hero__pipeline-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #8e877c;
}

.cw-real-estate-app-hero__toast {
  animation: cw-re-in 0.4s;
  background: #7cf5c8;
  color: #141210;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
}

.cw-real-estate-app-hero__deal {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

@media (max-width: 560px) {
  .cw-real-estate-app-hero__deal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cw-real-estate-app-hero__deal-btn {
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  font-family: inherit;
}

.cw-real-estate-app-hero__deal-bar {
  height: 4px;
  border-radius: 4px;
  transition: background 0.3s;
}

.cw-real-estate-app-hero__deal-label {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
}

.cw-real-estate-app-hero__pillars {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(243, 239, 231, 0.1);
  border-radius: 22px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .cw-real-estate-app-hero__pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .cw-real-estate-app-hero__pillars {
    grid-template-columns: 1fr;
  }
}

.cw-real-estate-app-hero__pillar {
  background: #141210;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 100%;
  transition: background 0.2s;
}

.cw-real-estate-app-hero__pillar:hover {
  background: #1c1916;
}

.cw-real-estate-app-hero__pillar-no {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #7cf5c8;
}

.cw-real-estate-app-hero__pillar-title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  color: #f3efe7;
}

.cw-real-estate-app-hero__pillar-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #a39c90;
}
