:root {
  --bg: #07070b;
  --card: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #9696a7;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --blue: #3b82f6;
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Background */

.bg-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: .18;
  pointer-events: none;
  z-index: -1;
}

.glow-1 {
  background: var(--purple);
  top: -200px;
  left: -150px;
}

.glow-2 {
  background: var(--pink);
  right: -200px;
  top: 400px;
}

/* Navbar */

.navbar {
  width: min(1150px, 92%);
  height: 80px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  color: #aaaab8;
  font-size: 14px;
  transition: .3s;
}

.nav-links a:hover {
  color: white;
}

.nav-button {
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  background: rgba(255,255,255,.04);
}

.menu-btn {
  display: none;
  border: none;
  background: transparent;
  color: white;
  font-size: 25px;
  cursor: pointer;
}

/* Mobile menu */

.mobile-menu {
  display: none;
}

/* Hero */

.hero {
  width: min(1150px, 92%);
  min-height: 680px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.badge {
  width: fit-content;
  padding: 7px 13px;
  border: 1px solid rgba(139,92,246,.3);
  border-radius: 50px;
  color: #c4a9ff;
  background: rgba(139,92,246,.08);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 22px;
}

.badge span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a78bfa;
  margin-right: 7px;
  box-shadow: 0 0 10px #8b5cf6;
}

.hero h1 {
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -4px;
  max-width: 650px;
}

.hero h1 span,
.section-heading h2 span,
.cta h2 span {
  background: linear-gradient(
    90deg,
    #a78bfa,
    #ec4899
  );
  -webkit-background-clip: text;
  color: transparent;
}

.hero-content > p {
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
  margin-top: 25px;
  font-size: 16px;
}

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

.btn {
  padding: 14px 22px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  transition: .3s;
}

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

.primary {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  box-shadow: 0 10px 35px rgba(139,92,246,.25);
}

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

.trusted {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}

.avatars {
  display: flex;
}

.avatars div {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #24242e;
  border: 2px solid var(--bg);
  margin-left: -7px;
}

.avatars div:first-child {
  margin-left: 0;
}

.trusted strong,
.trusted small {
  display: block;
}

.trusted strong {
  font-size: 13px;
}

.trusted small {
  color: var(--muted);
  margin-top: 3px;
  font-size: 11px;
}

/* Dashboard */

.hero-visual {
  position: relative;
  height: 480px;
  display: grid;
  place-items: center;
}

.dashboard-card {
  width: 470px;
  max-width: 100%;
  padding: 30px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(20,20,28,.75);
  backdrop-filter: blur(20px);
  box-shadow:
    0 30px 100px rgba(0,0,0,.5),
    0 0 80px rgba(139,92,246,.1);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
}

.dashboard-top span {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-top h3 {
  font-size: 30px;
  margin-top: 8px;
}

.growth {
  height: fit-content;
  color: #4ade80;
  background: rgba(74,222,128,.1);
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
}

.chart {
  height: 210px;
  margin-top: 35px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.chart::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 51px,
    rgba(255,255,255,.05) 52px
  );
}

.chart-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25px;
  height: 130px;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 8%,
    #8b5cf6 8%,
    #ec4899 25%,
    #8b5cf6 45%,
    #ec4899 70%,
    #8b5cf6 100%
  );
  clip-path: polygon(
    0 85%,
    15% 65%,
    30% 72%,
    45% 40%,
    60% 52%,
    75% 15%,
    90% 30%,
    100% 0,
    100% 5%,
    90% 35%,
    75% 20%,
    60% 58%,
    45% 46%,
    30% 78%,
    15% 71%,
    0 91%
  );
  opacity: .8;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  color: #5e5e6b;
  font-size: 10px;
  margin-top: 10px;
}

.chart-point {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 15px #a78bfa;
  z-index: 2;
}

.p1 {
  left: 14%;
  bottom: 82px;
}

.p2 {
  left: 30%;
  bottom: 70px;
}

.p3 {
  left: 45%;
  bottom: 135px;
}

.p4 {
  left: 60%;
  bottom: 105px;
}

.p5 {
  left: 75%;
  bottom: 165px;
}

.p6 {
  right: 0;
  bottom: 190px;
}

/* Floating cards */

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  background: rgba(20,20,28,.85);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 13px;
}

.floating-card small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

.card-one {
  top: 70px;
  left: -10px;
  animation: float 4s ease-in-out infinite;
}

.card-two {
  bottom: 70px;
  right: -15px;
  animation: float 5s ease-in-out infinite reverse;
}

.floating-icon,
.check {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(139,92,246,.15);
  color: #b99aff;
}

.check {
  background: rgba(74,222,128,.1);
  color: #4ade80;
}

@keyframes float {
  50% {
    transform: translateY(-15px);
  }
}

/* Sections */

.section {
  width: min(1150px, 92%);
  margin: 130px auto;
}

.section-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-heading .badge {
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.cta h2 {
  font-size: clamp(35px, 5vw, 52px);
  letter-spacing: -2px;
}

.section-heading p,
.cta p {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 18px;
}

/* Features */

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

.feature-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  transition: .35s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139,92,246,.4);
  background: rgba(255,255,255,.07);
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 22px;
  margin-bottom: 25px;
}

.purple {
  background: rgba(139,92,246,.15);
  color: #a78bfa;
}

.blue {
  background: rgba(59,130,246,.15);
  color: #60a5fa;
}

.pink {
  background: rgba(236,72,153,.15);
  color: #f472b6;
}

.feature-card h3 {
  font-size: 18px;
}

.feature-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 12px 0 22px;
}

.feature-card a {
  color: #b99aff;
  font-size: 13px;
}

/* Stats */

.stats-section {
  width: min(1000px, 90%);
  margin: 140px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 45px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 42px;
  letter-spacing: -2px;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
}

/* Pricing */

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

.price-card {
  position: relative;
  padding: 35px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
}

.price-card.popular {
  border-color: rgba(139,92,246,.6);
  background: linear-gradient(
    145deg,
    rgba(139,92,246,.12),
    rgba(236,72,153,.05)
  );
}

.popular-label {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(139,92,246,.2);
  color: #c4b5fd;
  font-size: 8px;
  font-weight: 700;
}

.plan {
  color: #a78bfa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.price-card h3 {
  font-size: 45px;
  margin: 20px 0 5px;
}

.price-card h3 small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.price-card > p {
  color: var(--muted);
  font-size: 12px;
}

.price-card ul {
  list-style: none;
  margin: 30px 0;
}

.price-card li {
  color: #bdbdc9;
  font-size: 13px;
  padding: 9px 0;
}

.price-btn {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: white;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
}

.primary-price {
  border: none;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

/* CTA */

.cta {
  width: min(1000px, 90%);
  margin: 150px auto;
  text-align: center;
  padding: 90px 30px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(139,92,246,.2),
      transparent 60%
    ),
    rgba(255,255,255,.03);
}

.cta .badge {
  margin-left: auto;
  margin-right: auto;
}

.cta h2 {
  max-width: 700px;
  margin: auto;
}

.cta p {
  max-width: 550px;
  margin: 20px auto 30px;
}

/* Footer */

footer {
  width: min(1150px, 92%);
  margin: auto;
  padding: 35px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

footer p {
  color: var(--muted);
  font-size: 11px;
}

.socials {
  display: flex;
  gap: 18px;
}

.socials a {
  color: var(--muted);
  font-size: 11px;
}

/* Responsive */

@media (max-width: 800px) {

  .nav-links,
  .nav-button {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .mobile-menu {
    width: 92%;
    margin: auto;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(20,20,28,.95);
  }

  .mobile-menu.active {
    display: grid;
  }

  .mobile-menu a {
    padding: 12px;
    color: #bbb;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
    text-align: center;
  }

  .hero .badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .trusted {
    justify-content: center;
  }

  .hero-visual {
    height: 420px;
  }

  .dashboard-card {
    transform: none;
  }

  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .stats-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

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

@media (max-width: 480px) {

  .hero h1 {
    font-size: 46px;
    letter-spacing: -3px;
  }

  .hero-visual {
    height: 350px;
  }

  .dashboard-card {
    padding: 20px;
  }

  .card-one {
    left: -5px;
  }

  .card-two {
    right: -5px;
  }

  .stats-section {
    grid-template-columns: 1fr 1fr;
  }

  .stat strong {
    font-size: 32px;
  }
}
