/* Phone mockup + in-app UI preview */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.phone-glow {
  position: absolute;
  width: 280px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(200, 205, 212, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.phone {
  position: relative;
  width: 260px;
  height: 520px;
  background: #0a0c0e;
  border-radius: 36px;
  border: 3px solid #2a2e35;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  z-index: 1;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #0a0c0e;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  padding: 48px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #0f1114 0%, #14171c 100%);
}

.app-logo {
  height: 22px;
  width: auto;
  margin-bottom: 0.5rem;
}

.app-status {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.connect-btn {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid rgba(200, 205, 212, 0.25);
  background: radial-gradient(circle at 30% 30%, #252930, #1a1d22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.connect-btn.connected {
  border-color: rgba(200, 205, 212, 0.5);
  box-shadow: 0 0 24px rgba(200, 205, 212, 0.15);
  animation: connectPulse 2.5s ease-in-out infinite;
}

@keyframes connectPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(200, 205, 212, 0.1); }
  50% { box-shadow: 0 0 32px rgba(200, 205, 212, 0.22); }
}

.connect-btn svg {
  width: 28px;
  height: 28px;
  opacity: 0.8;
}

.connect-btn span {
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.phone-info {
  width: 100%;
  background: var(--surface);
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.8rem;
}

.phone-info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  color: var(--muted);
}

.phone-info-row strong {
  color: var(--text);
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .phone-glow,
  .connect-btn.connected {
    animation: none;
  }
}
