:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #2f5ea8; /*  #1f2937; */
  --muted: #6b7280;
  --accent: #2f5ea8;
  --accent-dark: #244e8d;
  --border: #d9e2ef;
  --shadow: 0 8px 20px rgba(31, 41, 55, 0.06);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Segoe UI, Arial, sans-serif;
  background: linear-gradient(180deg, #eef3f9 0%, var(--bg) 100%);
  color: var(--text);
  font-size: 14px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px 36px;
}

.header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.logo {
  width: 260px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.title-wrap h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
}

.title-wrap p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.stack {
  display: grid;
  gap: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card h2 {
  margin: 0;
  padding: 12px 14px;
  font-size: 0.98rem;
  background: #f8fbff;
  border-bottom: 1px solid var(--border);
  color: var(--accent);
}

.featured-card {
  position: relative;
  padding: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid rgba(47, 94, 168, 0.14);
  box-shadow: 0 12px 28px rgba(18, 38, 63, 0.08);
  overflow: hidden;
}

.featured-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), #5d86c7);
}

.featured-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.service-logo {
  width: 65px;
  height: 65px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 94, 168, 0.06);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(47, 94, 168, 0.08);
}

.service-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.featured-text h3 {
  margin: 0 0 5px;
  font-size: 1.8rem;
  color: var(--text);
}

.featured-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  max-width: 42rem;
}

.featured-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-width: 120px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 6px 14px rgba(47, 94, 168, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.service-link:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(47, 94, 168, 0.24);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #edf1f7;
  font-size: 0.9rem;
}

.table th {
  color: var(--muted);
  font-weight: 600;
  background: #fcfdff;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.table tr:last-child td {
  border-bottom: none;
}

.table a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.table a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

a.powered-by {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2px 8px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.powered-by img {
  width: 100px;
  height: 40px;
  margin: 0;
  object-fit: contain;
  display: block;
}

.powered-by:hover {
  background: #fff;
  transform: translateY(-1px);
}

.desc {
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 640px) {
  .page {
    padding: 18px 12px 28px;
  }

  .header {
    align-items: flex-start;
  }

  .featured-top {
    align-items: flex-start;
  }

  .service-logo {
    width: 64px;
    height: 64px;
  }

  .service-link {
    width: 100%;
  }

  .table th,
  .table td {
    padding: 9px 12px;
  }
  
}
