/* Features page — clean premium layout */

body.feat-page #page-body,
#page-body.feat-page {
  padding: 0 !important;
  margin: 0;
  max-width: none;
  background: transparent;
}

#page-body.feat-page section {
  margin-top: 0 !important;
}

.feat-page {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  overflow-x: hidden;
}

.feat-page > * {
  position: relative;
  z-index: 1;
}

.feat-intro {
  width: min(1100px, 90vw);
  margin: 0 auto;
  padding: calc(var(--header-h, 72px) + 10px) 0 32px;
  text-align: center;
}

.feat-kicker {
  margin: 0 0 12px;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.44);
}

#page-body.feat-page .feat-intro h1,
.feat-intro h1 {
  max-width: 820px;
  margin: 0 auto 18px;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(2rem, 3.2vw, 2.85rem) !important;
  font-weight: 400 !important;
  line-height: 1.18 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.06);
  text-wrap: pretty;
}

.feat-intro p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(220, 225, 235, 0.62);
}

.feat-stats {
  width: min(1100px, 90vw);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feat-stat {
  min-height: 150px;
  padding: 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.016)),
    rgba(8, 8, 8, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.38);
}

.feat-stat span {
  display: block;
  margin-bottom: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.42);
}

.feat-stat strong {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

.feat-stat p {
  margin: 0;
  color: rgba(220, 225, 235, 0.62);
  line-height: 1.65;
}

.feat-panel {
  width: min(1120px, 90vw);
  margin: 0 auto 86px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 48px;
  align-items: center;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)),
    rgba(8, 8, 8, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 26px 80px rgba(0, 0, 0, 0.45);
}

.feat-panel--reverse {
  grid-template-columns: minmax(360px, 1.08fr) minmax(0, 0.92fr);
}

.feat-panel--reverse .feat-text {
  order: 2;
}

.feat-panel--reverse .feat-visual {
  order: 1;
}

.feat-text {
  min-width: 0;
}

.feat-tag {
  margin: 0 0 16px;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.feat-text h2 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

.feat-text h3 {
  margin: 22px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.feat-text p {
  margin: 0 0 18px;
  color: rgba(220, 225, 235, 0.7);
  font-size: 0.98rem;
  line-height: 1.75;
}

.feat-text strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.feat-text ul {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.feat-text li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 22px;
  color: rgba(230, 235, 245, 0.7);
  line-height: 1.6;
}

.feat-text li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.72);
}

.feat-text a {
  display: inline-flex;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  padding-bottom: 6px;
}

.feat-text a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.feat-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.035),
    0 24px 70px rgba(0, 0, 0, 0.58);
}

.feat-visual a {
  display: block;
  line-height: 0;
}

.app-window-bar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
}

.app-window-bar span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.app-window-bar p {
  margin: 0 0 0 8px;
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.05em;
}

.feat-visual img {
  width: 100%;
  max-height: 430px;
  display: block;
  object-fit: cover;
  cursor: zoom-in;
}

.feat-visual figcaption {
  padding: 14px 16px 16px;
  color: rgba(220, 225, 235, 0.5);
  font-size: 0.76rem;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feat-extra {
  width: min(1120px, 90vw);
  margin: 0 auto 86px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feat-extra-card {
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)),
    rgba(8, 8, 8, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.38);
}

.feat-extra-card h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.feat-extra-card p {
  margin: 0;
  color: rgba(220, 225, 235, 0.68);
  font-size: 0.95rem;
  line-height: 1.7;
}

.capability-platform {
  width: min(1120px, 90vw);
  margin: 0 auto 86px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)),
    rgba(8, 8, 8, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 26px 80px rgba(0, 0, 0, 0.45);
}

.capability-platform h2 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.4vw, 2.4rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

.capability-platform h3 {
  margin: 24px 0 14px;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.capability-platform > p {
  margin: 0;
  color: rgba(220, 225, 235, 0.7);
  font-size: 0.98rem;
  line-height: 1.75;
}

.capability-platform .feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-platform .feature-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(230, 235, 245, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.capability-platform .feature-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.72);
}

#page-body.feat-page .related-pages,
.feat-page .related-pages {
  width: min(760px, 92vw);
  margin: 32px auto 40px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

#page-body.feat-page .related-pages h2,
.feat-page .related-pages h2 {
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.94);
}

#page-body.feat-page .related-pages ul,
.feat-page .related-pages ul {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

#page-body.feat-page .related-pages li,
.feat-page .related-pages li {
  width: 100%;
  display: flex;
  justify-content: center;
}

#page-body.feat-page .related-pages a,
.feat-page .related-pages a {
  display: inline-block;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 6px;
  transition: color 180ms ease, border-color 180ms ease;
}

#page-body.feat-page .related-pages a:hover,
.feat-page .related-pages a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 980px) {
  .feat-stats {
    grid-template-columns: 1fr;
    margin-bottom: 70px;
  }

  .feat-panel,
  .feat-panel--reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 28px;
  }

  .feat-panel--reverse .feat-text,
  .feat-panel--reverse .feat-visual {
    order: initial;
  }

  .feat-extra {
    grid-template-columns: 1fr;
  }

  .capability-platform .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .feat-intro {
    padding: calc(64px + 10px) 0 28px;
  }

  #page-body.feat-page .feat-intro h1,
  .feat-intro h1 {
    font-size: clamp(1.65rem, 7vw, 2.2rem) !important;
    letter-spacing: 0.03em !important;
  }

  .feat-panel {
    padding: 20px;
    margin-bottom: 68px;
  }

  .feat-visual img {
    max-height: 320px;
  }

  .capability-platform {
    padding: 24px 20px;
  }

  .related-pages {
    margin: 48px auto 56px;
    padding-top: 40px;
  }
}
