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

:root {
  --bg: #080b11;
  --surface: #0f1420;
  --surface2: #161c2d;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #4fffb0;
  --accent2: #3b82f6;
  --text: #e8eaf0;
  --text-muted: #6b7280;
  --danger: #ef4444;
}

html, body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* HEADER */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 17, 0.85);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active,
.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* HERO */
.hero {
  position: relative;
  text-align: center;
  padding: 7rem 2rem 5rem;
  overflow: hidden;
  min-height: 600px;
}

.hero-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 255, 176, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(79, 255, 176, 0.08);
  border: 1px solid rgba(79, 255, 176, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #a0aec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2.25rem;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 0 32px rgba(79, 255, 176, 0.25);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(79, 255, 176, 0.4);
  opacity: 0.9;
}

/* INFO CARDS */
.info-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.info-card:hover {
  border-color: rgba(79, 255, 176, 0.25);
  transform: translateY(-3px);
}

.info-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.5rem;
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 1rem;
}

.modal-box h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #fff;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.close-modal:hover {
  border-color: var(--accent);
  background: rgba(79, 255, 176, 0.08);
}

.modal-placeholder {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.placeholder-field {
  height: 54px;
  border-radius: 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
}

.placeholder-btn {
  width: 100%;
  margin-top: 1rem;
  height: 54px;
  border: none;
  border-radius: 14px;
  background: var(--accent);
  color: #000;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.placeholder-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header {
    padding: 1rem 1.25rem;
  }

  .hero {
    padding: 5rem 1.25rem 3rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .info-section {
    padding: 0 1.25rem 4rem;
  }

  .modal-box {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
  }
}
.loader-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000;
  display: inline-block;
  animation: dot-bounce 0.6s infinite alternate;
}

.loader-dot:nth-child(2) { animation-delay: 0.2s; }
.loader-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-bounce {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}
.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -90%); /* -60% підніме трохи вище центру */
  width: min(620px, 110vw); /* адаптивна ширина */
  mix-blend-mode: screen;
  z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 80%);
}
