﻿:root {
  --bg: #0b1020;
  --panel: #0f172a;
  --panel-2: #111827;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #2563eb;
  --accent-2: #14b8a6;
  --glow: rgba(37, 99, 235, 0.25);
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.1), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(20, 184, 166, 0.12), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  padding-bottom: 160px;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.7;
  z-index: 0;
  animation: drift 18s ease-in-out infinite alternate;
}

.topbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(11, 16, 32, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  z-index: 2;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.brand:hover {
  transform: none;
  box-shadow: none;
}

.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: none;
  box-shadow: none;
  object-fit: contain;
  padding: 0;
  display: block;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 0;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.15s ease, transform 0.2s ease,
    background 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
}

.layout {
  position: relative;
  z-index: 1;
  width: min(1000px, 92vw);
  margin: 24px auto 120px;
  display: grid;
  gap: 18px;
}

.panel {
  position: relative;
  background: linear-gradient(145deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px;
  opacity: 1;
  transform: translateY(0);
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.4s ease,
    border-color 0.3s ease;
}

.panel::after {
  content: '';
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 30% 20%, var(--glow), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(20, 184, 166, 0.2), transparent 36%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.panel:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  transform: translateY(-4px) scale(1.005);
  border-color: rgba(37, 99, 235, 0.4);
}

.panel:hover::after { opacity: 1; }

.hero { display: grid; gap: 18px; }

.eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero h1 { margin: 10px 0 10px; font-size: 34px; line-height: 1.15; }

.lede {
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 620px;
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.chip {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  transition: border 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease,
    background 0.2s ease;
  transform: translateZ(0);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(6px);
}

.chip:hover {
  border-color: rgba(37, 99, 235, 0.7);
  background: rgba(37, 99, 235, 0.12);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form { display: grid; gap: 14px; }

label { color: var(--muted); font-size: 13px; }

input {
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0b1220;
  color: var(--text);
  font-size: 15px;
  transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  transform: translateY(-1px);
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }

.field { display: grid; gap: 6px; }

.hint { margin: 0; color: var(--muted); font-size: 12px; }

button {
  border: none;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0f17;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
  transform: translateZ(0);
}

button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.3);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.status {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
}

.progress-wrap {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
}

.progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  background-size: 180% 100%;
  transition: width 0.2s ease;
  animation: sheen 2.2s linear infinite;
}

.status-text {
  font-size: 13px;
  color: var(--muted);
  min-width: 140px;
  text-align: right;
}

.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }

.note {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.note h3 { margin: 0 0 8px; font-size: 16px; }

.note p { margin: 0; color: var(--muted); line-height: 1.5; }

.note:hover {
  transform: translateY(-8px) scale(1.02) rotateX(0.8deg) rotateY(-0.6deg);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.note::after {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 20%, var(--glow), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.note:hover::after { opacity: 1; }

.footer {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  z-index: 3;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(11, 16, 32, 0.85);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.2s ease,
    box-shadow 0.25s ease;
}

.footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 12px;
  color: var(--text);
  animation: none;
}

.footer-link:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38);
}

@media (max-width: 768px) {
  body { padding-bottom: 64px; }
  .topbar {
    padding: 12px 16px;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  }
  .nav { display: none; }
  .layout {
    width: 100%;
    margin-top: 14px;
    padding: 0 12px;
  }
  .hero h1 { font-size: 28px; line-height: 1.2; }
  .panel { padding: 16px; }
  .grid { grid-template-columns: 1fr; }
  .chips {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .chips::-webkit-scrollbar { height: 6px; }
  .chips::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
  }
  .footer {
    position: static;
    width: 100%;
    transform: none;
    left: auto;
    bottom: auto;
    padding-top: 8px;
  }
  .footer-link { width: 100%; justify-content: center; }
  button { width: 100%; }
}

@media (max-width: 520px) {
  .brand { padding: 6px 10px; gap: 8px; }
  .brand-logo { width: 26px; height: 26px; }
  .brand span { font-size: 14px; }
  input { font-size: 14px; }
  .footer-link { padding: 12px 14px; }
}

@media (max-width: 480px) {
  .status {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .status-text {
    min-width: 0;
    text-align: left;
  }
}

@keyframes drift {
  0% { transform: translate3d(-6px, 0, 0) scale(1); }
  100% { transform: translate3d(10px, -6px, 0) scale(1.04); }
}

@keyframes sheen {
  0% { background-position: 0% 50%; }
  100% { background-position: 180% 50%; }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

