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

:root {
  --bg: #07070a;
  --card: #101015;
  --text: #f4f4f5;
  --muted: #8b8b98;
  --accent: #a855f7;
  --accent-2: #ec4899;
  --border: rgba(255, 255, 255, 0.09);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

/* Background */

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(168, 85, 247, 0.15),
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(236, 72, 153, 0.10),
      transparent 30%
    );
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

/* Navbar */

.navbar {
  width: min(1100px, calc(100% - 40px));
  margin: auto;
  height: 80px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s ease;
}

nav a:hover {
  color: white;
}

/* Hero */

.hero {
  width: min(900px, calc(100% - 40px));
  min-height: 75vh;
  margin: auto;

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

.badge {
  margin-bottom: 25px;
  padding: 8px 14px;

  border: 1px solid var(--border);
  border-radius: 999px;

  color: #c4b5fd;
  background: rgba(168, 85, 247, 0.06);

  font-size: 0.7rem;
  letter-spacing: 1px;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.9;
  letter-spacing: -7px;
  font-weight: 800;
}

.hero h1 span {
  display: block;

  background: linear-gradient(
    90deg,
    #a855f7,
    #ec4899,
    #a855f7
  );

  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;

  animation: gradient 4s linear infinite;
}

.hero p {
  max-width: 560px;
  margin-top: 30px;

  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* Buttons */

.buttons {
  display: flex;
  gap: 12px;
  margin-top: 35px;
}

.btn {
  display: inline-block;
  padding: 13px 21px;

  border-radius: 10px;
  text-decoration: none;

  font-size: 0.9rem;
  font-weight: 600;

  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-3px);
}

.primary {
  color: white;
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent-2)
  );

  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
}

.secondary {
  color: white;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}

/* Sections */

.section,
.cards,
.cta {
  width: min(1000px, calc(100% - 40px));
  margin: 120px auto;
}

.section-label {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 2px;
  font-weight: 700;
}

.section h2,
.cta h2 {
  margin-top: 15px;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -2px;
}

.section > p {
  max-width: 600px;
  margin-top: 20px;

  color: var(--muted);
  line-height: 1.7;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.card {
  padding: 30px;

  min-height: 220px;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.01)
  );

  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.card span {
  color: var(--accent);
  font-size: 0.75rem;
}

.card h3 {
  margin-top: 45px;
  font-size: 1.5rem;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* CTA */

.cta {
  padding: 70px 40px;
  text-align: center;

  border: 1px solid var(--border);
  border-radius: 25px;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(168,85,247,0.15),
      transparent 50%
    ),
    rgba(255,255,255,0.02);
}

.cta > p:not(.section-label) {
  color: var(--muted);
  margin: 15px 0 30px;
}

/* Footer */

footer {
  width: min(1000px, calc(100% - 40px));
  margin: 100px auto 30px;

  display: flex;
  justify-content: space-between;

  color: #555560;
  font-size: 0.75rem;
}

/* Animation */

@keyframes gradient {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* Mobile */

@media (max-width: 700px) {
  nav {
    display: none;
  }

  .hero {
    min-height: 70vh;
  }

  .hero h1 {
    letter-spacing: -4px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .section,
  .cards,
  .cta {
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .cta {
    padding: 50px 20px;
  }

  footer {
    flex-direction: column;
    gap: 10px;
  }
}
