﻿:root {
  --bg-0: #05070d;
  --bg-1: #0b1220;
  --text-main: #e8f4ff;
  --accent: #57d7ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(1100px 640px at 15% -10%, #1a3153 0%, transparent 62%),
    radial-gradient(900px 580px at 90% 12%, #0f2440 0%, transparent 58%),
    linear-gradient(165deg, var(--bg-0) 0%, var(--bg-1) 100%);
  overflow: hidden;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  opacity: 0.28;
}

.hero {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  isolation: isolate;
}

.content {
  position: relative;
  z-index: 2;
  width: min(94vw, 1080px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.8vh, 20px);
}

.title {
  position: relative;
  z-index: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1vh;
  line-height: 1;
}

.title-main {
  font-size: 1em;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(248, 252, 255, 0.96);
  text-shadow: 0 8px 26px rgba(5, 14, 30, 0.5);
}

.title-main-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.34em;
  font-size: clamp(0.62rem, 3.78vw, 2.8rem);
}

.nxtdev-mark {
  width: 1em;
  height: 1em;
  min-width: 1em;
  color: rgba(150, 216, 255, 0.95);
  pointer-events: none;
}

.nxtdev-mark rect,
.nxtdev-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 6;
}

.nxtdev-mark .mark-icon {
  fill: currentColor;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.5px;
  dominant-baseline: middle;
  text-anchor: middle;
}

.headline {
  position: relative;
  display: inline-block;
  margin: 0;
  letter-spacing: -0.015em;
  font-weight: 700;
  font-size: clamp(0.76rem, 4.9vw, 3.74rem);
  opacity: 0.98;
  color: transparent;
  background: linear-gradient(
    90deg,
    #49d9e4 0%,
    #49d9e4 47.5%,
    #f6fdff 50%,
    #49d9e4 52.5%,
    #49d9e4 100%
  );
  background-size: 260% 100%;
  background-position: -140% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 12px rgba(73, 217, 228, 0.3), 0 0 42px rgba(73, 217, 228, 0.42);
  z-index: 2;
}

.headline::after {
  content: attr(data-text);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% - clamp(14px, 1.1vw, 22px)));
  font-size: clamp(calc(0.6rem + 4px), calc(3.6vw + 4px), calc(3.2rem + 4px));
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(58, 160, 224, 0.16);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  text-shadow: none;
  filter: blur(0.26px);
  pointer-events: none;
  z-index: -1;
}

.subtitle {
  position: relative;
  z-index: 2;
  margin: 0;
  width: min(100%, 1360px);
  color: rgba(206, 217, 233, 0.72);
  font-size: clamp(0.32rem, 1.05vw, 0.92rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.012em;
}

.fx-text {
  line-height: 1.14;
  white-space: nowrap;
}

.watermark {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(58, 160, 224, 0.14);
  z-index: 1;
  pointer-events: none;
  user-select: none;
  text-transform: uppercase;
  filter: blur(0.4px);
}

.watermark.top {
  display: none;
}

.watermark.bottom {
  left: 50%;
  bottom: calc(7.5vh + 13px);
  transform: translateX(-50%);
  font-size: clamp(0.2rem, 2.61vw, 2.57rem);
  color: rgba(220, 231, 245, 0.12);
  text-transform: none;
  display: none;
}

body[data-fx="soft"] .headline {
  text-shadow: 0 0 20px rgba(73, 217, 228, 0.3), 0 0 44px rgba(73, 217, 228, 0.28);
  animation: color-wave 12s linear infinite;
}

body[data-fx="strong"] .headline {
  text-shadow: 0 0 28px rgba(73, 217, 228, 0.38), 0 0 66px rgba(73, 217, 228, 0.34);
  animation: color-wave 8s linear infinite;
}

@keyframes color-wave {
  0% {
    background-position: 220% 50%;
  }
  100% {
    background-position: -140% 50%;
  }
}

@media (max-width: 600px) {
  .content {
    width: min(94vw, 560px);
    gap: clamp(8px, 1.6vh, 14px);
  }

  .subtitle {
    font-size: clamp(0.62rem, 2.7vw, 0.9rem);
    width: min(100%, 94vw);
  }
}


