* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #080a14;
  color: #f5f7ff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 18px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-symbol {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #7c5cff, #22d3ee);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(124, 92, 255, 0.25);
}

.logo strong {
  display: block;
  font-size: 1rem;
}

.logo span {
  display: block;
  color: #9da4c7;
  font-size: 0.85rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #c8ccef;
  font-size: 0.95rem;
}

.nav a:hover {
  color: #ffffff;
}

.hero {
  width: min(1180px, 92%);
  min-height: 48vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: 34px;
  padding: 26px 0 32px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #d8d5ff;
  background: rgba(124, 92, 255, 0.13);
  border: 1px solid rgba(124, 92, 255, 0.28);
  font-size: 0.9rem;
}

h1 {
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 16px;
  max-width: 640px;
}

.subtitle {
  max-width: 680px;
  color: #b9bfdc;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  background: #ffffff;
  color: #080a14;
}

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.hero-card {
  padding: 26px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 35%),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.hero-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: #9eeaff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.hero-card h2 {
  font-size: 1.65rem;
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero-card p {
  color: #b9bfdc;
}

.section {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 34px 0;
}

.section-title {
  margin-bottom: 30px;
}

.section-title span,
.about-section span {
  color: #9eeaff;
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-title h2,
.about-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-top: 8px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.category-card {
  min-height: 82px;
  padding: 18px;
  display: flex;
  align-items: end;
  border-radius: 22px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-card {
  padding: 26px;
  border-radius: 26px;
  background: #101421;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.article-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: #b7a7ff;
  font-size: 0.85rem;
  font-weight: 800;
}

.article-card h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.article-card p {
  color: #aeb5d2;
  margin-bottom: 18px;
}

.article-card a {
  color: #9eeaff;
  font-weight: 800;
}

.about-section {
  width: min(1180px, 92%);
  margin: 44px auto;
  padding: 42px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.16), transparent 35%),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-section p {
  color: #b9bfdc;
  font-size: 1.05rem;
}

.footer {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 34px 0;
  color: #8f96b8;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
}

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 50px 0 70px;
  }

  h1 {
    letter-spacing: -2px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

@media (max-width: 520px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .logo-symbol {
    width: 48px;
    height: 48px;
  }

  .hero-card {
    padding: 24px;
  }
}

/* Article page */

.post {
  width: min(920px, 92%);
  margin: 0 auto;
  padding: 34px 0 64px;
}

.post-header {
  max-width: 780px;
  margin: 0 auto 28px;
}

.post-category {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #9eeaff;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.22);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.post-header h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -1.5px;
  max-width: 760px;
  margin-bottom: 16px;
}

.post-description {
  max-width: 760px;
  color: #b9bfdc;
  font-size: 1.05rem;
  line-height: 1.65;
}

.post-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.post-content p {
  color: #d8dcf2;
  font-size: 1.03rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.post-content h2 {
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 32px 0 14px;
}

.post-content h2:first-child {
  margin-top: 0;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: #9da4c7;
  font-size: 0.9rem;
}

.post-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.next-reading {
  max-width: 780px;
  margin: 34px auto 0;
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.16), transparent 35%),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.next-reading > span {
  display: inline-block;
  margin-bottom: 8px;
  color: #9eeaff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.next-reading h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.next-reading-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.next-reading-grid a {
  display: block;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.next-reading-grid strong {
  display: block;
  margin-bottom: 8px;
  line-height: 1.25;
}

.next-reading-grid small {
  color: #9eeaff;
  font-weight: 800;
}

@media (max-width: 700px) {
  .post {
    padding: 28px 0 54px;
  }

  .post-header {
    margin-bottom: 24px;
  }

  .post-content {
    padding: 24px;
    border-radius: 24px;
  }

  .post-content p {
    font-size: 1rem;
  }

  .next-reading {
    padding: 24px;
  }

  .next-reading-grid {
    grid-template-columns: 1fr;
  }
}
