:root {
  --bg: #0a0c10;
  --ink: #f3f5f9;
  --muted: #9aa3b2;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #4aa3ff;
  --teal: #35c4a5;
  --cta: #ffe812;
  --cta-ink: #171717;
  --body: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background: var(--bg);
  line-height: 1.65;
  word-break: keep-all;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 560px at 70% 20%, rgba(40, 96, 180, 0.28), transparent 60%),
    radial-gradient(700px 480px at 15% 10%, rgba(24, 110, 90, 0.16), transparent 55%),
    linear-gradient(180deg, #07090d 0%, #0a0c10 50%, #0b1016 100%);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1.2rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(10, 12, 16, 0.78);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-mark {
  width: 64px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.cta-nav {
  color: var(--cta-ink) !important;
  background: var(--cta);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(2rem, 6vh, 4rem) clamp(1.2rem, 4vw, 3rem) 3rem;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 34rem;
  animation: rise 0.8s ease both;
}

.hero-logo {
  width: min(240px, 68%);
  margin: 0 0 1.15rem;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.28;
}

.lede {
  margin: 1rem 0 0;
  color: rgba(243, 245, 249, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 28rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

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

.btn.solid {
  background: var(--cta);
  color: var(--cta-ink);
}

.btn.solid:hover {
  filter: brightness(1.05);
}

.btn.line {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.btn.line:hover {
  background: rgba(255, 255, 255, 0.07);
}

.hero-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 2.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.hero-tab {
  position: relative;
  padding: 0.85rem 0.2rem 0.15rem;
  color: var(--muted);
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.hero-tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.hero-tab.is-active {
  color: var(--ink);
}

.hero-tab.is-active::before {
  background: var(--accent);
}

.hero-stage {
  position: relative;
  height: min(560px, 72vh);
  min-height: 480px;
  animation: rise 0.95s 0.08s ease both;
}

.stage-glow {
  position: absolute;
  inset: 10% 8% 8% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 163, 255, 0.22), transparent 68%);
  filter: blur(8px);
  animation: pulse 7s ease-in-out infinite;
}

.mock-desk {
  position: absolute;
  right: 4%;
  top: 6%;
  width: min(390px, 78%);
  border-radius: 14px;
  overflow: hidden;
  background: #f5f7fb;
  color: #171a22;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
}

.desk-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.8rem;
  background: #e8ecf3;
}

.desk-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9d0db;
}

.desk-chrome span:nth-child(1) {
  background: #ff6b6b;
}
.desk-chrome span:nth-child(2) {
  background: #ffd166;
}
.desk-chrome span:nth-child(3) {
  background: #06d6a0;
}

.desk-chrome p {
  margin: 0 0 0 0.5rem;
  flex: 1;
  font-size: 0.7rem;
  color: #667085;
  background: #fff;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}

.desk-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.desk-kicker {
  margin: 0;
  color: #2f7fe0;
  font-size: 0.72rem;
  font-weight: 700;
}

.desk-body h2 {
  margin: 0.3rem 0 0.85rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.desk-rows {
  display: grid;
  gap: 0.45rem;
}

.desk-rows div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: #eef2f8;
  font-size: 0.84rem;
}

.desk-rows span {
  color: #5b6478;
}

.desk-rows strong {
  color: #12151d;
}

.mock-phone {
  position: absolute;
  left: 1%;
  bottom: 4%;
  z-index: 2;
  width: 248px;
  animation: float 8s ease-in-out infinite;
}

.phone-btn {
  position: absolute;
  background: linear-gradient(180deg, #3a3f4a, #1a1d24);
  border-radius: 2px;
  z-index: 1;
}

.phone-btn-silent {
  left: -3px;
  top: 92px;
  width: 3px;
  height: 22px;
}

.phone-btn-vol-up {
  left: -3px;
  top: 132px;
  width: 3px;
  height: 36px;
}

.phone-btn-vol-down {
  left: -3px;
  top: 178px;
  width: 3px;
  height: 36px;
}

.phone-btn-power {
  right: -3px;
  top: 150px;
  width: 3px;
  height: 54px;
}

.phone-shell {
  position: relative;
  border-radius: 36px;
  padding: 11px;
  background:
    linear-gradient(145deg, #5a6170 0%, #2a2e38 28%, #0d0f14 62%, #3b4150 100%);
  box-shadow:
    0 28px 50px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55);
}

.phone-shell::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 3;
}

.phone-screen {
  position: relative;
  border-radius: 26px;
  background: #0b0f16;
  overflow: hidden;
  height: 460px;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-status {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f4f6fb;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-status-icons .sig,
.phone-status-icons .wifi,
.phone-status-icons .bat {
  display: block;
  background: #f4f6fb;
}

.phone-status-icons .sig {
  width: 14px;
  height: 10px;
  clip-path: polygon(0 100%, 20% 100%, 20% 70%, 40% 70%, 40% 45%, 60% 45%, 60% 25%, 80% 25%, 80% 0, 100% 0, 100% 100%);
}

.phone-status-icons .wifi {
  width: 13px;
  height: 10px;
  background:
    radial-gradient(circle at 50% 100%, transparent 0 2px, #f4f6fb 2.5px 3.5px, transparent 4px),
    radial-gradient(circle at 50% 100%, transparent 0 5px, #f4f6fb 5.5px 6.5px, transparent 7px);
  background-color: transparent;
}

.phone-status-icons .bat {
  width: 18px;
  height: 9px;
  border: 1.5px solid #f4f6fb;
  border-radius: 2px;
  background:
    linear-gradient(90deg, #f4f6fb 0 70%, transparent 70% 100%);
  box-shadow: 2px 0 0 #f4f6fb;
  background-origin: content-box;
  padding: 1px;
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  border-radius: 999px;
  background: #05070b;
  z-index: 4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-island::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 35% 35%, #3b4a63, #0a1018 70%);
}

.phone-appbar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-appbar img {
  width: 34px;
  height: auto;
  border-radius: 8px;
}

.phone-appbar strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.15;
}

.phone-appbar em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  color: #9ad7ff;
}

.chat {
  flex: 1;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
}

.bubble {
  display: block;
  max-width: 85%;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  font-size: 0.74rem;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: normal;
}

.bubble.from-me {
  align-self: flex-end;
  background: #1f6b4a;
  color: #fff;
  border-bottom-right-radius: 5px;
}

.bubble.from-ai {
  align-self: flex-start;
  background: #1a2130;
  color: #e8edf7;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 5px;
}

.phone-home {
  width: 96px;
  height: 4px;
  margin: 0.35rem auto 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-mascot {
  position: absolute;
  right: -1%;
  bottom: -4%;
  width: 168px;
  z-index: 3;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.4));
  animation: float 9s ease-in-out infinite;
  animation-delay: -2.5s;
  pointer-events: none;
}

.proptech {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.4rem clamp(1.2rem, 4vw, 3rem) 3.2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.proptech-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.proptech-eq {
  margin: 0.85rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.55rem 0.85rem;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.proptech-eq .prop {
  color: var(--teal);
}

.proptech-eq .plus {
  color: #e23b45;
  font-size: 0.85em;
}

.proptech-eq .tech {
  color: var(--accent);
}

.proptech-ko {
  margin: 1rem auto 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.proptech-ko strong {
  color: var(--ink);
  font-weight: 700;
}

.kicker {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ai,
.edges,
.product,
.closing {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.6rem clamp(1.2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.ai {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.ai h2,
.edges h2,
.product h2,
.closing h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.ai-lede {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 32rem;
}

.ai-visual {
  display: flex;
  justify-content: center;
}

.ai-visual img {
  width: min(320px, 78%);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.4));
  animation: float 8s ease-in-out infinite;
}

.edges-head {
  max-width: 36rem;
  margin-bottom: 2.4rem;
}

.edge-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.5rem;
}

.edge-list article {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.edge-num {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.edge-list h3 {
  margin: 0 0 0.45rem;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.edge-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.product > h2 {
  margin-bottom: 1.5rem;
}

.product-row {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  max-width: 40rem;
}

.product-row.reverse {
  margin-left: auto;
  text-align: right;
}

.product-label {
  margin: 0;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.product-row h3 {
  margin: 0.4rem 0 0;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.product-row p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 700;
}

.text-link:hover {
  color: #7cbcff;
}

.closing {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.closing-mascot {
  width: 140px;
  flex-shrink: 0;
  animation: float 8s ease-in-out infinite;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 2.2rem clamp(1.2rem, 4vw, 3rem) 3rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.22);
}

.foot-top {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.95rem;
}

.foot-top img {
  width: 52px;
  border-radius: 0;
}

.foot-top strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
}

.foot-top span {
  font-size: 0.85rem;
}

.foot-biz {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0 0 1rem;
  font-size: 0.84rem;
  line-height: 1.5;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.foot a:hover {
  color: var(--ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@media (max-width: 960px) {
  .hero,
  .ai,
  .edge-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 1.6rem;
    gap: 2rem;
  }

  .hero-stage {
    height: 380px;
    min-height: 380px;
  }

  .hero-logo {
    width: min(180px, 58%);
  }

  .mock-desk {
    width: min(240px, 62%);
    right: 2%;
    top: 2%;
  }

  .mock-phone {
    width: 168px;
    left: 4%;
    bottom: 2%;
  }

  .phone-screen {
    height: 310px;
  }

  .phone-appbar img {
    width: 26px;
  }

  .phone-appbar strong {
    font-size: 0.72rem;
  }

  .phone-island {
    width: 64px;
    height: 18px;
  }

  .chat .bubble:nth-child(n + 3) {
    display: none;
  }

  .bubble {
    font-size: 0.64rem;
    padding: 0.4rem 0.5rem;
  }

  .hero-mascot {
    width: 100px;
    right: 0;
    bottom: -4%;
  }

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

  .hero-tab {
    padding: 0.7rem 0;
  }

  .hero-tab::before {
    width: 3px;
    height: 100%;
  }

  .product-row.reverse {
    margin-left: 0;
    text-align: left;
  }

  .closing {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav a:not(.cta-nav) {
    display: none;
  }
}
