/* DocentraX marketing site — brand #AA00FF (see convertion_portal/branding). */

:root {
  --primary: #aa00ff;
  --primary-deep: #7a00c2;
  --primary-light: #c43bff;
  --pale: #e9d3ff;
  --ink: #231433;
  --muted: #675a78;
  --bg: #ffffff;
  --lav: #f7f5fb;
  --sunken: #efeaf6;
  --border: #ddd3ea;
  --plum: #120b1d;
  --plum-2: #1c1329;
  --radius: 12px;
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  /* content-protection: disable text selection and image dragging */
  -webkit-user-select: none;
  user-select: none;
}
img { -webkit-user-drag: none; pointer-events: none; }
a img, .brand svg { pointer-events: auto; }
img, svg { max-width: 100%; }
a { color: var(--primary-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header (light, soft) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 28px; height: 66px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .word {
  display: inline-flex; flex-direction: column;
  font-weight: 800; font-size: 1.35rem; letter-spacing: 0.2px; color: var(--ink);
  line-height: 1.15;
}
.brand .word .x {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand .word .bar {
  height: 3px; border-radius: 2px; margin-top: 2px;
  background: linear-gradient(90deg, var(--pale), var(--primary));
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a.active { color: var(--primary-deep); }
.nav-cta {
  background: var(--primary); color: #fff !important; font-weight: 700;
  padding: 9px 18px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(170, 0, 255, 0.22);
}
.nav-cta:hover { background: var(--primary-light); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

/* ---------- hero (light, airy) ---------- */
.hero {
  background:
    radial-gradient(760px 420px at 88% -12%, rgba(196, 59, 255, 0.13), transparent 62%),
    radial-gradient(620px 400px at -6% 108%, rgba(122, 0, 194, 0.09), transparent 60%),
    linear-gradient(180deg, #faf7ff 0%, #ffffff 100%);
  color: var(--ink);
  padding: 88px 0 76px;
}
.hero .kicker {
  display: inline-block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary-deep);
  background: rgba(170, 0, 255, 0.06);
  border: 1px solid rgba(170, 0, 255, 0.28); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 22px;
}
.hero h1 { color: var(--ink); max-width: 820px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--primary), var(--primary-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { font-size: 1.22rem; max-width: 760px; color: #574b68; margin: 18px 0 12px; }
.hero .sub { max-width: 760px; color: var(--muted); margin-bottom: 34px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; font-weight: 700; border-radius: 999px;
  padding: 14px 30px; font-size: 1.02rem; transition: transform 0.12s, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 6px 20px rgba(170, 0, 255, 0.25);
}
.btn-primary:hover { background: var(--primary-light); }
.btn-ghost { border: 1.5px solid rgba(122, 0, 194, 0.4); color: var(--primary-deep); }
.btn-ghost:hover { border-color: var(--primary); }
.hero .strip {
  margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.98rem; max-width: 860px;
}
.hero .strip strong { color: var(--ink); }

/* ---------- sections ---------- */
section { padding: 78px 0; }
section.alt { background: var(--lav); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .eyebrow {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 1.06rem; }

.grid { display: grid; gap: 22px; }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: 0 1px 3px rgba(35, 20, 51, 0.06);
}
section.alt .card { box-shadow: 0 2px 10px rgba(35, 20, 51, 0.05); }
.card .icon {
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-deep));
  display: flex; align-items: center; justify-content: center;
}
.card .icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); font-size: 0.98rem; }
.taglist { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; list-style: none; }
.taglist li {
  background: var(--sunken); color: var(--primary-deep); font-weight: 600;
  font-size: 0.85rem; border-radius: 999px; padding: 5px 13px;
}

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 7px 0 7px 32px; position: relative; color: var(--ink); }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 12px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--pale);
}
.checks li::after {
  content: ''; position: absolute; left: 4.5px; top: 15.5px; width: 8px; height: 5px;
  border-left: 2.2px solid var(--primary-deep); border-bottom: 2.2px solid var(--primary-deep);
  transform: rotate(-45deg);
}

/* DITA migration diagram */
.dita-diagram {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 26px 18px;
  box-shadow: 0 2px 12px rgba(35, 20, 51, 0.05);
}
.dita-diagram svg { width: 100%; height: auto; display: block; }
.dita-caption {
  text-align: center; color: var(--muted); font-size: 0.95rem;
  max-width: 760px; margin: 16px auto 0;
}

/* pipeline */
.pipeline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 26px 0 8px; }
.pipeline .step {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-deep));
  color: #fff; font-weight: 700; border-radius: 10px; padding: 12px 20px; font-size: 0.98rem;
}
.pipeline .arrow { color: var(--primary); font-size: 1.4rem; font-weight: 800; }

/* dark band — softened: the single dark moment on the page */
.band {
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(196, 59, 255, 0.14), transparent 60%),
    linear-gradient(160deg, #2b1a40 0%, #1c1329 100%);
  color: #e9def7; padding: 84px 0;
}
.band h2 { color: #fff; }
.band .section-head p { color: #b8a7cf; }
.band .card { background: rgba(255, 255, 255, 0.05); border-color: #3d2b55; box-shadow: none; }
.band .card h3 { color: #fff; }
.band .card p, .band .checks li { color: #b8a7cf; }
.band .checks li::before { background: rgba(196, 59, 255, 0.2); }
.band .checks li::after { border-color: var(--primary-light); }

/* industries */
.industries { display: flex; flex-wrap: wrap; gap: 10px; }
.industries span {
  border: 1.5px solid var(--border); border-radius: 999px; padding: 9px 20px;
  font-weight: 650; color: var(--ink); font-size: 0.95rem; background: #fff;
}
.industries span:hover { border-color: var(--primary-light); color: var(--primary-deep); }

/* CTA */
.cta-final { text-align: center; padding: 90px 0; }
.cta-final h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cta-final p { max-width: 640px; margin: 0 auto 30px; color: var(--muted); font-size: 1.08rem; }

/* ---------- leadership ---------- */
.leader-card {
  display: grid; grid-template-columns: 130px 1fr; gap: 26px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px; margin-bottom: 26px;
}
.leader-card .avatar {
  width: 120px; height: 120px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-deep));
  color: #fff; font-size: 2.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(122, 0, 194, 0.22);
}
.leader-card .avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.leader-card .role { color: var(--primary-deep); font-weight: 700; margin-bottom: 12px; }
.leader-card p { color: var(--muted); }
.leader-card .focus { margin-top: 6px; }
.placeholder-card {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 44px 34px; text-align: center; color: var(--muted); margin-bottom: 26px;
  background: var(--lav);
}
.placeholder-card .seat {
  width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 20px;
  border: 2px dashed var(--primary-light); opacity: 0.75;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.7rem; font-weight: 800;
}
.placeholder-card h3 { color: var(--ink); }

/* ---------- footer (softened) ---------- */
.site-footer {
  background: linear-gradient(180deg, #241736, #1c1329);
  color: #b3a3c9; padding: 54px 0 40px; font-size: 0.95rem;
}
.site-footer .cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 36px;
}
.site-footer h4 { color: #e6d9f7; margin: 0 0 12px; font-size: 0.95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #a894c2; }
.site-footer a:hover { color: #fff; }
.site-footer .fine {
  border-top: 1px solid rgba(196, 59, 255, 0.15); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

@media (max-width: 860px) {
  .site-nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 18px 24px 24px; gap: 16px; border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(35, 20, 51, 0.08);
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .leader-card { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
