:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-2: #0b1728;
  --bg-3: #101f34;
  --text: #eef6ff;
  --muted: #a9b9c9;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #27d7ff;
  --blue: #5d8bff;
  --purple: #8b5cf6;
  --green: #00f0a8;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(39, 215, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 0%, rgba(139, 92, 246, 0.16), transparent 30rem),
    linear-gradient(180deg, #07111f 0%, #08111e 42%, #060b13 100%);
  color: var(--text);
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
strong { color: var(--white); }

h1, h2, h3, p, li { word-break: keep-all; overflow-wrap: break-word; }

.site-shell { overflow: hidden; }
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), var(--max));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.26);
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--purple) 58%, var(--green));
  color: #07111f;
  font-weight: 900;
  box-shadow: 0 8px 26px rgba(39, 215, 255, 0.35);
}
.brand strong { display: block; font-size: 15px; line-height: 1; }
.brand em { display: block; margin-top: 4px; color: var(--muted); font-style: normal; font-size: 11px; }
.brand-logo {
  display: block;
  width: clamp(108px, 12vw, 148px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
  padding: 5px 8px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(255,255,255,.08);
}
.brand-text { min-width: 0; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a { padding: 10px 12px; color: #d5e5f8; font-size: 14px; border-radius: 999px; transition: 0.2s ease; }
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-cta { background: rgba(39, 215, 255, 0.13); border: 1px solid rgba(39, 215, 255, 0.24); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: rgba(255,255,255,.08); }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: #fff; }

.section-pad { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; padding: 110px 0; }
.hero { min-height: 100vh; padding-top: 150px; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: center; position: relative; }
.hero-bg-orb { position: absolute; pointer-events: none; filter: blur(24px); opacity: 0.8; border-radius: 50%; }
.orb-1 { width: 180px; height: 180px; background: rgba(39, 215, 255, 0.22); left: -80px; top: 210px; }
.orb-2 { width: 280px; height: 280px; background: rgba(139, 92, 246, 0.18); right: -140px; bottom: 120px; }
.eyebrow { margin: 0 0 16px; color: var(--cyan); font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 680px; font-size: clamp(30px, 4vw, 54px); line-height: 1.08; letter-spacing: -0.045em; word-break: keep-all; }
.hero-lead { margin: 24px 0 0; color: #c6d8ea; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.72; max-width: 640px; word-break: keep-all; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; border: 1px solid transparent; cursor: pointer; }
.btn.primary { background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #06101d; box-shadow: 0 14px 34px rgba(39, 215, 255, 0.28); }
.btn.ghost { border-color: rgba(255,255,255,.16); color: #fff; background: rgba(255,255,255,.06); }

.hero-visual { position: relative; border-radius: 34px; overflow: hidden; min-height: 520px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.12); background: #0a1424; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7, 17, 31, .72)); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }
.hero-card { position: absolute; z-index: 2; width: 210px; padding: 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(7,17,31,.72); backdrop-filter: blur(14px); }
.hero-card span { display: block; color: var(--muted); font-size: 13px; }
.hero-card strong { display: block; margin-top: 4px; font-size: 19px; }
.hero-card-top { top: 24px; left: 24px; }
.hero-card-bottom { right: 24px; bottom: 24px; }

.stats { width: min(calc(100% - 32px), var(--max)); margin: -44px auto 0; position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats article { padding: 26px; border-radius: 24px; border: 1px solid var(--line); background: rgba(12, 27, 46, 0.72); backdrop-filter: blur(16px); }
.stats strong { font-size: 38px; letter-spacing: -0.05em; }
.stats span { margin-left: 4px; color: var(--cyan); font-weight: 800; }
.stats p { margin: 8px 0 0; color: var(--muted); }

.section-heading { max-width: 760px; }
.section-heading.center { text-align: center; margin: 0 auto 46px; }
.section-heading h2, .platform-copy h2, .dark-panel h2, .ip-copy h2 { margin: 0; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -0.04em; word-break: keep-all; }
.section-heading p:not(.eyebrow), .platform-copy p, .dark-panel p, .ip-copy p { color: var(--muted); line-height: 1.72; font-size: clamp(15px, 1.3vw, 17px); word-break: keep-all; }

.split-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; margin-top: 38px; }
.text-stack { color: #cad8e8; font-size: clamp(15px, 1.35vw, 17px); line-height: 1.78; word-break: keep-all; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature-card { min-height: 150px; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); }
.feature-card b { display: block; margin-bottom: 10px; color: #fff; font-size: 18px; }
.feature-card span { color: var(--muted); line-height: 1.55; font-size: 15px; }

.visual-band { width: min(calc(100% - 32px), var(--max)); margin: 20px auto 0; min-height: 400px; position: relative; border-radius: 34px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.visual-band img { width: 100%; height: 480px; object-fit: cover; }
.visual-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,17,31,.82), rgba(7,17,31,.18)); }
.visual-band > div { position: absolute; z-index: 2; left: 44px; bottom: 42px; max-width: 600px; }
.visual-band h2 { margin: 0; font-size: clamp(23px, 2.5vw, 34px); line-height: 1.2; letter-spacing: -0.04em; word-break: keep-all; }
.visual-band p:not(.eyebrow) { color: #d7e8f8; font-size: 16px; line-height: 1.65; }

.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pipeline span { min-height: 74px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; border-radius: 18px; background: rgba(39, 215, 255, .1); border: 1px solid rgba(39, 215, 255, .2); font-weight: 800; color: #def7ff; }
.process-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.process-cards article { padding: 24px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.045); }
.process-cards h3 { margin: 0 0 10px; font-size: 18px; }
.process-cards p { margin: 0; color: var(--muted); line-height: 1.62; font-size: 15px; }

.platform { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.module-grid div { padding: 22px; border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); border: 1px solid var(--line); }
.module-grid span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 12px; background: rgba(39,215,255,.14); color: var(--cyan); font-weight: 900; }
.module-grid b { display: block; margin: 14px 0 8px; font-size: 17px; }
.module-grid p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 15px; }

.dark-panel { width: min(calc(100% - 32px), var(--max)); border-radius: 36px; background: linear-gradient(135deg, rgba(13, 32, 54, 0.96), rgba(11, 23, 40, 0.78)); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 60px; }
.dark-panel-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 38px; align-items: center; }
.agent-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.agent-list span { padding: 16px; border-radius: 18px; border: 1px solid rgba(39,215,255,.2); background: rgba(39,215,255,.08); font-weight: 800; font-size: 15px; }

.business-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.business-grid article { padding: 26px; min-height: 230px; border-radius: 26px; background: rgba(255,255,255,.045); border: 1px solid var(--line); }
.business-grid h3 { margin: 0 0 12px; font-size: 19px; }
.business-grid p { color: var(--muted); line-height: 1.62; font-size: 15px; }

.ip-section { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.ip-visual { border-radius: 34px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ip-visual img { height: 520px; width: 100%; object-fit: cover; }
.ip-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ip-tags span { padding: 10px 14px; border-radius: 999px; background: rgba(0,240,168,.1); color: #cffff0; border: 1px solid rgba(0,240,168,.22); font-weight: 800; }

.contact-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; padding: 34px; border-radius: 34px; background: rgba(255,255,255,.055); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-card h3 { margin: 0 0 12px; font-size: 24px; }
.contact-card p, .contact-card li { color: var(--muted); line-height: 1.65; font-size: 15px; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { color: #dbe8f4; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 8px; padding: 15px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(4,10,18,.68); color: #fff; font: inherit; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(39,215,255,.65); box-shadow: 0 0 0 3px rgba(39,215,255,.12); }
.form-note { margin: 0; color: var(--muted); font-size: 13px; }

.site-footer { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; padding: 28px 0 48px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; color: var(--muted); border-top: 1px solid var(--line); }
.footer-company { display: grid; gap: 8px; max-width: 820px; }
.footer-company p { margin: 0; }
.footer-address { font-size: 14px; line-height: 1.55; color: rgba(186, 201, 217, 0.82); }
.footer-phone { font-size: 14px; line-height: 1.55; color: rgba(186, 201, 217, 0.86); }
.footer-phone a { color: #dff8ff; text-decoration: none; }
.footer-phone a:hover { text-decoration: underline; }
.site-footer a { color: #dff8ff; white-space: nowrap; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .72s ease, transform .72s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

@media (max-width: 980px) {
  .main-nav { position: absolute; top: 64px; right: 0; width: min(320px, calc(100vw - 32px)); padding: 14px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 22px; background: rgba(7,17,31,.96); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease; }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-toggle { display: block; }
  .hero, .split-grid, .platform, .dark-panel-grid, .ip-section, .contact-card { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .section-heading h2, .platform-copy h2, .dark-panel h2, .ip-copy h2 { font-size: clamp(24px, 4.2vw, 34px); }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .process-cards, .business-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .dark-panel { padding: 36px 24px; }
}

@media (max-width: 640px) {
  .brand-logo { width: 96px; max-height: 40px; padding: 4px 7px; }
  .brand-text { display: none; }
  .section-pad { padding: 70px 0; }
  .hero { padding-top: 116px; }
  .hero h1 { font-size: clamp(27px, 8.2vw, 35px); line-height: 1.12; letter-spacing: -0.04em; }
  .hero-lead { font-size: 15.5px; line-height: 1.68; }
  .section-heading h2, .platform-copy h2, .dark-panel h2, .ip-copy h2 { font-size: clamp(22px, 5.8vw, 28px); line-height: 1.22; }
  .section-heading.center { margin-bottom: 32px; }
  .hero-visual, .hero-visual img { min-height: 420px; }
  .hero-card { width: 178px; }
  .stats, .feature-grid, .module-grid, .process-cards, .business-grid, .agent-list { grid-template-columns: 1fr; }
  .visual-band img { height: 540px; }
  .visual-band > div { left: 24px; right: 24px; bottom: 28px; }
  .ip-visual img { height: 340px; }
  .site-footer { flex-direction: column; gap: 14px; }
  .footer-address, .footer-phone { font-size: 13px; line-height: 1.55; }
}

/* Language switch */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  margin-left: 6px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
}
.language-switch a {
  min-width: 38px;
  padding: 7px 10px;
  text-align: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  color: #b8cadc;
}
.language-switch a.active {
  color: #06101d;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 8px 22px rgba(39, 215, 255, 0.22);
}
html[lang="en"] body {
  letter-spacing: -0.018em;
}
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] p,
html[lang="en"] li {
  word-break: normal;
  overflow-wrap: break-word;
}
html[lang="en"] .hero h1 {
  max-width: 760px;
}

@media (max-width: 980px) {
  .language-switch {
    width: fit-content;
    margin: 4px 0 0;
  }
}

@media (max-width: 640px) {
  .language-switch a {
    min-width: 42px;
    padding: 8px 11px;
  }
}
