html::before {
  content: 'CodePen ♥ The Web';
  position: fixed;
  inset: 0;
  z-index: -1;
  margin: auto;
  width: fit-content;
  height: fit-content;
  font-family: monospace;
  opacity: 0.6;
  background: rebeccapurple;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  line-height: 1.6;
  color: #111;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.center {
  text-align: center;
}

.navbar {
  background: #0b0f19;
  color: #fff;
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
}

.btn {
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

.primary {
  background: #2563eb;
  color: #fff;
}

.secondary {
  border: 1px solid #2563eb;
  color: #2563eb;
}

.hero {
  padding: 80px 0;
  background: linear-gradient(to right, #0b0f19, #111827);
  color: #fff;
}

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

.hero-text {
  max-width: 50%;
}

.hero-text h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.dashboard-card {
  background: #1f2937;
  padding: 20px;
  border-radius: 10px;
  color: #fff;
}

.section {
  padding: 70px 0;
}

.section.light {
  background: #f9fafb;
}

.section.dark {
  background: #111827;
  color: #fff;
}

.subtitle {
  margin-bottom: 30px;
  color: #555;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  text-align: center;
}

.feature {
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
}

.metric h3 {
  font-size: 32px;
}

.testimonial {
  font-style: italic;
  margin-top: 20px;
}

.cta {
  padding: 60px 0;
  background: #2563eb;
  color: #fff;
}

.footer {
  background: #0b0f19;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}