:root {
  --navy: #071632;
  --navy2: #0c2450;
  --blue: #2a78ff;
  --cyan: #4fd5ff;
  --yellow: #ffd34e;
  --ink: #101a2d;
  --muted: #667085;
  --line: #dfe5ef;
  --paper: #f6f8fc;
  --white: #fff;
  --radius: 28px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family:
    Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  background: #fff;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 99;
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
}
.skip:focus {
  top: 1rem;
}
.site-header {
  height: 78px;
  padding: 0 clamp(20px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border: 2px solid var(--cyan);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-weight: 900;
  font-size: 1.3rem;
}
.brand b,
.brand small {
  display: block;
}
.brand b {
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.brand small {
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  color: #9fc3ee;
}
nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.92rem;
}
nav a {
  opacity: 0.84;
}
nav a:hover {
  opacity: 1;
  color: var(--cyan);
}
.nav-contact {
  border: 1px solid #ffffff50;
  border-radius: 999px;
  padding: 0.62rem 1rem;
}
.menu-btn {
  display: none;
}
.hero {
  position: relative;
  min-height: 720px;
  height: min(88vh, 900px);
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
}
.hero-art {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 16, 41, 0.98) 0%,
      rgba(5, 20, 49, 0.9) 35%,
      rgba(5, 20, 49, 0.18) 70%,
      rgba(5, 20, 49, 0.06)
    ),
    linear-gradient(0deg, rgba(7, 22, 50, 0.55), transparent 40%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1220px, 90vw);
  margin: 0 auto;
  padding-top: 60px;
}
.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.19em;
  font-size: 0.78rem;
}
.eyebrow.dark {
  color: var(--blue);
}
h1,
h2,
h3,
p {
  word-break: keep-all;
}
.hero h1 {
  font-size: clamp(2.7rem, 6.3vw, 5.8rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
  margin: 0;
  max-width: 820px;
}
.hero h1 span {
  color: var(--cyan);
}
.hero-copy {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 560px;
  color: #d7e7ff;
  margin: 1.6rem 0 2rem;
}
.hero-actions {
  display: flex;
  gap: 0.8rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.4rem;
  border-radius: 14px;
  font-weight: 800;
}
.primary {
  background: var(--cyan);
  color: var(--navy);
}
.ghost {
  border: 1px solid #ffffff70;
  color: #fff;
}
.hero-proof {
  display: flex;
  margin-top: 3.2rem;
  gap: 2rem;
  color: #9fc3ee;
  font-size: 0.84rem;
}
.hero-proof span {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
}
.hero-proof b {
  color: #fff;
  font-size: 1.25rem;
}
.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 120px 24px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 48px;
}
.section-head h2,
.future h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1.15;
  letter-spacing: -0.055em;
  margin: 0;
}
.section-head > p {
  max-width: 390px;
  color: var(--muted);
  margin: 0;
}
.product-card {
  position: relative;
  min-height: 510px;
  border-radius: var(--radius);
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  align-items: center;
  overflow: hidden;
  margin-top: 28px;
}
.product-index {
  position: absolute;
  top: 26px;
  left: 30px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.game-card {
  background: #eaf2ff;
}
.ai-card {
  background: var(--navy);
  color: #fff;
}
.midnight-card {
  background: #071719;
  color: #eefcf8;
}
.midnight-card .product-info p,
.midnight-card .product-info li {
  color: #b8cfca;
}
.midnight-card .product-info li:before {
  color: #35e2c3;
}
.midnight-card .text-link span {
  color: #ffb02e;
}
.midnight-visual {
  background: radial-gradient(circle at 70% 25%, #173c43, #09191c 62%);
  border: 1px solid #31565a;
  box-shadow: inset 0 0 70px #0008;
}
.midnight-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 5px, #8fcac307 6px 7px);
  pointer-events: none;
}
.midnight-time {
  position: absolute;
  right: 22px;
  top: 18px;
  color: #789894;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}
.midnight-title {
  position: absolute;
  z-index: 2;
  left: 30px;
  top: 48px;
}
.midnight-title small {
  display: block;
  color: #35e2c3;
  font-weight: 900;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
}
.midnight-title strong {
  display: block;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.midnight-title em {
  color: #ffb02e;
  font-style: normal;
}
.conveyor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: repeating-linear-gradient(125deg, #191f1e 0 34px, #c89929 35px 57px, #191f1e 58px 88px);
  border-top: 7px solid #253a3a;
}
.conveyor span {
  position: absolute;
  width: 90px;
  height: 70px;
  right: 22%;
  bottom: 38px;
  background: linear-gradient(135deg, #766c58, #4d463a);
  box-shadow: 0 18px 26px #0009;
  transform: skewY(-5deg);
}
.product-visual {
  height: 360px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.game-visual {
  background: radial-gradient(circle at 55% 45%, #d8f8ff, #8bdcf5 48%, #256ed8);
  box-shadow: inset 0 0 0 1px #ffffff80;
}
.mini-bot {
  position: absolute;
  width: 150px;
  height: 112px;
  background: #fff;
  border-radius: 60px 60px 45px 45px;
  top: 105px;
  left: 38%;
  transform: rotate(-12deg);
  box-shadow: 0 25px 55px #07418d66;
  display: grid;
  place-items: center;
  color: #14addb;
  font-size: 5rem;
  font-weight: 900;
}
.mini-bot:after {
  content: "";
  position: absolute;
  inset: 23px 31px 38px;
  border-radius: 34px;
  background: #071632;
  z-index: -1;
}
.orbit {
  position: absolute;
  width: 400px;
  height: 130px;
  border: 4px solid #fff8;
  border-radius: 50%;
  top: 120px;
  left: 8%;
  transform: rotate(-17deg);
}
.dust {
  position: absolute;
  width: 26px;
  height: 26px;
  background: var(--yellow);
  border-radius: 8px;
  box-shadow: 0 6px 18px #71480044;
}
.d1 {
  top: 65px;
  right: 50px;
  transform: rotate(22deg);
}
.d2 {
  bottom: 55px;
  left: 60px;
  transform: rotate(-15deg);
}
.d3 {
  bottom: 40px;
  right: 110px;
  transform: scale(0.65) rotate(45deg);
}
.ai-visual {
  background: radial-gradient(circle at 45% 45%, #164c94, #081a3a 62%);
  box-shadow: inset 0 0 0 1px #3c7cca;
}
.ai-core {
  position: absolute;
  inset: 90px auto auto 32%;
  width: 145px;
  height: 145px;
  border-radius: 46%;
  background: linear-gradient(145deg, #eafcff, #8be9ff);
  box-shadow: 0 0 80px #45cfff90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
}
.ai-core span {
  width: 12px;
  height: 20px;
  background: #095aa8;
  border-radius: 10px;
}
.note {
  position: absolute;
  background: #ffffffed;
  color: #17325e;
  border-radius: 14px;
  padding: 12px 15px;
  box-shadow: 0 12px 30px #0005;
  font-size: 0.8rem;
  font-weight: 700;
}
.note b {
  color: var(--blue);
  margin-left: 10px;
}
.n1 {
  top: 38px;
  left: 12px;
}
.n2 {
  right: 13px;
  top: 105px;
}
.n3 {
  bottom: 33px;
  left: 28px;
}
.product-info {
  padding: 20px;
}
.pill {
  display: inline-block;
  border: 1px solid currentColor;
  border-radius: 99px;
  padding: 0.36rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0.75;
}
.product-info h3 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.055em;
  line-height: 1.1;
  margin: 1.1rem 0;
}
.product-info p {
  color: #5d6a7e;
  font-size: 1.03rem;
}
.ai-card .product-info p,
.ai-card .product-info li {
  color: #c5d5ee;
}
.product-info ul {
  padding: 0;
  list-style: none;
  margin: 1.5rem 0;
}
.product-info li {
  padding: 0.35rem 0;
  color: #35435b;
}
.product-info li:before {
  content: "✓";
  color: var(--blue);
  font-weight: 900;
  margin-right: 0.65rem;
}
.ai-card li:before {
  color: var(--cyan);
}
.text-link {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  font-weight: 900;
  border-bottom: 2px solid currentColor;
  padding-bottom: 0.25rem;
}
.text-link span {
  color: var(--blue);
}
.ai-card .text-link span {
  color: var(--cyan);
}
.statement {
  background: var(--blue);
  color: #fff;
  padding: 110px max(6vw, 24px);
  text-align: center;
}
.statement .eyebrow {
  color: #cbe6ff;
}
.statement h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  letter-spacing: -0.06em;
  line-height: 1.18;
  margin: 0 auto;
  max-width: 900px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
  margin: 65px auto 0;
  border-top: 1px solid #ffffff50;
}
.principles div {
  padding: 35px 25px;
  border-right: 1px solid #ffffff40;
}
.principles div:last-child {
  border: 0;
}
.principles b {
  font-size: 1.35rem;
}
.principles p {
  color: #dbe9ff;
  margin: 0.6rem 0 0;
}
.future {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 8%;
}
.future-copy > p:last-child {
  color: var(--muted);
  max-width: 470px;
  margin-top: 1.7rem;
}
.lab-board {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 60px #10254e12;
}
.board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.board-top i {
  width: 9px;
  height: 9px;
  background: #34c77b;
  border-radius: 50%;
}
.board-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.board-item:last-child {
  border: 0;
}
.board-item > span {
  font-weight: 900;
  color: var(--blue);
}
.board-item p {
  margin: 0;
}
.board-item b {
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  background: #dce8ff;
  color: #2058ae;
  border-radius: 99px;
  padding: 0.4rem 0.6rem;
}
.contact {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 110px 24px;
}
.contact h2 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.12;
  letter-spacing: -0.06em;
  margin: 0;
}
.contact > p:not(.eyebrow) {
  color: #b9cae6;
}
.contact > a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--cyan);
  font-size: clamp(1.05rem, 2.3vw, 1.5rem);
  font-weight: 900;
  margin-top: 1.2rem;
  border-bottom: 2px solid var(--cyan);
}
footer {
  padding: 48px max(5vw, 24px);
  background: #040d20;
  color: #98a9c3;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  font-size: 0.82rem;
}
.footer-brand b,
.footer-brand span {
  display: block;
}
.footer-brand b {
  color: #fff;
  font-size: 1rem;
}
.company {
  display: flex;
  gap: 1.2rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.legal-links {
  display: flex;
  gap: 1.2rem;
}
.legal-links button {
  border: 0;
  padding: 0;
  background: none;
  color: #b9c7da;
  cursor: pointer;
}
.copyright {
  text-align: right;
  margin: 0;
}
dialog {
  border: 0;
  border-radius: 22px;
  width: min(720px, 90vw);
  max-height: 80vh;
  padding: 40px;
  box-shadow: 0 30px 100px #0008;
  color: var(--ink);
}
dialog::backdrop {
  background: #061129cc;
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
}
.policy h2 {
  font-size: 1.65rem;
}
.policy h3 {
  margin-top: 1.8rem;
}
.policy p,
.policy li {
  color: #4f5d73;
}
.policy time {
  font-size: 0.8rem;
  color: #78869c;
}
@media (max-width: 850px) {
  .site-header {
    height: 68px;
  }
  .menu-btn {
    display: block;
    color: #fff;
    background: #ffffff14;
    border: 1px solid #ffffff40;
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
  }
  nav {
    display: none;
    position: absolute;
    top: 64px;
    right: 20px;
    background: #0b2047;
    border: 1px solid #ffffff30;
    padding: 18px;
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    min-width: 180px;
  }
  nav.open {
    display: flex;
  }
  .hero {
    min-height: 760px;
    height: 92vh;
  }
  .hero-art {
    object-position: 63% center;
    opacity: 0.62;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 16, 41, 0.97), rgba(4, 16, 41, 0.73)),
      linear-gradient(0deg, rgba(7, 22, 50, 0.8), transparent);
  }
  .hero-content {
    padding-top: 80px;
  }
  .hero-proof {
    gap: 1rem;
    flex-wrap: wrap;
  }
  .section {
    padding: 82px 20px;
  }
  .section-head {
    display: block;
  }
  .section-head > p {
    margin-top: 1rem;
  }
  .product-card {
    grid-template-columns: 1fr;
    padding: 50px 20px 28px;
    gap: 0;
  }
  .product-visual {
    height: 280px;
  }
  .product-info {
    padding: 28px 4px 5px;
  }
  .ai-card .product-visual {
    order: 0;
  }
  .principles {
    grid-template-columns: 1fr;
  }
  .principles div {
    border-right: 0;
    border-bottom: 1px solid #ffffff40;
  }
  .future {
    grid-template-columns: 1fr;
  }
  .lab-board {
    margin-top: 20px;
  }
  .company {
    justify-content: flex-start;
  }
  .copyright {
    text-align: left;
  }
  footer {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.55rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-proof {
    display: none;
  }
  .product-visual {
    height: 230px;
  }
  .mini-bot {
    transform: scale(0.75) rotate(-12deg);
    left: 27%;
    top: 68px;
  }
  .note {
    font-size: 0.68rem;
  }
  .ai-core {
    transform: scale(0.8);
    left: 25%;
    top: 54px;
  }
  .board-item {
    grid-template-columns: 60px 1fr;
  }
  .board-item b {
    display: none;
  }
  .company {
    display: grid;
    gap: 0.3rem;
  }
  .legal-links {
    flex-wrap: wrap;
  }
  dialog {
    padding: 34px 22px;
  }
}
/* HumaNote AI robot logo */
.humanote-robot-logo {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -8%;
  height: 92%;
  width: auto;
  transform: translateX(-50%);
  object-fit: contain;
  filter: drop-shadow(0 24px 30px #001333aa);
}
.ai-visual .note {
  z-index: 2;
}
@media (max-width: 480px) {
  .humanote-robot-logo {
    height: 108%;
    bottom: -16%;
  }
  .ai-visual .n1 {
    top: 20px;
  }
  .ai-visual .n2 {
    top: 72px;
  }
  .ai-visual .n3 {
    bottom: 18px;
  }
}
/* Fly, Cleanbot official robot logo */
.cleanbot-logo {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1%;
  height: 88%;
  width: auto;
  transform: translateX(-50%) rotate(-4deg);
  object-fit: contain;
  filter: drop-shadow(0 24px 28px #07418d66);
}
.game-visual .orbit {
  z-index: 1;
}
.game-visual .dust {
  z-index: 3;
}
@media (max-width: 480px) {
  .cleanbot-logo {
    height: 90%;
    bottom: 0;
  }
}

/* Korean / English language switch */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.language-switch {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  border: 1px solid #ffffff40;
  border-radius: 999px;
  padding: 0.34rem 0.55rem;
  background: #07163255;
  backdrop-filter: blur(8px);
}
.language-switch button {
  border: 0;
  background: none;
  color: #c5d5ee;
  padding: 0.1rem 0.2rem;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}
.language-switch button[aria-pressed="true"] {
  color: var(--cyan);
}
.language-switch span {
  color: #ffffff55;
  font-size: 0.7rem;
}
.hero-proof i,
.text-link i,
.note i {
  font-style: normal;
}
@media (max-width: 850px) {
  .site-header {
    gap: 0.6rem;
  }
  .header-actions {
    margin-left: auto;
  }
  .language-switch {
    padding: 0.3rem 0.45rem;
  }
}
@media (max-width: 480px) {
  .brand small {
    display: none;
  }
  .header-actions {
    gap: 0.45rem;
  }
  .language-switch {
    gap: 0.25rem;
    padding: 0.28rem 0.38rem;
  }
}
