/* ═══════════════════════════════════════════
   DATALUMIN — Global Stylesheet
   Purple brand palette from logo #470283
   ═══════════════════════════════════════════ */

:root {
  --white: #ffffff;
  --off-white: #f9f8fb;
  --light-grey: #efecf2;
  --mid-grey: #ddd8e4;
  --text: #131516;
  --text-2: #4a4455;
  --text-3: #7b7589;
  --purple: #470283;
  --purple-dk: #35025f;
  --purple-md: #5e1a9e;
  --purple-lt: #f0e6fb;
  --purple-glow: rgba(71, 2, 131, 0.07);
  --violet: #733fa2;
  --lavender: #a17fc1;
  --navy: #1a0e2e;
  --navy-2: #2a1745;
  --shadow-s: 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-m: 0 6px 24px rgba(0, 0, 0, 0.06);
  --shadow-l: 0 16px 48px rgba(0, 0, 0, 0.08);
  --r: 12px;
  --r-lg: 20px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Jost", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  padding: 112px 0;
}
.section-sm {
  padding: 80px 0;
}

.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
  display: inline-block;
}
.title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  margin-bottom: 18px;
}
.title-lg {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.12;
  margin-bottom: 22px;
}
.subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 640px;
  line-height: 1.78;
  font-weight: 300;
}
.centered {
  text-align: center;
}
.centered .subtitle {
  margin: 0 auto;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: "Jost", sans-serif;
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  line-height: 1.4;
}
.btn-p {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(71, 2, 131, 0.22);
}
.btn-p:hover {
  background: var(--purple-dk);
  box-shadow: 0 6px 22px rgba(71, 2, 131, 0.32);
  transform: translateY(-2px);
}
.btn-o {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--mid-grey);
}
.btn-o:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
}
.btn-w {
  background: var(--white);
  color: var(--purple);
}
.btn-w:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}
.btn-arr::after {
  content: "→";
  transition: transform 0.3s;
}
.btn-arr:hover::after {
  transform: translateX(4px);
}
.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* Nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 65px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover {
  color: var(--purple);
}
.nav-links a.active {
  color: var(--purple);
  font-weight: 500;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple);
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  background: var(--purple) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 500;
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  background: var(--purple-dk) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* Page Hero */
.page-hero {
  padding: 150px 0 80px;
  background: linear-gradient(
    160deg,
    var(--white) 0%,
    var(--purple-lt) 50%,
    var(--white) 100%
  );
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(71, 2, 131, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.page-hero .subtitle {
  max-width: 600px;
}
.page-hero .breadcrumb {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 18px;
}
.page-hero .breadcrumb a {
  color: var(--purple);
  text-decoration: none;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  border: 1px solid var(--light-grey);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--violet));
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-l);
  border-color: transparent;
}
.card:hover::before {
  opacity: 1;
}
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--purple-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card p {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.7;
  font-weight: 300;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--purple);
  text-decoration: none;
  transition: gap 0.3s;
}
.card-link:hover {
  gap: 10px;
}

/* Trust Strip */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  padding: 30px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.88rem;
  color: var(--text-2);
}
.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--purple-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dark Section */
.dark-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(71, 2, 131, 0.15),
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 50%,
      rgba(115, 63, 162, 0.1),
      transparent 50%
    );
}
.dark-section .container {
  position: relative;
  z-index: 1;
}
.dark-section .label {
  color: var(--lavender);
}
.dark-section .title {
  color: var(--white);
}
.dark-section .subtitle {
  color: rgba(255, 255, 255, 0.6);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    var(--navy-2) 50%,
    var(--purple-dk) 100%
  );
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(71, 2, 131, 0.2), transparent 60%),
    radial-gradient(
      ellipse at 70% 50%,
      rgba(115, 63, 162, 0.12),
      transparent 60%
    );
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 0;
}
.cta-inner .title {
  color: var(--white);
  margin-bottom: 14px;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.08rem;
  max-width: 520px;
  margin: 0 auto 32px;
  font-weight: 300;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer-brand .nav-logo {
  margin-bottom: 14px;
  display: inline-flex;
}
.footer-brand .nav-logo img {
  height: 50px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 290px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 9px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 300;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 300;
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: rgba(255, 255, 255, 0.12);
}
.footer-social svg {
  width: 15px;
  height: 15px;
  stroke: rgba(255, 255, 255, 0.6);
  fill: none;
  stroke-width: 1.5;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: all 0.4s;
}
.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.sticky-cta .btn {
  box-shadow: 0 8px 30px rgba(71, 2, 131, 0.28);
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.grid-2-asym {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--r-lg);
  padding: 38px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 500;
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid var(--mid-grey);
  border-radius: 10px;
  font-family: "Jost", sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--off-white);
  transition: all 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(71, 2, 131, 0.08);
  background: var(--white);
}
.form-group textarea {
  resize: vertical;
  min-height: 96px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-submit {
  width: 100%;
  padding: 13px;
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: "Jost", sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.form-submit:hover {
  background: var(--purple-dk);
  box-shadow: 0 4px 16px rgba(71, 2, 131, 0.22);
}
.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 10px;
}

/* Industry Card */
.ind-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r);
  padding: 30px 18px;
  text-align: center;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.ind-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(161, 127, 193, 0.3);
  transform: translateY(-4px);
}
.ind-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: rgba(161, 127, 193, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ind-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--lavender);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ind-card h3 {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

/* Stat Card */
.stat-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--r-lg);
  padding: 30px 22px;
  text-align: center;
  transition: all 0.3s;
}
.stat-card:hover {
  box-shadow: var(--shadow-m);
  transform: translateY(-2px);
}
.stat-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num.v {
  color: var(--violet);
}
.stat-lbl {
  font-size: 0.83rem;
  color: var(--text-3);
}

/* Utility */
.bg-off {
  background: var(--off-white);
}
.mb-64 {
  margin-bottom: 64px;
}
.mb-48 {
  margin-bottom: 48px;
}
.mt-48 {
  margin-top: 48px;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-2-asym,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .section {
    padding: 80px 0;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 22px 30px;
    border-bottom: 1px solid var(--light-grey);
    box-shadow: var(--shadow-m);
  }
  .page-hero {
    padding: 120px 0 60px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-auto {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .trust-items {
    gap: 20px;
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
}
