﻿:root {
  --bg: #222634;
  --bg-deep: #1b1f2b;
  --header: rgba(45, 49, 64, 0.96);
  --panel: rgba(43, 47, 61, 0.94);
  --panel-deep: #242834;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f6ff;
  --muted: #aab0c2;
  --muted-2: #7f879d;
  --accent: #008dff;
  --accent-2: #23b7ff;
  --accent-soft: rgba(0, 141, 255, 0.16);
  --green: #55d5a6;
  --shadow: 0 18px 48px rgba(9, 12, 22, 0.28);
  --shadow-soft: 0 10px 28px rgba(9, 12, 22, 0.18);
  --radius: 11px;
  --radius-sm: 7px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(40, 45, 59, 0.88), rgba(40, 45, 59, 0.91)),
    radial-gradient(
      circle at 8% 18%,
      rgba(0, 141, 255, 0.28),
      transparent 24%
    ),
    radial-gradient(
      circle at 86% 40%,
      rgba(82, 215, 255, 0.12),
      transparent 25%
    ),
    linear-gradient(135deg, #333949 0%, #242936 48%, #1f2330 100%);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans KR",
    sans-serif;
  line-height: 1.55;
  word-break: keep-all;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(
      115deg,
      transparent 0 58%,
      rgba(255, 255, 255, 0.04) 58% 59%,
      transparent 59%
    ),
    repeating-linear-gradient(
      15deg,
      transparent 0 78px,
      rgba(255, 255, 255, 0.025) 79px 80px
    );
  background-size:
    420px 260px,
    100% 100%;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(20, 23, 32, 0.08),
    rgba(20, 23, 32, 0.34)
  );
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.shell {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 12px;
  background: linear-gradient(
    180deg,
    rgba(34, 38, 52, 0.98),
    rgba(34, 38, 52, 0.82) 72%,
    transparent
  );
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 72px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: var(--radius);
  background: var(--header);
  box-shadow: var(--shadow-soft);
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  background: rgba(36, 40, 52, 0.72);
}

.brand::after {
  content: "";
  position: absolute;
  top: 0;
  right: -45px;
  width: 70px;
  height: 100%;
  background: rgba(36, 40, 52, 0.72);
  transform: skewX(-29deg);
  transform-origin: top;
  pointer-events: none;
}

.brand-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px 13px 13px 5px;
  color: #fff;
  background: conic-gradient(
    from 210deg,
    #4ce0fa,
    #009dff,
    #f65ca3,
    #ffd05b,
    #4ce0fa
  );
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  font-size: 18px;
  font-weight: 1000;
  transform: rotate(-8deg);
}

.brand-copy {
  position: relative;
  z-index: 1;
  display: grid;
  line-height: 1.08;
}

.brand-copy strong {
  color: #23b7ff;
  font-size: 21px;
  font-weight: 1000;
  letter-spacing: -0.8px;
}

.brand-copy small {
  margin-top: 4px;
  color: #d8dcee;
  font-size: 10px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  min-width: 0;
  padding: 0 24px 0 48px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 5px;
  color: #f0f2fa;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(19, 22, 31, 0.42);
  transform: translateY(-1px);
}

.button,
.price-button {
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, var(--accent-2), #4d5cf0);
  box-shadow: 0 8px 20px rgba(62, 76, 234, 0.24);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease;
}

.button:hover,
.price-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 12px 26px rgba(62, 76, 234, 0.34);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e9ebf4;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.site-footer {
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.035);
  background: rgba(36, 40, 53, 0.94);
}

.footer-inner {
  display: grid;
  gap: 24px;
  padding: 34px 0 28px;
  color: #aab0c2;
  font-size: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.footer-copy {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #c2c6d4;
}

.footer-copy a {
  color: #23b7ff;
}

.quick-consult {
  position: fixed;
  right: 0;
  top: 48%;
  z-index: 40;
  transform: translateY(-50%);
}

.quick-consult a {
  display: grid;
  place-items: center;
  width: 66px;
  min-height: 94px;
  padding: 10px 8px;
  border-radius: 8px 0 0 8px;
  color: #fff;
  background: linear-gradient(180deg, #129dff, #006fe6);
  box-shadow: 0 12px 28px rgba(22, 28, 90, 0.36);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  line-height: 1.35;
}

.to-top {
  position: fixed;
  right: 17px;
  bottom: 18px;
  z-index: 41;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(28, 36, 130, 0.3);
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 70px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .brand-logo {
    height: 70px;
  }
}
