:root {
  --ink: #1c1410;
  --ink-soft: #2a211c;
  --muted: #7c6a5d;
  --line: #eadfd6;
  --white: #ffffff;
  --accent: #ea580c;
  --accent-dark: #c2410c;
  --accent-glow: rgba(234, 88, 12, 0.14);
  --navy: #1a100c;
  --hero-bg: linear-gradient(145deg, #c2410c 0%, #ea580c 42%, #f97316 100%);
  --radius: 16px;
  --shadow: 0 24px 60px rgba(28, 20, 16, 0.12);
  --max: 1180px;
  /* 하위 호환 — 기존 var(--blue*) 참조 */
  --blue: var(--accent);
  --blue-dark: var(--accent-dark);
  --blue-glow: var(--accent-glow);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.site-brand-mark {
  height: 30px;
  width: 30px;
  display: block;
}

.site-brand-name {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}

.site-brand-name .accent {
  color: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.55rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--line);
}

.site-lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.35rem 0.15rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s;
}

.site-lang-btn:hover {
  color: var(--accent);
}

.site-lang-btn.is-active {
  color: var(--ink);
  font-weight: 700;
}

.site-lang-sep {
  color: var(--line);
  font-size: 0.85rem;
  user-select: none;
}

.site-nav a {
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.site-nav a:hover {
  background: var(--blue-glow);
  color: var(--blue);
}

.site-nav-cta {
  margin-left: 0.35rem;
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.55rem 1rem !important;
}

.site-nav-cta:hover {
  background: var(--blue-dark) !important;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 50px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.35);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-secondary:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-actions-hidden,
.hero-actions[hidden] {
  display: none !important;
}

/* ── Hero ── */
.hero {
  background: var(--hero-bg);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 247, 237, 0.28), transparent 40%),
    radial-gradient(circle at 8% 85%, rgba(154, 52, 18, 0.35), transparent 42%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff7ed;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.12rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-note {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-visual {
  position: relative;
}

.hero-stage {
  position: relative;
  min-height: 340px;
  padding: 0.5rem 0 0.5rem 1rem;
  animation: heroShotIn 0.7s ease both;
}

@keyframes heroShotIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-stage-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 24px 48px rgba(124, 45, 18, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-stage-main {
  position: relative;
  z-index: 2;
  width: min(100%, 320px);
  transform: rotate(-2deg);
}

.hero-stage-kds {
  position: absolute;
  right: 0;
  bottom: 1.5rem;
  z-index: 3;
  width: min(78%, 260px);
  transform: rotate(3deg);
  background: #1c1410;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-stage-bar {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.hero-stage-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #eadfd6;
}

.hero-stage-label {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-stage-kds .hero-stage-label {
  color: #fdba74;
}

.hero-stage-rows {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-stage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: #faf6f2;
  border: 1px solid #eadfd6;
}

.hero-stage-row strong {
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-stage-row em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: #ffedd5;
  color: var(--accent-dark);
}

.hero-stage-row.is-cold em {
  background: #e0f2fe;
  color: #0369a1;
}

.hero-stage-row.is-bar em {
  background: #f3e8ff;
  color: #7e22ce;
}

.hero-stage-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #eadfd6;
}

.hero-stage-total span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-stage-total strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: -0.02em;
}

.hero-stage-tickets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.hero-ticket {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.7rem 0.35rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-ticket b {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-ticket span {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.85;
}

.hero-ticket.is-new {
  background: rgba(251, 146, 60, 0.22);
  border-color: rgba(251, 146, 60, 0.45);
}

.hero-ticket.is-ready {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.4);
}

.hero-ticket.is-pick {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(59, 130, 246, 0.35);
}

.hero-stage-badge {
  position: absolute;
  left: 1.5rem;
  bottom: 0;
  z-index: 4;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #1c1410;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ── Venue chips ── */
.venues {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.venues-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem;
}

.venues-label {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.venue-scroll {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.venue-chip {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--white);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.venue-chip:hover,
.venue-chip.active {
  border-color: var(--blue);
  color: var(--blue);
  background: #eff6ff;
}

/* ── Section common ── */
.section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Features catalog ── */
.features {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(234, 88, 12, 0.07), transparent 55%),
    linear-gradient(180deg, #faf6f2 0%, #fbf8f5 40%, #ffffff 100%);
}

.feature-catalog {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.feature-group {
  padding: 1.75rem 1.85rem 1.9rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(12px);
  animation: featureIn 0.55s ease forwards;
}

.feature-group:nth-child(1) { animation-delay: 0.05s; }
.feature-group:nth-child(2) { animation-delay: 0.12s; }
.feature-group:nth-child(3) { animation-delay: 0.19s; }
.feature-group:nth-child(4) { animation-delay: 0.26s; }

.feature-group:nth-child(2n) {
  border-right: none;
}

.feature-group:nth-child(n + 3) {
  border-bottom: none;
}

@keyframes featureIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-group h3 {
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.feature-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.feature-group li {
  display: grid;
  gap: 0.2rem;
}

.feature-group li strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.feature-group li span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.feature-more {
  margin: 2rem 0 0;
  text-align: center;
}

.feature-more a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}

.feature-more a:hover {
  color: var(--blue-dark);
  border-bottom-color: rgba(234, 88, 12, 0.35);
}

.feature-more a::after {
  content: "→";
  transition: transform 0.15s;
}

.feature-more a:hover::after {
  transform: translateX(3px);
}

/* ── Home Support catalog (same grid as Features) ── */
.support-home {
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(234, 88, 12, 0.06), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #fbf8f5 100%);
}

#home,
#features,
#solutions,
#support {
  scroll-margin-top: 5.5rem;
}

.hero#home {
  scroll-margin-top: 0;
}

.support-catalog a {
  display: grid;
  gap: 0.2rem;
  color: inherit;
  transition: color 0.15s;
}

.support-catalog a:hover strong {
  color: var(--blue);
}

.support-catalog a:hover span {
  color: var(--ink-soft);
}

/* ── Solutions tabs ── */
.solutions {
  background: var(--white);
}

.solution-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.solution-tab {
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s;
}

.solution-tab.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.solution-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.solution-panel {
  display: none;
}

.solution-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  grid-column: 1 / -1;
}

.solution-copy h3 {
  margin: 0 0 0.75rem;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.solution-copy p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.75;
}

.solution-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.solution-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.solution-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.solution-visual {
  background: linear-gradient(135deg, #fff7ed, #faf6f2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
  width: fit-content;
}

.stat-pill strong {
  color: var(--blue);
}

/* ── Platform split ── */
.platform-split {
  background: linear-gradient(145deg, #ea580c 0%, #f97316 48%, #fb923c 100%);
  color: var(--white);
}

.platform-split .section-head h2,
.platform-split .section-head p {
  color: var(--white);
}

.platform-split .section-head p {
  opacity: 0.9;
}

.split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.split-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  padding: 2rem;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(6px);
}

.split-card:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
}

.split-card-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff7ed;
}

.split-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.5rem;
}

.split-card p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  font-size: 0.98rem;
}

.split-card .btn {
  width: 100%;
}

.split-card-url {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff7ed;
  letter-spacing: -0.01em;
}

/* ── Quote ── */
.quote-section {
  background: #faf6f2;
  text-align: center;
}

.quote-stat {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.quote-text {
  max-width: 36rem;
  margin: 0 auto 1rem;
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.quote-author {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── CTA ── */
.cta-section {
  background: var(--white);
}

.cta-box {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 50%, #eef2ff 100%);
  border: 1px solid var(--line);
  text-align: center;
}

.cta-box h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-box p {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 2.5rem;
}

.footer-brand-name {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

.footer-brand-name .accent {
  color: #6ea8ff;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 18rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col a {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-inner,
  .solution-panel.active,
  .split-cards,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .feature-catalog {
    grid-template-columns: 1fr;
  }

  .feature-group {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .feature-group:nth-child(n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .feature-group:last-child {
    border-bottom: none;
  }

  .hero-visual {
    order: -1;
  }

  .hero-stage {
    min-height: 300px;
    padding-left: 0;
  }

  .hero-stage-main,
  .hero-stage-kds {
    transform: none;
  }

  .hero-stage-kds {
    right: 0.25rem;
    bottom: 2.5rem;
  }

  .site-nav a:not(.site-nav-cta) {
    display: none;
  }
}

@media (max-width: 560px) {
  .feature-group {
    padding: 1.4rem 1.25rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 280px;
  }

  .hero-stage-main {
    width: 100%;
  }

  .hero-stage-kds {
    width: 72%;
  }
}
