/* KxWelcome, Marketing Site styles
   Imports the root token file. */
@import url('../../colors_and_type.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); }
body { font-family: var(--font-sans); }

a { color: inherit; text-decoration: none; }

/* === BUTTONS === */
.k-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  font-family: var(--font-sans); font-weight: 600;
  border-radius: 10px; padding: 11px 20px; font-size: 14px;
  transition: all 180ms var(--ease-standard);
  text-decoration: none;
}
.k-btn--lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.k-btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.k-btn--primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.k-btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.k-btn--ghost:hover { background: var(--primary-wash); border-color: var(--primary-soft); color: var(--primary); }
.k-btn--onpurple { background: #fff; color: var(--primary); }
.k-btn--onpurple:hover { background: var(--primary-soft); color: var(--purple-700); }
.k-btn--ghost-onpurple { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.k-btn--ghost-onpurple:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.k-link { color: var(--ink); font-size: 14px; font-weight: 500; }
.k-link:hover { color: var(--primary); }

/* === helpers === */
.k-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); }
.k-eyebrow--muted { color: var(--fg-muted); }

.k-section__header { max-width: 760px; margin: 0 0 48px; }
.k-section__header--center { margin: 0 auto 48px; text-align: center; }
.k-section__title { font-weight: 700; font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin-top: 12px; text-wrap: balance; }

/* === NAV === */
.k-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.k-nav__inner {
  max-width: 1280px; margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; gap: 32px;
}
.k-nav__logo { display: flex; align-items: center; max-height: 36px; }
.k-nav__logo-img { height: 30px; width: auto; max-width: 180px; display: block; object-fit: contain; }
.k-nav__logo-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--brand-gradient); }
.k-nav__logo-word { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); }
.k-nav__links { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.k-nav__links a { color: var(--ink); transition: color 180ms; }
.k-nav__links a:hover { color: var(--primary); }
.k-nav__cta { margin-left: auto; display: flex; gap: 14px; align-items: center; }

/* === HERO, full-bleed purple banner === */
.k-hero {
  position: relative;
  padding: 88px 32px 72px;
  background:
    linear-gradient(180deg, rgba(94,40,229,0.0) 0%, rgba(67,18,188,0.25) 100%),
    url('../../assets/kxwelcome-banner.jpg') center center / cover no-repeat;
  background-color: #5E28E5;
  overflow: hidden;
  isolation: isolate;
}
.k-hero__inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }
.k-hero__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: rgba(255,255,255,.85); margin-bottom: 20px; text-transform: uppercase; }
.k-hero__title {
  font-weight: 800; font-size: 68px; line-height: 1.05; letter-spacing: -0.03em;
  color: #fff; margin: 0; max-width: 900px; text-wrap: balance;
}
.k-hero__title-accent { color: #F3EEFF; }
.k-hero__lead {
  font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.92);
  max-width: 600px; margin: 24px 0 32px;
}
.k-hero__ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.k-hero__stats {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  max-width: 1040px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 18px;
  padding: 28px 8px;
  box-shadow: 0 18px 40px rgba(45, 20, 110, 0.28);
}
.k-stat { padding: 4px 24px; border-left: 1px solid rgba(255,255,255,0.18); }
.k-stat:first-child { border-left: 0; }
.k-stat__value { font-family: var(--font-alt); font-weight: 800; font-size: 48px; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.k-stat__label { margin-top: 10px; font-size: 13.5px; color: rgba(255,255,255,.92); max-width: 240px; line-height: 1.45; }

/* === LOGO STRIP === */
.k-logostrip { padding: 40px 32px; background: var(--bg-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.k-logostrip__label { text-align: center; font-size: 13px; color: var(--fg-muted); letter-spacing: 0.02em; }
.k-logostrip__row { max-width: 1280px; margin: 20px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.k-logostrip__mark {
  font-family: 'Times New Roman', serif; font-weight: 600; font-size: 15px; letter-spacing: 0.04em;
  color: var(--neutral-500); white-space: nowrap;
}

/* === FEATURE TRIAD === */
.k-triad { padding: 112px 32px; max-width: 1280px; margin: 0 auto; }
.k-triad__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.k-feat-card {
  border-radius: 20px; padding: 32px 28px; min-height: 340px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  transition: transform 240ms var(--ease-emphasis), box-shadow 240ms, border-color 240ms;
}
.k-feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-soft); }
.k-feat-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-wash); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 6px;
  font-weight: 700; font-size: 22px;
}
.k-feat-card__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); }
.k-feat-card__title { font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin: 0; color: var(--ink); }
.k-feat-card__body { font-size: 15px; line-height: 1.55; margin: 0; flex: 1; color: var(--fg-muted); }
.k-feat-card__link { font-weight: 600; font-size: 14px; margin-top: 8px; color: var(--primary); }

/* === VALUES === */
.k-values { padding: 96px 32px; background: var(--bg-tint); }
.k-values__grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.k-value { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 24px; }
.k-value__num { font-family: var(--font-alt); font-weight: 700; font-size: 14px; color: var(--primary); letter-spacing: 0.1em; margin-bottom: 16px; }
.k-value__k { font-weight: 700; font-size: 20px; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.k-value__d { font-size: 14px; line-height: 1.55; color: var(--fg-muted); }

/* === QUOTE === */
.k-quote { padding: 112px 32px; }
.k-quote__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.k-quote__mark { font-family: 'Raleway'; font-weight: 800; font-size: 120px; line-height: 0.6; color: var(--primary-soft); margin-bottom: 24px; }
.k-quote__text { font-size: 34px; line-height: 1.25; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 36px; text-wrap: balance; }
.k-quote__who { display: flex; align-items: center; gap: 14px; justify-content: center; }
.k-quote__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; letter-spacing: 0.04em; }
.k-quote__name { font-weight: 600; font-size: 15px; color: var(--ink); text-align: left; }
.k-quote__role { font-size: 13px; color: var(--fg-muted); text-align: left; }

/* === CTA PANEL === */
.k-ctapanel { padding: 40px 32px 88px; }
.k-ctapanel__inner {
  max-width: 1280px; margin: 0 auto; border-radius: 28px;
  padding: 80px 48px; text-align: center; color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 18px 40px rgba(45, 20, 110, 0.35);
  position: relative; overflow: hidden;
}
.k-ctapanel__inner::before {
  content: ""; position: absolute; inset: 0;
  background: url('../../assets/kxwelcome-banner.jpg') center center / cover no-repeat;
  opacity: 0.55; pointer-events: none; mix-blend-mode: screen;
}
.k-ctapanel__inner > * { position: relative; z-index: 1; }
.k-ctapanel__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--primary-soft); margin-bottom: 16px; }
.k-ctapanel__title { color: #fff; font-weight: 800; font-size: 52px; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; text-wrap: balance; }
.k-ctapanel__lead { font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.88); margin: 0 auto 32px; max-width: 600px; }
.k-ctapanel__ctas { display: flex; gap: 14px; justify-content: center; }

/* === FOOTER === */
.k-footer { background: #2A1168; color: #dcd0ff; padding: 72px 32px 28px; }
.k-footer__inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 3fr; gap: 48px; }
.k-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.k-footer__logo-row { display: flex; align-items: center; gap: 10px; }
.k-footer__logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand-gradient); }
.k-footer__logo-word { color: #fff; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.k-footer__tag { font-size: 14px; line-height: 1.55; color: #c6b6f0; max-width: 340px; margin: 0; }
.k-footer__parent { font-size: 12px; color: #a597d4; letter-spacing: 0.04em; margin-top: 4px; }
.k-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.k-footer__col { display: flex; flex-direction: column; gap: 10px; }
.k-footer__h { font-weight: 700; font-size: 13px; color: #fff; margin-bottom: 4px; letter-spacing: 0.04em; }
.k-footer__col a { font-size: 13px; color: #c6b6f0; transition: color 180ms; }
.k-footer__col a:hover { color: #fff; }
.k-footer__bottom {
  max-width: 1280px; margin: 56px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14); display: flex; justify-content: space-between;
  font-size: 12px; color: #a597d4;
}
.k-footer__legal { display: flex; gap: 24px; }
.k-footer__legal a { color: #a597d4; }
.k-footer__legal a:hover { color: #fff; }

.k-footer__endorsement { margin-top: 6px; opacity: .85; }
.k-footer__endorsement img { height: 40px; width: auto; display: block; }
