:root {
  /* Brand green — reserved for the CTA so it stays the loudest element */
  --color-primary: #1D9E75;
  --color-primary-dark: #0F6E56;
  --color-text: #16201D;
  --color-text-muted: #555F5A; /* body copy, ~#555 family */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F4FAF8;
  --color-border: #E2EBE8;
  /* Desaturated green for decorative icons so they don't compete with the CTA */
  --color-icon: #6E847C;
  --color-icon-soft: rgba(110, 132, 124, 0.12);
  /* Deep green for the one inverted (dark) section */
  --color-dark: #0E3A2D;
  --color-dark-soft: #18483A;
  --max-width: 1120px;
  --radius: 14px;
  --font-base: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
    'Malgun Gothic', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

/* Material Symbols Rounded — style: Rounded, weight: 400, unfilled */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.5rem); /* ~36–40px */
  font-weight: 700;
  text-align: center;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1rem; /* ~16px, regular */
  font-weight: 400;
  line-height: 1.7;
}

/* PMS & 도입상담 subtitles read as a single line on desktop (wrap on mobile) */
.pms .section-subtitle,
.contact .section-subtitle {
  max-width: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  padding: 8px 20px;
  font-size: 0.95rem;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* The hero / section CTA — the single most prominent element on the page */
.btn--large {
  padding: 12px 38px;
  font-size: 1.1rem;
  font-weight: 700;
}

.btn--large:hover {
  transform: translateY(-2px);
}

.btn--header {
  margin-left: 16px;
}

.link-arrow {
  display: inline-block;
  margin-left: 16px;
  color: var(--color-primary-dark);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 62px;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--color-text);
}

.logo span {
  color: var(--color-primary);
}

.logo__img {
  height: 18px;
  width: auto;
}

.nav {
  display: flex;
  gap: 28px;
  margin: 0 auto 0 48px;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--color-primary-dark);
}

.nav-toggle {
  display: none;
}

/* Hero */
.hero {
  --ns: 1; /* node-cloud scale, reduced on narrower viewports */
  position: relative;
  padding: 168px 0 220px;
  overflow: hidden;
  background: linear-gradient(180deg, #F4FAF8 0%, #FFFFFF 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
}

/* Background concentric rings */
.hero__rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.hero__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(29, 158, 117, 0.14);
  border-radius: 50%;
}

.hero__ring--1 { width: 820px; height: 820px; border-color: rgba(29, 158, 117, 0.22); }
.hero__ring--2 { width: 1160px; height: 1160px; border-color: rgba(29, 158, 117, 0.16); }
.hero__ring--3 { width: 1500px; height: 1500px; border-color: rgba(29, 158, 117, 0.11); }
.hero__ring--4 { width: 1860px; height: 1860px; border-color: rgba(29, 158, 117, 0.07); }

/* Floating connection nodes */
.hero__node {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  box-shadow: 0 12px 28px rgba(15, 110, 86, 0.08);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

.hero__node-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(29, 158, 117, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary-dark);
}

.hero__node-icon .material-symbols-rounded {
  font-size: 18px;
  color: var(--color-primary-dark);
}

.hero__node-icon--samsung,
.hero__node-icon--lg {
  background: var(--color-text);
  color: #fff;
}

/* Nodes are anchored to the shared ring center and pushed out onto a ring */
.hero__node {
  top: 50%;
  left: 50%;
}

/* Nodes form a balanced, mirror-symmetric elliptical cloud around the center:
   3 nodes per side + power at the bottom, with the open top-center left for the
   title. Radius varies row-to-row for depth so it doesn't read as one flat ring.
   Pills are fixed (they fit down to the 960px hide point); the wide mid orbs use
   --ns to scale inward on narrower viewports. */
.hero__node--tv { transform: translate(calc(-50% - 380px), calc(-50% - 375px)); }      /* top-left, above title */
.hero__node--samsung { transform: translate(calc(-50% + 380px), calc(-50% - 375px)); } /* top-right, above title */
.hero__node--lg { transform: translate(calc(-50% - 400px), calc(-50% + 280px)); }      /* bottom-left */
.hero__node--pms { transform: translate(calc(-50% + 400px), calc(-50% + 280px)); }     /* bottom-right */

/* Icon-less pills get balanced horizontal padding */
.hero__node--samsung,
.hero__node--lg {
  padding: 10px 22px;
}

/* Floating icon orbs (lighting / volume / power) */
.hero__orb {
  position: absolute;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 28px rgba(15, 110, 86, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__orb .material-symbols-rounded {
  font-size: 24px;
  color: var(--color-primary-dark);
}

/* Orbs fill the remaining angles across both ring radii */
.hero__orb--light { top: 50%; left: 50%; transform: translate(calc(-50% - 520px * var(--ns)), -50%); }  /* mid-left, widest (scaled) */
.hero__orb--volume { top: 50%; left: 50%; transform: translate(calc(-50% + 520px * var(--ns)), -50%); } /* mid-right, widest (scaled) */
.hero__orb--power { top: 50%; left: 50%; transform: translate(calc(-50% - 10px), calc(-50% + 345px)); }  /* bottom-center (fixed) */

.hero__title {
  font-size: clamp(2.2rem, 5.2vw, 4rem); /* up to ~64px */
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.18;
  margin: 0 0 22px;
  white-space: nowrap;
}

.hero__subtitle {
  font-size: 1.0625rem; /* ~17px */
  font-weight: 400;
  color: var(--color-text-muted);
  margin: 0 auto 32px;
  max-width: 560px;
  line-height: 1.75;
}

.hero__cta {
  margin-bottom: 0;
}

/* Hero dashboard demo — simple floating panel (same .mock style as features) */
.hero__monitor {
  position: relative;
  z-index: 2;
  max-width: 540px;
  margin: 48px auto 0;
}

/* Card grids (shared) */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Values — flows seamlessly out of the hero (no color band, no title) */
.values {
  position: relative;
  z-index: 3;
  margin-top: -20px;
  padding: 68px 0 96px;
  background: transparent;
}

.values__grid {
  gap: 28px;
}

.value-card,
.benefit-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  text-align: left;
}

/* Eye-catching differentiator cards */
.value-card {
  position: relative;
  text-align: center;
  padding: 46px 30px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(15, 110, 86, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(15, 110, 86, 0.16);
  border-color: rgba(29, 158, 117, 0.5);
}

.value-card__icon,
.benefit-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--color-icon-soft);
  margin-bottom: 20px;
}

.value-card__icon .material-symbols-rounded,
.benefit-card__icon .material-symbols-rounded {
  font-size: 30px;
  color: var(--color-icon);
}

.value-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem; /* ~19px */
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Value-card specifics: solid icon + larger type */
.value-card__icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 22px;
  border-radius: 18px;
  background: var(--color-primary-dark);
}

.value-card__icon .material-symbols-rounded {
  font-size: 34px;
  color: #fff;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

.value-card p,
.benefit-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem; /* ~16px */
  font-weight: 400;
  line-height: 1.65;
}

/* Features — light-gray band, alternating product-screen showcase */
.features {
  padding: 112px 0;
  background: var(--color-bg-alt);
}

.feature-showcase {
  display: flex;
  flex-direction: column;
  gap: 92px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

/* Alternate sides: even rows put the product screen on the left */
.feature-row:nth-child(even) .feature-row__text { order: 2; }
.feature-row:nth-child(even) .feature-row__visual { order: 1; }

.feature-row__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: rgba(29, 158, 117, 0.1);
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.feature-row__tag .material-symbols-rounded {
  font-size: 18px;
}

.feature-row__text h3 {
  margin: 0 0 14px;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.feature-row__text p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 440px;
}

.feature-row__text p strong {
  color: var(--color-text);
  font-weight: 700;
}

/* The product-screen panel */
.mock {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(15, 110, 86, 0.1);
  overflow: hidden;
}

.mock--narrow {
  max-width: 360px;
  margin: 0 auto;
  padding: 22px;
}

/* Fake window top bar */
.mock__bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  background: #FAFCFB;
}

.mock__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #DDE6E2;
}

.mock__body {
  padding: 20px;
}

/* Status dots */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dot--on,
.dot--lg,
.dot--ss { background: var(--color-primary); }
.dot--off { background: #C2CCC8; }

/* — Dashboard room grid — */
.roomgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.roomcard {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 11px 12px 9px;
  font-size: 0.8rem;
}

.roomcard--stay {
  border-color: rgba(29, 158, 117, 0.45);
  background: #F5FBF8;
}

.roomcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.roomcard__top strong {
  font-size: 1rem;
  color: var(--color-text);
}

.roomcard__state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #9AA8A2;
}

.roomcard__state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C2CCC8;
}

.roomcard__state--on { color: var(--color-primary-dark); }
.roomcard__state--on::before { background: var(--color-primary); }

.roomcard__badge {
  display: inline-block;
  margin: 8px 0;
  font-size: 0.64rem;
  font-weight: 700;
  color: #5C7C9A;
  background: #EEF3F8;
  padding: 3px 8px;
  border-radius: 6px;
}

.roomcard__badge--stay { color: var(--color-primary-dark); background: rgba(29, 158, 117, 0.12); }
.roomcard__badge--warn { color: #C9772D; background: #FBF0E4; }

.roomcard__foot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 8px;
}

.roomcard__foot--stay {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.roomcard__foot--stay .material-symbols-rounded { font-size: 14px; }

.roomcard__def {
  margin-left: auto;
  font-size: 0.66rem;
  color: #9AA8A2;
}

/* — TV control panel — */
.ctrl__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ctrl__head strong { font-size: 1.15rem; }
.ctrl__close { margin-left: auto; color: #9AA8A2; font-size: 20px; }

.ctrl__tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.ctrl__tabs span { padding-bottom: 10px; }

.ctrl__tabs .is-active {
  color: var(--color-primary-dark);
  font-weight: 700;
  border-bottom: 2px solid var(--color-primary);
  margin-bottom: -1px;
}

.ctrl__device {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #F6FAF8;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.ctrl__device .chip { margin-left: auto; }

.ctrl__btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.cbtn {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 11px 0;
  border-radius: 9px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
}

.cbtn--on { background: var(--color-primary); color: #fff; border-color: transparent; }
.cbtn--off { background: #E0584C; color: #fff; border-color: transparent; }
.cbtn--send { background: var(--color-primary); color: #fff; border-color: transparent; }

/* Pills / chips inside mocks */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

.chip--soft { color: #5C7C9A; background: #EEF3F8; }
.chip--off { color: #9AA8A2; background: #EEF1F0; }
.chip--live { color: var(--color-primary-dark); background: rgba(29, 158, 117, 0.12); }

/* — Group status — */
.grp__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.85rem;
}

.grp__key {
  width: 84px;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--color-text-muted);
}

.grp__key--ss { color: #2E6BC9; }
.grp__key--lg { color: #C0392B; }

.grp__val {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.grp__val b { font-weight: 700; color: var(--color-text); }
.grp__sub { color: var(--color-text-muted); }

.grp__sync {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  padding-top: 14px;
}

.grp__sync .material-symbols-rounded { font-size: 16px; color: var(--color-icon); }

/* — Message form — */
.msg__title { display: block; font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }

.msg__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 12px 0 6px;
}

.field {
  border: 1px solid var(--color-border);
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 0.85rem;
  color: var(--color-text);
  background: #fff;
}

.field--ph { color: #A8B2AE; }
.field--area { min-height: 54px; }

.field--sel {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field--sel .material-symbols-rounded { font-size: 18px; color: #9AA8A2; }

.msg__rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.msg__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.msg__actions .cbtn { padding: 10px 22px; }

/* — Action log — */
.log { padding: 4px 6px 8px; }

.log__head,
.log__row {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr 0.7fr 0.7fr;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  font-size: 0.8rem;
}

.log__head {
  color: #9AA8A2;
  font-weight: 700;
  font-size: 0.72rem;
  border-bottom: 1px solid var(--color-border);
}

.log__row {
  border-bottom: 1px solid #F0F4F2;
  color: var(--color-text-muted);
}

.log__row:last-child { border-bottom: none; }
.log__row span:nth-child(3) { color: var(--color-text); font-weight: 600; }

.log__ok,
.log__skip {
  justify-self: start;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}

.log__ok { color: var(--color-primary-dark); background: rgba(29, 158, 117, 0.12); }
.log__skip { color: #9AA8A2; background: #EEF1F0; }

/* — Hotel settings — */
.hotel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.hotel__logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--color-primary-dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotel__name { display: flex; flex-direction: column; }
.hotel__name strong { font-size: 1.05rem; }
.hotel__name span { font-size: 0.74rem; color: var(--color-text-muted); letter-spacing: 0.05em; }
.hotel__head .chip--live { margin-left: auto; }

.hotel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 16px;
}

.hotel__cell {
  background: #fff;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hotel__k { font-size: 0.75rem; color: var(--color-text-muted); }
.hotel__v { font-size: 0.92rem; font-weight: 700; color: var(--color-text); }
.hotel__v--ok { color: var(--color-primary-dark); }

.features__cta {
  margin-top: 100px;
}

/* Mid-page CTA band — full-width primary block */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto;
  padding: 44px 48px;
  background: var(--color-primary);
  border-radius: 22px;
  text-align: left;
}

.cta-band__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-band__title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.cta-band__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Inverted button so it stays visible on the green band */
.cta-band__btn.btn--primary {
  flex-shrink: 0;
  gap: 6px;
  background: #fff;
  color: var(--color-primary-dark);
}

.cta-band__btn.btn--primary:hover {
  background: #F0FAF6;
  color: var(--color-primary-dark);
}

.cta-band__btn .material-symbols-rounded {
  font-size: 20px;
}

/* PMS flow — connected process with an animated flowing path */
.pms {
  padding: 120px 0;
}

.pms__flow {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

/* The connecting line that runs behind the step icons */
.pms__track {
  position: absolute;
  top: 42px; /* vertical center of the 84px icon circle */
  left: 14%;
  right: 14%;
  height: 3px;
  border-radius: 3px;
  background: rgba(29, 158, 117, 0.18);
  overflow: hidden;
  z-index: 0;
}

/* A glowing pulse that travels along the path to imply flow direction */
.pms__pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 28%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  animation: pms-flow 2.6s linear infinite;
}

@keyframes pms-flow {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(480%); }
}

.pms__step {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  max-width: 240px;
  text-align: center;
}

.pms__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--color-primary-dark);
  margin: 0 auto 20px;
}

.pms__icon .material-symbols-rounded {
  font-size: 38px;
  color: #fff;
}

/* Step number badge on the icon */
.pms__num {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-primary);
  color: var(--color-primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pms__step h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.pms__step p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pms__step p strong {
  color: var(--color-text);
  font-weight: 700;
}

/* Benefits — the single inverted (dark) section: bright → dark → bright rhythm */
.benefits {
  padding: 128px 0;
  background: var(--color-dark);
}

.benefits .section-title {
  color: #fff;
}

.benefit-card {
  text-align: center;
  background: var(--color-dark-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 44px 28px;
}

.benefit-card__icon {
  margin: 0 auto 22px;
  background: rgba(255, 255, 255, 0.08);
}

.benefit-card__icon .material-symbols-rounded {
  color: #fff;
}

.benefit-card p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.benefit-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

/* FAQ */
.faq {
  padding: 120px 0;
  background: var(--color-bg-alt);
}

.accordion {
  max-width: 760px;
  margin: 0 auto;
}

.accordion__item {
  border-bottom: 1px solid var(--color-border);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 4px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--color-text);
}

.accordion__icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-icon);
  transition: transform 0.2s ease;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.accordion__panel > p {
  overflow: hidden;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  padding: 0 4px;
  line-height: 1.7;
}

.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__item.is-open .accordion__panel > p {
  padding-bottom: 22px;
}

.accordion__panel {
  display: grid;
}

.accordion__panel > p {
  min-height: 0;
}

/* Contact */
.contact {
  padding: 120px 0;
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row--full {
  grid-column: 1 / -1;
}

.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
}

.required {
  color: #E0584C;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--color-text);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 1px solid var(--color-primary);

}

.form-row textarea {
  resize: vertical;
}

.form-success {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px 20px;
  border-radius: 8px;
  background: rgba(29, 158, 117, 0.1);
  color: var(--color-primary-dark);
  font-weight: 600;
  text-align: center;
}

.form-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px 20px;
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.08);
  color: #B91C1C;
  font-weight: 600;
  text-align: center;
}

/* Footer */
.footer {
  background: #F1F5F9;
  color: var(--color-text-muted);
  padding: 56px 0 32px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer .logo {
  color: var(--color-text);
  margin-bottom: 16px;
}

.footer .logo span {
  color: var(--color-primary);
}

.footer__logo-img {
  height: 18px;
}

.footer__brand {
  max-width: 600px;
}

.footer__brand p {
  margin: 6px 0 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  word-break: keep-all;
}

.footer__contact a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer__contact a:hover {
  color: var(--color-primary-dark);
}

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer__links a:hover {
  color: var(--color-primary-dark);
}

.footer__copyright {
  width: 100%;
  margin: 32px 0 0;
  font-size: 0.8rem;
  color: #94A3A8;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

/* Mobile CTA */
.mobile-cta {
  display: none;
}

/* Responsive */
@media (max-width: 880px) {
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    margin: 12px 0 0;
    order: 3;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 10px 0;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
  }

  .header__inner {
    flex-wrap: wrap;
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .btn--header {
    display: none;
  }

  .card-grid--3 {
    grid-template-columns: 1fr;
  }

  /* Feature showcase stacks: text above the product screen */
  .feature-showcase {
    gap: 56px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-row:nth-child(even) .feature-row__text,
  .feature-row:nth-child(even) .feature-row__visual {
    order: 0;
  }

  .feature-row__text p {
    max-width: none;
  }

  .cta-band {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 32px 24px;
    gap: 18px;
  }

  .cta-band__text {
    align-items: center;
  }

  .pms__flow {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .pms__step {
    max-width: 320px;
  }

  /* Horizontal connecting line doesn't apply when steps stack */
  .pms__track {
    display: none;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 200;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 16px;
    border-radius: 999px;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  /* Hidden once the user reaches the 도입상담 section (avoids a redundant CTA) */
  .mobile-cta.is-hidden {
    opacity: 0;
    transform: translateY(140%);
    pointer-events: none;
  }

  .contact {
    padding-bottom: 110px;
  }
}

/* --ns scales only the OUTER nodes inward as the viewport narrows so they don't
   clip the edges. Inner nodes stay at full spread to clear the title/subtitle. */
@media (max-width: 1280px) {
  .hero { --ns: 0.92; }
}

@media (max-width: 1080px) {
  .hero { --ns: 0.82; }
}

/* Below this the hero gets too narrow for the floating cloud — hide it and
   fall back to the clean centered hero. */
@media (max-width: 960px) {
  .hero__node,
  .hero__orb {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 64px;
  }

  .hero__title {
    white-space: normal;
  }

  /* Room-status mockups show just 4 rooms (2×2) on mobile */
  .roomgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roomgrid .roomcard:nth-child(n + 5) {
    display: none;
  }
}
