:root {
  --bg-0: #020911;
  --bg-1: #041727;
  --bg-2: #082538;
  --text: #f6fbff;
  --muted: rgba(231, 240, 247, 0.78);
  --teal: #1fe5dd;
  --teal-soft: rgba(31, 229, 221, 0.18);
  --gold: #f0af34;
  --line: rgba(31, 229, 221, 0.42);
  --max: 1600px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  color: var(--text);
  background: var(--bg-0);
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(2, 8, 16, 0.1) 0%, rgba(2, 8, 16, 0.04) 43%, rgba(2, 8, 16, 0.12) 100%),
    url("assets/hero-background.png") center center / cover no-repeat,
    var(--bg-0);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.hero::before {
  background: linear-gradient(90deg, rgba(2, 8, 16, 0.1), transparent 44%, rgba(2, 8, 16, 0.12));
}

.hero::after {
  background: linear-gradient(180deg, rgba(2, 8, 16, 0.08), transparent 30%, rgba(2, 8, 16, 0.06));
  opacity: 1;
  z-index: -1;
}

.site-header {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 128px), var(--max));
  margin: 0 auto;
  padding-top: 29px;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: 64px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 100%;
  filter:
    brightness(1.75)
    contrast(1.16)
    saturate(1.08)
    drop-shadow(0 0 8px rgba(2, 9, 17, 0.72))
    drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(44px, 4.7vw, 73px);
  margin-left: clamp(420px, 42.95vw, 687px);
  font-size: clamp(16px, 1.35vw, 22px);
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a,
.text-action {
  transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-links a:hover,
.text-action:hover {
  color: var(--teal);
  text-shadow: 0 0 16px rgba(31, 229, 221, 0.52);
}

.site-header--light {
  padding-top: 24px;
  padding-bottom: 20px;
  color: #101926;
}

.site-header--light .brand-logo {
  filter: none;
}

.site-header--light .nav-links a {
  color: #172132;
  text-shadow: none;
}

.site-header--light .nav-links a:hover,
.site-header--light .nav-links a.is-active {
  color: #088a8f;
  text-shadow: none;
}

.site-header--light .header-cta {
  background: #fff;
  color: #088a8f;
  box-shadow:
    inset 0 0 0 1px rgba(8, 138, 143, 0.08),
    0 10px 28px rgba(15, 35, 55, 0.08);
}

.header-cta,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--teal);
  border-radius: 999px;
  background:
    linear-gradient(130deg, rgba(31, 229, 221, 0.18), rgba(31, 229, 221, 0.03)),
    rgba(3, 23, 36, 0.52);
  color: var(--teal);
  box-shadow:
    inset 0 0 22px rgba(31, 229, 221, 0.17),
    0 0 24px rgba(31, 229, 221, 0.18);
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  margin-left: clamp(28px, 2.35vw, 38px);
  min-width: 205px;
  height: 59px;
  padding: 0 28px 0 33px;
  font-size: clamp(16px, 1.35vw, 22px);
}

.arrow {
  font-size: 1.45em;
  line-height: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 160px), var(--max));
  margin: 0 auto;
  padding-top: clamp(132px, 17.5vh, 180px);
}

.hero-copy h1 {
  margin: 0;
  max-width: 665px;
  font-size: clamp(40px, 3.65vw, 58px);
  line-height: 1.45;
  font-weight: 850;
  letter-spacing: 0;
  text-wrap: balance;
  word-break: keep-all;
  text-shadow:
    0 5px 18px rgba(0, 0, 0, 0.38),
    0 0 1px rgba(255, 255, 255, 0.7);
}

.hero-copy h1 strong {
  color: var(--teal);
  font-style: normal;
  text-shadow:
    0 0 18px rgba(31, 229, 221, 0.42),
    0 5px 18px rgba(0, 0, 0, 0.38);
}

.hero-copy p {
  margin: 29px 0 0;
  max-width: 710px;
  color: var(--muted);
  font-size: clamp(18px, 1.42vw, 22px);
  line-height: 1.58;
  font-weight: 600;
  word-break: keep-all;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.42);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 43px;
}

.primary-action {
  min-width: 250px;
  height: 74px;
  padding: 0 36px 0 52px;
  font-size: clamp(18px, 1.55vw, 24px);
  color: #f8ffff;
  background:
    linear-gradient(135deg, rgba(17, 228, 213, 0.95), rgba(17, 197, 187, 0.78) 46%, rgba(5, 48, 62, 0.42)),
    rgba(5, 47, 58, 0.82);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.14),
    0 0 28px rgba(31, 229, 221, 0.26);
}

.text-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 29px;
  min-width: 145px;
  padding: 14px 0 17px;
  color: #f4fbff;
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 750;
  white-space: nowrap;
}

.text-action::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), rgba(31, 229, 221, 0.05));
  box-shadow: 0 0 10px rgba(31, 229, 221, 0.38);
}

.solution-page {
  min-height: 100vh;
  color: #20242c;
  background: #fff;
}

.solution-main {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 59, 73, 0.08), transparent 18%),
    radial-gradient(circle at 8% 12%, rgba(23, 162, 154, 0.07), transparent 22%),
    #fff;
}

.solution-problems {
  width: min(calc(100% - 128px), var(--max));
  min-height: calc(100vh - 108px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(540px, 0.95fr) minmax(420px, 0.8fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  padding: 34px 0 78px;
}

.solution-copy h1 {
  margin: 0;
  color: #1f232b;
  font-size: clamp(34px, 3vw, 47px);
  line-height: 1.22;
  font-weight: 850;
  letter-spacing: 0;
  word-break: keep-all;
}

.solution-copy h1 span {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.solution-copy h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: -2px;
  bottom: 2px;
  height: 8px;
  z-index: -1;
  background: #ff6670;
}

.problem-list {
  display: grid;
  gap: 30px;
  margin-top: 64px;
}

.problem-card {
  width: min(520px, 100%);
  min-height: 72px;
  margin: 0;
  display: block;
  padding: 18px 32px;
  border-radius: 999px;
  background: #fff;
  color: #20242c;
  font-size: clamp(20px, 1.42vw, 24px);
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 0;
  word-break: keep-all;
  box-shadow: 0 18px 24px rgba(15, 23, 42, 0.1);
}

.problem-card--compact {
  width: min(510px, 100%);
  min-height: 108px;
  border-radius: 30px 30px 0 30px;
  margin-left: 36px;
}

.problem-card--wide {
  width: min(570px, 100%);
}

.problem-card mark {
  padding: 0 4px;
  color: #ff353f;
  background: linear-gradient(180deg, transparent 42%, #fff09a 42%);
}

.solution-visual {
  margin: 0;
  align-self: end;
}

.solution-visual img {
  display: block;
  width: min(100%, 620px);
  height: auto;
}

@media (max-width: 1200px) {
  .site-header {
    width: min(calc(100% - 64px), var(--max));
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 34px;
    margin-left: 0;
    padding-top: 10px;
  }

  .header-cta {
    justify-self: end;
    margin-left: 0;
  }

  .site-header--light .nav-links {
    justify-content: flex-start;
  }

  .hero-copy {
    width: min(calc(100% - 64px), var(--max));
    padding-top: 112px;
  }

  .hero {
    background-position: 64% center;
  }

  .solution-problems {
    width: min(calc(100% - 64px), var(--max));
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 54px;
  }

  .solution-visual {
    justify-self: center;
    align-self: center;
    width: min(620px, 100%);
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(2, 8, 16, 0.66), rgba(2, 8, 16, 0.22));
  }

  .site-header {
    width: min(calc(100% - 36px), var(--max));
    padding-top: 20px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .brand {
    height: 44px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    justify-self: start;
    min-width: 164px;
    height: 50px;
    padding: 0 22px;
    font-size: 16px;
  }

  .site-header--light {
    padding-bottom: 16px;
  }

  .site-header--light .nav-links {
    display: flex;
    order: 2;
    grid-column: auto;
    gap: 26px;
    padding-top: 0;
    color: #172132;
  }

  .site-header--light .header-cta {
    order: 3;
  }

  .hero-copy {
    width: min(calc(100% - 36px), var(--max));
    padding-top: 72px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.7vw, 34px);
    line-height: 1.38;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 1.68;
  }

  .hero-copy p br {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-top: 36px;
  }

  .primary-action {
    min-width: 230px;
    height: 66px;
    padding: 0 32px 0 42px;
  }

  .hero {
    background-position: 70% center;
  }

  .solution-problems {
    width: min(calc(100% - 36px), var(--max));
    min-height: auto;
    padding: 30px 0 54px;
  }

  .solution-copy h1 {
    font-size: clamp(30px, 8.4vw, 38px);
  }

  .problem-list {
    gap: 18px;
    margin-top: 36px;
  }

  .problem-card,
  .problem-card--compact,
  .problem-card--wide {
    width: 100%;
    min-height: 68px;
    margin-left: 0;
    padding: 17px 20px;
    border-radius: 20px;
    font-size: 18px;
  }

  .solution-visual {
    width: 100%;
  }
}

.login-page {
  min-height: 100vh;
  background: var(--bg-0);
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background:
    linear-gradient(90deg, rgba(2, 8, 16, 0.1), rgba(2, 8, 16, 0.08)),
    radial-gradient(circle at 50% 42%, rgba(20, 211, 207, 0.16), transparent 28%),
    url("assets/login-background.png") center center / cover no-repeat;
}

.login-panel {
  width: min(460px, calc(100vw - 40px));
  padding: 42px 42px 34px;
  border: 1px solid rgba(31, 229, 221, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(5, 25, 39, 0.88), rgba(3, 12, 22, 0.84)),
    rgba(2, 11, 19, 0.84);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 34px rgba(31, 229, 221, 0.12);
  backdrop-filter: blur(8px);
}

.login-logo-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.login-logo {
  display: block;
  width: min(300px, 78vw);
  height: auto;
  filter:
    brightness(1.82)
    contrast(1.15)
    saturate(1.08)
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.42));
}

.login-heading {
  margin-top: 30px;
  text-align: center;
}

.login-heading h1 {
  margin: 0;
  color: #f7fbff;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0;
}

.login-heading p {
  margin: 10px 0 0;
  color: rgba(225, 238, 247, 0.74);
  font-size: 15px;
  font-weight: 650;
}

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

.login-field {
  display: grid;
  gap: 8px;
}

.login-field span {
  color: rgba(245, 250, 255, 0.9);
  font-size: 15px;
  font-weight: 750;
}

.login-field input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(31, 229, 221, 0.42);
  border-radius: 8px;
  outline: none;
  background: rgba(1, 11, 20, 0.72);
  color: #f8fcff;
  font: inherit;
  font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.login-field input::placeholder {
  color: rgba(207, 223, 235, 0.48);
}

.login-field input:focus {
  border-color: var(--teal);
  box-shadow:
    0 0 0 3px rgba(31, 229, 221, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.login-submit {
  height: 56px;
  margin-top: 4px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #1de1d6, #13b8b2 54%, #0a5263);
  color: #f9ffff;
  font: inherit;
  font-size: 17px;
  font-weight: 850;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 28px rgba(17, 197, 187, 0.18);
}

.login-submit:hover {
  filter: brightness(1.08);
}

.login-contact {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(31, 229, 221, 0.2);
  color: rgba(228, 239, 247, 0.78);
  font-style: normal;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.login-contact a {
  transition: color 180ms ease, text-shadow 180ms ease;
}

.login-contact a:hover {
  color: var(--teal);
  text-shadow: 0 0 14px rgba(31, 229, 221, 0.35);
}

@media (max-width: 760px) {
  .login-screen {
    align-items: start;
    padding-top: 34px;
    background-position: center center;
  }

  .login-panel {
    padding: 32px 22px 28px;
  }

  .login-logo {
    width: min(250px, 76vw);
  }

  .login-heading {
    margin-top: 24px;
  }

  .login-heading h1 {
    font-size: 26px;
  }
}
