:root {
  --bg: #0b0f14;
  --bg-card: #121820;
  --text: #f4f7fb;
  --text-muted: #9aa8b8;
  --accent: #00e5a0;
  --accent-2: #00c2ff;
  --accent-glow: rgba(0, 229, 160, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--left {
  width: 420px;
  height: 420px;
  top: 8%;
  left: -8%;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.22), transparent 70%);
}

.bg-glow--right {
  width: 380px;
  height: 380px;
  top: 42%;
  right: -6%;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.18), transparent 70%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04120d;
  font-weight: 800;
  font-size: 1rem;
}

.brand__name {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
}

.hero__title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__visual {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.hero__logo {
  width: min(220px, 52vw);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(0, 229, 160, 0.25));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.5;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
}

.feature {
  text-align: center;
}

.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.65rem;
  color: var(--accent);
}

.feature__icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.cta {
  max-width: 640px;
  margin: 2.75rem auto 3rem;
  padding: 0 1.5rem;
}

.cta__form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(18, 24, 32, 0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.cta__input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: #0d1218;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cta__input::placeholder {
  color: #6b7a8a;
}

.cta__input:focus {
  border-color: rgba(0, 229, 160, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.12);
}

.cta__button {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 0;
  border-radius: 0.75rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #04120d;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 24px var(--accent-glow);
  transition: transform 0.15s, opacity 0.2s;
}

.cta__button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.cta__button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.cta__message {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.88rem;
  text-align: center;
}

.cta__message--ok {
  color: var(--accent);
}

.cta__message--error {
  color: #ff7b7b;
}

.footer {
  padding: 0 1.5rem 2rem;
  text-align: center;
  color: #6f7d8d;
  font-size: 0.85rem;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 720px) {
  .features {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .hero {
    padding-top: 1.75rem;
  }
}
