:root {
  --bg: #020616;
  --bg-alt: #05091f;
  --bg-elevated: #070b24;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --accent: #22d3ee;
  --accent-soft: rgba(56, 189, 248, 0.15);
  --accent-green: #4ade80;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
  --text-strong: #f9fafb;
  --danger: #fb7185;

  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
  --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.7);

  --container-max: 1120px;
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at top left, #0f172a 0, #020617 55%, #000 100%);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.96),
    rgba(2, 6, 23, 0.88),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #a5f3fc, #22d3ee, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #020617;
  font-size: 18px;
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.7);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-ko {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-en {
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav {
  display: flex;
}

.nav-list {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.nav-link {
  position: relative;
  padding: 6px 0;
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #4ade80);
  transition: width 0.18s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  width: 22px;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* Sections */

.section {
  padding: 72px 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.8), #020617 60%);
}

.section-header {
  text-align: left;
  max-width: 640px;
  margin-bottom: 40px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #a5f3fc;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 10px;
}

.section-sub {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

/* Hero */

.hero {
  padding-top: 32px;
  padding-bottom: 72px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: stretch;
}

.hero-copy h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 6px 0 14px;
}

.hero-copy .accent {
  background: linear-gradient(120deg, #22d3ee, #4ade80);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, #22d3ee, #4ade80);
  color: #020617;
  box-shadow: var(--shadow-subtle);
}

.btn.primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.5);
}

.btn.ghost:hover {
  border-color: #22d3ee;
  background: rgba(15, 23, 42, 0.95);
}

.btn-full {
  width: 100%;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.meta-item {
  padding: 10px 12px;
  border-radius: 14px;
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.25), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.meta-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.meta-value {
  font-size: 12px;
  font-weight: 500;
}

/* Hero Panel */

.hero-panel {
  border-radius: 24px;
  padding: 18px 18px 16px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.96)) padding-box,
    linear-gradient(145deg, rgba(34, 211, 238, 0.45), rgba(74, 222, 128, 0.25)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip-green {
  background: rgba(22, 163, 74, 0.18);
  color: #a7f3d0;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.panel-badge {
  font-size: 11px;
  color: var(--text-soft);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.panel-subtitle {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 11px;
}

.panel-block {
  padding: 10px 10px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  margin-bottom: 8px;
}

.panel-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 11px;
}

.pill-outline {
  background: rgba(15, 23, 42, 0.7);
  border-style: dashed;
}

.panel-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
  font-size: 11px;
}

.target-label {
  display: block;
  color: var(--text-soft);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.target-value {
  font-weight: 500;
}

/* Cards / grid */

.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 18px 18px 16px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.4), transparent 60%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  font-size: 14px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.card p {
  margin: 0 0 8px;
  color: var(--text-muted);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--text-main);
}

.card-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #4ade80);
}

/* Workflow */

.workflow-steps {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 14px;
}

.workflow-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.step-index {
  font-size: 20px;
  font-weight: 600;
  color: #a5f3fc;
  font-variant-numeric: tabular-nums;
}

.step-body h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.step-body p {
  margin: 0 0 4px;
  color: var(--text-muted);
  font-size: 13px;
}

.step-body ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-main);
}

/* Metrics / Clients */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.metric-card {
  padding: 16px 16px 14px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.85);
  font-size: 13px;
}

.metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a5f3fc;
}

.metric-value {
  display: block;
  margin: 4px 0 4px;
  font-size: 18px;
  font-weight: 600;
}

.metric-desc {
  margin: 0;
  color: var(--text-muted);
}

.client-logos {
  margin-top: 28px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px dashed rgba(148, 163, 184, 0.45);
  font-size: 13px;
}

.client-caption {
  margin: 0 0 8px;
  color: var(--text-soft);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.logo-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 11px;
}

.client-note {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 12px;
}

/* Pricing */

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: start;
}

.pricing-main {
  padding: 18px 18px 14px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-subtle);
}

.pricing-main h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 8px;
}

.pricing-table th,
.pricing-table td {
  padding: 8px 8px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
  text-align: left;
}

.pricing-table thead th {
  background: rgba(15, 23, 42, 0.9);
  font-weight: 600;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-note {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 12px;
}

.pricing-side {
  padding: 18px 18px 14px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 55%),
    rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-subtle);
  font-size: 13px;
}

.pricing-side h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 3px;
  top: 0;
  color: #a5f3fc;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

.contact-card {
  padding: 18px 18px 14px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-subtle);
  font-size: 13px;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
}

.contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

.contact-value {
  font-size: 13px;
}

.contact-note {
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: 12px;
}

.contact-form {
  padding: 18px 18px 14px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-subtle);
  font-size: 13px;
}

.contact-form h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.form-row {
  margin-bottom: 8px;
}

.form-row-half {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

input,
textarea {
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(17, 24, 39, 0.96);
  color: var(--text-main);
  padding: 7px 9px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

input:focus,
textarea:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.4);
  background: rgba(15, 23, 42, 0.98);
}

textarea {
  resize: vertical;
}

.form-helper {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--text-soft);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: #020617;
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.brand-mini .brand-mark {
  box-shadow: none;
  width: 28px;
  height: 28px;
  font-size: 15px;
}

.footer-copy {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--text-soft);
}

.footer-meta {
  margin: 0;
  font-size: 11px;
  color: var(--text-soft);
}

/* Scroll reveal */

.reveal {
  opacity: 1;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 0.08s;
}

.reveal.delay-2 {
  transition-delay: 0.16s;
}

.reveal.delay-3 {
  transition-delay: 0.24s;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .hero-panel {
    order: -1;
  }

  .hero-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 20px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 10px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 60px 0 auto 0;
    background: rgba(2, 6, 23, 0.98);
    border-bottom: 1px solid rgba(30, 64, 175, 0.5);
    transform: translateY(-120%);
    transition: transform 0.2s ease;
  }

  .nav.open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: row;
    justify-content: space-around;
    padding: 10px 16px 8px;
    gap: 10px;
    font-size: 12px;
    flex-wrap: wrap;
  }

  .nav-link::after {
    display: none;
  }

  .hero-inner {
    gap: 20px;
  }

  .section {
    padding: 56px 0;
  }

  .section-header h2 {
    font-size: 22px;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .workflow-step {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
