:root {
  --seven-gold: #ffc400;
  --seven-gold-soft: #ffd84a;
  --seven-ink: #060b13;
  --seven-navy: #071120;
  --seven-panel: #f7f9fc;
}

* {
  box-sizing: border-box;
}

.seven-login-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(660px, 1.12fr) minmax(470px, 0.88fr);
  overflow: hidden;
  background: #eef2f7;
  color: #0c1421;
}

.seven-login-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(24px, 3.1vw, 52px);
  background:
    radial-gradient(circle at 49% 35%, rgba(255, 190, 0, 0.11), transparent 29%),
    radial-gradient(circle at 8% 82%, rgba(34, 79, 143, 0.2), transparent 30%),
    linear-gradient(135deg, #02070d 0%, #06111f 46%, #03070d 100%);
  isolation: isolate;
}

.seven-login-hero::before,
.seven-login-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.seven-login-hero::before {
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  left: 47%;
  top: 34%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    rgba(255, 196, 0, 0.14) 0 1px,
    transparent 1px 19px
  );
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 72%);
          mask-image: radial-gradient(circle, #000 0%, transparent 72%);
  animation: sevenHaloTurn 42s linear infinite;
}

.seven-login-hero::after {
  inset: 0;
  background:
    linear-gradient(105deg, transparent 24%, rgba(255, 197, 0, 0.07) 50%, transparent 52%),
    radial-gradient(circle at center, transparent 44%, rgba(0, 0, 0, 0.45) 100%);
  mix-blend-mode: screen;
}

.seven-login-hero__grid {
  position: absolute;
  inset: 46% -20% -10%;
  opacity: 0.28;
  transform: perspective(540px) rotateX(66deg);
  transform-origin: center bottom;
  background-image:
    linear-gradient(rgba(255, 196, 0, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 196, 0, 0.16) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, transparent 95%);
          mask-image: linear-gradient(to bottom, transparent, #000 25%, transparent 95%);
}

.seven-login-hero__vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.74);
  pointer-events: none;
}

.seven-login-hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.seven-login-hero__particles i {
  position: absolute;
  width: calc(3px * var(--particle-scale));
  height: calc(3px * var(--particle-scale));
  border-radius: 50%;
  background: #ffd43b;
  box-shadow: 0 0 7px #ffc400, 0 0 18px rgba(255, 180, 0, 0.78);
  opacity: 0.7;
  animation: sevenParticlePulse 3.4s ease-in-out infinite;
  animation-delay: var(--particle-delay);
}

.seven-brand-lockup {
  position: relative;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: -moz-fit-content;
  width: fit-content;
  color: white;
}

.seven-brand-lockup img {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 7px 17px rgba(255, 196, 0, 0.25));
}

.seven-brand-lockup div {
  display: grid;
  line-height: 1;
}

.seven-brand-lockup strong {
  font-size: clamp(20px, 1.55vw, 29px);
  letter-spacing: 0.015em;
  font-weight: 900;
}

.seven-brand-lockup span {
  margin-top: 7px;
  color: var(--seven-gold);
  font-size: 11px;
  letter-spacing: 0.48em;
  font-weight: 900;
}

.seven-hero-content {
  position: relative;
  z-index: 4;
  width: min(100%, 980px);
  margin: 0 auto;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 18px;
}

.seven-stage {
  position: relative;
  width: min(92%, 780px);
  height: clamp(350px, 42vh, 520px);
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.seven-stage__orbit {
  position: absolute;
  left: 50%;
  top: 45%;
  border-radius: 50%;
  border: 1px solid rgba(255, 196, 0, 0.24);
  transform: translate(-50%, -50%) rotateX(67deg);
  box-shadow: 0 0 18px rgba(255, 178, 0, 0.08);
}

.seven-stage__orbit--one {
  width: 56%;
  aspect-ratio: 1;
  animation: sevenOrbitSpin 13s linear infinite;
}

.seven-stage__orbit--two {
  width: 74%;
  aspect-ratio: 1;
  border-style: dashed;
  animation: sevenOrbitSpinReverse 19s linear infinite;
}

.seven-stage__orbit--three {
  width: 91%;
  aspect-ratio: 1;
  opacity: 0.38;
  animation: sevenOrbitSpin 29s linear infinite;
}

.seven-stage__beam {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 130%;
  height: 2px;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, transparent, rgba(255, 193, 0, 0.9), transparent 82%);
  filter: blur(0.2px) drop-shadow(0 0 7px #ffc400);
  opacity: 0.42;
}

.seven-stage__beam--one { transform: rotate(17deg); }
.seven-stage__beam--two { transform: rotate(-12deg); animation-delay: -1.7s; }
.seven-stage__beam--three { transform: rotate(1deg); opacity: 0.22; }

.seven-stage__pedestal {
  position: absolute;
  left: 50%;
  bottom: 7%;
  width: 48%;
  height: 80px;
  transform: translateX(-50%) perspective(500px) rotateX(65deg);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 194, 0, 0.4), rgba(21, 14, 0, 0.86) 42%, transparent 68%);
  box-shadow: 0 0 48px rgba(255, 183, 0, 0.45);
}

.seven-stage__pedestal span {
  position: absolute;
  inset: 12%;
  border: 2px solid rgba(255, 205, 57, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 196, 0, 0.85), inset 0 0 13px rgba(255, 196, 0, 0.65);
  animation: sevenPedestalPulse 2.8s ease-in-out infinite;
}

.seven-stage__pedestal span:nth-child(2) { inset: 27%; animation-delay: -0.8s; }
.seven-stage__pedestal span:nth-child(3) { inset: 40%; animation-delay: -1.6s; }

.seven-mark {
  position: relative;
  z-index: 3;
  width: clamp(215px, 29vw, 375px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  animation: sevenLogoFloat 4.6s ease-in-out infinite, sevenLogoTurn 10s ease-in-out infinite;
}

.seven-mark__glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 208, 55, 0.34), rgba(255, 181, 0, 0.08) 48%, transparent 70%);
  filter: blur(13px);
  animation: sevenGlowPulse 2.6s ease-in-out infinite;
}

.seven-mark__stack {
  position: absolute;
  inset: 5%;
  transform-style: preserve-3d;
  transform: rotate(-4deg);
}

.seven-mark__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform:
    translate3d(
      calc((var(--layer-count) - var(--layer)) * 2.2px),
      calc((var(--layer-count) - var(--layer)) * 1.35px),
      calc(var(--layer) * 3px)
    );
  fill: #7b4c00;
  stroke: #ffbd00;
  stroke-width: 2.1;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 1px rgba(0, 0, 0, 0.45));
}

.seven-mark__layer:nth-child(2n) { fill: #b16d00; }

.seven-mark__layer.is-top {
  fill: #090d13;
  stroke: #ffd044;
  stroke-width: 3.6;
  filter:
    drop-shadow(0 0 5px rgba(255, 202, 38, 0.9))
    drop-shadow(10px 15px 13px rgba(0, 0, 0, 0.6));
}

.seven-mark__layer.is-top .seven-mark__cut {
  fill: #ffc400;
  stroke: #ffe273;
}

.seven-mark--compact {
  width: 92px;
  animation: sevenLogoFloat 4.8s ease-in-out infinite, sevenLogoTurnCompact 9s ease-in-out infinite;
}

.seven-mark--compact .seven-mark__glow { inset: 0; }
.seven-mark--compact .seven-mark__layer { stroke-width: 2.4; }
.seven-mark--compact .seven-mark__layer.is-top { stroke-width: 3.2; }

.seven-chip {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid rgba(255, 196, 0, 0.62);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(15, 19, 25, 0.94), rgba(27, 25, 18, 0.82));
  color: #f6f8fb;
  font-size: clamp(13px, 1vw, 18px);
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34), 0 0 14px rgba(255, 196, 0, 0.08);
  backdrop-filter: blur(10px);
  animation: sevenChipFloat 4.4s ease-in-out infinite;
}

.seven-chip svg { color: var(--seven-gold); }
.seven-chip--ai { left: 6%; top: 17%; transform: rotate(-5deg); }
.seven-chip--enterprise { right: 5%; top: 15%; transform: rotate(4deg); animation-delay: -0.8s; }
.seven-chip--kpi { left: -1%; top: 45%; transform: rotate(-4deg); animation-delay: -1.4s; }
.seven-chip--onboarding { right: 1%; top: 42%; transform: rotate(-3deg); animation-delay: -2.1s; }
.seven-chip--face { left: 4%; top: 69%; transform: rotate(-3deg); animation-delay: -2.7s; }
.seven-chip--ats { right: 11%; top: 68%; transform: rotate(5deg); animation-delay: -3.2s; }
.seven-chip--analytics { right: 24%; bottom: 0; transform: rotate(-2deg); animation-delay: -1.8s; }

.seven-hero-copy {
  position: relative;
  z-index: 5;
  margin-top: -12px;
  text-align: center;
  color: white;
}

.seven-hero-copy h1 {
  margin: 0;
  display: grid;
  line-height: 0.98;
  font-size: clamp(39px, 4.25vw, 69px);
  font-weight: 900;
  letter-spacing: -0.045em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.54);
}

.seven-hero-copy h1 em {
  margin-top: 10px;
  color: var(--seven-gold);
  font-style: normal;
}

.seven-hero-copy p {
  max-width: 720px;
  margin: 20px auto 0;
  color: rgba(239, 244, 251, 0.82);
  font-size: clamp(14px, 1.15vw, 19px);
  line-height: 1.55;
}

.seven-feature-grid {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 960px);
  margin: 26px auto 0;
}

.seven-feature-grid article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 116px;
  padding: 22px 20px;
  border: 1px solid rgba(122, 150, 187, 0.22);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(7, 16, 29, 0.74), rgba(5, 11, 20, 0.94));
  color: white;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 18px 38px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.seven-feature-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 196, 0, 0.55);
  box-shadow: 0 19px 42px rgba(0, 0, 0, 0.28), 0 0 23px rgba(255, 196, 0, 0.08);
}

.seven-feature-grid svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: var(--seven-gold);
}

.seven-feature-grid h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.seven-feature-grid p {
  margin: 8px 0 0;
  color: rgba(235, 240, 248, 0.76);
  font-size: 13px;
  line-height: 1.45;
}

.seven-login-panel {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 38px clamp(30px, 5vw, 86px);
  background:
    radial-gradient(circle at 96% 1%, rgba(160, 180, 211, 0.18), transparent 27%),
    linear-gradient(135deg, #ffffff 0%, #f6f8fc 58%, #edf2f8 100%);
  overflow: hidden;
}

.seven-login-panel::before,
.seven-login-panel::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(137, 158, 191, 0.17);
  border-radius: 50%;
  pointer-events: none;
}

.seven-login-panel::before {
  width: 620px;
  height: 620px;
  right: -390px;
  top: 4%;
}

.seven-login-panel::after {
  width: 760px;
  height: 760px;
  left: -550px;
  bottom: -430px;
}

.seven-login-panel__halo {
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 0, 0.08), transparent 67%);
  filter: blur(3px);
  animation: sevenHaloBreathe 7s ease-in-out infinite;
}

.seven-login-card {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  padding: clamp(34px, 4.6vw, 62px);
  border: 1px solid rgba(143, 160, 185, 0.28);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 32px 65px rgba(39, 60, 90, 0.13), inset 0 1px 0 #fff;
  backdrop-filter: blur(18px);
}

.seven-login-card__brand {
  display: grid;
  place-items: center;
  color: #111a28;
}

.seven-login-card__brand strong {
  margin-top: -4px;
  font-size: 20px;
  letter-spacing: 0.1em;
  font-weight: 900;
}

.seven-login-card__heading {
  margin: 18px auto 30px;
  text-align: center;
}

.seven-login-card__heading h2 {
  margin: 0;
  font-size: clamp(30px, 2.4vw, 40px);
  letter-spacing: -0.04em;
  font-weight: 850;
}

.seven-login-card__heading p {
  max-width: 330px;
  margin: 10px auto 0;
  color: #637084;
  font-size: 15px;
  line-height: 1.45;
}

.seven-field {
  display: block;
  margin-top: 18px;
}

.seven-field > span {
  display: block;
  margin-bottom: 9px;
  color: #111827;
  font-size: 14px;
  font-weight: 750;
}

.seven-field__control {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  border: 1px solid #cfd7e3;
  border-radius: 12px;
  background: #fff;
  color: #8a98ab;
  box-shadow: 0 4px 13px rgba(39, 57, 82, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.seven-field__control:focus-within {
  border-color: #e4ae00;
  box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.13), 0 7px 20px rgba(45, 62, 87, 0.08);
  transform: translateY(-1px);
}

.seven-field__control input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #121a26;
  font: inherit;
  font-size: 15px;
}

.seven-field__control input::-moz-placeholder { color: #9ba7b8; }

.seven-field__control input::placeholder { color: #9ba7b8; }

.seven-field__eye {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-right: -8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #7b8798;
  cursor: pointer;
}

.seven-field__eye:hover { background: #f3f6fa; color: #111827; }

.seven-forgot {
  display: block;
  margin: 12px 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1269dd;
  font-size: 13px;
  cursor: pointer;
}

.seven-forgot:hover { text-decoration: underline; }

.seven-login-error {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #ef9b99;
  border-radius: 11px;
  background: #fff2f1;
  color: #b32a27;
  font-size: 13px;
  line-height: 1.45;
}

.seven-login-submit {
  width: 100%;
  height: 54px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid #f0b600;
  border-radius: 11px;
  background: linear-gradient(135deg, #ffd231, #ffbd00);
  color: #10151d;
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 13px 25px rgba(255, 183, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.seven-login-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 17px 29px rgba(255, 174, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.seven-login-submit:active:not(:disabled) { transform: translateY(0); }
.seven-login-submit:disabled { cursor: wait; opacity: 0.75; }

.seven-secure-divider {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: #778497;
  font-size: 13px;
}

.seven-secure-divider span { height: 1px; background: #dfe5ed; }
.seven-secure-divider b { font-weight: 500; }

.seven-login-help {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: #778497;
  font-size: 14px;
}

.seven-spin { animation: sevenSpin 0.85s linear infinite; }

@keyframes sevenLogoFloat {
  0%, 100% { transform: translateY(4px) rotateX(5deg) rotateY(-7deg); }
  50% { transform: translateY(-13px) rotateX(-2deg) rotateY(8deg); }
}

@keyframes sevenLogoTurn {
  0%, 100% { rotate: 0deg; }
  50% { rotate: 1.2deg; }
}

@keyframes sevenLogoTurnCompact {
  0%, 100% { rotate: -1deg; }
  50% { rotate: 2deg; }
}

@keyframes sevenGlowPulse {
  0%, 100% { opacity: 0.62; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes sevenChipFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes sevenParticlePulse {
  0%, 100% { opacity: 0.25; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.5); }
}

@keyframes sevenHaloTurn {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes sevenOrbitSpin {
  from { transform: translate(-50%, -50%) rotateX(67deg) rotateZ(0); }
  to { transform: translate(-50%, -50%) rotateX(67deg) rotateZ(360deg); }
}

@keyframes sevenOrbitSpinReverse {
  from { transform: translate(-50%, -50%) rotateX(67deg) rotateZ(360deg); }
  to { transform: translate(-50%, -50%) rotateX(67deg) rotateZ(0); }
}

@keyframes sevenPedestalPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes sevenHaloBreathe {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.08); opacity: 0.95; }
}

@keyframes sevenSpin { to { transform: rotate(360deg); } }

@media (max-width: 1360px) {
  .seven-login-shell { grid-template-columns: minmax(610px, 1.06fr) minmax(430px, 0.94fr); }
  .seven-login-hero { padding: 30px; }
  .seven-stage { height: 390px; }
  .seven-chip { padding: 9px 13px; }
  .seven-feature-grid article { padding: 17px 15px; }
}

@media (max-width: 1120px) {
  .seven-login-shell { grid-template-columns: 1fr; overflow: auto; }
  .seven-login-hero { min-height: 720px; }
  .seven-login-panel { min-height: 680px; }
  .seven-stage { width: min(92%, 760px); }
}

@media (max-width: 720px) {
  .seven-login-hero { min-height: 660px; padding: 22px 18px; }
  .seven-brand-lockup img { width: 46px; height: 46px; }
  .seven-brand-lockup strong { font-size: 20px; }
  .seven-stage { height: 330px; width: 100%; }
  .seven-chip { font-size: 11px; padding: 7px 10px; border-radius: 11px; }
  .seven-chip svg { width: 16px; height: 16px; }
  .seven-chip--kpi, .seven-chip--ats { display: none; }
  .seven-hero-copy { margin-top: -5px; }
  .seven-hero-copy h1 { font-size: clamp(35px, 11vw, 49px); }
  .seven-feature-grid { grid-template-columns: 1fr; max-width: 480px; }
  .seven-feature-grid article { min-height: 88px; }
  .seven-login-panel { min-height: 640px; padding: 30px 17px; }
  .seven-login-card { padding: 34px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .seven-login-shell *,
  .seven-login-shell *::before,
  .seven-login-shell *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
