@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,800;1,900&display=swap");

:root {
  --account-dark: #02070d;
  --account-blue: #009eea;
  --account-green: #6bd12f;
  --account-white: #ffffff;
  --account-copy: rgba(255, 255, 255, 0.74);
  --account-muted: rgba(255, 255, 255, 0.55);
  --account-line: rgba(0, 158, 234, 0.3);
  --account-panel: rgba(3, 13, 24, 0.84);
  --account-container: 1680px;
}

* {
  box-sizing: border-box;
}

body.account-page {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", Arial, sans-serif;
  color: var(--account-white);
  background:
    linear-gradient(90deg, rgba(2, 7, 13, 0.9) 0%, rgba(2, 7, 13, 0.66) 36%, rgba(2, 7, 13, 0.12) 68%, rgba(2, 7, 13, 0.34) 100%),
    linear-gradient(180deg, rgba(2, 7, 13, 0.06) 0%, rgba(2, 7, 13, 0.26) 45%, #02070d 72%, #02070d 100%),
    radial-gradient(circle at 88% 22%, rgba(0, 158, 234, 0.14), transparent 30rem),
    radial-gradient(circle at 8% 60%, rgba(107, 209, 47, 0.08), transparent 28rem),
    linear-gradient(180deg, #02070d 0%, #03101d 50%, #02070d 100%);
}

.account-page a {
  color: inherit;
  text-decoration: none;
}

.account-page svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-container {
  width: 100%;
  max-width: var(--account-container);
  margin: 0 auto;
  padding-left: clamp(20px, 3vw, 56px);
  padding-right: clamp(20px, 3vw, 56px);
}

.account-main {
  overflow: hidden;
}

.account-hero {
  position: relative;
  padding: clamp(56px, 5.6vw, 92px) 0 28px;
  background: transparent;
  border-bottom: 1px solid rgba(0, 158, 234, 0.22);
}

.account-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgba(2, 7, 13, 0.94));
  pointer-events: none;
}

.account-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(430px, 0.9fr) minmax(0, 1.18fr);
  gap: clamp(38px, 5vw, 92px);
  align-items: stretch;
}

.login-panel {
  min-height: 700px;
  padding: clamp(34px, 3.6vw, 62px);
  border: 1px solid rgba(0, 158, 234, 0.62);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 42%, rgba(0, 158, 234, 0.2), transparent 15rem),
    linear-gradient(145deg, rgba(3, 20, 38, 0.94), rgba(2, 7, 13, 0.88));
  box-shadow: inset 0 0 38px rgba(0, 158, 234, 0.13), 0 0 50px rgba(0, 158, 234, 0.18);
}

.account-eyebrow {
  margin: 0 0 12px;
  color: var(--account-green);
  font-size: clamp(16px, 1vw, 20px);
  font-weight: 900;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(107, 209, 47, 0.32);
}

.login-panel h1 {
  margin: 0;
  font-size: clamp(44px, 4.4vw, 82px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-transform: uppercase;
}

.login-panel h1 span {
  display: block;
}

.login-intro {
  max-width: 520px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.65;
}

.login-form {
  display: grid;
  gap: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--account-white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.input-shell {
  position: relative;
}

.input-shell input {
  width: 100%;
  height: 58px;
  padding: 0 58px 0 18px;
  color: var(--account-white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(2, 7, 13, 0.68);
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.input-shell input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.input-shell input:focus {
  outline: none;
  border-color: var(--account-blue);
  background: rgba(2, 7, 13, 0.9);
  box-shadow: 0 0 20px rgba(0, 158, 234, 0.28);
}

.input-shell > svg,
.password-toggle {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}

.input-shell > svg {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.78);
  pointer-events: none;
}

.password-toggle {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--account-green);
  outline: none;
}

.password-toggle svg {
  width: 24px;
  height: 24px;
}

.field-message {
  min-height: 18px;
  margin: 6px 0 0;
  color: #ff6b6b;
  font-size: 12px;
  font-weight: 700;
}

.form-field.has-error input {
  border-color: rgba(255, 107, 107, 0.85);
  box-shadow: 0 0 18px rgba(255, 107, 107, 0.15);
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: -4px;
}

.remember-me {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.remember-me input {
  width: 18px;
  height: 18px;
  accent-color: var(--account-green);
}

.login-options a,
.guest-link {
  color: var(--account-green);
  font-weight: 800;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.login-options a:hover,
.login-options a:focus-visible,
.guest-link:hover,
.guest-link:focus-visible {
  color: #83f043;
  outline: none;
  text-shadow: 0 0 16px rgba(107, 209, 47, 0.36);
}

.login-submit,
.create-account-btn {
  width: 100%;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 6px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.login-submit {
  margin-top: 8px;
  color: #02070d;
  border: 1px solid var(--account-green);
  background: linear-gradient(135deg, #75e235, #55c91d);
  box-shadow: 0 0 28px rgba(107, 209, 47, 0.28);
}

.login-submit:hover,
.login-submit:focus-visible {
  transform: translateY(-2px);
  outline: none;
  background: linear-gradient(135deg, #82f343, #60d527);
  box-shadow: 0 0 34px rgba(107, 209, 47, 0.46);
}

.login-submit.is-loading {
  opacity: 0.72;
  cursor: wait;
}

.login-status {
  margin: 0;
  padding: 12px 14px;
  text-align: center;
  color: var(--account-green);
  border: 1px solid rgba(107, 209, 47, 0.45);
  border-radius: 6px;
  background: rgba(107, 209, 47, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.create-account-btn {
  color: var(--account-white);
  border: 1px solid rgba(107, 209, 47, 0.76);
  background: rgba(2, 7, 13, 0.52);
}

.create-account-btn strong {
  color: var(--account-green);
}

.create-account-btn svg {
  width: 26px;
  height: 26px;
  color: var(--account-green);
}

.create-account-btn:hover,
.create-account-btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--account-green);
  outline: none;
  box-shadow: 0 0 24px rgba(107, 209, 47, 0.22);
}

.guest-link {
  margin-top: 22px;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--account-blue);
}

.guest-link svg {
  width: 20px;
  height: 20px;
}

.portal-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 700px;
  padding: clamp(30px, 3vw, 54px);
  overflow: hidden;
}

.portal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 22%, rgba(0, 158, 234, 0.08), transparent 18rem),
    linear-gradient(90deg, rgba(2, 7, 13, 0.22) 0%, rgba(2, 7, 13, 0.08) 42%, rgba(2, 7, 13, 0) 76%),
    linear-gradient(180deg, rgba(2, 7, 13, 0) 0%, rgba(2, 7, 13, 0.08) 46%, rgba(2, 7, 13, 0.74) 100%);
  pointer-events: none;
}

.portal-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  pointer-events: none;
}

.portal-heading,
.portal-feature-grid {
  position: relative;
  z-index: 2;
}

.portal-heading {
  max-width: 620px;
  margin: 0;
  padding-left: clamp(6px, 1vw, 18px);
}

/* Robot/shield visual placed between the heading and the feature grid. */
.portal-media {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 510px;
  height: auto;
  margin: clamp(12px, 1.6vw, 24px) auto;
  align-self: center;
  pointer-events: none;
}

.portal-heading h2 {
  margin: 0;
  font-size: clamp(32px, 2.7vw, 54px);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.portal-heading p {
  margin: 8px 0 0;
  color: var(--account-green);
  font-size: clamp(18px, 1.4vw, 26px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.035em;
}

.portal-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 42px;
  margin-top: 0;
  padding-inline: clamp(6px, 1vw, 18px);
}

.portal-feature-grid article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
}

.portal-feature-grid img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(107, 209, 47, 0.36));
}

.portal-feature-grid h3 {
  margin: 0 0 6px;
  color: var(--account-white);
  font-size: clamp(16px, 1.05vw, 20px);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.portal-feature-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.45;
}

.account-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px;
  margin-bottom: clamp(56px, 6vw, 90px);
  border: 1px solid rgba(0, 158, 234, 0.32);
  border-radius: 8px;
  background: rgba(3, 13, 24, 0.72);
  box-shadow: inset 0 0 28px rgba(0, 158, 234, 0.08);
}

.account-trust article {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 22px;
}

.account-trust article + article {
  border-left: 1px solid rgba(0, 158, 234, 0.26);
}

.account-trust img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 13px rgba(107, 209, 47, 0.34));
}

.account-trust strong,
.account-trust span {
  display: block;
}

.account-trust strong {
  color: var(--account-white);
  font-size: clamp(24px, 2.2vw, 38px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.account-trust span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 600;
}

.account-footer {
  padding: 64px 0 30px;
  border-top: 1px solid rgba(0, 158, 234, 0.18);
  background: linear-gradient(180deg, rgba(3, 16, 31, 0.74), #02070d);
}

.account-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(130px, 1fr));
  gap: clamp(28px, 4vw, 72px);
}

.account-footer-brand img {
  width: 170px;
  height: auto;
}

.account-footer-brand p,
.account-footer nav a,
.account-footer-bottom p,
.account-footer-bottom a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.65;
}

.account-footer-brand p {
  max-width: 310px;
  margin: 20px 0;
}

.account-social-row {
  display: flex;
  gap: 12px;
}

.account-social-row a {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
}

.account-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.account-footer h2 {
  margin: 0 0 8px;
  color: var(--account-white);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-footer nav a:hover,
.account-footer nav a:focus-visible,
.account-footer-bottom a:hover,
.account-footer-bottom a:focus-visible {
  color: var(--account-green);
  outline: none;
}

.account-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 158, 234, 0.16);
}

.account-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

@media (max-width: 1180px) {
  .account-hero-grid {
    grid-template-columns: 1fr;
  }

  .portal-panel {
    min-height: auto;
    padding: 34px;
    border: 1px solid rgba(0, 158, 234, 0.34);
    border-radius: 10px;
    background: rgba(3, 13, 24, 0.62);
  }

  .portal-feature-grid {
    margin-top: 40px;
  }

  .portal-media {
    max-width: 340px;
  }

  .account-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-trust article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(0, 158, 234, 0.26);
  }

  .account-trust article:nth-child(4) {
    border-top: 1px solid rgba(0, 158, 234, 0.26);
  }

  .account-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .account-hero {
    padding-top: 34px;
  }

  .login-panel,
  .portal-panel {
    padding: 24px;
  }

  .login-panel {
    min-height: auto;
  }

  .login-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .create-account-btn {
    flex-wrap: wrap;
    padding: 12px;
    text-align: center;
  }

  .portal-feature-grid,
  .account-trust,
  .account-footer-grid {
    grid-template-columns: 1fr;
  }

  .portal-feature-grid article {
    grid-template-columns: 52px 1fr;
  }

  .portal-feature-grid img {
    width: 52px;
    height: 52px;
  }

  .account-trust article {
    justify-content: flex-start;
  }

  .account-trust article + article,
  .account-trust article:nth-child(3),
  .account-trust article:nth-child(4) {
    border-left: 0;
    border-top: 1px solid rgba(0, 158, 234, 0.26);
  }

  .account-footer-bottom {
    flex-direction: column;
  }
}
