:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #4b5563;
  --accent: #2563eb;
  --border: #dbe3ee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(180deg, #eef4ff 0%, var(--bg) 35%, #f8fafc 100%);
  color: var(--text);
}

.hero {
  position: relative;
  text-align: center;
  width: min(1100px, 92%);
  margin: 1.25rem auto 0.75rem;
  padding: 3rem 1.25rem 2.25rem;
  border-radius: 18px;
  border: 1px solid #bfdbfe;
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.38), transparent 42%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.32), transparent 40%),
    linear-gradient(135deg, #1d4ed8 0%, #2563eb 38%, #0ea5e9 100%);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 190px;
  height: 190px;
  top: -70px;
  right: -55px;
  background: rgba(255, 255, 255, 0.2);
}

.hero::after {
  width: 145px;
  height: 145px;
  bottom: -60px;
  left: -35px;
  background: rgba(255, 255, 255, 0.15);
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.7rem;
  color: #ffffff;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  letter-spacing: 0.2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.hero p {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  color: #eaf2ff;
  line-height: 1.6;
  font-size: 1.03rem;
}

.hero strong {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.08rem 0.5rem;
}

.editor-grid {
  width: min(1100px, 92%);
  margin: 1rem auto 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.editor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.editor-card img {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.75rem;
}

.editor-card h2 {
  margin: 0.9rem 0 0.5rem;
  color: var(--accent);
}

.editor-card h2 a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.editor-card h2 a:hover {
  background: linear-gradient(120deg, #2563eb, #1d4ed8, #0ea5e9);
  color: #ffffff;
}

.editor-card p {
  margin: 0 0 0.65rem;
  line-height: 1.55;
}

.editor-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #374151;
}

.editor-card li {
  margin-bottom: 0.35rem;
}

footer {
  text-align: center;
  padding: 0.5rem 1rem 2rem;
  color: var(--muted);
}
