/* Blog-aligned presentation for the AI page only.
   Content, navigation, footer and the shared site-contact component are preserved. */
.ai-page {
  --ai-blue: #4d6cff;
  --ai-ink: #101522;
  --ai-muted: #68748a;
  --ai-line: #cfddf3;
  --ai-surface: #f8fbff;
  font-family: Inter, "Noto Sans KR", sans-serif;
  letter-spacing: -.025em;
  color: var(--ai-ink);
  background: var(--ai-surface);
}
.ai-page > section:not(#contact),
.ai-page .ai-core > section {
  position: relative;
  border: 0;
  scroll-margin-top: 100px;
}
.ai-page > section:not(#contact) > .mx-auto {
  position: relative;
  z-index: 1;
  width: min(100% - 14vw, 1500px);
  max-width: 1500px;
  margin-inline: auto;
  padding-inline: 0;
}
.ai-page :is(#ai-hero,#ai-journey,#ai-principle,#ai-data,#ai-vision) .font-heading {
  font-family: Inter, "Noto Sans KR", sans-serif;
}
.ai-page :is(#ai-hero,#ai-journey,#ai-vision) :is(h1,h2,h3) {
  color: var(--ai-ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.ai-page :is(#ai-hero,#ai-journey,#ai-data,#ai-vision) p {
  color: var(--ai-muted);
  font-size: 1rem;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.ai-page i[aria-hidden="true"] { display: none; }
.ai-page a:focus-visible { outline: 3px solid var(--ai-blue); outline-offset: 5px; }

/* The same airy gradient, editorial alignment and circular accent as the blog. */
.ai-page #ai-hero {
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0 72px;
  background: radial-gradient(ellipse at 85% 10%,#e4eaff 0,transparent 56%),linear-gradient(120deg,#f8fbff,#eef4ff);
  border-bottom: 1px solid #d9e5f8;
}
.ai-page #ai-hero::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  right: -130px; top: -280px;
  border: 1px solid #4d6cff25;
  border-radius: 50%;
  box-shadow: 0 0 0 70px #4d6cff04,0 0 0 140px #4d6cff03;
  pointer-events: none;
}
.ai-page #ai-hero > .mx-auto {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 56px;
  padding-block: 0;
}
.ai-page #ai-hero > .mx-auto > div:first-child { text-align: left; min-width: 0; }
.ai-page #ai-hero > .mx-auto > div:first-child > div:first-child,
.ai-page #ai-journey > .mx-auto > div.font-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: var(--ai-blue);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.ai-page #ai-hero > .mx-auto > div:first-child > div:first-child::before,
.ai-page #ai-journey > .mx-auto > div.font-heading::before {
  content: "";
  width: 7px; height: 7px;
  flex: none;
  background: currentColor;
}
.ai-page #ai-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2rem,4.8vw,5rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.075em;
  text-wrap: nowrap;
  white-space: nowrap;
}
/* Match the cases/blog title's zero margin over the shared mobile reset. */
.ai-page section#ai-hero h1 { margin: 0; }
.ai-page #ai-hero p:first-of-type {
  max-width: 940px;
  margin: 28px 0 0;
  font-size: clamp(1rem,1.6vw,1.1875rem);
  letter-spacing: -.04em;
  white-space: normal;
}
.ai-page #ai-hero > .mx-auto > .relative {
  width: 100%;
  max-width: none;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}
.ai-page #ai-hero .relative > span {
  color: var(--ai-muted);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: -.025em;
}
.ai-page #ai-hero .relative > .grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 24px;
  margin-top: 20px;
}
.ai-page #ai-hero .grid > .text-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 26px 30px;
  border: 1px solid var(--ai-line);
  border-radius: 22px;
  background: radial-gradient(circle at var(--glow-x,50%) var(--glow-y,20%),#fff,#f5f8ff);
  box-shadow: 0 16px 35px rgb(19 47 94 / 5%);
  transition: transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s,border-color .3s;
}
.ai-page #ai-hero .ai-touchpoint-value {
  color: var(--ai-blue);
  font-size: clamp(2.75rem,4vw,3.75rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.055em;
}
.ai-page #ai-hero .ai-touchpoint-label {
  margin: 0;
  color: var(--ai-ink);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Full-bleed AI statement with readable inner gutters. */
.ai-page .ai-core {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  border-radius: 0;
  background: #061438;
  background-image: none;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px #1b68fa19;
}
.ai-page .ai-core > section { background: transparent; }
.ai-page .ai-core > section > .mx-auto { width: min(100% - 14vw,1500px); max-width: 1500px; margin-inline: auto; padding-inline: 0; }
.ai-page #ai-principle { padding: 76px 0 32px; }
.ai-page #ai-principle p {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: clamp(1.75rem,3.25vw,3rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.055em;
  white-space: pre-line;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.ai-page #ai-data { padding: 0 0 72px; }
.ai-page #ai-data .relative {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}
.ai-page #ai-data p { color: #fff; margin: 0; max-width: 48em; }
.ai-page #ai-data a {
  padding: 12px 22px;
  border: 1px solid #ffffff75;
  border-radius: 999px;
  color: #fff;
  font-size: .9375rem;
  font-weight: 800;
  line-height: 1.5;
  white-space: normal;
  transition: background .3s,transform .3s;
}
.ai-page #ai-data a:focus-visible { outline-color: #fff; }

.ai-page #ai-vision { padding: 104px 0 52px; background: var(--ai-surface); }
.ai-page #ai-vision > .mx-auto {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 64px;
  align-items: start;
  text-align: left;
}
.ai-page #ai-vision h2 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: clamp(2rem,3.1vw,2.875rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.ai-page #ai-vision p { grid-column: 1; grid-row: 2; margin: 24px 0 0; max-width: none; font-size: 1.0625rem; line-height: 1.9; }
.ai-page #ai-vision a {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  margin-top: 28px;
  padding: 15px 25px;
  border: 1px solid #d7e1f2;
  border-radius: 999px;
  background: #fff;
  color: var(--ai-ink);
  font-size: .9375rem;
  font-weight: 800;
  line-height: 1.5;
  transition: transform .3s,background .3s,border-color .3s;
}
@media (hover:hover) and (pointer:fine) {
  .ai-page #ai-hero .grid > .text-center:hover {
    transform: translateY(-8px);
    border-color: #92aaff;
    box-shadow: 0 25px 55px rgb(19 47 94 / 12%);
  }
  .ai-page #ai-data a:hover { background: #ffffff18; transform: translateY(-3px); }
  .ai-page #ai-vision a:hover { background: #edf2ff; border-color: #92aaff; transform: translateY(-3px); }
}
@media (max-width:1100px) {
  .ai-page #ai-hero .grid > .text-center { padding: 24px; flex-direction: column; align-items: flex-start; }
  .ai-page #ai-vision > .mx-auto { column-gap: 36px; }
}
@media (max-width:900px) {
  .ai-page > section:not(#contact) > .mx-auto,
  .ai-page .ai-core > section > .mx-auto { width: calc(100% - 64px); }
  .ai-page #ai-hero { padding: 82px 0 64px; }
  .ai-page #ai-hero > .mx-auto { gap: 40px; }
  .ai-page #ai-hero h1 { font-size: clamp(2rem,4.8vw,4.5rem); }
  .ai-page #ai-hero .relative > .grid { gap: 16px; }
  .ai-page #ai-vision { padding-block: 72px 36px; }
  .ai-page #ai-vision > .mx-auto { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .ai-page #ai-vision a { grid-column: 1; margin-top: 4px; }
}
@media (max-width:600px) {
  .ai-page > section:not(#contact) > .mx-auto,
  .ai-page .ai-core > section > .mx-auto { width: calc(100% - 40px); }
  .ai-page #ai-hero { padding: 62px 0 48px; }
  .ai-page #ai-hero > .mx-auto { gap: 36px; }
  .ai-page #ai-hero::before { right: -420px; }
  .ai-page section#ai-hero h1 { font-size: clamp(2rem,4.8vw,5rem); }
  .ai-page #ai-hero p:first-of-type { margin-top: 22px; font-size: 1rem; }
  .ai-page #ai-hero .relative > .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .ai-page #ai-hero .grid > .text-center { padding: 22px; border-radius: 18px; gap: 12px; }
  .ai-page #ai-principle { padding: 44px 0 24px; }
  .ai-page #ai-principle p { font-size: clamp(1.375rem,5.2vw,1.75rem); }
  .ai-page #ai-data { padding-bottom: 44px; }
  .ai-page #ai-vision { padding-block: 54px 27px; }
  .ai-page #ai-vision h2 { font-size: clamp(1.75rem,7.5vw,2.25rem); }
  .ai-page #ai-vision p { font-size: 1rem; }
}

/* Raised icon tiles and a continuous four-stage visual rhythm. */
.ai-page #ai-hero .grid > .text-center {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  min-height: 188px;
  overflow: hidden;
  padding: 28px 30px;
  text-align: left;
  background: radial-gradient(ellipse at 100% 0,#dce7ff 0,transparent 65%),linear-gradient(145deg,#fff,#f2f6ff);
  box-shadow: inset 0 1px 0 #fff,0 16px 35px #132f5e0d;
}
.ai-page #ai-hero .text-center::after {
  content: "";
  position: absolute;
  left: 30px; right: 30px; bottom: 20px;
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg,var(--ai-blue) 28%,#dce5fa 28%);
}
.ai-page #ai-hero .text-center:nth-child(2)::after { background: linear-gradient(90deg,var(--ai-blue) 52%,#dce5fa 52%); }
.ai-page #ai-hero .text-center:nth-child(3)::after { background: linear-gradient(90deg,var(--ai-blue) 76%,#dce5fa 76%); }
.ai-page #ai-hero .text-center:nth-child(4)::after { background: var(--ai-blue); }
.ai-page #ai-hero .ai-touchpoint-value { grid-column: 1; grid-row: 1; font-size: 3.75rem; }
.ai-page #ai-hero .ai-touchpoint-label { grid-column: 1 / -1; grid-row: 2; padding-bottom: 18px; }
.ai-page #ai-hero .ai-touchpoint-icon {
  display: grid;
  place-items: center;
  grid-column: 2; grid-row: 1;
  width: 76px; height: 76px;
  border: 1px solid #fff;
  border-radius: 19px;
  color: #4261ea;
  background: linear-gradient(145deg,#fff,#dce7ff);
  box-shadow: 5px 9px 16px #5577d326,inset 0 1px 0 #fff;
  transform: rotate(-7deg);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.ai-page #ai-hero .text-center:nth-child(even) .ai-touchpoint-icon { transform: rotate(7deg); }
.ai-page #ai-hero .ai-touchpoint-icon img { display: block; width: 64px; height: 64px; }
.ai-page #ai-vision .ai-vision-object {
  grid-column: 2; grid-row: 1 / 4;
  align-self: center;
  width: 100%;
  max-width: 520px;
  justify-self: center;
}
.ai-page #ai-vision .ai-vision-object img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: normal;
}
@media (hover:hover) and (pointer:fine) {
  .ai-page #ai-hero .text-center:hover .ai-touchpoint-icon { transform: rotate(0) translateY(-4px); }
}
@media (max-width:1100px) {
  .ai-page #ai-hero .grid > .text-center { padding: 22px; min-height: 174px; gap: 12px; }
  .ai-page #ai-hero .ai-touchpoint-icon { width: 58px; height: 58px; border-radius: 16px; }
  .ai-page #ai-hero .ai-touchpoint-icon img { width: 48px; height: 48px; }
  .ai-page #ai-hero .ai-touchpoint-value { font-size: 3rem; }
  .ai-page #ai-hero .text-center::after { left: 22px; right: 22px; }
}
@media (max-width:900px) {
  .ai-page #ai-hero .relative > .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ai-page #ai-vision .ai-vision-object { grid-column: 1; grid-row: 4; max-width: 380px; margin-top: 12px; }
}
@media (max-width:600px) {
  .ai-page #ai-hero .grid > .text-center { padding: 20px; min-height: 170px; }
  .ai-page #ai-hero .ai-touchpoint-icon { width: 50px; height: 50px; border-radius: 14px; }
  .ai-page #ai-hero .ai-touchpoint-icon img { width: 44px; height: 44px; }
  .ai-page #ai-hero .ai-touchpoint-value { font-size: 2.625rem; }
  .ai-page #ai-hero .ai-touchpoint-label { font-size: .9375rem; }
}


/* The company hero's pointer-following light and subtle title movement. */
.ai-page .ai-core::after {
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(ellipse 360px 280px at var(--hero-x,75%) var(--hero-y,45%),#abc2ff99 0%,#648cff59 38%,transparent 75%);
  mask-image:linear-gradient(#000 0%,#000 75%,transparent 100%);
  opacity:0; transition:opacity .45s ease;
}
.ai-page .ai-core > section { z-index:1; }
.ai-page #ai-principle p {
  translate:var(--title-x,0px) var(--title-y,0px);
  transition:translate .35s ease-out;
}
@media (hover:hover) and (pointer:fine) {
  .ai-page .ai-core.is-hero-hovered::after { opacity:1; }
}
@media (max-width:420px) {
  .ai-page #ai-hero .grid > .text-center { padding-inline:16px; column-gap:6px; }
  .ai-page #ai-hero .ai-touchpoint-icon { width:44px; height:44px; }
  .ai-page #ai-hero .ai-touchpoint-icon img { width:40px; height:40px; }
  .ai-page #ai-hero .ai-touchpoint-value { font-size:2.25rem; }
}
