:root {
  --bg: #050b15;
  --panel: rgba(12, 21, 36, 0.88);
  --panel-strong: rgba(16, 30, 50, 0.94);
  --line: rgba(178, 208, 235, 0.24);
  --text: #eef7ff;
  --muted: #adc4dc;
  --cyan: #67d6e7;
  --blue: #3e8ee7;
  --silver: #d9e5f2;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 24px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Noto Sans KR", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background:
    radial-gradient(circle at 15% 5%, rgba(54, 118, 194, 0.34), transparent 34rem),
    radial-gradient(circle at 84% 0%, rgba(103, 214, 231, 0.18), transparent 28rem),
    linear-gradient(180deg, #071120 0%, var(--bg) 50%, #030711 100%);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  color: #06101c;
}

.skip-link:focus { left: 12px; }

.site-header,
.profile-page {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.5rem;
}

.brand,
.header-nav,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.brand strong,
.brand small { display: block; }
.brand small { color: var(--muted); }

.header-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 0.9rem;
  color: #dceeff;
  background: rgba(255, 255, 255, 0.05);
}

.profile-page {
  display: grid;
  gap: 1.25rem;
  padding: 0.5rem 0 3rem;
}

.section-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--panel-strong), rgba(6, 14, 27, 0.82));
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.hero {
  display: grid;
  gap: 1.5rem;
  min-height: 520px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -18% -38% 42%;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 214, 231, 0.18), transparent 66%);
  pointer-events: none;
}

.hero-content,
.hero-panel,
.section-heading,
.content-stack,
.cta-copy,
.company-info { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 0.85rem;
  border: 1px solid rgba(103, 214, 231, 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: #ccefff;
  background: rgba(38, 135, 168, 0.15);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 12ch;
  margin-bottom: 0.8rem;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
  line-height: 1.35;
}

.hero-subtitle {
  margin-bottom: 1rem;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  color: #d7ebff;
  font-weight: 750;
}

.hero-copy,
.content-stack p,
.service-card p,
.company-info {
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-copy { max-width: 68ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 1.1rem;
  font-weight: 800;
}

.btn:focus-visible,
.header-nav a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.btn.primary {
  color: #04111f;
  background: linear-gradient(135deg, var(--silver), var(--cyan) 48%, var(--blue));
  box-shadow: 0 12px 28px rgba(40, 159, 202, 0.28);
}

.btn.secondary {
  border-color: rgba(182, 213, 238, 0.32);
  color: #e6f6ff;
  background: rgba(255, 255, 255, 0.065);
}

.hero-panel {
  display: grid;
  gap: 0.75rem;
  align-self: stretch;
}

.hero-panel span,
.service-card,
.trust-list div,
.company-info {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.hero-panel span {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 1rem;
  color: #e6f6ff;
  font-weight: 750;
}

.two-column,
.cta-section {
  display: grid;
  gap: 1rem;
}

.content-stack p:last-child { margin-bottom: 0; }

.section-heading { margin-bottom: 1.2rem; }

.card-grid,
.trust-list {
  display: grid;
  gap: 1rem;
}

.service-card {
  padding: 1.25rem;
  background: linear-gradient(160deg, rgba(18, 34, 56, 0.86), rgba(8, 17, 31, 0.86));
}

.card-number {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.trust-list div {
  padding: 1rem 1rem 1rem 3rem;
  position: relative;
  color: #dceeff;
  font-weight: 700;
}

.trust-list div::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #04111f;
  background: var(--cyan);
  font-size: 0.88rem;
  font-weight: 900;
}

.notice-section {
  border-color: rgba(103, 214, 231, 0.34);
  background: linear-gradient(145deg, rgba(14, 35, 56, 0.94), rgba(7, 16, 31, 0.9));
}

.company-info {
  margin: 0;
  padding: 1.25rem;
  font-style: normal;
}

.company-info strong { color: var(--text); }
.company-info a { color: #d8f7ff; }

@media (min-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr); }
  .two-column,
  .cta-section { grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr); }
  .four-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .four-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-nav,
  .button-row,
  .btn,
  .header-nav a { width: 100%; }

  .btn,
  .header-nav a { justify-content: center; }

  .hero { min-height: auto; }
  .section-shell { border-radius: 20px; }
  .hero-panel span { min-height: 56px; }
}

.header-tools {
  display: grid;
  justify-items: end;
  gap: 0.75rem;
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  direction: ltr;
}

.language-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-switcher button,
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  border: 1px solid rgba(182, 213, 238, 0.3);
  border-radius: 999px;
  padding: 6px;
  color: #dceeff;
  background: rgba(255,255,255,0.075);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.language-switcher button img,
.lang-btn img {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  object-fit: cover;
  object-position: 72% 24%;
  border: 1px solid rgba(255,255,255,0.5);
  background: #eaf7ff;
}
.lang-btn[data-profile-lang="en"] img { object-position: 74% 24%; }
.lang-btn[data-profile-lang="ko"] img { object-position: 72% 24%; }
.lang-btn[data-profile-lang="vi"] img { object-position: 72% 24%; }
.lang-btn[data-profile-lang="ja"] img { object-position: 72% 24%; }
.lang-btn[data-profile-lang="zh"] img { object-position: 72% 24%; }

.language-switcher button:hover,
.language-switcher button:focus-visible,
.lang-btn:hover,
.lang-btn:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(102, 231, 255, 0.16), 0 14px 32px rgba(0,0,0,0.24);
  outline: none;
  transform: translateY(-2px);
}

.language-switcher button.active,
.lang-btn.active,
.lang-btn.is-active,
.lang-btn[aria-pressed="true"] {
  border-color: rgba(125, 211, 252, 1);
  color: #04111f;
  background: rgba(56, 189, 248, 0.18);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.9), 0 0 0 3px rgba(102, 231, 255, 0.24);
}

.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

[dir="rtl"] body,
body[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .site-header,
[dir="rtl"] .brand,
[dir="rtl"] .header-nav,
[dir="rtl"] .button-row {
  direction: rtl;
}

[dir="rtl"] .header-tools,
[dir="rtl"] .language-switcher {
  justify-items: start;
  justify-content: flex-start;
}

[dir="rtl"] .hero::after {
  inset: auto 42% -38% -18%;
}

[dir="rtl"] .trust-list div {
  padding: 1rem 3rem 1rem 1rem;
}

[dir="rtl"] .trust-list div::before {
  left: auto;
  right: 1rem;
}

[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}

@media (max-width: 640px) {
  .header-tools {
    width: 100%;
    justify-items: stretch;
  }

  .language-switcher {
    justify-content: flex-start;
    width: 100%;
  }

  [dir="rtl"] .language-switcher {
    justify-content: flex-end;
  }

  .language-switcher {
    gap: 12px;
  }

  .language-switcher button,
  .lang-btn {
    width: 84px;
    height: 84px;
    min-width: 84px;
    min-height: 84px;
    flex: 0 0 auto;
  }

  .language-switcher button img,
  .lang-btn img {
    width: 72px;
    height: 72px;
  }
}

.hero-visual-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(103, 214, 231, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(103, 214, 231, 0.2), rgba(62, 142, 231, 0.12)),
    radial-gradient(circle at 22% 18%, rgba(217, 229, 242, 0.2), transparent 14rem),
    rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-visual-card img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-card img[hidden] { display: none; }

.hero-visual-card figcaption {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: #e6f6ff;
  font-size: clamp(1.25rem, 2.7vw, 2.15rem);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.partners-intro {
  max-width: 860px;
  margin-bottom: 1.2rem;
}

.partner-card {
  min-height: 100%;
}

@media (min-width: 760px) {
  .partner-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .hero-content { grid-row: 1 / span 2; }
  .hero-visual-card { grid-column: 2; }
  .hero-panel { grid-column: 2; }
}

@media (max-width: 640px) {
  .hero-visual-card { min-height: 220px; }
}

.registration-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.registration-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(18, 34, 56, 0.86), rgba(8, 17, 31, 0.86));
  padding: 1.15rem;
}

.registration-card h3 {
  margin: 0.7rem 0 0.45rem;
  color: #eef7ff;
}

.registration-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.registration-value {
  color: #e6f6ff;
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.registration-value.inline {
  font-size: 0.98rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 0.65rem;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.status-badge.registered,
.status-badge.verified {
  color: #04111f;
  background: linear-gradient(135deg, var(--silver), var(--cyan));
}

.status-badge.in-progress {
  border: 1px solid rgba(103, 214, 231, 0.45);
  color: #d8f7ff;
  background: rgba(62, 142, 231, 0.16);
}

.in-progress-card {
  border-color: rgba(103, 214, 231, 0.38);
}

@media (min-width: 760px) {
  .registration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.procurement-card {
  border-color: rgba(103, 214, 231, 0.34);
}

@media (min-width: 760px) {
  .procurement-card { grid-column: 1 / -1; }
}
