:root {
  --bg: #08101f;
  --bg-2: #0b1426;
  --panel: rgba(17, 28, 47, 0.95);
  --panel-2: rgba(22, 35, 59, 0.96);
  --text: #f4f7ff;
  --muted: #a7b4ce;
  --line: rgba(126, 163, 255, 0.18);
  --blue: #6fa8ff;
  --cyan: #4fd2ff;
  --green: #41d39f;
  --danger: #ff8d8d;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 18px;
  --content-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(79, 210, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(111, 168, 255, 0.16), transparent 24%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(var(--content-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(8, 16, 31, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3379ff 0%, #16c5d8 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 16px 32px rgba(29, 93, 214, 0.35);
  position: relative;
}

.brand-badge::after {
  content: "KU";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(111, 168, 255, 0.08);
  border: 1px solid rgba(111, 168, 255, 0.18);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  min-width: 46px;
  min-height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.lang-switch button.active {
  background: linear-gradient(135deg, #3379ff 0%, #33c1ff 100%);
  color: white;
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.hero-card,
.card,
.page-card,
.form-card {
  background: linear-gradient(180deg, rgba(18, 29, 49, 0.96), rgba(13, 23, 39, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card, .hero-side, .page-card, .form-card { padding: 34px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #d6ecff;
  background: rgba(111, 168, 255, 0.11);
  border: 1px solid rgba(111, 168, 255, 0.22);
  font-size: 0.92rem;
}

.hero h1 {
  font-size: clamp(2.7rem, 4vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 18px 0 14px;
}

.hero p,
.page-card p,
.card p,
.card li,
.page-card li,
.form-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover { transform: translateY(-1px); }
.button.primary {
  background: linear-gradient(135deg, #3379ff 0%, #33c1ff 100%);
  color: white;
}
.button.secondary {
  border-color: rgba(111, 168, 255, 0.22);
  background: rgba(111, 168, 255, 0.08);
  color: #dbeaff;
}

.hero-side {
  display: grid;
  gap: 16px;
}

.metric {
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(28, 42, 68, 0.94), rgba(19, 30, 49, 0.9));
  border: 1px solid rgba(111, 168, 255, 0.16);
}
.metric strong { display: block; font-size: 2rem; line-height: 1; margin-bottom: 8px; }
.metric span { color: var(--muted); }

.section { padding: 18px 0 54px; }
.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 18px; }
.section-head h2, .page-card h1, .page-card h2, .page-card h3 { margin: 0; letter-spacing: -0.03em; }
.section-head h2 { font-size: 2rem; }
.section-head p { margin: 0; color: var(--muted); max-width: 60ch; }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 24px; }
.list { margin: 0; padding-left: 18px; }
.page-wrap { padding: 52px 0 72px; }
.page-card + .page-card { margin-top: 20px; }

.support-form {
  width: 100%;
}

.form-stack {
  display: grid;
  gap: 16px;
  width: 100%;
}

.form-field {
  display: grid;
  gap: 8px;
  width: 100%;
}

.form-label {
  color: var(--text);
  font-weight: 600;
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid rgba(111, 168, 255, 0.18);
  background: rgba(7, 16, 30, 0.72);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(111, 168, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(111, 168, 255, 0.12);
}

.form-textarea { min-height: 180px; resize: vertical; }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.form-hidden { display: none !important; }

.notice {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(79, 210, 255, 0.16);
}
.notice.info { background: rgba(79, 210, 255, 0.08); color: #dcefff; }
.notice.success { background: rgba(65, 211, 159, 0.10); color: #e7fff5; border-color: rgba(65, 211, 159, 0.22); }
.notice.error { background: rgba(255, 141, 141, 0.10); color: #ffe9e9; border-color: rgba(255, 141, 141, 0.22); }

.footer {
  padding: 28px 0 52px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid.two,
  .grid.three { grid-template-columns: 1fr; }
  .section-head,
  .footer-inner,
  .nav,
  .nav-right { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .hero-card, .hero-side, .card, .page-card, .form-card { padding: 22px; }
  .container { width: min(var(--content-width), calc(100% - 20px)); }
  .nav { min-height: 66px; }
}
