:root {
  --background: #060b15;
  --background-soft: #0b1220;
  --surface: #101827;
  --surface-soft: rgba(16, 24, 39, 0.58);
  --surface-muted: rgba(148, 163, 184, 0.08);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --border: rgba(148, 163, 184, 0.18);
  --cyan: #22d3ee;
  --cyan-deep: #0891b2;
  --emerald: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --purple: #c084fc;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 34rem),
    radial-gradient(circle at 85% 15%, rgba(52, 211, 153, 0.08), transparent 28rem),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 11, 21, 0.84);
  backdrop-filter: blur(18px);
}

.nav-shell {
  max-width: var(--max);
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: url("../img/gonkanode-icon.png") no-repeat center / cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a,
.mobile-nav a {
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 9px 14px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.mobile-nav a:hover,
.nav-links a.active,
.mobile-nav a.active {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface-soft);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 10px 24px 16px;
  background: rgba(6, 11, 21, 0.96);
}

.mobile-nav.open {
  display: grid;
  gap: 4px;
}

main {
  min-height: 70vh;
  padding-top: 64px;
}

.hero-home {
  min-height: 90vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 96px 24px 72px;
  text-align: center;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 11, 21, 0.54), rgba(6, 11, 21, 0.84), var(--background)),
    var(--hero-image) center / cover no-repeat;
  opacity: 0.72;
}

.hero-home > .container {
  position: relative;
  z-index: 1;
}

.section {
  padding: 84px 24px;
}

.section-muted {
  background: rgba(16, 24, 39, 0.28);
}

.container {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.narrow {
  width: min(100%, 820px);
  margin: 0 auto;
}

.center {
  text-align: center;
}

.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill {
  padding: 8px 14px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  text-transform: none;
  letter-spacing: 0;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.page-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.lead {
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.sublead,
.muted {
  color: var(--muted);
}

.sublead {
  max-width: 650px;
  margin-right: auto;
  margin-bottom: 32px;
  margin-left: auto;
}

.text-gradient {
  color: transparent;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  -webkit-background-clip: text;
  background-clip: text;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 18px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(90deg, var(--cyan-deep), var(--emerald));
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.secondary {
  color: var(--text);
  border-color: var(--border);
  background: rgba(16, 24, 39, 0.42);
}

.button.secondary:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.08);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
}

.split.start {
  align-items: start;
}

.card,
.notice,
.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.card {
  padding: 24px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.card:hover {
  border-color: rgba(34, 211, 238, 0.36);
  box-shadow: 0 16px 38px rgba(34, 211, 238, 0.06);
  transform: translateY(-2px);
}

.dashed {
  border-style: dashed;
  background: rgba(16, 24, 39, 0.34);
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
}

.card-icon.emerald {
  color: var(--emerald);
  background: rgba(52, 211, 153, 0.1);
}

.card-icon.amber {
  color: var(--amber);
  background: rgba(251, 191, 36, 0.1);
}

.visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 11, 21, 0.55), transparent 55%);
  pointer-events: none;
}

.feature-list,
.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.feature-list li,
.plain-list li,
.row-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.dot {
  width: 7px;
  height: 7px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--cyan);
  flex: 0 0 auto;
}

.check {
  color: var(--cyan);
  font-weight: 900;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--amber);
  background: rgba(251, 191, 36, 0.09);
  font-size: 0.72rem;
  font-weight: 700;
}

.badge.cyan {
  border-color: rgba(34, 211, 238, 0.22);
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.09);
}

.product-card {
  overflow: hidden;
  padding: 0;
  border-color: rgba(34, 211, 238, 0.22);
}

.product-card-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
}

.product-copy {
  padding: 36px;
}

.product-image {
  position: relative;
  min-height: 430px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
}

.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--surface), transparent);
}

.status-row,
.lifecycle-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.status-row.negative {
  border-color: rgba(248, 113, 113, 0.16);
  background: rgba(248, 113, 113, 0.06);
}

.status-row.positive {
  border-color: rgba(34, 211, 238, 0.16);
  background: rgba(34, 211, 238, 0.06);
}

.lifecycle-state {
  min-width: 110px;
  font-weight: 800;
}

.state-planning { color: var(--muted-strong); }
.state-collecting { color: var(--cyan); }
.state-active { color: var(--emerald); }
.state-distributing { color: var(--amber); }
.state-closed { color: var(--purple); }

.code-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface-soft);
}

.mono-table {
  display: grid;
  gap: 4px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
}

.mono-table div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px;
  border-radius: var(--radius);
}

.mono-table div:nth-child(odd) {
  background: var(--surface-muted);
}

.notice {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-color: rgba(251, 191, 36, 0.24);
  background: rgba(251, 191, 36, 0.06);
}

.notice strong {
  color: rgba(253, 230, 138, 0.9);
}

.notice-icon {
  color: var(--amber);
  font-weight: 900;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 56px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--text);
  background: rgba(16, 24, 39, 0.66);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(34, 211, 238, 0.22);
  border-color: rgba(34, 211, 238, 0.48);
}

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

.form-card {
  margin-top: 18px;
  padding: 18px;
}

.form-note,
.form-result {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-result {
  display: none;
  margin-top: 14px;
  color: var(--emerald);
}

.form-result.show {
  display: block;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(16, 24, 39, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 0.6fr 1fr;
  gap: 36px;
  padding: 46px 24px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding: 24px 0 0;
  color: rgba(148, 163, 184, 0.76);
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 920px) {
  .grid-3,
  .grid-4,
  .split,
  .contact-grid,
  .product-card-inner {
    grid-template-columns: 1fr;
  }

  .product-image {
    min-height: 280px;
  }

  .product-image::after {
    background: linear-gradient(to top, var(--surface), transparent);
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .section {
    padding: 64px 18px;
  }

  .hero-home {
    padding: 96px 18px 64px;
  }

  .grid-2,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .status-row,
  .lifecycle-row,
  .notice {
    align-items: flex-start;
  }

  .lifecycle-row {
    flex-direction: column;
  }
}
