:root {
  --ink: #071017;
  --midnight: #08131f;
  --panel: rgba(9, 21, 32, 0.72);
  --line: rgba(255, 255, 255, 0.18);
  --cyan: #36d7ff;
  --mint: #3fe3b5;
  --rose: #ff6d9f;
  --amber: #ffd166;
  --paper: #f6fbff;
  --muted: #637282;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: var(--paper);
}

a {
  text-decoration: none;
}

.glass-nav {
  background: rgba(5, 13, 22, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--cyan), #fff 52%, var(--mint));
  box-shadow: 0 0 24px rgba(54, 215, 255, 0.55);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
  padding: 7rem 0 4rem;
  background: #08131f;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 72% 36%, rgba(54, 215, 255, 0.18), transparent 36%),
    linear-gradient(90deg, rgba(5, 13, 22, 0.96) 0%, rgba(5, 13, 22, 0.54) 48%, rgba(5, 13, 22, 0.9) 100%);
}

.hero-scene canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(8, 19, 31, 0.94), rgba(8, 19, 31, 0));
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(54, 215, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 215, 255, 0.2) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 74%, transparent);
}

.hero-row {
  min-height: 66svh;
}

.eyebrow,
.section-kicker {
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(4rem, 11vw, 8.6rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(54, 215, 255, 0.45);
}

.hero-lead {
  max-width: 720px;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.9;
}

.hero-actions {
  margin-top: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-weight: 700;
}

.btn-primary {
  border-color: var(--cyan);
  background: linear-gradient(135deg, #0aa8ff, var(--mint));
  color: #041017;
  box-shadow: 0 18px 42px rgba(54, 215, 255, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: #fff;
  background: linear-gradient(135deg, var(--mint), #fff);
  color: #041017;
}

.btn-light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

.signal-panel {
  position: relative;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(9, 21, 32, 0.58), rgba(9, 21, 32, 0.18)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.signal-panel::before,
.signal-panel::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(54, 215, 255, 0.25);
  border-radius: 8px;
}

.signal-panel::after {
  inset: auto 28px 28px;
  height: 36%;
  background: linear-gradient(90deg, rgba(54, 215, 255, 0.32), rgba(63, 227, 181, 0.08), rgba(255, 109, 159, 0.24));
  filter: blur(28px);
}

.metric {
  position: relative;
  z-index: 1;
  margin: 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(4, 12, 20, 0.5);
  backdrop-filter: blur(12px);
}

.metric small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
}

.metric strong {
  font-size: 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-light {
  background:
    linear-gradient(180deg, #f6fbff, #ffffff);
}

.section-dark {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 19, 31, 0.98), rgba(5, 38, 45, 0.96)),
    radial-gradient(circle at 82% 16%, rgba(255, 109, 159, 0.24), transparent 36%);
}

.section-contact {
  background: linear-gradient(135deg, #ecfbff, #fff7ef 58%, #f4fff9);
}

.section h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.section-copy {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.9;
}

.section-dark .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

.service-card {
  height: 100%;
  min-height: 300px;
  padding: 2rem;
  border: 1px solid rgba(7, 16, 23, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 60px rgba(8, 19, 31, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(54, 215, 255, 0.52);
}

.service-card i {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 1.6rem;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  font-size: 1.55rem;
}

.accent-cyan i {
  background: rgba(54, 215, 255, 0.22);
}

.accent-mint i {
  background: rgba(63, 227, 181, 0.22);
}

.accent-rose i {
  background: rgba(255, 109, 159, 0.18);
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.28rem;
  font-weight: 800;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.platform-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.platform-list div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.platform-list i {
  color: var(--mint);
  font-size: 1.25rem;
}

.console {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(2, 8, 14, 0.72);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.console-top {
  display: flex;
  gap: 0.45rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.console-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--rose);
}

.console-top span:nth-child(2) {
  background: var(--amber);
}

.console-top span:nth-child(3) {
  background: var(--mint);
}

.console-body {
  padding: 1.4rem;
  min-height: 280px;
}

.console-body p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: Consolas, "Courier New", monospace;
  line-height: 1.65;
}

.console-body span {
  color: var(--cyan);
}

.contact-button {
  min-width: 210px;
}

.footer {
  padding: 1.4rem 0;
  color: rgba(255, 255, 255, 0.7);
  background: #050d16;
  font-size: 0.92rem;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0;
  }

  .hero {
    min-height: 86svh;
    padding-top: 6rem;
  }

  .hero-row {
    min-height: 62svh;
  }

  .section {
    padding: 4.5rem 0;
  }
}

@media (max-width: 575.98px) {
  .hero h1 {
    font-size: clamp(3.1rem, 20vw, 4.4rem);
  }

  .hero-lead {
    line-height: 1.75;
  }

  .btn-lg {
    width: 100%;
    min-height: 52px;
  }

  .service-card {
    min-height: auto;
  }
}
