/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Page ── */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ── Phone shell ── */
.phone {
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  background: #111;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.phone-prefix {
    background: #000;
    border: 1px solid #2e2e2e;
    border-right: none;
    border-radius: 14px 0 0 14px;
    padding: 14px 12px;
    color: #f97316;
    font-size: 30px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.phone-input-field {
    border-radius: 0 14px 14px 0 !important;
}

/* ── Top bar ── */
.topbar {
  display: flex;
  align-items: center;
  padding: 20px 20px 12px;
  flex-shrink: 0;
  gap: 14px;
}

.step-counter {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  white-space: nowrap;
}

.progress-bar {
  height: 3px;
  background: #222;
  flex: 1;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #f97316;
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px 24px;
    padding-top: 4px;
    scroll-behavior: smooth;
}

/* ── Steps ── */
.step { display: none; }
.step.active {
  display: block;
  animation: slideIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Typography ── */
.eyebrow {
  color: #555;
  font-size: 22px;
  font-weight: 500;
  margin-top: 12px;
  margin-bottom: 6px;
}

.headline {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hint {
  font-size: 12px;
  color: #444;
  margin-top: 10px;
}

/* ── Big text inputs ── */
.big-input {
    background: #000;
    border: 1px solid #2e2e2e;
    border-radius: 14px;
    padding: 14px 16px;
    outline: none;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    width: 100%;
    caret-color: #f97316;
    font-family: inherit;
}
.big-input::placeholder { color: #2e2e2e; }

.input-divider {
  height: 2px;
  background: #1e1e1e;
  border-radius: 1px;
  margin-top: 10px;
}

/* ── Option rows (body type, languages) ── */
.option-row {
  display: flex;
  align-items: center;
  height: 62px;
  border-radius: 16px;
  border: 1px solid #1e1e1e;
  padding: 0 18px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
  background: #181818;
  user-select: none;
}
.option-row:hover { background: #1e1e1e; }
.option-row.sel {
  border-color: #f97316;
  background: rgba(249, 115, 22, 0.1);
}

.option-label { font-size: 15px; font-weight: 500; flex: 1; }
.option-sub   { font-size: 11px; color: #444; margin-top: 2px; }

.flag { font-size: 22px; margin-right: 14px; }

.check-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #2e2e2e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s;
}
.option-row.sel .check-circle {
  background: #f97316;
  border-color: #f97316;
}
.check-circle svg { display: none; }
.option-row.sel .check-circle svg { display: block; }

/* ── Date wheel ── */
.wheel-wrap {
  background: #181818;
  border: 1px solid #1e1e1e;
  border-radius: 20px;
  height: 180px;
  display: flex;
  overflow: hidden;
  position: relative;
}

.wheel-wrap::before,
.wheel-wrap::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 64px;
  z-index: 2;
  pointer-events: none;
}
.wheel-wrap::before { top: 0;    background: linear-gradient(#181818, transparent); }
.wheel-wrap::after  { bottom: 0; background: linear-gradient(transparent, #181818); }

.selector-highlight {
  position: absolute;
  top: 50%;
  left: 10px; right: 10px;
  transform: translateY(-50%);
  height: 44px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 10px;
  z-index: 1;
  pointer-events: none;
}

.wheel-col {
  flex: 1;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.wheel-col::-webkit-scrollbar { display: none; }

.wheel-item {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.wheel-sep { width: 1px; background: #1e1e1e; flex-shrink: 0; }

.age-display {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin-top: 18px;
  color: #f97316;
}

/* ── Bio textarea ── */
.bio-input {
    background: #000;
    border: 1px solid #2e2e2e;
    outline: none;
    color: #fff;
    font-size: 15px;
    line-height: 1.7;
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    resize: none;
    min-height: 52px;
    overflow: hidden;
    caret-color: #f97316;
    font-family: inherit;
}
.bio-input::placeholder { color: #666666; }

.char-count {
  text-align: right;
  font-size: 11px;
  color: #444;
  margin-top: 6px;
}

/* ── Price step ── */
.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-input {
    background: #000;
    border: 1px solid #2e2e2e;
    border-radius: 14px;
    padding: 14px 16px;
    outline: none;
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    flex: 1;
    caret-color: #f97316;
    min-width: 0;
    font-family: inherit;
}
.price-input::placeholder { color: #2e2e2e; }
.price-input::-webkit-inner-spin-button,
.price-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.devise-btn {
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
}
.devise-btn:hover { background: #252525; }

.devise-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.devise-chip {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #2a2a2a;
  background: #1a1a1a;
  color: #888;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.devise-chip:hover { background: #222; }
.devise-chip.sel {
  border-color: #f97316;
  background: rgba(249, 115, 22, 0.15);
  color: #fed7aa;
}

/* ── Location ── */
.loc-card {
  width: 100%;
  padding: 24px 20px;
  border-radius: 18px;
  border: 1px solid #2a2a2a;
  background: rgba(249, 115, 22, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}
.loc-card:hover { background: rgba(249, 115, 22, 0.1); }
.loc-card.no-cursor { cursor: default; }
.loc-card.loc-success {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.05);
  flex-direction: row;
  text-align: left;
}

.loc-icon  { font-size: 38px; color: #f97316; }
.loc-title { font-size: 15px; font-weight: 700; }
.loc-sub   { font-size: 12px; color: #555; }
.loc-coords{ font-size: 11px; color: #444; margin-top: 2px; }

.loc-refresh {
  margin-left: auto;
  background: none;
  border: none;
  color: #555;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* ── Error card ── */
.error-card {
  border-radius: 16px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.05);
  padding: 20px;
  text-align: center;
}
.error-title { font-size: 14px; font-weight: 700; color: #f87171; margin-bottom: 6px; }
.error-sub   { font-size: 12px; color: #555; margin-bottom: 16px; line-height: 1.5; }
.err-btns    { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

.btn-retry {
  padding: 9px 20px;
  border-radius: 20px;
  background: #f97316;
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.btn-settings {
  padding: 9px 20px;
  border-radius: 20px;
  background: #1e1e1e;
  border: 1px solid #333;
  color: #888;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

/* ── Photos grid ── */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.photo-cell {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #181818;
  border: 1px solid #222;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.photo-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.photo-add {
  flex-direction: column;
  gap: 6px;
  border-style: dashed !important;
  border-color: rgba(249, 115, 22, 0.4) !important;
  cursor: pointer;
  transition: background 0.15s;
}
.photo-add:hover { background: rgba(249, 115, 22, 0.08); }

.photo-add-icon {
  width: 34px; height: 34px;
  background: rgba(249, 115, 22, 0.13);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fed7aa;
  font-size: 22px;
  font-weight: 300;
}

.photo-add span {
  font-size: 11px;
  font-weight: 600;
  color: #555;
}

.photo-num {
  color: #2e2e2e;
  font-size: 18px;
  font-weight: 700;
}

.photo-remove {
  position: absolute;
  top: 5px; right: 5px;
  width: 22px; height: 22px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  cursor: pointer;
  z-index: 2;
  border: none;
}



.badge-main {
  position: absolute;
  bottom: 5px; left: 5px;
  background: rgba(0,0,0,0.55);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 8px;
  color: #fff;
  font-weight: 600;
}

/* ── CTA area ── */
.cta-area {
    padding: 20px 0 8px;
    background: transparent;
}


.cta-row { display: flex; gap: 10px; }
.btn-back {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: #1e1e1e;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  font-family: inherit;
}
.btn-back:hover { background: #252525; }

.btn-next {
    flex: 1;
    height: 54px;
    border-radius: 16px;
    background: #f97316;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, box-shadow 0.2s;
    letter-spacing: 0.3px;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}


.btn-next:disabled {
  opacity: 0.28;
  cursor: default;
  box-shadow: none !important;
}
.btn-next.glow {
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.45);
}

/* ── Spinner ── */
.spinner {
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Success overlay ── */
.success-overlay {
  position: absolute;
  inset: 0;
  background: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 20;
  animation: slideIn 0.35s ease;
  padding: 32px;
  text-align: center;
}
.success-icon {
  width: 72px; height: 72px;
  background: rgba(34, 197, 94, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.success-title {
  font-size: 24px;
  font-weight: 800;
}
.success-sub {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  max-width: 280px;
}
.btn-home {
  margin-top: 8px;
  padding: 14px 36px;
  border-radius: 14px;
  background: #f97316;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}




/* ── Welcome screen ── */
.welcome-screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    overflow: hidden;
}


.welcome-bg {
    position: absolute;
    inset: 0;
    background: url('../img/bg.webp') center center / cover no-repeat;
    filter: brightness(0.4);
    z-index: 0;
}


.welcome-hero {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.welcome-greeting {
    font-size: 30px;
    font-weight: 900;
    color: #fff;
}

.welcome-desc {
    font-size: 15px;
    color: #bbb;
    line-height: 1.6;
}


.welcome-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 32px 24px;
    width: 100%;
    max-width: 360px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
}


.welcome-logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}


.welcome-title {
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
}

.welcome-sub {
    font-size: 20px;
    color: #aaa;
}

.lang-row {
    display: flex;
    gap: 12px;
    width: 100%;
}

.lang-btn {
    flex: 1;
    height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    font-family: inherit;
    backdrop-filter: blur(8px);
}
.lang-btn:hover { background: rgba(255,255,255,0.15); }
.lang-btn.sel {
    border-color: #f97316;
    /*background: rgba(249, 115, 22, 0.3);*/
    color: #fff;
}

.btn-signup {
    width: 100%;
    height: 54px;
    border-radius: 16px;
    background: #f97316;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.5);
    font-family: inherit;
    animation: slideIn 0.3s ease;
}
.btn-signup:hover { opacity: 0.9; }


/* ── Landing page ── */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
            linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
            url('../img/bg.webp') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.logo-text {
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInDown 1s ease forwards;
    color: #f97316;
    font-weight: 300;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    letter-spacing: 2px;
}

.hero h1 span {
    display: block;
    font-weight: 600;
    background: linear-gradient(135deg, #f97316 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    color: #ccc;
    font-weight: 300;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row;
        align-items: center;
    }
}

.btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: #000;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero .subtitle { font-size: 1rem; }
    .cta-buttons { flex-direction: column; gap: 1rem; }
    .btn { width: 100%; max-width: 300px; }
}




.welcome-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.welcome-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    text-align: left;
}

.welcome-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 14px 16px;
}

.step-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #f97316;
}

.step-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.step-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}



.welcome-legal {
    font-size: 11px;
    color: #888;
    line-height: 1.6;
    text-align: center;
}
.welcome-legal u {
    color: #f97316;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.legal-link {
    color: #f97316;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.legal-link:visited { color: #f97316; }