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

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #e5f4ff;
  background-color: #020a15;
  overflow-x: hidden;
}

.page-gradient {
  position: fixed;
  inset: 0;
  background: none;
  pointer-events: none;
  z-index: -1;
}

.shell {
  min-height: 100vh;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.logo-wrap {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  padding: 4px;
  border: 1px solid #00ffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 0;
  text-decoration: none;
  border-radius: 18px;
}

.logo {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.brand-text {
  max-width: 560px;
}

.tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #a5f3fc;
  margin-bottom: 4px;
}

.title {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #e2e8f0;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.badge-ai {
  background: #00ffff;
  color: #020a15;
  border-color: #00ffff;
  font-weight: 600;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  border-radius: 20px;
  padding: 18px 18px 16px;
  background: #050f1e;
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transform-origin: center;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #00ffff;
}

.card-header h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.card-header p {
  font-size: 0.9rem;
  color: #cbd5f5;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.65);
  color: #e2e8f0;
}

.pill-google {
  background: transparent;
}

.pill-apple {
  background: transparent;
}

.pill-windows {
  background: transparent;
}

.pill-telegram {
  background: transparent;
}

.card-btn {
  margin-top: 10px;
  width: 100%;
  border-radius: 999px;
  border: 1px solid #00ffff;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  background: #020a15;
  color: #e5f4ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease, color 150ms ease, transform 120ms ease,
    border-color 150ms ease;
}

.card-btn:hover {
  background: #00ffff;
  color: #020a15;
  transform: translateY(-1px);
}

.card-btn:active {
  transform: translateY(0);
}

.footer {
  margin-top: auto;
  font-size: 0.78rem;
  color: #94a3b8;
  display: flex;
  justify-content: center;
  text-align: center;
}

.footer-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links {
  display: inline-flex;
  gap: 6px;
  font-size: 0.72rem;
}

.footer-links a {
  color: #9fdfe6;
  text-decoration: none;
}

.footer-links a:hover {
  color: #00ffff;
}

.content-card {
  background: #050f1e;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 20px;
  padding: 20px;
  line-height: 1.7;
  color: #d7e5f4;
}

.content-card h2 {
  margin: 14px 0 10px;
  font-size: 1.2rem;
  color: #c8fbff;
}

.content-card h3 {
  margin: 12px 0 8px;
  font-size: 1rem;
  color: #b6f5ff;
}

.content-card p,
.content-card li {
  font-size: 0.95rem;
}

.content-card ul {
  padding-left: 18px;
}

.content-card a {
  color: #8ef7ff;
}

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

.blog-card-link {
  text-decoration: none;
  color: inherit;
}

.blog-card {
  height: 100%;
}

.blog-card p {
  color: #cbd5f5;
  font-size: 0.92rem;
  line-height: 1.6;
}

.blog-meta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.74rem;
  color: #94a3b8;
}

.blog-open {
  margin-top: 8px;
  color: #8ef7ff;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Blog post: rasmiy havolalar */
.post-store-block {
  margin-top: 18px;
}

.post-related {
  margin-top: 18px;
}

@media (max-width: 640px) {
  .shell {
    padding-top: 20px;
  }

  .brand {
    align-items: flex-start;
  }

  .logo-wrap {
    width: 68px;
    height: 68px;
  }

  .title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }
}

