@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

:root {
  --color-black: #050505;
  --color-text: #161616;
  --color-text-soft: #111111;
  --color-accent: #ff0090;
  --color-cream: #f7f2ea;
  --color-cream-dark: #efe8de;
  --color-muted: #d8d3cc;
  --color-gray: #505050;
  --color-store-muted: #a9a4a0;
  --container: 1280px;
  --nav-height: 80px;
  --side: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.container {
  width: min(var(--container), calc(100% - (var(--side) * 2)));
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: transparent;
  transition: background 0.3s;
}
.navbar.is-scrolled,
.navbar.is-solid,
.navbar.is-open { background: var(--color-black); }
.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  display: block;
  width: 180px;
  height: auto;
  flex-shrink: 0;
}
.navbar__logo img { width: 100%; height: auto; }
.navbar__menu {
  display: flex;
  align-items: center;
  gap: 40px;
}
.navbar__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.navbar__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-cream);
  transition: transform 0.25s, opacity 0.25s;
}
.navbar__backdrop {
  display: none;
}
.nav-link {
  position: relative;
  padding: 10px 0 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-cream);
  line-height: 1.5;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.nav-link:hover::after,
.nav-link.is-active::after { opacity: 1; }

/* Footer — Figma: badges | divider | patent texts */
.footer {
  margin-top: auto;
  background: var(--color-black);
  color: var(--color-cream);
  padding: 28px 0;
  min-height: 96px;
  display: flex;
  align-items: center;
}
.footer__inner {
  width: min(var(--container), calc(100% - (var(--side) * 2)));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 13px; font-weight: 400; }
.footer__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  line-height: 1.6;
}
.footer__badges {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__badge {
  width: 35px;
  height: 40px;
  object-fit: contain;
}
.footer__divider {
  width: 1px;
  height: 40px;
  background: var(--color-cream);
  opacity: 0.35;
}
.footer__links { color: var(--color-cream); }

/* Labels */
.label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
}
.label--accent { color: var(--color-accent); }
.label--dark { color: var(--color-text); }
.label--cream { color: var(--color-cream); }

.display {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  line-height: 1;
}

.section { padding: 80px 0; }
.section--dark { background: var(--color-black); color: var(--color-cream); }
.section--cream { background: var(--color-cream); color: var(--color-text); }
.section--gradient {
  background: linear-gradient(90deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
}

.service-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(22, 22, 22, 0.1);
}
.service-row:last-child { border-bottom: 1px solid rgba(22, 22, 22, 0.1); }
.service-row__tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  white-space: pre-line;
  line-height: 1.3;
}
.service-row__text {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

@media (max-width: 1024px) {
  :root { --side: 24px; }
  .navbar__logo { width: 140px; }

  .navbar__toggle { display: flex; }

  .navbar__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 82vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: calc(var(--nav-height) + 24px) 32px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: var(--color-black);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 120;
    overflow-y: auto;
  }
  .navbar.is-open .navbar__menu { transform: translateX(0); }

  .navbar__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 110;
  }
  .navbar.is-open .navbar__backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .navbar.is-open .navbar__toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .navbar.is-open .navbar__toggle-bar:nth-child(2) { opacity: 0; }
  .navbar.is-open .navbar__toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-link {
    width: 100%;
    padding: 16px 0;
    font-size: 20px;
    border-bottom: 1px solid rgba(247, 242, 234, 0.1);
  }
  .nav-link::after {
    left: 0;
    transform: none;
    bottom: 12px;
  }
  .nav-link.is-active::after { opacity: 1; }
}
