:root {
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --white: #ffffff;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-glow: rgba(37, 99, 235, 0.14);
  --navy: #0b1220;
  --hero-bg: linear-gradient(145deg, #0b1220 0%, #152238 48%, #1a2744 100%);
  --radius: 16px;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --max: 1180px;
}

*,
*::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-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(37, 99, 235, 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 ── */
.hero {
  background: var(--hero-bg);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.35), transparent 42%),
    radial-gradient(circle at 10% 80%, rgba(59, 130, 246, 0.2), transparent 38%);
  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.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.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.78);
  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.55);
}

.hero-visual {
  position: relative;
}

.hero-mock {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.mock-topbar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.mock-screen {
  background: #f8fafc;
  border-radius: 14px;
  padding: 1rem;
  color: var(--ink);
  min-height: 280px;
}

.mock-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mock-tab {
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  background: #e2e8f0;
  color: var(--muted);
}

.mock-tab.active {
  background: var(--blue);
  color: var(--white);
}

.mock-tables {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.mock-table {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--white);
}

.mock-table.active {
  border-color: var(--blue);
  background: #eff6ff;
  color: var(--blue);
}

/* ── 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 ── */
.features {
  background: #f8fafc;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-glow);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── 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, #eff6ff, #f8fafc);
  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: var(--navy);
  color: var(--white);
}

.platform-split .section-head h2,
.platform-split .section-head p {
  color: var(--white);
}

.platform-split .section-head p {
  opacity: 0.75;
}

.split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.split-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2rem;
  transition: background 0.2s, border-color 0.2s;
}

.split-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.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: #93c5fd;
}

.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.72);
  line-height: 1.7;
  font-size: 0.98rem;
}

.split-card .btn {
  width: 100%;
}

/* ── Quote ── */
.quote-section {
  background: #f8fafc;
  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-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .site-nav a:not(.site-nav-cta) {
    display: none;
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .mock-tables {
    grid-template-columns: repeat(3, 1fr);
  }
}
