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

:root {
  --bg: #09090d;
  --surface: #111117;
  --surface2: #171720;
  --border: rgba(255,255,255,.08);
  --text: #f5f3ff;
  --muted: #92909f;
  --purple: #9671ff;
  --purple-light: #b49aff;
  --cyan: #79dfff;
}

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

html {
  scroll-behavior: smooth;
}

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

body::before {
  content: "";
  position: fixed;
  width: 600px;
  height: 600px;
  top: -350px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(119, 75, 255, .15);
  filter: blur(130px);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

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

button {
  font: inherit;
  cursor: pointer;
}

/* HEADER */

.topbar {
  width: min(1180px, 92%);
  height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1.5px;
}

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

.topbar nav {
  display: flex;
  gap: 35px;
}

.topbar nav a {
  color: var(--muted);
  font-size: 13px;
  transition: .25s;
}

.topbar nav a:hover {
  color: white;
}

.profile {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(180,154,255,.4);
  background: rgba(150,113,255,.15);
  border-radius: 50%;
  color: var(--purple-light);
  font-weight: 700;
}

/* HERO */

.hero {
  width: min(1050px, 92%);
  margin: auto;
  padding: 105px 0 85px;
  text-align: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--purple-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9d7aff;
  box-shadow: 0 0 12px #9671ff;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: -3px;
  margin: 27px 0 23px;
  font-weight: 700;
}

.hero h1 span {
  background: linear-gradient(100deg, #a88aff, #78dfff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero > p {
  max-width: 620px;
  margin: auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  margin-top: 34px;
}

.primary-btn,
.secondary-btn,
.outline-btn {
  min-height: 46px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  transition: .25s;
}

.primary-btn {
  color: white;
  background: linear-gradient(110deg, #7953ec, #9c72ff);
  box-shadow: 0 7px 28px rgba(130,88,255,.22);
  border: none;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(130,88,255,.35);
}

.secondary-btn,
.outline-btn {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.035);
  color: #e7e4ef;
}

.secondary-btn:hover,
.outline-btn:hover {
  border-color: rgba(180,154,255,.5);
  background: rgba(150,113,255,.1);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 70px;
  margin-top: 67px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hero-stats strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 25px;
}

.hero-stats small {
  color: var(--muted);
  font-size: 11px;
}

/* SECTIONS */

.section {
  width: min(1120px, 92%);
  margin: auto;
  padding: 65px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
  gap: 20px;
}

.section-heading h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  margin-top: 10px;
  letter-spacing: -1px;
}

.section-note {
  color: var(--muted);
  font-size: 12px;
}

/* TOOLS */

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

.tool-card {
  min-height: 225px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: linear-gradient(145deg, #17151f, #101016);
  transition: .3s;
}

.tool-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -65px;
  top: -65px;
  border-radius: 50%;
  background: rgba(144,106,255,.09);
  filter: blur(20px);
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: rgba(164,130,255,.4);
  background: #191722;
}

.tool-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(150,113,255,.13);
  border: 1px solid rgba(150,113,255,.2);
  color: var(--purple-light);
  font-size: 21px;
  margin-bottom: 20px;
}

.tool-tag {
  display: block;
  color: var(--purple-light);
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tool-card h3 {
  font-size: 17px;
  margin-bottom: 9px;
}

.tool-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  max-width: 260px;
}

.card-arrow {
  position: absolute;
  right: 23px;
  bottom: 23px;
  color: var(--purple-light);
  font-size: 19px;
}

/* PROJECTS */

.projects-section {
  padding-top: 55px;
}

.empty-state {
  min-height: 270px;
  padding: 45px 20px;
  text-align: center;
  border: 1px dashed rgba(255,255,255,.13);
  border-radius: 15px;
  background: rgba(255,255,255,.015);
}

.empty-icon {
  font-size: 38px;
  color: var(--purple-light);
  margin-bottom: 15px;
}

.empty-state h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 23px;
}

/* LIBRARY */

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

.library-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  transition: .25s;
}

.library-item:hover {
  border-color: rgba(150,113,255,.4);
  transform: translateY(-3px);
}

.library-item > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(150,113,255,.12);
  color: var(--purple-light);
  border-radius: 10px;
  font-size: 19px;
}

.library-item div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.library-item b {
  font-size: 12px;
}

.library-item small {
  color: var(--muted);
  font-size: 10px;
}

/* FOOTER */

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

footer p,
footer small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
}

/* RESPONSIVE */

@media (max-width: 760px) {
  .topbar {
    height: 65px;
  }

  .topbar nav {
    gap: 14px;
  }

  .topbar nav a {
    font-size: 10px;
  }

  .logo {
    font-size: 21px;
  }

  .hero {
    padding: 80px 0 60px;
  }

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

  .hero > p {
    font-size: 13px;
  }

  .hero-stats {
    gap: 25px;
  }

  .hero-stats strong {
    font-size: 21px;
  }

  .hero-stats small {
    font-size: 9px;
  }

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

  .tool-card {
    min-height: 220px;
    padding: 17px;
  }

  .tool-card h3 {
    font-size: 14px;
  }

  .tool-card p {
    font-size: 11px;
  }

  .library-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .section-note {
    display: none;
  }
}

@media (max-width: 420px) {
  .topbar nav {
    gap: 10px;
  }

  .topbar nav a {
    font-size: 9px;
  }

  .profile {
    width: 32px;
    height: 32px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-stats {
    gap: 17px;
  }

  .hero-stats small {
    max-width: 85px;
    line-height: 1.4;
  }

  .tool-card {
    min-height: 235px;
  }

  footer {
    flex-wrap: wrap;
    padding: 25px 0;
  }

  footer p {
    order: 3;
    width: 100%;
  }
}