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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0f172a, #020617);
  color: #e5e7eb;
  min-height: 100vh;
}

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(18px);
  margin-bottom: 24px;
}

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

.logo-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  font-size: 16px;
  color: #f9fafb;
}

.brand-subtitle {
  font-size: 12px;
  color: #9ca3af;
}

.content {
  margin-top: 24px;
}

.hero {
  text-align: left;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(to right, #e5e7eb, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 14px;
  color: #9ca3af;
}

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

.card {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 55%),
              radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.08), transparent 55%),
              rgba(15, 23, 42, 0.9);
  border-radius: 18px;
  padding: 20px 18px 22px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow:
    0 18px 35px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(15, 23, 42, 0.8);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card h2 {
  font-size: 18px;
  margin-bottom: 4px;
  color: #f9fafb;
}

.card h3 {
  font-size: 15px;
  margin-top: 14px;
  margin-bottom: 4px;
  color: #e5e7eb;
}

.card p,
.card ul,
.card li {
  font-size: 13px;
  color: #cbd5f5;
  line-height: 1.6;
}

.card ul {
  margin-left: 16px;
}

.card li {
  margin-bottom: 4px;
}

.card .meta {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 10px;
}

.card-rtl {
  text-align: right;
  font-family: 'Tahoma', 'Segoe UI', system-ui, sans-serif;
}

.footer {
  margin-top: 32px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

@media (max-width: 640px) {
  .top-bar {
    border-radius: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero h1 {
    font-size: 22px;
  }
}
