:root {
  --bg: #081427;
  --bg-alt: #0d1d36;
  --surface: #102544;
  --text: #f3f7ff;
  --muted: #b1c0d9;
  --line: #274770;
  --line-soft: rgba(110, 168, 255, 0.18);
  --accent: #4ec7b8;
  --accent-2: #6ea8ff;
  --max: clamp(980px, 88vw, 1360px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px circle at 10% 10%, #15325c 0%, var(--bg) 45%, #060f1f 100%),
    linear-gradient(120deg, rgba(78, 199, 184, 0.04), transparent 36%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: auto, auto, 100% 24px;
  color: var(--text);
  line-height: 1.6;
}

html {
  font-size: clamp(15px, 0.35vw + 13px, 18px);
}

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

.container {
  width: min(100% - clamp(1rem, 3.2vw, 3rem), var(--max));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 20, 39, 0.84);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.dev-label {
  background: linear-gradient(90deg, #12315a, #10345f);
  color: #cde6ff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  text-align: center;
  border-bottom: 1px solid #2f5e97;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  background: #ffffff;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.93rem;
  color: var(--muted);
}

.nav-links a {
  padding: 0.32rem 0.42rem;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  border-color: var(--line-soft);
  background: rgba(110, 168, 255, 0.07);
}

main {
  padding: clamp(1.4rem, 2.5vw, 2.4rem) 0 clamp(2.4rem, 4vw, 4.2rem);
}

section {
  margin: clamp(1.7rem, 3vw, 2.7rem) 0;
}

.hero {
  padding: clamp(1.8rem, 3.8vw, 3rem) 0 clamp(1.2rem, 2.7vw, 2rem);
  position: relative;
}

.badge {
  display: inline-block;
  font-size: 0.82rem;
  color: #d7f2ff;
  background: linear-gradient(90deg, rgba(110, 168, 255, 0.2), rgba(78, 199, 184, 0.12));
  border: 1px solid rgba(110, 168, 255, 0.4);
  padding: 0.38rem 0.7rem;
  border-radius: 8px;
}

h1, h2, h3 {
  line-height: 1.25;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  max-width: 18ch;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 75ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.72rem 1.04rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #62d8cb);
  color: #062733;
  box-shadow: 0 10px 24px rgba(78, 199, 184, 0.18);
}

.btn-secondary {
  border-color: var(--line);
  color: #dbe9ff;
  background: rgba(110, 168, 255, 0.05);
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
}

.card {
  background: linear-gradient(180deg, rgba(20, 42, 74, 0.95), rgba(10, 27, 50, 0.95));
  border: 1px solid var(--line-soft);
  border-left: 3px solid rgba(78, 199, 184, 0.55);
  border-radius: 6px 14px 6px 14px;
  padding: 1.05rem 1rem;
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(110, 168, 255, 0.5);
  border-right: 1px solid rgba(110, 168, 255, 0.5);
}

.steps {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}

.step {
  background: linear-gradient(180deg, rgba(16, 37, 68, 0.86), rgba(12, 29, 54, 0.86));
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.step strong {
  display: block;
  color: #d6ecff;
}

.panel {
  background:
    linear-gradient(180deg, rgba(17, 39, 70, 0.9), rgba(10, 27, 50, 0.9)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 28px);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 1.25rem;
  position: relative;
}

.panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 62px;
  height: 62px;
  border-top: 2px solid rgba(110, 168, 255, 0.45);
  border-left: 2px solid rgba(110, 168, 255, 0.45);
  border-top-left-radius: 10px;
  pointer-events: none;
}

form {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

label {
  font-size: 0.9rem;
  color: #d4e5ff;
}

input,
textarea {
  width: 100%;
  border: 1px solid #34557f;
  background: #0e203b;
  color: var(--text);
  border-radius: 9px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(78, 199, 184, 0.75);
  box-shadow: 0 0 0 3px rgba(78, 199, 184, 0.15);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

button[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}

.notice {
  color: #b9d9ff;
  font-size: 0.9rem;
}

#language-switcher {
  border: 1px solid #34557f;
  background: #0e203b;
  color: #dff1ff;
  border-radius: 8px;
  padding: 0.35rem 0.45rem;
  font: inherit;
  font-size: 0.88rem;
}

.content-page h1 {
  max-width: unset;
}

ul {
  margin-top: 0.3rem;
  padding-left: 1.15rem;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.3rem;
  background: linear-gradient(180deg, rgba(4, 12, 23, 0.78), rgba(3, 9, 18, 0.88));
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  color: #d3e5ff;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.2rem;
    padding-top: 0.2rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-row {
    flex-wrap: wrap;
  }
}

@media (min-width: 1500px) {
  .nav-links {
    gap: 0.55rem 1.2rem;
  }

  .card,
  .step,
  .panel {
    padding: 1.25rem;
  }
}
