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

:root {
  --bg: #050a16;
  --panel: #0d1426;
  --card: #0f172a;
  --border: #1d2a44;
  --muted: #9fb0d3;
  --text: #e5ecff;
  --accent: #7c7cf8;
  --accent-2: #4fd1c5;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", "Sora", "Neue Haas Grotesk", sans-serif;
  background: radial-gradient(120% 120% at 20% 20%, rgba(124, 124, 248, 0.12), transparent),
              radial-gradient(90% 90% at 80% 10%, rgba(79, 209, 197, 0.12), transparent),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(120deg, rgba(124, 124, 248, 0.08), rgba(79, 209, 197, 0.08));
  opacity: 0.6;
  filter: blur(120px);
  z-index: 0;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(5, 10, 22, 0.9), rgba(5, 10, 22, 0.65));
}

.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand__logo {
  height: 42px;
  width: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(92%) sepia(6%) saturate(520%) hue-rotate(185deg) brightness(105%) contrast(95%);
}

.brand__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(124, 124, 248, 0.16), rgba(79, 209, 197, 0.14));
  color: var(--accent);
  border: 1px solid rgba(124, 124, 248, 0.3);
}

.brand__text {
  font-size: 18px;
}

.nav__links {
  display: flex;
  gap: 18px;
  font-weight: 500;
}

.nav__links a {
  padding: 8px 10px;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav__links a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 80px 0 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
  background: radial-gradient(120% 120% at 20% 20%, rgba(7, 19, 41, 0.8), rgba(6, 12, 26, 0.9)),
              linear-gradient(135deg, rgba(6, 12, 26, 0.95), rgba(6, 16, 34, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 0;
}

.hero__content {
  max-width: 1180px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.hero__content h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin: 14px 0;
  letter-spacing: -0.03em;
}

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

.lede {
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 12px;
}

.btn {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border 0.18s ease, background 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 124, 248, 0.5);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent), #4c5ce0);
  color: #ffffff;
  border: 1px solid rgba(124, 124, 248, 0.6);
  box-shadow: 0 10px 30px rgba(124, 124, 248, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 14px 32px rgba(124, 124, 248, 0.45);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
}

.btn--icon {
  gap: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(79, 209, 197, 0.14);
  color: #5eead4;
  border: 1px solid rgba(79, 209, 197, 0.5);
  font-weight: 600;
  font-size: 13px;
}

.pill--highlight {
  background: rgba(79, 209, 197, 0.18);
  border-color: rgba(79, 209, 197, 0.6);
  color: #5eead4;
}

.pill--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.meta__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-size: 12px;
}

.meta__value {
  color: var(--text);
  font-weight: 600;
  margin-top: 6px;
}

.hero__panel {
  display: none;
}

.section {
  max-width: 1180px;
  margin: 10px auto 80px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.section__header h2 {
  margin: 10px 0 6px;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.section__lede {
  color: var(--muted);
  max-width: 720px;
}

.categories {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.category {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.category__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 18px;
}

.icon-badge--budget {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: #4ade80;
}

.icon-badge--mid {
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.25);
  color: #facc15;
}

.icon-badge--adv {
  background: rgba(99, 164, 255, 0.12);
  border: 1px solid rgba(99, 164, 255, 0.35);
  color: #63a4ff;
}

.category__title {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.category__desc {
  margin: 6px 0 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  position: relative;
  min-height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 124, 248, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ffffff;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  display: block;
  filter: saturate(1.05);
}

.card__brand {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: #0c1224;
  border: 1px solid rgba(124, 124, 248, 0.35);
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  font-size: 13px;
}

.brand--budget { color: #4ade80; }
.brand--mid { color: #facc15; }
.brand--adv { color: #63a4ff; }

.card__body {
  padding: 16px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card__title {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.card__desc {
  margin: 0;
  color: var(--muted);
  min-height: 46px;
}

.specs {
  display: grid;
  gap: 8px;
  margin: 6px 0;
}

.spec {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
}

.spec__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--accent);
  font-size: 14px;
}

.card__footer {
  margin-top: auto;
  padding: 14px 16px 16px;
}

.buy {
  margin-top: 10px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid rgba(94, 234, 212, 0.55);
  background: rgba(94, 234, 212, 0.18);
  color: #d6fffa;
  font-weight: 700;
  font-size: 13px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.buy:hover {
  background: rgba(94, 234, 212, 0.28);
  transform: translateY(-1px);
}

.buy i {
  font-size: 14px;
}
.buy svg {
  width: 16px;
  height: 16px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 28px 20px 36px;
  background: rgba(0, 0, 0, 0.16);
}

.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-direction: column;
  text-align: center;
}

.footer__text {
  color: var(--muted);
  max-width: 420px;
}

.brand--muted .brand__icon {
  background: rgba(124, 124, 248, 0.08);
}

.footer__note {
  text-align: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.skeleton {
  display: grid;
  gap: 18px;
}

.skeleton__section {
  background: rgba(255, 255, 255, 0.02);
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.skeleton__bar,
.skeleton__card {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}

.skeleton__bar {
  height: 16px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.skeleton__card {
  height: 220px;
  border-radius: 14px;
}

.skeleton__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .hero__panel {
    order: -1;
  }

  .nav__links {
    display: none;
  }
}

@media (max-width: 640px) {
  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__actions {
    flex-direction: column;
  }

  .category__header {
    flex-direction: column;
    align-items: flex-start;
  }
}
