:root {
  --primary: #7e4294;
  --primary-dark: #622f73;
  --accent: #b57acb;
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #1c1f33;
  --muted: #4f566b;
  --border: #e3e6ef;
  --shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 8px 18px rgba(93, 42, 223, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links ul {
  display: flex;
  gap: 0.9rem;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
}

.nav-links a {
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  font-weight: 600;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary-dark);
  background: #efe9ff;
  outline: none;
}

.nav-cta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #a968c5);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(110, 54, 145, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(98, 48, 134, 0.25);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: var(--border);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: #efe9ff;
  color: var(--primary-dark);
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0.6rem 0;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  background: #eef3f7;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.stat {
  padding: 1rem 1.1rem;
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  color: var(--primary-dark);
}

section {
  padding: 3rem 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.6rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.card p {
  margin: 0.25rem 0;
  color: var(--muted);
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.list {
  padding-left: 1.2rem;
  color: var(--muted);
}

.list li {
  margin: 0.4rem 0;
}

.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.logo-tile {
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: #ffffff;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.9rem;
}

.pillars .card {
  border-left: 5px solid var(--primary);
}

.solutions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.solutions .card {
  border-top: 4px solid #e3e6ef;
}

.solutions .card strong {
  color: var(--primary-dark);
}

.testimonial {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
}

.quote-mark {
  font-size: 2rem;
  color: #d4cdf6;
}

.cta-banner {
  background: linear-gradient(135deg, #ebe8ff, #f7f8ff);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-banner h3 {
  margin: 0;
}

.cta-banner p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 2rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.footer a {
  color: #cbd5e1;
}

.footer .logo {
  width: 48px;
  height: 48px;
}

.footer small {
  color: #94a3b8;
}

.footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0;
}

.footer nav li {
  margin: 0.35rem 0;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.muted {
  color: var(--muted);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table th,
.table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.table th {
  background: #f5f7fb;
  color: #1f2937;
}

.badge {
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  background: #eef2ff;
  color: var(--primary-dark);
}

.highlight {
  color: var(--primary-dark);
}

@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    inset: 72px 1rem auto 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
  }

  .nav-links.open {
    display: flex;
    gap: 1rem;
  }

  .nav-links ul {
    flex-direction: column;
    width: 100%;
  }

  .nav-links .nav-cta {
    flex-direction: column;
    width: 100%;
  }

  .nav-links a {
    width: 100%;
  }

  .menu-toggle {
    display: inline-block;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === HEADER / NAV FIXES === */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 46px;
  width: auto;
  display: block;
}

@media (min-width: 1024px) {
  .brand img {
    height: 56px;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 10px 12px;
  border-radius: 10px;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.header.nav-open .nav-links {
  display: flex;
}

.nav-links a {
  text-decoration: none;
  color: #334155;
}

.nav-links a:hover {
  color: #0f172a;
}

.nav-links a:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(110, 54, 145, 0.35);
  outline-offset: 2px;
  border-radius: 10px;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
  .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }
}

/* === END HEADER / NAV FIXES === */
