/* Tonika by Rossco — placeholder page */

:root{
  --bg:        #07070c;
  --bg-soft:   #0d0d16;
  --card:      rgba(255,255,255,.045);
  --stroke:    rgba(255,255,255,.10);
  --stroke-2:  rgba(255,255,255,.18);
  --text:      #f2f1f7;
  --muted:     #a2a0b4;
  --accent:    #7c5cff;
  --accent-2:  #17d5c2;
  --warn:      #ffb340;
  --radius:    18px;
  --shadow:    0 24px 60px rgba(0,0,0,.55);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  display:flex;
  flex-direction:column;
  min-height:100vh;
  overflow-x:hidden;
}

.bg-glow{
  position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(60rem 40rem at 12% -10%, rgba(124,92,255,.30), transparent 60%),
    radial-gradient(50rem 36rem at 92% 8%,  rgba(23,213,194,.20), transparent 60%),
    radial-gradient(46rem 40rem at 60% 110%, rgba(124,92,255,.14), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
}

/* ---------- header ---------- */
.site-header{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:22px clamp(18px,4vw,56px);
  max-width:1240px; width:100%; margin:0 auto;
}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none; color:inherit}
.brand-mark{
  display:grid; place-items:center; width:42px; height:42px; border-radius:13px;
  background:linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow:0 8px 22px rgba(124,92,255,.35);
}
.brand-mark svg{fill:#0a0a12}
.brand-text{display:flex; flex-direction:column; line-height:1.15}
.brand-text b{font-size:19px; font-weight:800; letter-spacing:-.01em}
.brand-text i{font-style:normal; font-size:12px; color:var(--muted); letter-spacing:.06em; text-transform:uppercase}

.header-right{display:flex; align-items:center; gap:12px}

.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 13px; border-radius:999px; font-size:13px; font-weight:600;
  border:1px solid var(--stroke); background:var(--card); color:var(--muted);
  white-space:nowrap;
}
.pill--alpha{color:var(--warn); border-color:rgba(255,179,64,.28); background:rgba(255,179,64,.08)}
.dot{
  width:7px; height:7px; border-radius:50%; background:var(--warn);
  box-shadow:0 0 0 0 rgba(255,179,64,.6); animation:pulse 2.2s infinite;
}
@keyframes pulse{
  70%{box-shadow:0 0 0 9px rgba(255,179,64,0)}
  100%{box-shadow:0 0 0 0 rgba(255,179,64,0)}
}

.lang-switch{display:flex; padding:3px; gap:2px; border:1px solid var(--stroke); background:var(--card); border-radius:999px}
.lang-btn{
  border:0; background:transparent; color:var(--muted); cursor:pointer;
  font:inherit; font-size:13px; font-weight:700; letter-spacing:.03em;
  padding:6px 13px; border-radius:999px; transition:.18s;
}
.lang-btn:hover{color:var(--text)}
.lang-btn.is-active{background:rgba(255,255,255,.12); color:var(--text)}

/* ---------- layout ---------- */
.layout{
  flex:1;
  width:100%; max-width:1240px; margin:0 auto;
  padding:clamp(20px,4vw,48px) clamp(18px,4vw,56px) 64px;
  display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:clamp(32px,5vw,72px); align-items:start;
}

/* ---------- promo ---------- */
.eyebrow{
  margin:0 0 14px; font-size:13px; font-weight:700; letter-spacing:.16em;
  text-transform:uppercase; color:var(--accent-2);
}
.title{
  margin:0 0 18px; font-size:clamp(34px,5.2vw,60px); line-height:1.05;
  font-weight:800; letter-spacing:-.03em;
  background:linear-gradient(120deg,#fff 25%, #b9aaff 70%, var(--accent-2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.lead{margin:0 0 34px; font-size:clamp(16px,1.4vw,18px); color:var(--muted); max-width:46ch}

.features{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px}
.features li{
  border:1px solid var(--stroke); background:var(--card); border-radius:var(--radius);
  padding:18px; display:flex; flex-direction:column; gap:6px; transition:.2s;
}
.features li:hover{border-color:var(--stroke-2); transform:translateY(-2px); background:rgba(255,255,255,.07)}
.features .ico{font-size:20px}
.features b{font-size:15px; font-weight:700}
.features span:not(.ico){font-size:14px; color:var(--muted); line-height:1.45}

.wave{display:flex; align-items:flex-end; gap:5px; height:56px; margin-top:36px; opacity:.65}
.wave span{
  flex:1; max-width:9px; border-radius:4px;
  background:linear-gradient(180deg,var(--accent),var(--accent-2));
  animation:bounce 1.6s ease-in-out infinite;
}
.wave span:nth-child(3n){animation-duration:2.1s}
.wave span:nth-child(3n+1){animation-duration:1.25s}
.wave span:nth-child(4n){animation-duration:2.6s}
.wave span:nth-child(2n){animation-delay:-.4s}
.wave span:nth-child(5n){animation-delay:-.9s}
.wave span:nth-child(7n){animation-delay:-1.3s}
@keyframes bounce{0%,100%{height:14%} 50%{height:100%}}
@media (prefers-reduced-motion:reduce){
  .wave span{animation:none; height:45%}
  .dot{animation:none}
}

/* ---------- auth card ---------- */
.auth-wrap{position:sticky; top:28px; display:flex; flex-direction:column; gap:14px}
.card{
  border:1px solid var(--stroke); background:rgba(15,15,26,.72);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-radius:24px; padding:clamp(22px,3vw,32px); box-shadow:var(--shadow);
}
.card-title{margin:0 0 6px; font-size:23px; font-weight:800; letter-spacing:-.02em}
.card-sub{margin:0 0 24px; font-size:14px; color:var(--muted)}

.form{display:flex; flex-direction:column; gap:16px}
.field{display:flex; flex-direction:column; gap:7px}
.field-label{font-size:13px; font-weight:600; color:var(--muted)}
input[type=email],input[type=password]{
  width:100%; font:inherit; font-size:15px; color:var(--text);
  padding:13px 15px; border-radius:12px;
  border:1px solid var(--stroke); background:rgba(255,255,255,.04);
  transition:.18s; outline:none;
}
input::placeholder{color:#6e6c82}
input[type=email]:focus,input[type=password]:focus{
  border-color:rgba(124,92,255,.7); background:rgba(124,92,255,.07);
  box-shadow:0 0 0 4px rgba(124,92,255,.14);
}
input.is-invalid{border-color:rgba(255,99,99,.65); box-shadow:0 0 0 4px rgba(255,99,99,.12)}

.pw{position:relative; display:block}
.pw input{padding-right:46px}
.pw-toggle{
  position:absolute; right:6px; top:50%; transform:translateY(-50%);
  border:0; background:transparent; cursor:pointer; font-size:15px;
  color:var(--muted); padding:8px; border-radius:9px; line-height:1; opacity:.75;
}
.pw-toggle:hover{opacity:1; background:rgba(255,255,255,.06)}

.row{display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:13.5px; margin-top:-2px}
.check{display:flex; align-items:center; gap:8px; color:var(--muted); cursor:pointer; user-select:none}
.check input{accent-color:var(--accent); width:15px; height:15px}
.link{color:var(--accent-2); text-decoration:none}
.link:hover{text-decoration:underline}

.btn{
  font:inherit; font-weight:700; font-size:15px; cursor:pointer;
  padding:14px 18px; border-radius:12px; border:1px solid transparent;
  display:flex; align-items:center; justify-content:center; gap:10px; transition:.18s;
}
.btn--primary{
  color:#0b0a14; background:linear-gradient(120deg,var(--accent-2),var(--accent) 85%);
  box-shadow:0 12px 26px rgba(124,92,255,.28);
}
.btn--primary:hover{filter:brightness(1.07); transform:translateY(-1px)}
.btn--primary:disabled{opacity:.7; cursor:progress; transform:none}
.btn--ghost{background:rgba(255,255,255,.04); border-color:var(--stroke); color:var(--text)}
.btn--ghost:hover{background:rgba(255,255,255,.09); border-color:var(--stroke-2)}

.spinner{
  width:16px; height:16px; border-radius:50%;
  border:2px solid rgba(11,10,20,.35); border-top-color:#0b0a14;
  animation:spin .7s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

.form-msg{
  margin:0; font-size:13.5px; line-height:1.5; padding:12px 14px; border-radius:12px;
  border:1px solid rgba(255,179,64,.28); background:rgba(255,179,64,.09); color:#ffd8a1;
}
.form-msg.is-error{border-color:rgba(255,99,99,.3); background:rgba(255,99,99,.1); color:#ffb4b4}
.form-msg.is-ok{border-color:rgba(23,213,194,.3); background:rgba(23,213,194,.09); color:#9df2e7}

.divider{display:flex; align-items:center; gap:12px; color:#5f5d73; font-size:12.5px; text-transform:uppercase; letter-spacing:.1em}
.divider::before,.divider::after{content:""; flex:1; height:1px; background:var(--stroke)}

.fineprint{margin:2px 0 0; font-size:12px; color:#6e6c82; text-align:center; line-height:1.5}

.notice{
  display:flex; flex-direction:column; gap:5px;
  border:1px dashed rgba(255,179,64,.32); background:rgba(255,179,64,.06);
  border-radius:var(--radius); padding:16px 18px;
}
.notice b{font-size:14px; color:var(--warn)}
.notice span{font-size:13.5px; color:var(--muted); line-height:1.5}

/* ---------- footer ---------- */
.site-footer{
  border-top:1px solid var(--stroke);
  max-width:1240px; width:100%; margin:0 auto;
  padding:22px clamp(18px,4vw,56px);
  display:flex; flex-wrap:wrap; gap:12px 24px; align-items:center; justify-content:space-between;
  font-size:13px; color:#6e6c82;
}
.site-footer nav{display:flex; flex-wrap:wrap; gap:12px 20px}
.site-footer a{color:#8d8ba1; text-decoration:none}
.site-footer a:hover{color:var(--text)}

/* ---------- responsive ---------- */
@media (max-width:940px){
  .layout{grid-template-columns:1fr; padding-bottom:48px}
  .auth-wrap{position:static}
  .wave{display:none}
}
@media (max-width:520px){
  .site-header{flex-wrap:wrap; gap:12px}
  .header-right{width:100%; justify-content:space-between}
  .row{flex-wrap:wrap}
}
