@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #ffffff;
  --ink: #0a0f1e;
  --muted: #6b7280;
  --brand: #0d5eff;
  --brand-soft: rgba(13, 94, 255, 0.16);
  --line: rgba(10, 15, 30, 0.08);
  color-scheme: light;
}

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

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- background layers ---------- */

.grid-backdrop {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, transparent 5%, black 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, transparent 5%, black 78%);
  z-index: 0;
}

.glow {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--brand-soft) 0%, rgba(13, 94, 255, 0.05) 40%, rgba(13, 94, 255, 0) 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* ---------- layout ---------- */

.stage {
  position: relative;
  z-index: 1;
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.logo {
  width: clamp(200px, 26vw, 360px);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(13, 94, 255, 0.12));
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  animation: reveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0s both;
}

.tagline {
  margin-top: 28px;
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
  opacity: 0;
  animation: reveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.tagline::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  animation: blink 2.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.cta {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--ink);
  color: #ffffff;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(10, 15, 30, 0.08), 0 8px 20px rgba(10, 15, 30, 0.10);
  opacity: 0;
  animation: reveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease;
}

.cta:hover {
  transform: translateY(-2px);
  background: #12193a;
  box-shadow: 0 1px 2px rgba(10, 15, 30, 0.08), 0 14px 30px rgba(13, 94, 255, 0.28);
}

.cta:active {
  transform: translateY(0);
}

.cta-icon {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta:hover .cta-icon {
  transform: translateX(3px);
}

/* ---------- footer ---------- */

.foot {
  position: fixed;
  bottom: 22px;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  font-size: 12.5px;
  color: rgba(107, 114, 128, 0.75);
  letter-spacing: 0.01em;
}

/* ---------- small screens ---------- */

@media (max-height: 480px) {
  .foot { display: none; }
}
