/* ============ Techno Task – animated login page ============ */
.hero-art {
  --lp-navy: #2b3a67; --lp-skin: #c98b6b; --lp-hair: #2d2a3e; --lp-sweater: #f2b84b;
}
.lp {
  --lp-ink: #1d2433; --lp-muted: #5d6576; --lp-btn: #3f7be0; --lp-btn-2: #5a92f0; --lp-pink: #e8176a;
  --lp-navy: #2b3a67; --lp-skin: #c98b6b; --lp-hair: #2d2a3e; --lp-sweater: #f2b84b;
  position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden;
  background: #fbf8f3; color: var(--lp-ink); padding: 16px;
}
.lp-bg { position: fixed; inset: 0; overflow: hidden; z-index: 0; }
.lp-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; animation: lp-roam 22s ease-in-out infinite alternate; }
.lp-b1 { width: 46vmax; height: 46vmax; background: #ffb3a7; left: -12vmax; top: -10vmax; }
.lp-b2 { width: 42vmax; height: 42vmax; background: #b6f0d8; right: -12vmax; top: -8vmax; animation-duration: 26s; animation-delay: -6s; }
.lp-b3 { width: 40vmax; height: 40vmax; background: #f4f1a6; left: 10vmax; bottom: -16vmax; animation-duration: 30s; animation-delay: -12s; }
.lp-b4 { width: 30vmax; height: 30vmax; background: #c9e1ff; right: 4vmax; bottom: -8vmax; animation-duration: 24s; animation-delay: -3s; }
@keyframes lp-roam { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vmax, 4vmax) scale(1.08); } 100% { transform: translate(-4vmax, 7vmax) scale(.95); } }

.lp-card {
  position: relative; z-index: 1; width: min(440px, 100%); border-radius: 36px; padding: 30px 30px 24px; overflow: hidden;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(255, 170, 150, .85), transparent 60%),
    radial-gradient(110% 60% at 100% 0%, rgba(160, 240, 210, .9), transparent 62%),
    radial-gradient(100% 50% at 50% 70%, rgba(244, 245, 170, .65), transparent 70%), #fff;
  background-size: 140% 140%;
  box-shadow: 0 30px 80px rgba(40, 50, 80, .18);
  animation: lp-cardin .9s cubic-bezier(.2,.9,.2,1) both, lp-shimmer 14s ease-in-out infinite alternate;
}
@keyframes lp-cardin { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lp-shimmer { from { background-position: 0% 0%; } to { background-position: 100% 30%; } }
@keyframes lp-fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.lp-logo { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0; animation: lp-fadeup .8s ease-out .25s both; }
.lp-logo img { width: min(230px, 62vw); height: auto; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.08)); }
.lp-logo span { font-family: "Pacifico", "Snell Roundhand", "Brush Script MT", cursive; color: var(--lp-pink); font-size: 26px; line-height: 1.1; font-weight: 400; }
.lp-hello { text-align: center; color: var(--lp-muted); font-size: 14px; margin: 2px 0 0; animation: lp-fadeup .8s ease-out .4s both; }

/* illustration */
.lp-art { display: block; width: 100%; height: auto; margin: 6px 0 4px; animation: lp-fadeup .9s ease-out .35s both; }
.lp-art .float { animation: lp-bob 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.lp-art .f2 { animation-delay: -1.2s; animation-duration: 5.2s; }
.lp-art .f3 { animation-delay: -2.4s; animation-duration: 4.8s; }
.lp-art .f4 { animation-delay: -.6s; animation-duration: 5.6s; }
@keyframes lp-bob { 0%,100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-7px) rotate(calc(var(--r, 0deg) * -1)); } }
.lp-art .gear { animation: lp-spin 6s linear infinite; transform-box: fill-box; transform-origin: center; }
.lp-art .gear.small { animation-duration: 4s; animation-direction: reverse; }
@keyframes lp-spin { to { transform: rotate(360deg); } }
.lp-art .hand-m { animation: lp-spin 3s linear infinite; transform-box: view-box; transform-origin: 262px 86px; }
.lp-art .hand-h { animation: lp-spin 24s linear infinite; transform-box: view-box; transform-origin: 262px 86px; }
.lp-art .bar { transform-box: fill-box; transform-origin: bottom; animation: lp-grow 2.6s ease-in-out infinite alternate; }
.lp-art .bar:nth-of-type(2) { animation-delay: -.8s; } .lp-art .bar:nth-of-type(3) { animation-delay: -1.6s; }
@keyframes lp-grow { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
.lp-art .tick { fill: none; stroke: #1e8a4c; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 12; stroke-dashoffset: 12; animation: lp-tick 6s ease-in-out infinite; }
.lp-art .tick.t2 { animation-delay: .7s; } .lp-art .tick.t3 { animation-delay: 1.4s; }
@keyframes lp-tick { 0%, 10% { stroke-dashoffset: 12; } 22%, 80% { stroke-dashoffset: 0; } 95%, 100% { stroke-dashoffset: 12; } }
.lp-art .leaf { transform-box: fill-box; transform-origin: bottom center; animation: lp-sway 3.4s ease-in-out infinite alternate; }
.lp-art .leaf.l2 { animation-delay: -1s; } .lp-art .leaf.l3 { animation-delay: -2s; }
@keyframes lp-sway { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
.lp-art .steam { fill: none; stroke: #c9cfdd; stroke-width: 2; stroke-linecap: round; animation: lp-steam 2.8s ease-in-out infinite; opacity: 0; }
.lp-art .steam.s2 { animation-delay: 1.2s; }
@keyframes lp-steam { 0% { opacity: 0; transform: translateY(4px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-10px); } }
.lp-art .screen-glow { animation: lp-glow 3s ease-in-out infinite; }
@keyframes lp-glow { 0%,100% { opacity: .35; } 50% { opacity: .75; } }
.lp-art .arm-r { transform-box: view-box; transform-origin: 176px 156px; animation: lp-type .35s ease-in-out infinite alternate; }
.lp-art .arm-l { transform-box: view-box; transform-origin: 126px 156px; animation: lp-wave 2.4s ease-in-out infinite; }
@keyframes lp-type { from { transform: rotate(0deg); } to { transform: rotate(2.5deg); } }
@keyframes lp-wave { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(-7deg); } }
.lp-art .blink { animation: lp-blink 5s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes lp-blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }

/* steps */
.lp-steps { position: relative; }
.lp-step { transition: opacity .45s ease, transform .45s ease; }
.lp-step.hide { position: absolute; inset: 0; opacity: 0; transform: translateX(-30px); pointer-events: none; visibility: hidden; }
.lp-step.enter { opacity: 0; transform: translateX(30px); }
.lp-title { text-align: center; font-size: 23px; font-weight: 700; margin: 6px 0 8px; line-height: 1.2; }
.lp-desc { text-align: center; color: #3b4252; margin: 0 auto 20px; max-width: 320px; }
.lp-quote { display: block; text-align: center; color: var(--lp-muted); font-style: italic; min-height: 1.4em; margin: -8px 0 18px; font-size: 14px; }

.lp-btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%;
  border: 0; border-radius: 16px; padding: 15px 18px; cursor: pointer; color: #fff; font: inherit; font-size: 17px; font-weight: 600;
  background: linear-gradient(135deg, var(--lp-btn), var(--lp-btn-2));
  box-shadow: 0 12px 26px rgba(63, 123, 224, .35); transition: transform .15s, box-shadow .15s; overflow: hidden;
}
.lp-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(63, 123, 224, .45); }
.lp-btn .arrow { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); display: grid; place-items: center; transition: transform .2s; }
.lp-btn:hover .arrow { transform: translateX(4px); }
.lp-btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: lp-shine 4s ease-in-out 2s infinite; }
@keyframes lp-shine { 0% { left: -60%; } 35%, 100% { left: 130%; } }
.lp-btn.pill { width: auto; min-width: 150px; margin: 6px auto 0; }
.lp-btn .spin { display: none; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: lp-spin .8s linear infinite; }
.lp-btn.loading .txt { display: none; } .lp-btn.loading .spin { display: block; }
.lp-btn.ok { background: #22a06b; box-shadow: 0 12px 26px rgba(34,160,107,.35); }
.lp-btn:disabled { cursor: default; }

.lp-label { display: block; font-weight: 700; font-size: 15px; margin: 0 0 6px; }
.lp-input { position: relative; margin-bottom: 16px; }
.lp-input input {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid #e1e4ea; background: rgba(255,255,255,.95);
  font: inherit; color: var(--lp-ink); outline: none; box-shadow: 0 2px 6px rgba(30,40,70,.05); transition: border-color .2s, box-shadow .2s;
}
.lp-input input:focus { border-color: var(--lp-btn); box-shadow: 0 0 0 4px rgba(63,123,224,.15); }
.lp-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--lp-muted); cursor: pointer; font: inherit; font-size: 13px; padding: 6px; }
.lp-err { color: #c0392b; font-size: 14px; min-height: 1.2em; text-align: center; margin: -4px 0 10px; }
.lp-foot { text-align: center; color: var(--lp-muted); font-size: 14px; margin-top: 14px; }
.lp-foot a { color: var(--lp-btn); font-weight: 700; text-decoration: none; cursor: pointer; }
.lp-shake { animation: lp-shake .4s; }
@keyframes lp-shake { 20%,60% { transform: translateX(-8px); } 40%,80% { transform: translateX(8px); } }

/* success */
.lp-done { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .5s; z-index: 3; padding: 0 24px; }
.lp-done.show { opacity: 1; pointer-events: auto; }
.lp-done h2 { margin: 0; font-size: 28px; }
.lp-qod-label { margin: 14px 0 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-pink); font-weight: 700; }
.lp-qod { font-size: 19px; font-style: italic; max-width: 320px; margin: 0 auto; line-height: 1.35; }
.lp-confetti { position: fixed; width: 10px; height: 14px; top: 50%; left: 50%; z-index: 9; border-radius: 2px; animation: lp-burst 1.4s cubic-bezier(.1,.7,.3,1) forwards; }
@keyframes lp-burst { to { transform: translate(var(--x), var(--y)) rotate(var(--rot)); opacity: 0; } }

/* world clock */
.lp-clocks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 20px; padding-top: 14px; border-top: 1px dashed rgba(29,36,51,.15); animation: lp-fadeup .8s ease-out .8s both; }
.lp-clock { text-align: center; padding: 7px 3px; border-radius: 12px; background: rgba(255,255,255,.72); box-shadow: 0 2px 8px rgba(30,40,70,.06); }
.lp-clock .c { font-size: 11px; font-weight: 700; line-height: 1.15; min-height: 2.3em; display: flex; align-items: center; justify-content: center; }
.lp-clock .z { font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--lp-pink); }
.lp-clock .t { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-clock .d { font-size: 11px; color: var(--lp-muted); white-space: nowrap; }
.lp-clock.home { background: rgba(232,23,106,.08); }

@media (max-width: 480px) {
  .lp { padding: 0; place-items: stretch; }
  .lp-card { width: 100%; min-height: 100vh; border-radius: 0; padding: 24px 18px 22px; }
  .lp-clocks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* ---------- world clock bar inside the app ---------- */
.clockbar { display: flex; gap: 8px; overflow-x: auto; padding: 10px 32px; border-bottom: 1px solid var(--border); background: var(--panel); scrollbar-width: none; }
.clockbar::-webkit-scrollbar { display: none; }
.cb { display: flex; align-items: baseline; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--panel-2); white-space: nowrap; font-size: 13px; }
.cb.home { background: rgba(232,23,106,.09); }
.cb .c { font-weight: 700; }
.cb .z { font-size: 11px; font-weight: 700; color: #e8176a; letter-spacing: .04em; }
.cb .t { font-variant-numeric: tabular-nums; }
.cb .d { color: var(--muted); font-size: 12px; }
.qotd { margin: 6px 0 0; font-style: italic; color: var(--muted); }
.qotd::before { content: "“"; } .qotd::after { content: "”"; }
.brand-mark { width: 30px; height: 30px; object-fit: contain; flex: none; }
@media (max-width: 820px) { .clockbar { padding: 8px 16px; } }
.main-wrap { min-width: 0; display: flex; flex-direction: column; }

/* ================= full-screen layout on computers ================= */
.lp-brand { text-align: center; }
.lp-art { grid-area: art; }
@media (min-width: 900px) {
  .lp { padding: 0; place-items: stretch; }
  .lp-card {
    width: 100%; min-height: 100vh; border-radius: 0; box-shadow: none; padding: 5vh 5vw 4vh;
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(380px, 1fr);
    grid-template-areas: "brand form" "art form" "clocks form";
    grid-template-rows: auto 1fr auto; column-gap: 5vw; row-gap: 2vh; align-items: center;
    background:
      radial-gradient(70% 60% at 0% 0%, rgba(255, 170, 150, .8), transparent 60%),
      radial-gradient(60% 60% at 100% 0%, rgba(160, 240, 210, .85), transparent 62%),
      radial-gradient(70% 60% at 30% 100%, rgba(244, 245, 170, .65), transparent 70%),
      radial-gradient(50% 50% at 100% 100%, rgba(201, 225, 255, .7), transparent 70%), #fdfbf7;
    background-size: 130% 130%;
  }
  .lp-brand { grid-area: brand; display: flex; align-items: center; gap: 22px; text-align: left; align-self: start; }
  .lp-logo { align-items: flex-start; }
  .lp-logo img { width: clamp(220px, 20vw, 300px); }
  .lp-logo span { font-size: 30px; margin-left: 4px; }
  .lp-hello { font-size: 17px; margin: 0; padding-left: 22px; border-left: 2px solid rgba(29,36,51,.12); }
  .lp-art { width: 100%; max-width: 760px; max-height: 62vh; justify-self: center; margin: 0; }
  .lp-clocks { grid-area: clocks; margin: 0; padding-top: 0; border-top: 0; max-width: 760px; width: 100%; justify-self: center; gap: 10px; }
  .lp-clock { padding: 10px 6px; }
  .lp-clock .t { font-size: 17px; }
  .lp-clock .c, .lp-clock .z { font-size: 12px; }
  .lp-formzone { grid-area: form; align-self: stretch; display: flex; align-items: center; justify-content: center; }
  .lp-panel {
    width: 100%; max-width: 470px; padding: 44px 40px 36px; border-radius: 32px;
    background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
    border: 1px solid rgba(255,255,255,.9); box-shadow: 0 30px 80px rgba(40, 50, 80, .16);
    animation: lp-cardin .9s cubic-bezier(.2,.9,.2,1) .2s both;
  }
  .lp-title { font-size: 32px; text-align: left; }
  .lp-desc { text-align: left; margin-left: 0; font-size: 17px; max-width: none; }
  .lp-quote { text-align: left; margin: -4px 0 26px; font-size: 16px; }
  .lp-btn { font-size: 18px; padding: 17px 20px; }
  .lp-btn.pill { width: 100%; }
  .lp-label { font-size: 16px; }
  .lp-input input { padding: 15px 16px; font-size: 16px; }
  .lp-foot { text-align: left; }
  .lp-done h2 { font-size: 40px; }
  .lp-qod { font-size: 24px; max-width: 560px; }
}
@media (min-width: 900px) and (max-height: 760px) {
  .lp-art { max-height: 52vh; }
  .lp-panel { padding: 32px 32px 28px; }
}

/* Login wordmark: same "TECHNO TASK" text as inside the app */
.lp-logo .lp-wordmark { font-family: "Nunito", "Avenir Next Rounded", "Varela Round", "Avenir Next", Arial, sans-serif; font-weight: 800; color: #000; font-size: clamp(30px, 8vw, 40px); letter-spacing: .07em; line-height: 1.1; margin: 0; }
@media (min-width: 900px) { .lp-logo .lp-wordmark { font-size: clamp(38px, 3.4vw, 52px); } }
