/* GoPOS — giriş / qeydiyyat səhifələri */
:root {
  --ac: #2b7de9; --ac-d: #1660c9; --ink: #0f172a; --muted: #667085; --line: #e4e9f1; --bg: #f5f7fb;
  --bad: #d93025; --ok: #138a55; --navy: #0a1d47;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: Mulish, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff;
       -webkit-font-smoothing: antialiased; }
a { color: var(--ac); text-decoration: none; font-weight: 700; }
a:hover { text-decoration: underline; }

.au { display: grid; grid-template-columns: minmax(420px, 1.05fr) 1fr; min-height: 100vh; }

/* ---------- sol: brend paneli ---------- */
.au-brand { position: relative; overflow: hidden; color: #fff; padding: 40px 56px; display: flex; flex-direction: column;
  background: radial-gradient(1200px 600px at 110% -10%, #3b8cff 0%, transparent 55%),
              radial-gradient(900px 600px at -20% 120%, #1d4fd8 0%, transparent 55%),
              linear-gradient(160deg, #0b2463 0%, var(--navy) 60%, #071433 100%); }
.au-grid { position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / .35) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .35) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.au-logo, .au-mlogo { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.3px; position: relative; }
.au-logo:hover { text-decoration: none; }
.au-logo b { color: #8fc0ff; font-weight: 900; }
.au-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-weight: 900; font-size: 19px;
  background: linear-gradient(135deg, #5aa2ff, #2b7de9); box-shadow: 0 6px 18px rgb(43 125 233 / .45), inset 0 1px 0 rgb(255 255 255 / .35); color: #fff; }
.au-copy { position: relative; margin-top: 7vh; max-width: 470px; }
.au-copy h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -.8px; margin: 0 0 14px; }
.au-copy h2 em { font-style: normal; background: linear-gradient(90deg, #8fc0ff, #c6f3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.au-copy p { margin: 0; font-size: 16px; line-height: 1.55; color: #c7d5f2; }

/* animasiyalı səhnə */
.au-scene { position: relative; height: 300px; margin: 34px 0 26px; max-width: 500px; }
.sc-receipt { position: absolute; left: 6%; top: 0; width: 250px; background: #fff; color: var(--ink); border-radius: 16px; padding: 16px 16px 14px;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .55); transform: rotate(-4deg); animation: floatA 7s ease-in-out infinite; }
.sc-receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 9px;
  background: radial-gradient(circle at 6px 0, transparent 5px, #fff 5.5px) 0 0 / 12px 9px repeat-x; }
.sc-r-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; color: var(--muted); margin-bottom: 8px; }
.sc-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgb(34 197 94 / .18); animation: pulse 1.6s infinite; }
.sc-line { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed #e5e7eb; opacity: 0; animation: lineIn 9s infinite; }
.sc-line b { font-weight: 700; }
.sc-line.l2 { animation-delay: .7s; } .sc-line.l3 { animation-delay: 1.4s; } .sc-line.l4 { animation-delay: 2.1s; }
.sc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font-weight: 900; }
.sc-total span { font-size: 11px; color: var(--muted); letter-spacing: .6px; } .sc-total b { font-size: 22px; letter-spacing: -.5px; }
.sc-pay { display: flex; gap: 6px; margin-top: 10px; }
.sc-pay i { font-style: normal; flex: 1; text-align: center; font-size: 11px; font-weight: 800; padding: 7px 0; border-radius: 8px; color: #fff; }
.sc-pay .p1 { background: #17845a; animation: tap 9s infinite 3s; } .sc-pay .p2 { background: var(--ac); } .sc-pay .p3 { background: #f2f4f7; color: #9a6b00; }
.sc-stat { position: absolute; right: 2%; top: 18px; width: 190px; padding: 14px 16px 10px; border-radius: 16px;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); backdrop-filter: blur(10px); animation: floatB 8s ease-in-out infinite; }
.sc-stat small { color: #c7d5f2; font-size: 12px; font-weight: 700; }
.sc-stat b { display: block; font-size: 24px; font-weight: 900; letter-spacing: -.6px; margin: 2px 0; }
.sc-stat b span { font-size: 14px; opacity: .7; }
.sc-stat em { font-style: normal; font-size: 12px; font-weight: 800; color: #6ee7b7; }
.sc-stat svg { display: block; width: 100%; height: 36px; margin-top: 6px; color: #8fc0ff;
  stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 4s ease-out infinite alternate; }
.sc-scan { position: absolute; right: 12%; bottom: 0; width: 170px; padding: 12px 14px 10px; border-radius: 14px; background: #fff; color: var(--ink);
  box-shadow: 0 24px 50px -20px rgb(0 0 0 / .6); transform: rotate(3deg); animation: floatA 6s ease-in-out infinite reverse; overflow: hidden; }
.sc-scan svg { display: block; width: 100%; height: 40px; color: #111827; }
.sc-scan small { display: block; text-align: center; font-size: 10.5px; letter-spacing: 1.5px; color: var(--muted); font-weight: 700; }
.sc-laser { position: absolute; left: 8px; right: 8px; height: 2px; top: 14px; background: #ff3b3b; box-shadow: 0 0 10px 2px rgb(255 59 59 / .7); animation: laser 2.2s ease-in-out infinite; }

.au-feats { position: relative; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 470px; }
.au-feats li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #dbe6fb; font-weight: 600; }
.au-feats li span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgb(255 255 255 / .09); border: 1px solid rgb(255 255 255 / .12); font-size: 16px; }
.au-badge { position: relative; margin-top: auto; padding-top: 28px; font-size: 13px; color: #9fb4de; font-weight: 700; }

@keyframes floatA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes floatB { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgb(34 197 94 / 0); } }
@keyframes lineIn { 0% { opacity: 0; transform: translateX(-8px); } 6%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
@keyframes tap { 0%, 30%, 40%, 100% { transform: none; filter: none; } 34% { transform: scale(.92); filter: brightness(1.2); } }
@keyframes laser { 0%, 100% { top: 10px; } 50% { top: 40px; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- sağ: forma ---------- */
.au-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px 24px; background: #fff; position: relative; }
.au-mlogo { display: none; color: var(--ink); margin-bottom: 18px; }
.au-mlogo b { color: var(--ac); }
.au-card { width: 100%; max-width: 420px; margin: auto 0; }
.au-card h1 { font-size: 30px; font-weight: 800; letter-spacing: -.7px; margin: 0 0 6px; }
.au-sub { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0 0 24px; }
.au-sub b { color: var(--ink); }
.au-f { display: block; margin-bottom: 14px; }
.au-l { display: block; font-size: 13px; font-weight: 700; color: #344054; margin-bottom: 6px; }
.au-in { position: relative; display: flex; align-items: center; }
.au-in > svg { position: absolute; left: 14px; width: 19px; height: 19px; color: #98a2b3; pointer-events: none; transition: color .15s; }
.au-in input { width: 100%; height: 50px; padding: 0 44px 0 44px; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 13px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.au-in input::placeholder { color: #a5afbf; }
.au-in input:focus { background: #fff; border-color: var(--ac); box-shadow: 0 0 0 4px rgb(43 125 233 / .14); }
.au-in:focus-within > svg { color: var(--ac); }
.au-eye { position: absolute; right: 8px; width: 34px; height: 34px; border: 0; background: none; color: #98a2b3; border-radius: 9px; cursor: pointer; display: grid; place-items: center; }
.au-eye svg { width: 19px; height: 19px; } .au-eye:hover, .au-eye.on { color: var(--ac); background: #eef5ff; }
.au-hint { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; }
.au-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.au-row { display: flex; justify-content: space-between; align-items: center; margin: -2px 0 18px; font-size: 13.5px; }
.au-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; border: 0; border-radius: 13px; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 800; color: #fff; background: linear-gradient(180deg, #3a8af0, var(--ac)); margin-top: 6px;
  box-shadow: 0 10px 24px -10px rgb(43 125 233 / .8), inset 0 1px 0 rgb(255 255 255 / .25); transition: transform .08s, filter .15s; text-decoration: none; }
.au-btn:hover { filter: brightness(1.06); text-decoration: none; } .au-btn:active { transform: translateY(1px); }
.au-btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; font-weight: 700; }
.au-btn.ghost:hover { border-color: var(--ac); color: var(--ac); }
.au-btn.busy { opacity: .75; pointer-events: none; }
.au-btn.busy::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / .4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.au-or { display: flex; align-items: center; gap: 12px; color: #98a2b3; font-size: 13px; margin: 22px 0 14px; }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.au-foot { text-align: center; color: var(--muted); font-size: 14px; margin: 20px 0 0; }
.au-alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.au-alert.bad { background: #fdecea; color: #b42318; } .au-alert.ok { background: #e7f6ee; color: var(--ok); }
.au-ver { margin-top: auto; padding-top: 28px; font-size: 12px; color: #a5afbf; }

/* təsdiq kodu */
.au-env { width: 58px; height: 58px; border-radius: 18px; background: #eef5ff; display: grid; place-items: center; font-size: 28px; margin-bottom: 16px; }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 18px; }
.otp input { width: 100%; height: 62px; text-align: center; font: inherit; font-size: 26px; font-weight: 800; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 14px; outline: none; transition: all .15s; }
.otp input:focus { background: #fff; border-color: var(--ac); box-shadow: 0 0 0 4px rgb(43 125 233 / .14); }
.otp input.on { background: #fff; border-color: #b7d3fa; }
.au-resend { text-align: center; color: var(--muted); font-size: 14px; margin-top: 16px; }
.au-link { border: 0; background: none; font: inherit; font-weight: 800; color: var(--ac); cursor: pointer; padding: 0; }
.au-link:disabled { color: #a5afbf; cursor: default; }
.au-dev { margin-top: 22px; padding: 10px 12px; border-radius: 10px; background: #fff8e6; color: #8a5b00; font-size: 12.5px; }

/* ---------- telefon / planşet ---------- */
@media (max-width: 980px) {
  .au { grid-template-columns: 1fr; }
  .au-brand { display: none; }
  .au-mlogo { display: inline-flex; }
  .au-main { justify-content: flex-start; padding-top: 32px;
    background: radial-gradient(600px 260px at 50% -40px, #e8f1ff, transparent 70%), #fff; }
  .au-card h1 { font-size: 26px; }
}
@media (max-width: 420px) { .au-2 { grid-template-columns: 1fr; gap: 0; } .otp { gap: 6px; } .otp input { height: 54px; font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } .sc-line { opacity: 1; } .sc-stat svg { stroke-dashoffset: 0; } }
