/* canwi.net — Spotify signup look, Arabic RTL, Almarai.
   Flat #121212 background, NO cards, NO borders, NO divider lines.
   Everything sits directly on the background, like the screenshots. */

* { margin:0; padding:0; box-sizing:border-box; }
body {
  background:#121212; color:#fff;
  font-family:'Almarai', -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
}
a { color:#1ed760; text-decoration:none; font-weight:700; }
a:hover { text-decoration:underline; }
::placeholder { color:#727272; font-weight:400; }

.wrap { max-width:480px; margin:0 auto; padding:28px 24px 72px; }

/* Big ExtraBold headings */
.form-screen h2, .prompt h2 {
  font-size:40px; font-weight:800; line-height:1.3; letter-spacing:-.5px;
}
.sub { color:#a7a7a7; font-size:16px; line-height:1.8; margin-top:12px; }

/* Landing hero */
.hero { text-align:center; padding:56px 0 8px; }
.hero h1 { font-size:52px; font-weight:800; letter-spacing:-1px; line-height:1.2; }
.hero h1 span { color:#1ed760; }
.hero p { color:#a7a7a7; font-size:17px; margin-top:16px; line-height:1.9; }

/* Overlapping circles motif (screenshot 4) */
.overlap-circles { display:flex; justify-content:center; align-items:center; margin-bottom:38px; }
.overlap-circles .oc {
  width:104px; height:104px; border-radius:50%;
  background:#282828; color:#a7a7a7;
  display:flex; align-items:center; justify-content:center;
  margin-inline:-16px;
}
.overlap-circles .oc svg { width:44px; height:44px; }
.overlap-circles .oc.main {
  width:124px; height:124px; background:#1ed760; color:#000; z-index:2;
}
.overlap-circles .oc.main svg { width:54px; height:54px; }

/* Prompt screens (welcome / verify / landing actions) — centered, lots of dark space */
.prompt { text-align:center; }
.prompt-center {
  min-height:calc(100vh - 140px);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.prompt p { color:#a7a7a7; font-size:17px; line-height:1.9; margin-top:14px; }
.prompt form { width:100%; max-width:400px; text-align:right; }

/* Fields — borderless filled, Spotify signup style */
label { display:block; font-size:14px; font-weight:800; color:#fff; margin:22px 0 8px; }
input[type=text], input[type=email], input[type=password], textarea {
  width:100%; background:#282828; color:#fff;
  border:none; border-radius:8px;
  padding:16px; font-size:16px; font-weight:700; font-family:inherit; outline:none;
  transition:background .15s ease;
}
input:focus, textarea:focus { background:#2e2e2e; }
textarea { resize:vertical; min-height:88px; }
input[type=file] {
  width:100%; background:#282828; color:#a7a7a7; border:none; border-radius:8px;
  padding:12px 16px; font-size:14px; font-family:inherit;
}
input[type=file]::file-selector-button {
  background:#fff; color:#000; border:none; border-radius:999px;
  font-family:inherit; font-weight:800; font-size:13px;
  padding:8px 18px; margin-inline-end:12px; cursor:pointer;
}
.code-input {
  text-align:center; font-size:28px !important; letter-spacing:10px;
  direction:ltr; font-weight:800; padding:18px 16px !important;
}

/* Primary button — white pill, black ExtraBold, centered */
.btn {
  display:flex; align-items:center; justify-content:center;
  width:fit-content; min-width:200px; height:54px;
  margin:30px auto 0; padding:0 56px;
  background:#fff; color:#000; border:none; border-radius:999px; cursor:pointer;
  font-size:16px; font-weight:800; font-family:inherit;
  transition:transform .15s ease, background .15s ease;
}
.btn:hover { transform:scale(1.03); text-decoration:none; }
.btn.secondary { background:#282828; color:#fff; }
.btn.secondary:hover { background:#2e2e2e; }
.btn.small {
  min-width:0; height:42px; padding:0 22px; font-size:14px; margin:0;
  background:#282828; color:#fff;
}
.btn.small:hover { background:#2e2e2e; }
.btn.danger { background:#282828; color:#f15e6c; }
.btn.danger:hover { background:#2e2e2e; }

/* Green bold text links (skip / resend / switch) — no background */
.green-link { display:inline-block; margin-top:22px; color:#1ed760; font-size:16px; font-weight:800; }
.green-link.block { display:block; text-align:center; }
.link-btn {
  display:block; margin:20px auto 0; background:none; border:none; cursor:pointer;
  color:#1ed760; font-size:15px; font-weight:800; font-family:inherit; padding:6px 10px;
}
.link-btn:hover, .green-link:hover { text-decoration:underline; }
.switch-line { text-align:center; margin-top:26px; color:#a7a7a7; font-size:15px; }
.switch-line a { font-weight:800; }

/* Messages — flat tinted blocks, no borders */
.error {
  background:rgba(233,20,41,.14); color:#f8a5ab;
  border-radius:8px; padding:14px 16px; font-size:14px; font-weight:700;
  margin-bottom:20px; line-height:1.7;
}
.notice {
  background:rgba(30,215,96,.12); color:#7ee2a8;
  border-radius:8px; padding:14px 16px; font-size:14px; font-weight:700;
  margin-bottom:20px; line-height:1.7;
}
.muted { color:#a7a7a7; font-size:14px; }
.center { text-align:center; }

/* Back / icon round buttons (screenshot 1 corners) */
.back-btn, .icon-btn {
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%;
  background:#282828; border:none; color:#fff; cursor:pointer;
  transition:background .15s ease; flex:none;
}
.back-btn:hover, .icon-btn:hover { background:#2e2e2e; text-decoration:none; }
.back-btn svg, .icon-btn svg { width:20px; height:20px; }
.back-btn { margin-bottom:20px; }

/* Step progress — Spotify signup thin bar */
.step-count { font-size:13px; font-weight:700; color:#a7a7a7; margin-bottom:10px; }
.progress { height:4px; background:#282828; border-radius:2px; overflow:hidden; margin-bottom:36px; }
.progress-fill { height:100%; background:#1ed760; border-radius:2px; transition:width .3s ease; }

/* Avatar + profile (screenshot 1) */
.avatar { border-radius:50%; object-fit:cover; display:block; }
.avatar-letter {
  background:#ef6aa5; color:#000; font-weight:800;
  display:flex; align-items:center; justify-content:center;
}
.profile-topbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; }
.profile-topbar .back-btn { margin-bottom:0; }
.profile-title { font-size:17px; font-weight:800; }
.profile-head { display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px; }
.profile-head .name { font-size:32px; font-weight:800; line-height:1.3; margin-top:6px; }
.profile-head .email { color:#a7a7a7; font-size:14px; direction:ltr; }
.profile-head .bio { color:#fff; font-size:15px; line-height:1.8; max-width:400px; }
.profile-head .joined { color:#a7a7a7; font-size:13px; }
.pill-row { display:flex; gap:10px; justify-content:center; margin-top:26px; flex-wrap:wrap; }
.section-title { font-size:28px; font-weight:800; margin:40px 0 6px; }

/* Welcome — stacked notification-card motif (screenshot 3) + light animation */
@keyframes riseIn { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes popIn { 0% { opacity:0; transform:scale(.7); } 60% { transform:scale(1.05); } 100% { opacity:1; transform:scale(1); } }
.notif-card { position:relative; width:290px; max-width:85vw; margin:0 auto 46px; animation:popIn .5s ease both; }
.notif-card::before, .notif-card::after {
  content:''; position:absolute; inset:0; background:#fff; border-radius:16px;
}
.notif-card::before { transform:translate(10px,-8px) scale(.97); opacity:.35; }
.notif-card::after { transform:translate(20px,-16px) scale(.94); opacity:.18; }
.notif-inner {
  position:relative; z-index:1; background:#fff; border-radius:16px;
  padding:18px 20px; text-align:right;
}
.notif-head { display:flex; align-items:center; gap:8px; margin-bottom:14px; }
.notif-logo {
  width:26px; height:26px; border-radius:7px; background:#121212; color:#1ed760;
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:15px;
}
.notif-app { color:#6a6a6a; font-size:12px; font-weight:800; letter-spacing:1.5px; direction:ltr; }
.notif-bar { height:12px; border-radius:6px; background:#d9d9d9; margin-top:8px; }
.notif-bar.short { width:45%; }
.welcome-box h2 { animation:riseIn .6s ease .15s both; }
.welcome-box p { animation:riseIn .6s ease .3s both; }
.welcome-box .btn { animation:riseIn .6s ease .45s both; }
.welcome-box .green-link { animation:riseIn .6s ease .6s both; }

@media (max-width:480px) {
  .hero h1 { font-size:40px; }
  .form-screen h2, .prompt h2 { font-size:32px; }
  .overlap-circles .oc { width:84px; height:84px; }
  .overlap-circles .oc.main { width:100px; height:100px; }
  .btn { min-width:180px; padding:0 40px; }
}
