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

html, body {
  min-height: 100vh;
  background: #0a0a0a;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.page {
  position: relative;
  min-height: 100vh;
  padding: 56px 80px 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---------- Background ---------- */
.bg-base {
  position: absolute; inset: 0;
  background: #0a0807 url("./ASD_LP_ESE.webp") center center / cover no-repeat;
  z-index: 0;
}

.bg-base::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(10, 8, 7, 0.55);
  pointer-events: none;
}

/* ---------- Content ---------- */
.content { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; }

/* Header / Logo */
header { margin-bottom: 20px; }

.logo {
  display: block;
  width: 200px;
  height: auto;
}

/* Main grid */
main {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  flex: 1;
  align-items: start;
}

/* ---------- Left column ---------- */
.left .eyebrow {
  font-size: 22px;
  font-weight: 500;
  color: #b8b8b8;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.left h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 90px;
  color: #ffffff;
}

.left .lead {
  font-size: 17px;
  line-height: 1.55;
  color: #e8e8e8;
  margin-bottom: 28px;
  max-width: 560px;
  font-weight: 400;
}

.left .emphasis {
  font-size: 17px;
  line-height: 1.55;
  color: #ffffff;
  font-weight: 700;
  max-width: 560px;
}

/* ---------- Right column ---------- */
.right h2 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  margin-top: 0;
}

.right > p {
  font-size: 15.5px;
  line-height: 1.55;
  color: #e0e0e0;
  margin-bottom: 20px;
  max-width: 460px;
  font-weight: 400;
}

.right h3 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 22px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 620px;
}

.card {
  position: relative;
  background: rgba(15, 12, 11, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 18px 16px 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  background: rgba(25, 18, 16, 0.8);
  border-color: rgba(151, 2, 9, 0.5);
  transform: translateY(-2px);
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 12px; right: 12px;
  height: 1px;
  background: #970209;
}

.card .num {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #d0d0d0;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 1.5px;
}

.card .num::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #970209;
  display: inline-block;
  margin-right: 2px;
}

.card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.card .desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: #b8b8b8;
  margin-bottom: 22px;
  font-weight: 400;
}

.card .access {
  display: block;
  text-decoration: none;
}

/* Stretched link: makes the entire card clickable */
.card .access::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card .access .label {
  display: block;
  color: #970209;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.card .access .url {
  display: block;
  color: #888;
  font-size: 11px;
  font-weight: 400;
}

.card .access .arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: #970209;
  font-size: 28px;
  line-height: 1;
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
}

.follow {
  font-size: 15px;
  color: #ffffff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.follow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #970209;
  display: inline-block;
}

.follow a {
  color: #970209;
  text-decoration: none;
  font-weight: 700;
}

.redirect {
  font-size: 13px;
  color: #888;
  font-style: italic;
  font-weight: 400;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .page { padding: 40px 48px 32px; }
  .left h1 { font-size: 52px; margin-bottom: 56px; }
  main { gap: 48px; }
}

@media (max-width: 900px) {
  .page { padding: 32px 24px; }
  main { grid-template-columns: 1fr; gap: 56px; }
  .left h1 { font-size: 42px; margin-bottom: 40px; }
  .cards { grid-template-columns: 1fr; max-width: 100%; }
  footer { flex-direction: column; gap: 18px; align-items: flex-start; }
  header { margin-bottom: 48px; }
}

/* ---------- Our Software (STKO / STKO PRO) ---------- */
.products-block {
  position: relative;
  max-width: 620px;
  margin-bottom: 10px;
  padding: 22px 20px 20px;
  background: rgba(60, 10, 8, 0.20);
  border: 1px solid rgba(151, 2, 9, 0.45);
  border-radius: 6px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.products-block::before {
  content: "";
  position: absolute;
  top: 0; left: 12px; right: 12px;
  height: 2px;
  background: #970209;
}

.right .products-title { margin-bottom: 6px; }

.products-sub {
  font-size: 13.5px;
  line-height: 1.5;
  color: #b8b8b8;
  margin-bottom: 18px;
  font-weight: 400;
}

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 16px 14px;
  background: rgba(15, 12, 11, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.product:hover {
  background: rgba(25, 18, 16, 0.85);
  border-color: rgba(151, 2, 9, 0.7);
  transform: translateY(-2px);
}

.product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.product-name {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.edition {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #d0d0d0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  padding: 3px 7px;
}

.product-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: #d0d0d0;
  margin-bottom: 8px;
}

.product-for {
  font-size: 11.5px;
  line-height: 1.4;
  color: #8f8f8f;
  margin-bottom: 14px;
}

.product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.product-link .url {
  font-size: 11px;
  color: #a8a8a8;
  overflow-wrap: anywhere;
}

.product-link .arrow {
  color: #970209;
  font-size: 20px;
  line-height: 1;
}

/* Pro edition — solid accent */
.product-pro {
  background: #970209;
  border-color: #970209;
}

.product-pro:hover {
  background: #b30310;
  border-color: #b30310;
}

.product-pro .product-name { color: #ffffff; }
.product-pro .edition-pro {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}
.product-pro .product-desc { color: rgba(255, 255, 255, 0.92); }
.product-pro .product-for  { color: rgba(255, 255, 255, 0.7); }
.product-pro .product-link { border-top-color: rgba(255, 255, 255, 0.28); }
.product-pro .product-link .url { color: rgba(255, 255, 255, 0.85); }
.product-pro .product-link .arrow { color: #ffffff; }

/* Separator between the software block and the legacy areas */
.section-rule {
  max-width: 620px;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
  margin: 26px 0;
}

@media (max-width: 900px) {
  .products { grid-template-columns: 1fr; }
  .products-block, .section-rule { max-width: 100%; }
}
