:root {
  --navy: #061628;
  --navy-2: #0a2340;
  --blue: #2563eb;
  --cyan: #22b8cf;
  --green: #10b981;
  --ink: #111827;
  --text: #243044;
  --muted: #687386;
  --line: #dbe4ef;
  --soft: #f3f7fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 0 max(20px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(219, 228, 239, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #40506a;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 780px;
  background: var(--navy);
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(34, 184, 207, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(4, 15, 30, 0.94) 0%, rgba(6, 22, 40, 0.78) 42%, rgba(6, 22, 40, 0.26) 100%),
    url("./assets/images/hero-access.png") center / cover no-repeat;
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 210px;
  background: linear-gradient(0deg, rgba(6, 22, 40, 0.72), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 74px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.12;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.35;
}

.hero-lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

.hero-actions,
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 38px;
}

.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.16);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--navy);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 184, 207, 0.18), rgba(37, 99, 235, 0.08)),
    #eef6fb;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 22, 40, 0.46), transparent 54%),
    linear-gradient(0deg, rgba(6, 22, 40, 0.28), transparent 42%);
  pointer-events: none;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 24px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 8px;
}

.door-panel {
  position: absolute;
  inset: 54px 64px 88px;
  border-radius: 8px;
  background: linear-gradient(160deg, #09243f, #0e345d);
  color: var(--white);
  box-shadow: 0 24px 54px rgba(6, 22, 40, 0.28);
}

.door-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.85);
}

.door-frame {
  position: relative;
  display: grid;
  height: calc(100% - 57px);
  place-items: center;
}

.door-glow {
  width: 48%;
  height: 68%;
  border: 2px solid rgba(34, 184, 207, 0.55);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(34, 184, 207, 0.12), rgba(255, 255, 255, 0.05));
  box-shadow: 0 0 34px rgba(34, 184, 207, 0.28);
}

.door-line {
  position: absolute;
  width: 2px;
  height: 54%;
  background: rgba(255, 255, 255, 0.22);
}

.lock-chip {
  position: absolute;
  right: 42px;
  bottom: 42px;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(16, 185, 129, 0.16);
  color: #b9f7df;
  font-size: 13px;
  font-weight: 800;
}

.access-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(310px, 72%);
  border: 1px solid rgba(219, 228, 239, 0.95);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.hero-status-card {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 36px;
  width: min(300px, 70%);
  border: 1px solid rgba(219, 228, 239, 0.82);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(12px);
}

.status-card-top,
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.status-card-top {
  justify-content: flex-start;
  margin-bottom: 12px;
  color: var(--navy);
}

.status-row {
  border-top: 1px solid #e7edf5;
  padding: 9px 0;
  color: #5b6a7f;
  font-size: 14px;
  font-weight: 800;
}

.status-row:last-child {
  padding-bottom: 0;
}

.status-row strong {
  color: var(--navy);
}

.access-card strong,
.access-card small {
  display: block;
}

.access-card small {
  color: var(--muted);
}

.icon,
.card-icon,
.feature-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #e8f5ff;
  color: var(--blue);
  font-weight: 900;
}

.icon {
  width: 42px;
  height: 42px;
}

.phone {
  left: 28px;
  top: 106px;
}

.qr {
  right: 28px;
  top: 240px;
}

.face {
  left: auto;
  right: 30px;
  bottom: 42px;
}

.trust-bar {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.trust-bar p {
  margin: 0;
  padding: 22px 20px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-image,
.usecase-image,
.install-image {
  position: relative;
  overflow: hidden;
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-image img,
.usecase-image img,
.install-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.section-image-dark {
  border-color: rgba(255, 255, 255, 0.12);
}

.section-heading p:not(.eyebrow),
.proof-section p,
.cta-inner p {
  color: var(--muted);
  font-size: 17px;
}

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

.method-card,
.feature-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.method-card {
  padding: 28px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.method-card:hover,
.feature-card:hover,
.proof-visual:hover,
.contact-form:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.16);
}

.card-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.method-card p {
  color: var(--muted);
}

.method-card ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.method-card li {
  position: relative;
  padding-left: 22px;
  color: #334155;
  font-weight: 700;
}

.method-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.section-muted {
  background: var(--soft);
}

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

.feature-card {
  min-height: 210px;
  padding: 22px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.two-column,
.proof-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.usecase-image {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-grid span,
.scenario-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 15px;
  background: var(--white);
  color: #31425a;
  font-weight: 800;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark h2,
.section-dark .eyebrow {
  color: var(--white);
}

.section-dark .section-heading p:not(.eyebrow) {
  color: #c6d3e4;
}

.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 44px;
  align-items: center;
}

.install-image {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  border-color: rgba(255, 255, 255, 0.14);
}

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

.scenario-list span {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.proof-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #f7fbff;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.proof-logo {
  display: block;
  width: min(280px, 76%);
  margin: 0 auto 18px;
  border-radius: 8px;
}

.screen-line {
  width: 58%;
  height: 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #d8e6f4;
}

.screen-line.wide {
  width: 82%;
}

.screen-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--white);
}

.screen-row span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.screen-row small {
  color: var(--muted);
  font-weight: 800;
}

.screen-row.approved span {
  background: var(--green);
  animation: statusPulse 2.4s ease-in-out infinite;
}

.screen-row.blocked span {
  background: #ef4444;
}

.cta-section {
  background: linear-gradient(135deg, #eaf5ff, #f7fbff);
}

.cta-inner {
  justify-content: space-between;
  padding: 56px 0;
}

.cta-inner div {
  max-width: 760px;
}

.contact-section {
  padding-bottom: 80px;
}

.contact-form {
  padding: 28px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

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

label {
  display: grid;
  gap: 8px;
  color: #253349;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: var(--white);
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(37, 99, 235, 0.14);
  border-color: var(--blue);
}

textarea {
  resize: vertical;
}

.full-field {
  margin: 18px 0;
}

.form-note {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--navy);
  color: #c6d3e4;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
}

.copyright {
  color: #91a1b7;
  font-size: 14px;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: revealUp 1.44s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-reveal:nth-child(1) {
  animation-delay: 0.16s;
}

.hero-reveal:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-reveal:nth-child(3) {
  animation-delay: 0.64s;
}

.hero-reveal:nth-child(4) {
  animation-delay: 0.88s;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.44s cubic-bezier(0.16, 1, 0.3, 1), transform 1.44s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll.is-visible .method-card,
.reveal-on-scroll.is-visible .feature-card,
.reveal-on-scroll.is-visible .tag-grid span,
.reveal-on-scroll.is-visible .scenario-list span {
  animation: revealUp 1.24s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal-on-scroll.is-visible .method-card:nth-child(2),
.reveal-on-scroll.is-visible .feature-card:nth-child(2),
.reveal-on-scroll.is-visible .tag-grid span:nth-child(2),
.reveal-on-scroll.is-visible .scenario-list span:nth-child(2) {
  animation-delay: 0.16s;
}

.reveal-on-scroll.is-visible .method-card:nth-child(3),
.reveal-on-scroll.is-visible .feature-card:nth-child(3),
.reveal-on-scroll.is-visible .tag-grid span:nth-child(3),
.reveal-on-scroll.is-visible .scenario-list span:nth-child(3) {
  animation-delay: 0.32s;
}

.reveal-on-scroll.is-visible .feature-card:nth-child(4),
.reveal-on-scroll.is-visible .tag-grid span:nth-child(4),
.reveal-on-scroll.is-visible .scenario-list span:nth-child(4) {
  animation-delay: 0.48s;
}

.reveal-on-scroll.is-visible .feature-card:nth-child(5),
.reveal-on-scroll.is-visible .tag-grid span:nth-child(5),
.reveal-on-scroll.is-visible .scenario-list span:nth-child(5) {
  animation-delay: 0.64s;
}

.reveal-on-scroll.is-visible .tag-grid span:nth-child(n+6),
.reveal-on-scroll.is-visible .scenario-list span:nth-child(n+6) {
  animation-delay: 0.8s;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.035);
  }
}

@keyframes statusPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.36);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-reveal,
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .method-grid,
  .install-layout,
  .two-column,
  .proof-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 460px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px;
  }

  .section-shell {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    min-height: 680px;
  }

  .hero-actions .btn,
  .cta-inner .btn,
  .contact-form .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 620px;
  }

  .hero-content {
    padding-top: 66px;
  }

  .hero-bg {
    background-position: 62% center;
  }

  .section-image img,
  .usecase-image img,
  .install-image img {
    aspect-ratio: 4 / 3;
  }

  .door-panel {
    inset: 42px 34px 100px;
  }

  .access-card {
    width: calc(100% - 44px);
  }

  .phone,
  .qr,
  .face {
    left: 22px;
    right: auto;
  }

  .phone {
    top: 86px;
  }

  .qr {
    top: 214px;
  }

  .face {
    top: 342px;
    bottom: auto;
  }

  .hero-status-card {
    left: 22px;
    right: auto;
    bottom: 22px;
    width: calc(100% - 44px);
  }

  .section {
    padding: 68px 0;
  }

  .feature-grid,
  .scenario-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .method-card,
  .contact-form {
    padding: 22px;
  }
}
