:root {
  color-scheme: light;
  --ink: #0d1726;
  --muted: #5d6978;
  --soft: #eef3f9;
  --paper: #f8fafc;
  --surface: #ffffff;
  --navy: #06111f;
  --navy-2: #102842;
  --blue: #135dff;
  --teal: #17c6d4;
  --green: #13a46b;
  --line: rgba(13, 23, 38, 0.12);
  --shadow: 0 22px 60px rgba(10, 30, 56, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand img {
  width: 142px;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-header.is-scrolled .brand img,
.site-header.menu-open .brand img {
  filter: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 850;
}

.nav a { opacity: 0.9; }
.nav a:hover { opacity: 1; color: var(--teal); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  padding: 11px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(6, 17, 31, 0.98), rgba(9, 34, 64, 0.9) 46%, rgba(15, 67, 113, 0.62)),
    url("https://www.penta.co.kr/img/conts/product_banner_bg.png") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(0deg, var(--paper), transparent);
  pointer-events: none;
}

.hero-backdrop {
  position: absolute;
  inset: 76px 0 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 84%);
  opacity: 0.48;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.82fr);
  gap: 54px;
  align-items: center;
  padding: 112px 0 132px;
}

.eyebrow {
  margin-bottom: 18px;
  color: #91ecff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.blue { color: var(--blue); }

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(46px, 6.6vw, 92px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 950;
}

.lead {
  max-width: 760px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 14px 34px rgba(19, 93, 255, 0.3); }
.btn.ghost { border-color: rgba(255, 255, 255, 0.34); color: #fff; }
.btn.text { color: rgba(255,255,255,0.84); padding-inline: 8px; }
.btn.light { background: #fff; color: var(--navy); }
.btn.full { width: 100%; margin-top: 18px; }

.hero-dashboard {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.dash-top {
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.dash-top span,
.dash-matrix span {
  display: block;
  margin-bottom: 8px;
  color: #91ecff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dash-top strong {
  display: block;
  font-size: 27px;
  line-height: 1.25;
}

.dash-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dash-matrix article {
  min-height: 150px;
  padding: 22px;
  border-right: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.dash-matrix article:nth-child(2n) { border-right: 0; }
.dash-matrix article:nth-last-child(-n+2) { border-bottom: 0; }

.dash-matrix strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.22;
}

.dash-matrix em {
  color: rgba(255,255,255,0.68);
  font-style: normal;
}

.dash-flow {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  align-items: center;
  gap: 12px;
  padding: 22px 24px 26px;
}

.dash-flow span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  color: rgba(255,255,255,0.84);
  font-size: 12px;
  font-weight: 900;
}

.dash-flow i {
  height: 1px;
  background: rgba(145, 236, 255, 0.72);
}

.hero-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 0 20px;
}

.hero-ticker span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  padding: 0 16px;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 98px 0;
}

.section-title {
  max-width: 840px;
  margin-bottom: 36px;
}

.section-title h2,
.intro-copy h2,
.solution-copy h2,
.proof-copy h2,
.builder-grid h2,
.contact-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.07;
  font-weight: 950;
  letter-spacing: 0;
}

.intro-copy p,
.section-title p,
.solution-copy p,
.industry-grid p,
.feature-card p,
.solution-item p,
.proof-copy p,
.builder-cards p,
.contact-copy p,
.timeline p {
  color: var(--muted);
  line-height: 1.76;
}

.intro {
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.insight-list {
  display: grid;
  gap: 12px;
}

.insight-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px;
}

.insight-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insight-list span {
  font-size: 18px;
  font-weight: 850;
  line-height: 1.45;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

.feature-card,
.industry-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 280px;
  padding: 26px;
}

.feature-card.large {
  grid-row: span 2;
  min-height: 574px;
  background:
    linear-gradient(180deg, rgba(19,93,255,0.1), transparent 46%),
    #fff;
}

.feature-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.feature-card h3,
.industry-grid h3,
.solution-item strong,
.builder-cards strong {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.18;
  font-weight: 950;
}

.feature-card ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-card li {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.solutions {
  background: var(--navy);
  color: #fff;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 54px;
  align-items: start;
}

.solution-copy {
  position: sticky;
  top: 104px;
}

.solution-copy p { color: rgba(255,255,255,0.72); }

.solution-stack {
  display: grid;
  gap: 14px;
}

.solution-item {
  display: grid;
  grid-template-columns: 230px 1fr 190px;
  gap: 22px;
  align-items: start;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.075);
  padding: 24px;
}

.solution-item span {
  display: block;
  margin-bottom: 9px;
  color: #91ecff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.solution-item p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.7);
}

.solution-item em {
  color: rgba(255,255,255,0.86);
  font-style: normal;
  font-weight: 850;
  line-height: 1.55;
}

.industries {
  background: #fff;
}

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

.industry-grid article {
  min-height: 310px;
  padding: 26px;
}

.industry-grid strong {
  display: block;
  margin-bottom: 50px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof {
  background:
    linear-gradient(180deg, rgba(19,93,255,0.07), transparent 38%),
    var(--paper);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.78fr);
  gap: 54px;
  align-items: center;
  margin-bottom: 34px;
}

.proof-panel {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.metric {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.metric:last-child { border-bottom: 0; }
.metric strong {
  color: var(--blue);
  font-size: 48px;
  line-height: 1;
  font-weight: 950;
}

.metric span {
  color: var(--muted);
  font-weight: 850;
  line-height: 1.5;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.timeline article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px;
}

.timeline time {
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 30px;
  font-weight: 950;
}

.partners {
  background: #fff;
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.partner-strip span {
  min-height: 92px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #2d3a4b;
  font-size: 18px;
  font-weight: 950;
}

.partner-strip span:nth-child(4n) { border-right: 0; }
.partner-strip span:nth-last-child(-n+4) { border-bottom: 0; }

.builder-note {
  background: var(--navy-2);
  color: #fff;
}

.builder-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1.26fr);
  gap: 42px;
  align-items: start;
}

.builder-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.builder-cards article {
  min-height: 250px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  padding: 24px;
}

.builder-cards p { color: rgba(255,255,255,0.72); }

.contact {
  background:
    linear-gradient(90deg, rgba(19, 93, 255, 0.08), transparent),
    #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 54px;
  align-items: start;
}

.contact-card {
  padding: 28px;
}

dl { margin: 0; }

.contact-card div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-weight: 850;
  line-height: 1.5;
}

.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.68);
  padding: 26px 0;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 180ms; }
.delay-3 { transition-delay: 260ms; }
.delay-4 { transition-delay: 340ms; }

@media (max-width: 1060px) {
  .hero-grid,
  .intro-grid,
  .solution-layout,
  .proof-layout,
  .builder-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 112px 0 144px;
  }

  .solution-copy { position: static; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .feature-card.large { grid-row: auto; min-height: 360px; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .builder-cards { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site-header { height: 66px; }
  .brand img { width: 120px; }
  .nav-toggle { display: block; }

  .nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.97);
    color: var(--ink);
    box-shadow: 0 1px 0 var(--line);
  }

  .site-header.menu-open .nav { display: flex; }

  .nav a {
    padding: 16px 20px;
    border-top: 1px solid var(--line);
  }

  .hero-ticker {
    position: relative;
    bottom: auto;
    flex-direction: column;
    align-items: stretch;
    width: min(1180px, calc(100% - 40px));
    margin: -114px auto 44px;
  }

  .solution-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrap,
  .hero-grid,
  .hero-ticker {
    width: min(100% - 28px, 1180px);
  }

  .site-header { padding: 0 14px; }
  .brand span { display: none; }
  h1 { font-size: 42px; }
  .lead { font-size: 17px; }
  .section { padding: 68px 0; }
  .hero-actions .btn { width: 100%; }
  .dash-matrix,
  .portfolio-grid,
  .industry-grid,
  .partner-strip,
  .timeline {
    grid-template-columns: 1fr;
  }

  .dash-matrix article,
  .dash-matrix article:nth-child(2n),
  .dash-matrix article:nth-last-child(-n+2),
  .partner-strip span,
  .partner-strip span:nth-child(4n),
  .partner-strip span:nth-last-child(-n+4) {
    border-right: 0;
    border-bottom: 1px solid rgba(13, 23, 38, 0.12);
  }

  .dash-flow { grid-template-columns: 1fr; }
  .dash-flow i { display: none; }
  .metric,
  .contact-card div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .footer .wrap { flex-direction: column; }
}
