* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.apple-setup-body {
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  color: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.ambient-glow {
  position: absolute;
  width: 750px;
  height: 750px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 44, 191, 0.28) 0%, rgba(0, 180, 216, 0.15) 45%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  animation: pulseAmbient 12s ease-in-out infinite alternate;
}

@keyframes pulseAmbient {
  0% { transform: scale(0.9) translate(-40px, -20px); }
  100% { transform: scale(1.1) translate(40px, 20px); }
}

.setup-window {
  width: 820px;
  max-width: 92vw;
  background: rgba(22, 20, 30, 0.78);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 40px rgba(123, 44, 191, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10;
  animation: fadeInScale 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95) translateY(15px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.setup-top-header {
  height: 42px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  position: relative;
}

.traffic-lights {
  display: flex;
  gap: 8px;
}

.light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.light:hover { opacity: 0.8; }
.light.close { background: #ff5f56; }
.light.minimize { background: #ffbd2e; }
.light.zoom { background: #27c93f; }

.setup-window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: #a1a1aa;
  font-weight: 500;
}

.setup-inner-content {
  padding: 3rem 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hello-container {
  height: 110px;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hello-animated {
  font-family: 'Caveat', cursive, -apple-system, sans-serif;
  font-size: 5.2rem;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 30%, #c77dff 75%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hello-sub {
  font-size: 1.2rem;
  color: #a1a1aa;
  margin-top: 0.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.setup-info-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 1.75rem 2.25rem;
  width: 100%;
  margin-bottom: 2.5rem;
}

.apple-logo-icon {
  margin-bottom: 1rem;
  color: #ffffff;
  filter: drop-shadow(0 2px 12px rgba(255, 255, 255, 0.25));
}

.setup-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.setup-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 1.25rem;
}

.setup-pills {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.pill {
  font-size: 0.72rem;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-weight: 500;
}

.pill.purple {
  background: rgba(123, 44, 191, 0.15);
  border-color: rgba(157, 78, 221, 0.35);
  color: #d8b4fe;
}

.pill.cyan {
  background: rgba(0, 180, 216, 0.15);
  border-color: rgba(0, 180, 216, 0.35);
  color: #7dd3fc;
}

.setup-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.step-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.apple-btn-primary {
  background: #0071e3;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.7rem 1.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 18px rgba(0, 113, 227, 0.45);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.apple-btn-primary:hover {
  background: #0077ed;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 113, 227, 0.65);
}

.apple-btn-primary:active {
  transform: scale(0.97);
}
