:root {
  --bg: #050508;
  --fg: #e0e0e0;
  --muted: #555566;
  --accent-blue: rgba(100, 150, 255, 0.15);
  --font-heading: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  text-align: center;
}

/* ── Canvas ──────────────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Scanlines ───────────────────────────────────────────── */
.scan-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(to bottom,
      transparent 0px,
      transparent 3px,
      rgba(0, 0, 0, 0.12) 3px,
      rgba(0, 0, 0, 0.12) 4px);
  pointer-events: none;
}

/* ── Container ───────────────────────────────────────────── */
.container {
  position: relative;
  z-index: 10;
  max-width: 640px;
  padding: 4rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* ── Logo ─────────────────────────────────────────────────  */
.logo-wrap {
  position: relative;
}

.logo {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 400;
  letter-spacing: 1rem;
  color: #fff;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 40px rgba(160, 180, 255, 0.2);
}

/* Glitch effect on the logo */
.logo::before,
.logo::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  color: #fff;
  overflow: hidden;
}

.logo::before {
  left: 2px;
  color: rgba(0, 180, 255, 0.6);
  clip-path: polygon(0 10%, 100% 10%, 100% 35%, 0 35%);
  animation: glitch-top 6s infinite linear;
}

.logo::after {
  left: -2px;
  color: rgba(255, 60, 80, 0.5);
  clip-path: polygon(0 65%, 100% 65%, 100% 80%, 0 80%);
  animation: glitch-bot 6s infinite linear;
}

@keyframes glitch-top {

  0%,
  90% {
    transform: translate(0);
    opacity: 0;
  }

  92% {
    transform: translate(-3px, 1px);
    opacity: 1;
  }

  94% {
    transform: translate(3px, -1px);
    opacity: 1;
  }

  96% {
    transform: translate(0, 0);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes glitch-bot {

  0%,
  91% {
    transform: translate(0);
    opacity: 0;
  }

  93% {
    transform: translate(3px, 1px);
    opacity: 1;
  }

  95% {
    transform: translate(-3px, -1px);
    opacity: 1;
  }

  97% {
    transform: translate(0, 0);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.logo-subtitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.9rem;
  color: var(--muted);
  margin-top: -0.3rem;
  text-align: center;
  text-transform: uppercase;
}

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 340px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #333, transparent);
}

.divider-icon {
  font-size: 0.55rem;
  color: #444;
  letter-spacing: 0;
}

/* ── Description ─────────────────────────────────────────── */
.description {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 1.05rem;
  line-height: 2;
  color: #888;
  letter-spacing: 0.04em;
}

/* ── Inquire button ──────────────────────────────────────── */
.links {
  margin-top: 2rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-decoration: none;
  color: #aaa;
  padding: 1rem 2.4rem;
  border: 1px solid #222;
  background: rgba(10, 10, 18, 0.6);
  backdrop-filter: blur(8px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.btn-bracket {
  color: #3a6fff;
  font-size: 1.1rem;
  transition: color 0.4s;
}

.contact-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(60, 100, 255, 0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.contact-btn:hover {
  color: #fff;
  border-color: #3a6fff55;
  box-shadow: 0 0 24px rgba(58, 111, 255, 0.15), inset 0 0 20px rgba(58, 111, 255, 0.04);
}

.contact-btn:hover .btn-bracket {
  color: #79aaff;
}

.contact-btn:hover::before {
  transform: translateX(100%);
}

/* ── Sigil ───────────────────────────────────────────────── */
.sigil {
  font-size: 0.4rem;
  letter-spacing: 0.4rem;
  color: #1e1e2a;
  margin-top: 0.5rem;
  user-select: none;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  margin-top: 3rem;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12rem;
  color: #222233;
}

/* ── Animations ──────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
  animation-delay: 0.5s;
}

.delay-2 {
  animation-delay: 1.0s;
}

.delay-3 {
  animation-delay: 1.5s;
}

.delay-4 {
  animation-delay: 2.0s;
}

.delay-5 {
  animation-delay: 2.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}