*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0e17;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf5;
  --text-muted: #7a8ba3;
  --accent: #3b9eff;
  --accent-glow: rgba(59, 158, 255, 0.15);
  --font: 'Manrope', system-ui, sans-serif;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 5vw, 4rem);
  overflow: hidden;
}

/* Background */

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.bg-glow--left {
  top: -200px;
  left: -150px;
  background: var(--accent-glow);
}

.bg-glow--right {
  bottom: -200px;
  right: -150px;
  background: rgba(59, 158, 255, 0.06);
}

/* Header */

.header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo__icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.logo__text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo__accent {
  color: var(--accent);
}

.header__contact {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.header__contact:hover {
  color: var(--accent);
}

/* Main */

.main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(1rem, 2.5vh, 1.75rem);
  min-height: 0;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(59, 158, 255, 0.25);
  border-radius: 100px;
}

.title {
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.subtitle {
  max-width: 32rem;
  font-size: clamp(0.9rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: var(--text-muted);
}

/* Services */

.services {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  list-style: none;
  margin-top: clamp(0.25rem, 1vh, 0.75rem);
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: clamp(0.875rem, 2vw, 1.25rem) clamp(1rem, 2.5vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.service__icon {
  display: flex;
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.service__icon svg {
  width: 100%;
  height: 100%;
}

.service__label {
  font-size: clamp(0.7rem, 1.5vw, 0.8125rem);
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Footer */

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__domain {
  font-weight: 600;
  color: var(--text);
}

.footer__sep {
  opacity: 0.4;
}

/* Responsive */

@media (max-width: 600px) {
  .header__contact {
    display: none;
  }

  .services {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .service {
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-height: 600px) {
  .page {
    padding: 1rem 1.25rem;
  }

  .main {
    gap: 0.75rem;
  }

  .services {
    margin-top: 0;
  }

  .service {
    padding: 0.625rem 1rem;
  }
}
