/**
 * Numex AI - Native App Onboarding
 * React tasarımından uyarlanmış vanilla CSS
 */
#n-onboarding {
  position: absolute;
  inset: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  background: var(--n-bg, #09090B);
  overflow: hidden;
}

.n-ob-skip {
  padding: 16px 20px;
  display: flex;
  justify-content: flex-end;
  z-index: 10;
}
.n-ob-skip button {
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--n-s2, #1C1C22);
  border: 1px solid var(--n-bd, rgba(255,255,255,0.06));
  color: var(--n-tm, #71717A);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.n-ob-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  gap: 36px;
  position: relative;
  z-index: 1;
}

.n-ob-visual {
  animation: n-ob-fi 0.5s ease both;
}

.n-ob-text {
  text-align: center;
  animation: n-ob-fi 0.5s ease 0.15s both;
}

.n-ob-text h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
  white-space: pre-line;
}

.n-ob-text p {
  font-size: 14px;
  color: var(--n-t2, #A1A1AA);
  line-height: 1.55;
  max-width: 280px;
  margin: 0 auto;
}

.n-ob-bottom {
  padding: 20px 24px 32px;
  padding-bottom: max(32px, env(safe-area-inset-bottom) + 20px);
  z-index: 10;
}

.n-ob-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}

.n-ob-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--n-s3, #26262E);
  transition: all 0.3s;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.n-ob-dot.active {
  width: 24px;
  background: var(--n-ac, #C4A962);
}

.n-ob-next {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  background: var(--n-grad, linear-gradient(145deg, #C4A962, #D4B96E));
  border: none;
  color: #09090B;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--n-acg, rgba(196,169,98,0.15));
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  -webkit-tap-highlight-color: transparent;
}

/* Orb visual */
.n-ob-orb-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.n-ob-orb-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(196,169,98,0.1);
  animation: n-ob-bp 3s ease-in-out infinite;
}

.n-ob-orb-ring2 {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(196,169,98,0.15);
  animation: n-ob-bp 3s ease-in-out 0.4s infinite;
}

.n-ob-orb-core {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--n-grad);
  box-shadow: 0 0 60px var(--n-acg), 0 0 120px rgba(196,169,98,0.06);
  animation: n-ob-bp 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: #09090B;
}

.n-ob-orb-particles span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--n-ac);
  opacity: 0.4;
  top: 50%;
  left: 50%;
  margin: -4px 0 0 -4px;
}

.n-ob-orb-particles span:nth-child(1) { animation: n-ob-orb0 4s linear infinite; }
.n-ob-orb-particles span:nth-child(2) { animation: n-ob-orb1 5s linear infinite; }
.n-ob-orb-particles span:nth-child(3) { animation: n-ob-orb2 6s linear infinite; }

/* Models visual */
.n-ob-models {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 180px;
}

.n-ob-model-card {
  padding: 14px 10px;
  border-radius: 14px;
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  text-align: center;
}

.n-ob-model-card:nth-child(1) { animation: n-ob-fi 0.5s ease 0s both; color: var(--n-ac); }
.n-ob-model-card:nth-child(2) { animation: n-ob-fi 0.5s ease 0.1s both; color: var(--n-grn); }
.n-ob-model-card:nth-child(3) { animation: n-ob-fi 0.5s ease 0.2s both; color: var(--n-blu); }
.n-ob-model-card:nth-child(4) { animation: n-ob-fi 0.5s ease 0.3s both; color: var(--n-pk); }

.n-ob-model-card .icon { font-size: 22px; margin-bottom: 4px; }
.n-ob-model-card .label { font-size: 11px; font-weight: 600; }

/* Voice visual */
.n-ob-voice-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.n-ob-voice-orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(145deg, #4ADE80, #34D399);
  box-shadow: 0 0 40px rgba(74,222,128,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: n-ob-bp 2s ease-in-out infinite;
}

.n-ob-voice-orb svg { stroke: #09090B; }

.n-ob-voice-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 32px;
}

.n-ob-voice-bars .bar {
  width: 3px;
  border-radius: 2px;
  background: var(--n-grn);
  transition: height 0.08s;
}

/* Start visual */
.n-ob-start-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.n-ob-start-icons {
  display: flex;
  gap: 8px;
}

.n-ob-start-icons span {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.n-ob-start-icons span:nth-child(1) { animation: n-ob-fi 0.5s ease 0s both; }
.n-ob-start-icons span:nth-child(2) { animation: n-ob-fi 0.5s ease 0.12s both; }
.n-ob-start-icons span:nth-child(3) { animation: n-ob-fi 0.5s ease 0.24s both; }

.n-ob-start-tags {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.n-ob-start-tags span {
  font-size: 10px;
  color: var(--n-tm);
  padding: 3px 8px;
  background: var(--n-s2);
  border-radius: 6px;
}

/* Auth screen */
.n-ob-auth {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.n-ob-auth .n-ob-bg {
  position: absolute;
  top: -15%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,169,98,0.04) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.n-ob-logo-wrap {
  padding: 40px 0 24px;
  text-align: center;
}

.n-ob-logo-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--n-grad);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
  color: #09090B;
  box-shadow: 0 8px 32px var(--n-acg);
}

.n-ob-logo-wrap h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.n-ob-logo-wrap h1 span { color: var(--n-ac); }

.n-ob-tabs {
  display: flex;
  background: var(--n-s1);
  border-radius: 12px;
  padding: 3px;
  margin-bottom: 24px;
}

.n-ob-tab {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--n-tm);
  font-weight: 600;
  font-size: 13px;
  font-family: inherit;
  transition: 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.n-ob-tab.active {
  background: var(--n-s2);
  color: var(--n-t);
}

.n-ob-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.n-ob-form label {
  font-size: 12px;
  font-weight: 500;
  color: var(--n-t2);
  margin-bottom: 6px;
  display: block;
}

.n-ob-form input {
  width: 100%;
  padding: 12px 14px;
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  border-radius: 12px;
  color: var(--n-t);
  font-size: 14px;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}

.n-ob-form input::placeholder { color: var(--n-tm); }

.n-ob-form .n-ob-submit {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: var(--n-grad);
  border: none;
  color: #09090B;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  box-shadow: 0 4px 20px var(--n-acg);
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.n-ob-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.n-ob-divider::before,
.n-ob-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--n-bd);
}

.n-ob-divider span {
  font-size: 11px;
  color: var(--n-tm);
}

.n-ob-social {
  display: flex;
  gap: 10px;
}

.n-ob-social button {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--n-bd);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.n-ob-social .google {
  background: rgba(234,67,53,0.08);
  color: #EA4335;
}

.n-ob-social .apple {
  background: rgba(255,255,255,0.06);
  color: var(--n-t);
}
.n-ob-social .n-ob-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: auto;
}

.n-ob-terms {
  margin-top: auto;
  padding-bottom: 24px;
  text-align: center;
}

.n-ob-terms p {
  font-size: 11px;
  color: var(--n-tm);
  line-height: 1.5;
}

.n-ob-terms span { color: var(--n-ac); }

@keyframes n-ob-fi {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes n-ob-bp {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes n-ob-orb0 {
  from { transform: rotate(0) translateX(60px) rotate(0); }
  to { transform: rotate(360deg) translateX(60px) rotate(-360deg); }
}

@keyframes n-ob-orb1 {
  from { transform: rotate(120deg) translateX(48px) rotate(-120deg); }
  to { transform: rotate(480deg) translateX(48px) rotate(-480deg); }
}

@keyframes n-ob-orb2 {
  from { transform: rotate(240deg) translateX(72px) rotate(-240deg); }
  to { transform: rotate(600deg) translateX(72px) rotate(-600deg); }
}
