:root {
  color: #132033;
  background: #f4f8fc;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, #eef6ff 0%, #f8fbfd 46%, #eef3f7 100%);
}

button,
input,
select {
  font: inherit;
}

.landing-shell {
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 16px;
}

.hero {
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(116, 148, 181, 0.24);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff 0%, #edf6ff 58%, #eaf2f8 100%);
  box-shadow: 0 20px 60px rgba(27, 77, 127, 0.16);
}

.brand-row {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: #243d5b;
  font-size: 13px;
  font-weight: 900;
}

.brand-mark {
  width: 28px;
  height: 28px;
  background: url("../aivideo_product_console/assets/brand/logo-emblem.png") center / contain no-repeat;
  filter: drop-shadow(0 8px 16px rgba(28, 124, 255, 0.22));
}

.hero-visual {
  justify-self: end;
  width: min(100%, 220px);
  height: 132px;
  border: 1px solid rgba(114, 151, 190, 0.2);
  border-radius: 8px;
  object-fit: cover;
  object-position: right top;
  opacity: 0.92;
  box-shadow: 0 16px 32px rgba(31, 88, 154, 0.14);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  max-width: 100%;
}

.hero-copy p,
.hero-copy span,
.panel-heading p,
.status-line,
footer {
  margin: 0;
  color: #5f7287;
  font-size: 13px;
  line-height: 1.55;
}

.hero-copy h1 {
  margin: 0;
  color: #10213a;
  font-size: 32px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy strong {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #0c4fd8;
  font-size: 20px;
  line-height: 1.28;
}

.form-panel {
  display: grid;
  gap: 18px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(132, 156, 181, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 44px rgba(25, 48, 74, 0.12);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.panel-heading h2 {
  margin: 0 0 4px;
  color: #132033;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
}

.panel-heading > span {
  flex: 0 0 auto;
  max-width: 128px;
  overflow: hidden;
  padding: 7px 10px;
  border-radius: 8px;
  background: #edf5ff;
  color: #1965e2;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: #34465b;
  font-size: 13px;
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d7e2ee;
  border-radius: 8px;
  outline: none;
  background: #f8fbfe;
  color: #14243a;
  font-size: 15px;
  font-weight: 800;
}

input:focus,
select:focus {
  border-color: #2f7ef4;
  box-shadow: 0 0 0 4px rgba(47, 126, 244, 0.12);
}

button {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: #1358e6;
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(19, 88, 230, 0.28);
}

button:disabled {
  background: #b8c8da;
  box-shadow: none;
}

.status-line {
  padding: 12px;
  border-radius: 8px;
  background: #f2f6fa;
  color: #50657c;
  font-weight: 800;
}

.status-line.success {
  background: #ecfbf4;
  color: #157047;
}

.status-line.error {
  background: #fff1f0;
  color: #b82e28;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px 0;
  font-size: 12px;
}

footer strong {
  min-width: 0;
  overflow: hidden;
  color: #30465f;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 720px) {
  body {
    display: grid;
    place-items: center;
    padding: 36px 0;
  }

  .landing-shell {
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-visual {
    width: 240px;
    height: 150px;
  }
}
