:root {
  --bg: #070a12;
  --panel: rgba(12, 19, 38, 0.72);
  --panel-strong: #121a33;
  --line: rgba(125, 181, 255, 0.28);
  --text: #edf4ff;
  --muted: #9db0cc;
  --accent: #67d6ff;
  --accent-2: #82ffbe;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, #183466 0%, transparent 35%),
    radial-gradient(circle at 85% 0%, #103322 0%, transparent 35%),
    linear-gradient(165deg, #04050a 0%, #0a1328 58%, #0f0d1e 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.06;
}

.wrap {
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 14px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(6, 10, 21, 0.78);
  backdrop-filter: blur(12px);
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(6, 10, 21, 0.82);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 0.38rem 0.58rem;
  cursor: pointer;
}

.lang-switch button.active {
  color: #041021;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.brand-dot {
  width: 11px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 20px rgba(103, 214, 255, 0.6);
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

nav a:hover {
  color: var(--text);
}

.hero {
  margin-top: 2rem;
}

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

.hero-visual-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(18, 33, 58, 0.8), rgba(14, 21, 35, 0.9));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-visual-frame img {
  display: block;
  width: 100%;
  height: clamp(320px, 58vw, 700px);
  object-fit: cover;
}

.hero-visual-frame.empty {
  height: clamp(320px, 58vw, 700px);
  display: grid;
  place-items: center;
}

.hero-visual-frame.empty::after {
  content: "hero-innerpeace.png";
  color: var(--muted);
  letter-spacing: 0.05em;
}

.hero-visual-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.76rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Syne", sans-serif;
}

h1 {
  margin-top: 0.8rem;
  font-size: clamp(2.1rem, 6.4vw, 4.5rem);
  line-height: 1.03;
  max-width: 16ch;
}

h1 span {
  color: var(--accent-2);
}

.subtitle {
  margin-top: 1.1rem;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.12rem;
  border: 1px solid transparent;
  text-decoration: none;
  color: #041021;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  font-weight: 700;
}

.btn.ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.signal-grid {
  margin-top: 2rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-card {
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: var(--panel);
  backdrop-filter: blur(10px);
}

.signal-card p {
  color: var(--muted);
  margin-top: 0.5rem;
}

.signal-card.tall {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.signal-card.wide {
  grid-column: span 2;
}

.line {
  height: 92px;
  border-radius: 12px;
  background: linear-gradient(transparent 92%, rgba(255, 255, 255, 0.05) 92%),
    linear-gradient(90deg, rgba(103, 214, 255, 0.1), rgba(130, 255, 190, 0.4));
  background-size: 100% 24px, 280% 100%;
  animation: pulse-line 3.4s linear infinite;
}

.block,
.cta {
  margin-top: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 1.3rem;
}

.block-sub {
  margin-top: 0.7rem;
  color: var(--muted);
}

.feature-list {
  display: grid;
  margin-top: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.feature-list article {
  padding: 1rem;
  border-radius: 14px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.feature-list p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.stack {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.6rem;
}

.stack span {
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0.8rem;
  background: linear-gradient(100deg, rgba(103, 214, 255, 0.07), rgba(130, 255, 190, 0.03));
}

ol {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.9;
}

.cta p {
  margin: 0.8rem 0 1rem;
  color: var(--muted);
}

.footer {
  padding: 2.2rem 0 2.8rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-line {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 0, 280% 0;
  }
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .topbar-actions .btn.ghost {
    display: none;
  }

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

  .signal-card.tall,
  .signal-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .topbar {
    top: 8px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .hero-visual-frame img {
    height: 300px;
  }
}
