:root {
  --bg: #0b1220;
  --bg-elevated: #111b2e;
  --bg-card: #162238;
  --border: rgba(148, 163, 184, 0.16);
  --border-accent: rgba(6, 182, 212, 0.45);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #06b6d4;
  --accent-bright: #22d3ee;
  --accent-soft: rgba(6, 182, 212, 0.12);
  --green: #10b981;
  --radius: 14px;
  --max-w: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

/* The wordmark is one flex item, so the gap above stays between icon and text only. */
.brand-name span { color: var(--accent-bright); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4, #0284c7);
  color: #fff;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-sm { padding: 8px 14px; font-size: 0.88rem; }

/* Hero */
.hero {
  padding: 84px 0 64px;
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.14), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  color: var(--accent-bright);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  line-height: 1.24;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  word-break: keep-all;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-bright);
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  word-break: keep-all;
}

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

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-highlights span::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  margin-right: 6px;
}

/* Preview Mock / Demo Box */
.demo-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.demo-dots { display: flex; gap: 6px; }
.demo-dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #334155;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.room-tile {
  background: #0d1626;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 112px;
}

.room-tile.active {
  border-color: var(--border-accent);
  background: linear-gradient(160deg, rgba(6, 182, 212, 0.14), #0d1626 65%);
}

.room-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 700;
}

.status-pill {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 600;
}

.status-live { background: rgba(16, 185, 129, 0.18); color: #34d399; }
.status-idle { background: rgba(148, 163, 184, 0.16); color: #94a3b8; }
.status-warn { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }

.room-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.demo-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Video Embed Container (Optional) */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #09101d;
  border: 1px solid var(--border);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header .eyebrow {
  color: var(--accent-bright);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  word-break: keep-all;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
  word-break: keep-all;
}

/* Feature Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  word-break: keep-all;
}

.feature-list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.feature-list li::before {
  content: "•";
  color: var(--accent-bright);
  font-weight: 700;
  margin-right: 8px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 18px 48px rgba(6, 182, 212, 0.14);
}

.price-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: #06202b;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-name { font-size: 1.18rem; font-weight: 700; margin-bottom: 6px; }
.price-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }

.price-amount {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.price-amount small {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-sub {
  font-size: 0.85rem;
  color: var(--accent-bright);
  margin-bottom: 22px;
}

.price-card .feature-list { margin-bottom: 26px; flex: 1; }

.pricing-note {
  max-width: 860px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
}

details.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent-bright);
  margin-left: 12px;
}

details.faq-item[open] summary::after { content: "−"; }

details.faq-item p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.94rem;
  word-break: keep-all;
}

/* Contact */
.contact-box {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(2, 132, 199, 0.08));
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 44px 28px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.contact-box h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  margin-bottom: 12px;
}

.contact-box p {
  color: var(--text-muted);
  margin-bottom: 28px;
  word-break: keep-all;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Footer */
footer {
  padding: 40px 0 52px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.disclaimer {
  color: #64748b;
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .hero-grid, .grid-3, .grid-2, .pricing-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 56px 0 48px; }
}
