:root {
  --bg0: #ffffff;
  --bg1: #eef2f7;
  --card: #ffffff;
  --border: rgba(10, 20, 40, 0.14);
  --text: rgba(10, 20, 40, 0.92);
  --muted: rgba(10, 20, 40, 0.72);
  --muted2: rgba(10, 20, 40, 0.6);
  --accent: #1d4ed8;
  --accent2: #60a5fa;
  --danger: #ef4444;
  --radius: 14px;
  --shadow: rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

@media (min-width: 900px) {
  html,
  body {
    overflow: hidden;
  }
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(980px 720px at 16% 18%, rgba(29, 78, 216, 0.10), transparent 62%),
    radial-gradient(900px 640px at 88% 16%, rgba(96, 165, 250, 0.18), transparent 58%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x: hidden;
}

.page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 42px 16px;
  position: relative;
}

@media (min-width: 900px) {
  .page {
    height: 100vh;
    min-height: 0;
    overflow: hidden;
    padding: 0;
  }
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(29, 78, 216, 0)) 0 0 / 520px 520px no-repeat,
    linear-gradient(135deg, rgba(96, 165, 250, 0.14), rgba(96, 165, 250, 0)) 100% 15% / 520px 520px no-repeat;
  opacity: 0.8;
  animation: elecom-drift 16s ease-in-out infinite;
}

.page::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    radial-gradient(70px 70px at 12% 26%, rgba(29, 78, 216, 0.14), transparent 70%),
    radial-gradient(90px 90px at 78% 20%, rgba(96, 165, 250, 0.18), transparent 72%),
    radial-gradient(120px 120px at 92% 78%, rgba(29, 78, 216, 0.12), transparent 72%);
  filter: blur(0.2px);
  opacity: 0.9;
  animation: elecom-drift 22s ease-in-out infinite reverse;
}

@media (max-width: 600px) {
  .page {
    padding: 26px 12px;
    place-items: center;
  }
}

@media (max-width: 899px) {
  .hero {
    display: none;
  }

  .wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .card {
    justify-self: center;
    align-self: start;
    margin-top: 10px;
    max-width: 420px;
    width: min(420px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes elecom-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes elecom-drift {
  0% {
    transform: translate3d(0, 0, 0);
    filter: saturate(1);
  }
  50% {
    transform: translate3d(0, -8px, 0);
    filter: saturate(1.03);
  }
  100% {
    transform: translate3d(0, 0, 0);
    filter: saturate(1);
  }
}

@keyframes elecom-glow {
  0% {
    box-shadow:
      0 10px 28px rgba(11, 21, 51, 0.10),
      0 0 0 1px rgba(10, 20, 40, 0.10) inset,
      0 0 0 0 rgba(96, 165, 250, 0);
  }
  50% {
    box-shadow:
      0 14px 34px rgba(11, 21, 51, 0.12),
      0 0 0 1px rgba(10, 20, 40, 0.10) inset,
      0 0 0 10px rgba(96, 165, 250, 0.12);
  }
  100% {
    box-shadow:
      0 10px 28px rgba(11, 21, 51, 0.10),
      0 0 0 1px rgba(10, 20, 40, 0.10) inset,
      0 0 0 0 rgba(96, 165, 250, 0);
  }
}

@keyframes elecom-bob {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes elecom-shimmer {
  0% {
    background-position: -200% 0;
  }
  55% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes elecom-float-up {
  0% {
    transform: translate3d(0, 18px, 0);
    opacity: 0;
  }
  12% {
    opacity: 0.92;
  }
  80% {
    opacity: 0.85;
  }
  100% {
    transform: translate3d(0, -140px, 0);
    opacity: 0;
  }
}

.wrap {
  width: 100%;
  max-width: 1040px;
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .wrap {
    height: 100vh;
    max-height: 900px;
    padding: 42px 16px;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .wrap {
    gap: 18px;
  }
}

@media (min-width: 900px) {
  .wrap {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 54px;
    align-items: center;
  }
}

.hero {
  padding: 8px 4px;
  animation: elecom-fade-up 520ms ease both;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
  }
}

.hero__content {
  max-width: 520px;
  position: relative;
}

@media (max-width: 899px) {
  .hero__content {
    max-width: 100%;
  }
}

@media (max-width: 899px) {
  .hero {
    padding: 6px 2px;
  }
}

.hero__art {
  margin-top: 14px;
  width: 520px;
  max-width: 100%;
  height: 310px;
  border-radius: 18px;
  background-image: url("/static/assets/elecom_bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: relative;
  box-shadow:
    0 18px 40px rgba(11, 21, 51, 0.10),
    0 2px 0 rgba(255, 255, 255, 0.55) inset;
  border: 1px solid rgba(10, 20, 40, 0.10);
  background-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  animation: elecom-bob 6.8s ease-in-out infinite;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero__art {
    width: 520px;
    height: 320px;
    flex: 0 0 auto;
  }
}

.hero__art::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(260px 170px at 22% 24%, rgba(217, 164, 65, 0.20), transparent 70%),
    radial-gradient(260px 170px at 74% 28%, rgba(11, 21, 51, 0.16), transparent 70%);
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.75;
}

@media (max-width: 899px) {
  .hero__art {
    height: 260px;
  }
}

@media (max-width: 600px) {
  .hero__art {
    height: 220px;
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  .hero__art {
    height: 190px;
  }
}

@media (min-width: 900px) {
  .hero__art {
    margin-top: 18px;
    height: 330px;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.55));
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow:
    0 10px 28px rgba(11, 21, 51, 0.10),
    0 0 0 1px rgba(10, 20, 40, 0.10) inset;
  animation: elecom-glow 4.8s ease-in-out infinite;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  filter:
    drop-shadow(0 2px 8px rgba(217, 164, 65, 0.22))
    drop-shadow(0 10px 22px rgba(11, 21, 51, 0.14));
}


.wordmark {
  display: block;
  line-height: 0;
}

.wordmark img {
  height: 26px;
  width: auto;
  display: block;
}

@media (max-width: 899px) {
  .wordmark img {
    height: 24px;
  }
}

.brand p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.hero h2 {
  margin: 18px 0 0;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: rgba(11, 21, 51, 0.94);
}

.hero h2.shimmer {
  position: relative;
  display: inline-block;
  background: linear-gradient(
    90deg,
    rgba(11, 21, 51, 0.94) 0%,
    rgba(11, 21, 51, 0.94) 40%,
    rgba(96, 165, 250, 0.95) 50%,
    rgba(11, 21, 51, 0.94) 60%,
    rgba(11, 21, 51, 0.94) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 220% 100%;
  animation: elecom-shimmer 6.5s ease-in-out infinite;
}

.social-stream {
  position: absolute;
  inset: 14px;
  pointer-events: none;
}

.social {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(10, 20, 40, 0.10);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 38px rgba(11, 21, 51, 0.14);
  font-weight: 800;
  font-size: 14px;
  color: rgba(11, 21, 51, 0.88);
  opacity: 0;
  animation: elecom-float-up 7.8s linear infinite;
}

.social i {
  font-size: 16px;
  line-height: 1;
  display: block;
}

@media (max-width: 899px) {
  .social {
    display: none;
  }
}

.social--heart {
  left: 64%;
  top: 78%;
  color: rgba(244, 63, 94, 0.92);
  animation-delay: 0s;
}

.social--like {
  left: 82%;
  top: 62%;
  color: rgba(59, 130, 246, 0.92);
  animation-delay: 1.4s;
}

.social--voted {
  left: 74%;
  top: 86%;
  color: rgba(34, 197, 94, 0.92);
  animation-delay: 2.6s;
}

.social--heart2 {
  left: 90%;
  top: 80%;
  color: rgba(244, 63, 94, 0.92);
  animation-delay: 3.8s;
}

.social--voted2 {
  left: 68%;
  top: 58%;
  color: rgba(34, 197, 94, 0.92);
  animation-delay: 5.2s;
}

@media (max-width: 899px) {
  .hero h2 {
    font-size: 36px;
  }
}

@media (max-width: 600px) {
  .hero h2 {
    margin-top: 14px;
    font-size: 32px;
    line-height: 1.08;
  }
}

@media (max-width: 420px) {
  .hero h2 {
    font-size: 28px;
  }
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(11, 61, 145, 1), rgba(255, 199, 44, 0.95));
  box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.14);
}

.card {
  width: 100%;
  max-width: 380px;
  justify-self: center;
  border-radius: 18px;
  border: 1px solid rgba(10, 20, 40, 0.10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.92));
  box-shadow:
    0 22px 60px rgba(11, 21, 51, 0.12),
    0 3px 0 rgba(255, 255, 255, 0.55) inset;
  padding: 22px 20px 18px;
  animation: elecom-fade-up 520ms ease both;
  animation-delay: 60ms;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .card {
    align-self: center;
    justify-self: end;
  }
}

@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .card {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

.btn.is-loading {
  position: relative;
  color: transparent;
}

.btn.is-loading::before {
  opacity: 0;
  animation: none;
}

.btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: rgba(255, 255, 255, 0.95);
  animation: elecom-spin 820ms linear infinite;
}

@keyframes elecom-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page::before,
  .page::after,
  .logo,
  .hero__art,
  .social,
  .hero h2.shimmer,
  .btn.is-loading::after {
    animation: none !important;
  }
}

@media (max-width: 600px) {
  .card {
    max-width: 100%;
    border-radius: 14px;
    padding: 16px 14px 14px;
  }
}

.card:hover {
  transform: translateY(-1px);
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow:
    0 26px 70px rgba(11, 21, 51, 0.14),
    0 3px 0 rgba(255, 255, 255, 0.55) inset;
}

.card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (max-width: 899px) {
  .card h3 {
    text-align: center;
  }
}

.mobile-brand {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 2px 0 12px;
}

.mobile-brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.mobile-brand__wordmark {
  height: 22px;
  width: auto;
  display: block;
}

@media (max-width: 899px) {
  .mobile-brand {
    display: flex;
  }
}

form {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.checks {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(11, 21, 51, 0.82);
  user-select: none;
}

.check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: rgba(3, 7, 18, 1);
}

.check a.inline-link {
  color: rgba(11, 21, 51, 1);
  text-decoration: none;
  font-weight: 700;
}

.check a.inline-link:hover {
  text-decoration: underline;
}

label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(10, 20, 40, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(10, 20, 40, 0.92);
  outline: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.input {
  font-size: 14px;
}

.input:focus {
  border-color: rgba(11, 21, 51, 0.55);
  box-shadow: 0 0 0 4px rgba(11, 21, 51, 0.12);
}

.input::placeholder {
  color: rgba(10, 20, 40, 0.45);
}

.input-wrap {
  position: relative;
  width: 100%;
}

.input-wrap .input {
  padding-right: 46px;
}

.btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, rgba(17, 24, 39, 1), rgba(3, 7, 18, 1));
  box-shadow: 0 16px 34px rgba(3, 7, 18, 0.28);
  transition: transform 160ms ease, filter 160ms ease;
  position: relative;
  overflow: hidden;
}

@keyframes elecom-btn-shimmer {
  0% {
    transform: translateX(-140%) skewX(-16deg);
    opacity: 0;
  }
  12% {
    opacity: 0.55;
  }
  28% {
    opacity: 0;
  }
  100% {
    transform: translateX(140%) skewX(-16deg);
    opacity: 0;
  }
}

.btn::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -60%;
  width: 55%;
  height: 180%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.58) 45%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(0.3px);
  opacity: 0;
  animation: elecom-btn-shimmer 3.8s ease-in-out infinite;
  pointer-events: none;
}

.btn--secondary {
  background: #ffffff;
  color: rgba(11, 15, 24, 1);
  border: 1px solid rgba(11, 15, 24, 0.4);
  box-shadow: none;
  font-weight: 700;
}

.btn--secondary:hover {
  filter: none;
  background: rgba(11, 15, 24, 0.06);
}

.btn:hover {
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(1px);
}

.ghost {
  border: 0;
  background: transparent;
  color: rgba(10, 20, 40, 0.88);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  font-weight: 600;
  display: grid;
  place-items: center;
  transition: none;
}

.input-wrap .ghost {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  z-index: 2;
}

.ghost:hover {
  background: transparent;
}

.ghost:active {
  transform: none;
}

.input-wrap .ghost:active {
  transform: translateY(-50%);
}

.ghost i {
  font-size: 18px;
  line-height: 1;
  color: rgba(11, 21, 51, 0.72);
}

.help {
  margin: 0;
  font-size: 12px;
  color: var(--muted2);
  line-height: 1.4;
}

.error {
  margin: 0;
  font-size: 12px;
  color: rgba(239, 68, 68, 0.95);
  min-height: 16px;
}

.samples {
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid rgba(11, 15, 24, 0.28);
  background: rgba(11, 15, 24, 0.06);
  padding: 12px;
}

.samples .title {
  margin: 0;
  font-weight: 700;
  font-size: 13px;
}

.grid {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.item {
  border: 1px solid rgba(11, 15, 24, 0.14);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 10px;
}

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

.item .v {
  margin: 6px 0 10px;
  font-size: 12px;
  color: rgba(231, 236, 255, 0.92);
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11, 15, 24, 0.18);
  background: rgba(255, 255, 255, 0.55);
  color: rgba(10, 20, 40, 0.88);
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.7);
}

.status {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
  min-height: 18px;
}

.link {
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: rgba(11, 21, 51, 1);
  padding: 8px 0 4px;
}

.link:hover {
  text-decoration: underline;
}

.divider {
  height: 1px;
  background: rgba(10, 20, 40, 0.12);
  margin: 10px 0;
}

.foot {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: rgba(10, 20, 40, 0.35);
}
