/* Mobile App hero — from Corewave Mobile App Page v2 (01 Hero) */

@keyframes cw-mobile-app-hero-ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 85, 39, 0.55); }
  100% { box-shadow: 0 0 0 14px rgba(255, 85, 39, 0); }
}

@keyframes cw-mobile-app-hero-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes cw-mobile-app-hero-marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cw-mobile-app-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(900px 500px at 78% 40%, rgba(255, 85, 39, 0.1), transparent 70%), #141210;
  color: #eae7e1;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  --cw-ma-edge: clamp(12px, 1.5vw, 24px);
  --cw-ma-pad-x: clamp(12px, 1.25vw, 18px);
}

.cw-mobile-app-hero__inner {
  position: relative;
  box-sizing: border-box;
  width: min(1580px, calc(100vw - 2 * var(--cw-ma-edge)));
  max-width: calc(100vw - 2 * var(--cw-ma-edge));
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) var(--cw-ma-pad-x) 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: clamp(28px, 3vw, 40px);
  align-items: center;
}

.cw-mobile-app-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.cw-mobile-app-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #ff7a50;
}

.cw-mobile-app-hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5527;
  animation: cw-mobile-app-hero-ping 1.8s infinite;
}

.cw-mobile-app-hero__title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5.2vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #f3efe7;
  text-wrap: balance;
}

.cw-mobile-app-hero__title-em {
  color: #d4f53c;
}

.cw-mobile-app-hero__lead {
  margin: 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(234, 231, 225, 0.78);
  text-wrap: pretty;
}

.cw-mobile-app-hero__lead a {
  color: #f3efe7;
  text-underline-offset: 3px;
}

.cw-mobile-app-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cw-mobile-app-hero__btn {
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.cw-mobile-app-hero__btn--primary {
  background: #e0431c;
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(224, 67, 28, 0.8);
}

.cw-mobile-app-hero__btn--primary:hover {
  transform: translateY(-2px);
  background: #c93a16;
  color: #fff;
}

.cw-mobile-app-hero__btn--secondary {
  padding: 0 22px;
  border: 1px solid rgba(234, 231, 225, 0.25);
  color: #eae7e1;
  font-weight: 500;
}

.cw-mobile-app-hero__btn--secondary:hover {
  border-color: #ff5527;
  color: #fff;
}

.cw-mobile-app-hero__wall-wrap {
  min-width: 0;
}

.cw-mobile-app-hero__wall {
  position: relative;
  height: clamp(460px, 46vw, 600px);
  border-radius: 28px;
  overflow: hidden;
  background: #1a1714;
  border: 1px solid rgba(234, 231, 225, 0.08);
  isolation: isolate;
}

.cw-mobile-app-hero__wall-grid {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 920px;
  height: 1300px;
  margin: -650px 0 0 -460px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  transform: perspective(1600px) rotateX(18deg) rotateZ(-14deg);
  transform-origin: 50% 50%;
  will-change: transform;
}

.cw-mobile-app-hero__col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  will-change: transform;
}

.cw-mobile-app-hero__phone {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 390 / 844;
  padding: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 2px solid rgba(234, 231, 225, 0.08);
  background: #0e0c0b;
  cursor: pointer;
  transform: scale(1);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.8);
  transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}

.cw-mobile-app-hero__phone.is-active {
  transform: scale(1.07);
  border-color: #ff5527;
  box-shadow: 0 30px 60px -20px rgba(255, 85, 39, 0.5);
}

.cw-mobile-app-hero__phone.is-dimmed {
  filter: brightness(0.4) saturate(0.4);
}

.cw-mobile-app-hero__phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.35s;
}

.cw-mobile-app-hero__wall-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #1a1714 0%, rgba(26, 23, 20, 0) 18%, rgba(26, 23, 20, 0) 70%, #1a1714 100%);
}

.cw-mobile-app-hero__wall-badge {
  position: absolute;
  left: 20px;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(20, 18, 16, 0.8);
  border: 1px solid rgba(234, 231, 225, 0.12);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #eae7e1;
  pointer-events: none;
}

.cw-mobile-app-hero__wall-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4f53c;
}

.cw-mobile-app-hero__feat {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 12px;
  border-radius: 18px;
  background: rgba(20, 18, 16, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(234, 231, 225, 0.12);
  animation: cw-mobile-app-hero-fade 0.35s ease-out both;
}

.cw-mobile-app-hero__feat-logo {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-sizing: border-box;
}

.cw-mobile-app-hero__feat-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.cw-mobile-app-hero__feat-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cw-mobile-app-hero__feat-kind {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #ff7a50;
}

.cw-mobile-app-hero__feat-name {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #f3efe7;
}

.cw-mobile-app-hero__feat-cta {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #e0431c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  flex: none;
}

.cw-mobile-app-hero__feat-cta:hover {
  background: #c93a16;
  color: #fff;
}

.cw-mobile-app-hero__marquee {
  border-top: 1px solid rgba(234, 231, 225, 0.08);
  border-bottom: 1px solid rgba(234, 231, 225, 0.08);
  overflow: hidden;
  padding: 16px 0;
}

.cw-mobile-app-hero__marquee-track {
  display: flex;
  width: max-content;
  animation: cw-mobile-app-hero-marq 38s linear infinite;
}

.cw-mobile-app-hero__marquee-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: rgba(234, 231, 225, 0.5);
  white-space: nowrap;
}

.cw-mobile-app-hero__marquee-star {
  color: #ff5527;
  font-size: 14px;
}
