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

:root {
  --background: #020618;
  --foreground: #ffffff;
  --purple-2: #463acb;
  --green-1: #5dead5;
  --blue-2: #f5f7ff;
  --blue-5: #67e8f9;
  --gray-6: #787486;
  --gray-9: #3f3f46;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.hero {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #020618 0%, #3c0366 50%, #0f172b 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1b1375 0%, #463acb 50%, #3f27ad 100%);
  mix-blend-mode: overlay;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(107, 110, 248, 0.33) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(107, 110, 248, 0.33) 1px, transparent 1px);
  background-size: 6rem 6rem;
}

.hero-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 80rem;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 1rem 1rem;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 0.75rem;
  background: var(--blue-2);
  padding: 0.5rem 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.brand-logo {
  width: 1.5rem;
  height: 1.5rem;
}

.brand-name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}

.brand-name .purple {
  color: var(--purple-2);
}

.brand-name .green {
  color: var(--green-1);
}

.btn {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--green-1);
  color: var(--gray-9);
  font-weight: 700;
  transition: filter 0.2s ease;
}

.btn:hover {
  filter: brightness(1.1);
}

.btn-sm {
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 0.625rem 2rem;
  font-size: 0.875rem;
}

.hero-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0;
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(103, 232, 249, 0.5);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.375rem 0.75rem;
  backdrop-filter: blur(4px);
}

.badge-dot {
  width: 0.375rem;
  height: 0.375rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--green-1);
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--blue-5);
}

.headline {
  max-width: 48rem;
  margin: 0;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
}

.description {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.9);
}

.cta {
  margin-top: 2rem;
}

.footer {
  width: 100%;
  background: #fff;
  padding: 2.5rem 1rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-logo {
  width: 3rem;
  height: 3rem;
}

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.625rem;
}

.footer-brand-name .purple {
  color: var(--purple-2);
}

.footer-brand-name .green {
  color: var(--green-1);
}

.footer-copy {
  max-width: 36rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--gray-6);
}

.footer-bottom {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.footer-nav a {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--gray-6);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--purple-2);
}

.footer-legal {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--gray-6);
}

.footer-legal .purple {
  color: var(--purple-2);
}

.footer-legal .green {
  color: var(--green-1);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

.animate-rise {
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-rise-delay-1 {
  animation-delay: 80ms;
}

.animate-rise-delay-2 {
  animation-delay: 160ms;
}

.animate-rise-delay-3 {
  animation-delay: 260ms;
}

.animate-rise-delay-4 {
  animation-delay: 360ms;
}

.animate-dot {
  animation: soft-pulse 2.4s ease-in-out infinite;
}

@media (min-width: 640px) {
  .hero-inner {
    padding: 1rem 2rem;
  }

  .header {
    border-radius: 1.5rem;
    padding: 0.875rem 1.5rem;
  }

  .brand-logo {
    width: 2.25rem;
    height: 2.25rem;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
  }

  .btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
  }

  .badge-text {
    font-size: 0.875rem;
  }

  .headline {
    font-size: 3rem;
  }

  .description {
    font-size: 1rem;
  }

  .cta {
    margin-top: 2.5rem;
  }

  .footer {
    padding: 2.5rem 2rem;
  }

  .footer-nav {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    padding: 2rem 3rem;
  }

  .headline {
    font-size: 3.75rem;
    line-height: 1.1;
  }

  .description {
    margin-top: 2rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .footer {
    padding: 3rem;
  }

  .footer-inner {
    align-items: flex-start;
    gap: 2rem;
    text-align: left;
  }

  .footer-brand-block {
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-rise,
  .animate-dot {
    animation: none;
  }
}
