:root {
  --navy: #071b4a;
  --deep: #020814;
  --page-bg-a: #020814;
  --page-bg-b: #061a46;
  --page-bg-c: #020814;
  --ink: #eaf1ff;
  --muted: #a9b5cc;
  --cyan: #21d4f6;
  --lime: #9cf300;
  --blue: #2f5bff;
  --slate: #6f7c96;
  --line: rgba(124, 163, 214, 0.22);
  --panel: rgba(7, 27, 74, 0.58);
  --panel-solid: rgba(5, 18, 46, 0.84);
  --header-bg: rgba(2, 8, 20, 0.78);
  --heading: #ffffff;
  --lede: rgba(234, 241, 255, 0.78);
  --nav: rgba(234, 241, 255, 0.88);
  --button-ghost-bg: rgba(3, 12, 33, 0.58);
  --theme-toggle-bg: rgba(255, 255, 255, 0.92);
  --theme-toggle-text: #071b4a;
  --input-bg: rgba(2, 8, 20, 0.52);
  --cta-bg: rgba(4, 14, 39, 0.92);
  --asset-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  --white: #ffffff;
}

:root[data-theme="light"] {
  --page-bg-a: #ffffff;
  --page-bg-b: #f5f7fb;
  --page-bg-c: #eef6ff;
  --ink: #071b4a;
  --muted: #526078;
  --line: rgba(7, 27, 74, 0.13);
  --panel: rgba(255, 255, 255, 0.72);
  --panel-solid: rgba(255, 255, 255, 0.9);
  --header-bg: rgba(255, 255, 255, 0.82);
  --heading: #071b4a;
  --lede: rgba(7, 27, 74, 0.74);
  --nav: rgba(7, 27, 74, 0.82);
  --button-ghost-bg: rgba(255, 255, 255, 0.72);
  --theme-toggle-bg: #071b4a;
  --theme-toggle-text: #ffffff;
  --input-bg: rgba(255, 255, 255, 0.88);
  --cta-bg: rgba(245, 247, 251, 0.94);
  --asset-shadow: 0 18px 44px rgba(7, 27, 74, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family:
    "Pretendard",
    "Inter",
    "Noto Sans KR",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 70% 10%, rgba(33, 212, 246, 0.14), transparent 22rem),
    radial-gradient(circle at 95% 44%, rgba(156, 243, 0, 0.12), transparent 18rem),
    linear-gradient(135deg, var(--page-bg-a) 0%, var(--page-bg-b) 52%, var(--page-bg-c) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(33, 212, 246, 0.28) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(156, 243, 0, 0.22) 0 1px, transparent 1.5px);
  background-position:
    right 14vw top 15vh,
    right -5vw bottom 5vh;
  background-size:
    22px 22px,
    24px 24px;
  mask-image: linear-gradient(115deg, transparent 0 38%, black 58%, transparent 92%);
  opacity: 0.45;
}

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

img {
  display: block;
  max-width: 100%;
}

.theme-img {
  display: none;
}

:root[data-theme="dark"] .theme-dark,
:root[data-theme="light"] .theme-light {
  display: block;
}

.site-header,
.site-footer,
.section-shell {
  width: min(100% - 48px, 1336px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 162px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: 42px;
  color: var(--nav);
  font-weight: 700;
}

.main-nav a {
  padding-block: 10px;
}

.nav-cta,
.button,
.theme-toggle,
.language-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-cta {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(156, 243, 0, 0.78);
  font-size: 14px;
  box-shadow: inset 0 0 18px rgba(33, 212, 246, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--button-ghost-bg);
}

.language-switcher button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  color: var(--nav);
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--theme-toggle-text);
  background: var(--theme-toggle-bg);
}

.theme-toggle {
  min-width: 58px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--theme-toggle-text);
  background: var(--theme-toggle-bg);
  font-size: 13px;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-block: 54px 42px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 250;
  line-height: 1.18;
}

.hero-lede {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--lede);
  font-size: 20px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.button {
  gap: 18px;
  min-width: 188px;
  padding: 0 30px;
  border: 1px solid rgba(33, 212, 246, 0.68);
}

.button.primary {
  border: 0;
  background: linear-gradient(100deg, var(--cyan), var(--lime));
  color: var(--white);
  box-shadow: 0 18px 36px rgba(33, 212, 246, 0.22);
}

.button.ghost {
  color: var(--ink);
  background: var(--button-ghost-bg);
}

.hero-graphic {
  margin: 0;
}

.hero-graphic img {
  width: 100%;
  border-radius: 8px;
  filter: drop-shadow(0 32px 80px rgba(0, 0, 0, 0.22));
}

.asset-section {
  padding-block: 34px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  color: var(--heading);
  font-size: 30px;
  font-weight: 500;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.info-card,
.process-track,
.why-panel,
.metric-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 212, 246, 0.06), transparent 40%),
    var(--panel-solid);
  box-shadow: var(--asset-shadow);
}

.service-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 24px;
}

.service-card h3,
.why-panel h3,
.metric-card h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 21px;
}

.service-card p,
.why-panel p,
.metric-card p,
.metric-card em {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.ui-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(33, 212, 246, 0.08);
  box-shadow: inset 0 0 0 1px rgba(33, 212, 246, 0.28);
}

.ui-icon::before {
  font-size: 30px;
  line-height: 1;
}

.icon-structure::before {
  content: "⌘";
}

.icon-agent::before {
  content: "◎";
}

.icon-automation::before {
  content: "ϟ";
}

.icon-data::before {
  content: "◉";
}

.icon-target::before {
  content: "◎";
}

.icon-custom::before {
  content: "○";
}

.icon-loop::before {
  content: "∞";
}

.icon-automation,
.icon-loop {
  color: var(--lime);
  background: rgba(156, 243, 0, 0.08);
  box-shadow: inset 0 0 0 1px rgba(156, 243, 0, 0.26);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 22px 28px;
  list-style: none;
}

.process-track li {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 2px 14px;
  align-items: center;
  min-height: 72px;
}

.process-track li + li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 50%;
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.process-track span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 18px;
  background: rgba(33, 212, 246, 0.08);
}

.process-track li:nth-child(n + 3) span {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(156, 243, 0, 0.08);
}

.process-track strong {
  color: var(--heading);
  font-size: 18px;
}

.process-track em {
  color: var(--muted);
  font-style: normal;
}

.proof-heading {
  grid-column: 1 / -1;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.why-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 26px;
}

.why-panel article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 0 18px;
  align-items: center;
  min-height: 112px;
  padding: 0 24px;
}

.why-panel article + article {
  border-left: 1px solid var(--line);
}

.why-panel .ui-icon {
  grid-row: 1 / 3;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel-solid);
  box-shadow: var(--asset-shadow);
}

.metric-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 178px;
  padding: 24px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.metric-card + .metric-card {
  border-left: 1px solid var(--line);
}

.metric-card strong {
  display: block;
  margin: 0 0 6px;
  color: var(--heading);
  font-size: 42px;
  font-weight: 350;
  line-height: 1;
}

.metric-card em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 800;
}

.metric-card:nth-child(2) em,
.metric-card:nth-child(3) em {
  color: var(--lime);
}

.donut {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--panel-solid) 0 48%, transparent 49%),
    conic-gradient(var(--cyan) 0 72%, var(--blue) 72% 92%, var(--lime) 92% 100%);
  filter: drop-shadow(0 0 18px rgba(33, 212, 246, 0.18));
}

.donut-lime {
  background:
    radial-gradient(circle, var(--panel-solid) 0 48%, transparent 49%),
    conic-gradient(var(--lime) 0 62%, rgba(33, 212, 246, 0.35) 62% 100%);
}

.dot-matrix {
  display: grid;
  grid-template-columns: repeat(4, 11px);
  gap: 10px;
  justify-content: center;
}

.dot-matrix::before,
.dot-matrix::after {
  content: "";
}

.dot-matrix {
  width: 88px;
  height: 88px;
  align-content: center;
  background:
    radial-gradient(circle, var(--cyan) 0 5px, transparent 6px) 0 0 / 22px 22px,
    radial-gradient(circle, var(--lime) 0 5px, transparent 6px) 44px 0 / 22px 22px;
}

.brand-essence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-block: 18px 34px;
}

.brand-essence article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.brand-essence img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-essence strong {
  color: var(--white);
  color: var(--heading);
  font-size: 18px;
}

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
  align-items: start;
  gap: 34px;
  margin-block: 26px 48px;
  padding: 34px 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 72%, rgba(156, 243, 0, 0.2), transparent 15rem),
    radial-gradient(circle at 12% 85%, rgba(33, 212, 246, 0.18), transparent 13rem),
    linear-gradient(100deg, rgba(33, 212, 246, 0.13), transparent 45%),
    var(--cta-bg);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(33, 212, 246, 0.35) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(156, 243, 0, 0.28) 0 1px, transparent 1.3px);
  background-position:
    left 16px bottom 8px,
    right -24px bottom -8px;
  background-size:
    20px 20px,
    22px 22px;
  mask-image: linear-gradient(95deg, black 0 18%, transparent 42%, black 78%);
  opacity: 0.5;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin: 0;
  color: var(--heading);
  font-size: 34px;
  font-weight: 400;
}

.contact-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--heading);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--input-bg);
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(33, 212, 246, 0.72);
  box-shadow: 0 0 0 3px rgba(33, 212, 246, 0.12);
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.consent input {
  min-height: auto;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--cyan);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-actions .button {
  min-width: 176px;
  border: 0;
  cursor: pointer;
}

.form-actions .button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 96px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer .brand img {
  width: 154px;
}

.site-footer > span {
  color: var(--lime);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .brand-essence,
  .why-panel,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-panel article:nth-child(3),
  .metric-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .why-panel article,
  .why-panel article + article,
  .metric-card,
  .metric-card + .metric-card {
    border-left: 0;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .section-shell {
    width: min(100% - 28px, 1336px);
  }

  .site-header {
    grid-template-columns: auto 1fr;
    gap: 14px;
    min-height: 64px;
  }

  .brand img {
    width: 128px;
  }

  .header-actions {
    justify-self: end;
    gap: 8px;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .theme-toggle {
    min-width: 52px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .language-switcher {
    order: 3;
    grid-column: 1 / -1;
    justify-self: end;
  }

  .hero {
    padding-block: 42px 24px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.22;
  }

  .hero-lede {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 10px;
    font-size: 25px;
  }

  .service-grid,
  .brand-essence,
  .why-panel,
  .metric-grid,
  .process-track {
    grid-template-columns: 1fr;
  }

  .service-card,
  .metric-card,
  .why-panel article {
    padding: 20px;
  }

  .why-panel {
    padding: 0;
  }

  .why-panel article:nth-child(3),
  .metric-card:nth-child(3) {
    grid-column: auto;
  }

  .process-track li + li::before {
    left: 24px;
    top: -8px;
    width: 1px;
    height: 18px;
  }

  .cta-band {
    display: grid;
    padding: 28px 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .form-actions .button {
    width: 100%;
  }

  .cta-band h2 {
    font-size: 28px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-block: 28px;
  }

  .site-footer nav {
    justify-content: start;
    flex-wrap: wrap;
  }
}
