/* Brain2 marketing — night navy + teal, no product screenshots */
:root {
  --ink: #ecfffb;
  --ink-soft: rgba(236, 255, 251, 0.78);
  --ink-mute: rgba(167, 243, 208, 0.5);
  --bg: #061018;
  --teal: #2dd4bf;
  --teal-2: #5eead4;
  --teal-deep: #0f766e;
  --line: rgba(94, 234, 212, 0.12);
  --font: "Figtree", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --display: "Syne", "Figtree", "PingFang SC", sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Atmosphere — abstract field, not UI chrome */
.field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 70% at 50% -20%, rgba(15, 118, 110, 0.55), transparent 60%),
    radial-gradient(ellipse 45% 40% at 85% 15%, rgba(45, 212, 191, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 35% at 8% 70%, rgba(13, 148, 136, 0.16), transparent 50%),
    linear-gradient(180deg, #0a1622 0%, #061018 50%, #040c12 100%);
}

.field-orbits {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(920px, 140vw);
  height: min(920px, 140vw);
  transform: translate(-50%, -50%);
  opacity: 0.55;
  pointer-events: none;
}

.field-orbits svg {
  width: 100%;
  height: 100%;
  animation: spinSlow 80s linear infinite;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.field-glow {
  position: absolute;
  width: 42vw;
  height: 42vw;
  max-width: 480px;
  max-height: 480px;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.2), transparent 68%);
  filter: blur(8px);
  animation: pulseGlow 7s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* Nav */
.topnav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.topnav.is-scrolled {
  background: rgba(6, 16, 24, 0.72);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.brand small {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin-left: 2px;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.88rem;
  color: #031016;
  background: linear-gradient(135deg, var(--teal-2), var(--teal-deep));
  box-shadow: 0 8px 28px rgba(15, 118, 110, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* Hero — one composition: brand + line + CTA */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px clamp(20px, 5vw, 56px) 72px;
}

.hero-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  border-radius: 20px;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.4rem, 12vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  animation: rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.hero h1 .en {
  display: block;
  margin-top: 0.08em;
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #99f6e4, #2dd4bf 40%, #5eead4 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-line {
  margin: 28px auto 36px;
  max-width: 26rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  animation: rise 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  color: #031016;
  background: linear-gradient(135deg, #99f6e4, #2dd4bf 45%, #0f766e);
  box-shadow: 0 12px 40px rgba(45, 212, 191, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(45, 212, 191, 0.38);
}
.btn-ghost {
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: rgba(6, 16, 24, 0.35);
}
.btn-ghost:hover {
  border-color: rgba(94, 234, 212, 0.35);
  color: var(--ink);
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { opacity: 0.45; transform: translate(-50%, 0); }
  50% { opacity: 0.9; transform: translate(-50%, 4px); }
}

/* Sections */
.wrap {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: clamp(72px, 12vh, 120px) 0;
}

.kicker {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.section h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 750;
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 14em;
}

.lead {
  margin: 0 0 48px;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.steps {
  display: grid;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step.is-in { opacity: 1; transform: none; }

.step-i {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--teal-2);
  padding-top: 2px;
  min-width: 2ch;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 650;
}
.step p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 38rem;
}

.pillars {
  display: grid;
  gap: 20px;
}
@media (min-width: 800px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

.pillar {
  padding: 8px 0 0;
  border-top: 2px solid var(--teal);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.pillar.is-in { opacity: 1; transform: none; }
.pillar h3 {
  margin: 18px 0 10px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
}
.pillar p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.98rem;
}

.kinds {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 720px) {
  .kinds { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

.kind {
  padding: 22px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(45, 212, 191, 0.03);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s ease, background 0.2s ease;
}
.kind.is-in { opacity: 1; transform: none; }
.kind:hover {
  border-color: rgba(94, 234, 212, 0.3);
  background: rgba(45, 212, 191, 0.07);
}
.kind strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 1.25rem;
}
.kind span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.closing {
  text-align: center;
  padding: clamp(88px, 16vh, 140px) 20px calc(72px + var(--safe-b));
  position: relative;
}
.closing::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 20%;
  width: min(420px, 70vw);
  height: 180px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(45, 212, 191, 0.18), transparent 70%);
  pointer-events: none;
}
.closing h2 {
  position: relative;
  margin: 0 auto 14px;
  max-width: 14em;
  font-family: var(--display);
  font-weight: 750;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.closing p {
  position: relative;
  margin: 0 auto 28px;
  max-width: 26rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px clamp(20px, 5vw, 56px) calc(22px + var(--safe-b));
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 0.84rem;
}
.foot a:hover { color: var(--teal-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
