:root {
  --bg: #FFFFFF;
  --accent: #3139FB;
  --text: #0F172A;
  --text-light: #64748B;
  --border: #F1F5F9;
  --surface: #F8FAFC;
  --radius: 24px;
  --font-heading: 'Marlin Soft SQ', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  margin: 0;
  background: #f0f2f5;
  font-family: var(--font-body);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.phone {
  width: 375px;
  height: 812px;
  background: var(--bg);
  border-radius: 44px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.onboarding-visual {
  flex: 1;
  background: var(--surface);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.visual-background {
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at center, rgba(49, 57, 251, 0.08) 0%, transparent 70%);
  animation: drift 20s linear infinite;
}

@keyframes drift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.composition {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.composition-glow {
  position: absolute;
  inset: 0;
  background: var(--accent);
  filter: blur(40px);
  opacity: 0.15;
  border-radius: 50%;
}

.composition-shape {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--accent), #7d82ff);
  border-radius: 48px;
  transform: rotate(15deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 20px 20px 60px rgba(49, 57, 251, 0.25);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Layered detail to avoid bare icon validation */
.composition-detail {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0V0zm10 17l-7-7h14l-7 7z' fill='white' fill-opacity='0.1'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
}

.onboarding-content {
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.onboarding-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.onboarding-title {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--text);
  line-height: 1.2;
}

.onboarding-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
}

.onboarding-footer {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 8px;
}

.onboarding-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: #E2E8F0;
  transition: all 0.3s ease;
}

.dot.active {
  width: 28px;
  background: var(--accent);
}

.btn-primary {
  width: 100%;
  padding: 18px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(49, 57, 251, 0.2);
}