/* =========================================
   DESIGN TOKENS
========================================= */
:root {
  --purple-primary: #432B7C;
  --purple-secondary: #744ECF;
  --purple-light: #8B71FE;
  --navy-dark: #201F2A;
  --text-heading: #2D2D2D;
  --text-body: #4E4E4E;
  --white: #ffffff;
  --bg-light: #F4F2FA;

  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --container-max: 1200px;
  --btn-radius: 27px;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);

  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  --shadow-card: 0 4px 20px rgba(67, 43, 124, 0.08);
  --shadow-card-hover: 0 8px 32px rgba(67, 43, 124, 0.15);
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   BASE RESET
========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  min-height: 100dvh;
}

/*img, picture, svg {
  display: block;
  max-width: 100%;
  height: auto;
}*/

ul[role="list"] { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  text-wrap: balance;
  line-height: 1.15;
}

p, li {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================
   UTILITY CLASSES
========================================= */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
/*   padding-inline: clamp(1.25rem, 5vw, 2.5rem); */
}

.section-pad {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--purple-primary);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  padding: 0.85rem 2rem;
  border-radius: var(--btn-radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--purple-secondary);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(67, 43, 124, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--purple-primary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  padding: 0.85rem 2rem;
  border-radius: var(--btn-radius);
  border: 2px solid var(--purple-primary);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--purple-primary);
  color: var(--white);
  transform: translateY(-1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--purple-primary);
  font-weight: 500;
  font-size: var(--text-sm);
  transition: color var(--transition), gap var(--transition);
}

.text-link:hover {
  color: var(--purple-secondary);
  gap: 0.5rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-light);
  margin-bottom: var(--space-4);
}

.section-heading {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-4);
}

.section-intro {
  font-size: var(--text-base);
  color: var(--text-body);
  max-width: 68ch;
}

/* =========================================
   NAVIGATION
========================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(67, 43, 124, 0.08);
  transition: box-shadow var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding-block: var(--space-4);
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.5rem);
  color: var(--purple-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-4), 2vw, var(--space-8));
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-body);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--purple-primary);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--purple-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #201F2A 0%, #432B7C 60%, #744ECF 100%);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-readiness.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 8vw, 7rem);
  max-width: 780px;
}

.hero h1 {
  color: var(--white);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero-sub {
  font-size: var(--text-base);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  max-width: 64ch;
  margin-bottom: var(--space-10);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
}

.hero .btn-primary {
  background: var(--white);
  color: var(--purple-primary);
  font-weight: 500;
  padding: 0.9rem 2.2rem;
  font-size: var(--text-sm);
}

.hero .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.hero-text-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sm);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition), gap var(--transition);
}

.hero-text-link:hover {
  color: var(--white);
  gap: 0.5rem;
}

/* =========================================
   SECTION 2 — VALUE PROP
========================================= */
.value-prop {
  background: var(--white);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.value-prop h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-5);
}

.value-prop p {
  color: var(--text-body);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.check-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: 1.6;
}

.check-list li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background-color: var(--purple-primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6L5 9L10 3' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.value-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.value-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* =========================================
   SECTION 3 — DELIVERABLES
========================================= */
.deliverables {
  background: var(--bg-light);
}

.deliverables-header {
  text-align: center;
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-12));
}

.deliverables-header h2 {
  font-size: var(--text-xl);
  font-weight: 700;
}

.deliverables-header p {
  margin-inline: auto;
  margin-top: var(--space-4);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.deliverable-card {
  background: var(--white);
  border-radius: 6px;
  border-left: 4px solid var(--purple-primary);
  padding: var(--space-8) var(--space-8);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}

.deliverable-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.deliverable-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--purple-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}

.deliverable-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-3);
}

.deliverable-card p {
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: 1.65;
}

/* =========================================
   SECTION 4 — WHO IT'S FOR
========================================= */
.who-for {
  background: var(--white);
}

.who-header {
  text-align: center;
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-12));
}

.who-header h2 {
  font-size: var(--text-xl);
  font-weight: 700;
}

.who-header p {
  margin-inline: auto;
  margin-top: var(--space-4);
  max-width: 62ch;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.audience-card {
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.audience-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.audience-card-top {
  height: 5px;
  background: var(--purple-primary);
}

.audience-card-body {
  padding: var(--space-8);
}

.audience-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-3);
}

.audience-card p {
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: 1.65;
}

/* =========================================
   SECTION 5 — HOW WE WORK
========================================= */
.how-we-work {
  background: var(--white);
  border-top: 1px solid rgba(67, 43, 124, 0.08);
}

.how-header {
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}

.how-header h2 {
  font-size: var(--text-xl);
  font-weight: 700;
}

.how-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  margin-bottom: var(--space-12);
}

.how-cols p {
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: 1.75;
}

.how-cta {
  text-align: center;
}

/* =========================================
   SECTION 6 — WHY ACELYTICS (DARK)
========================================= */
.why-acelytics {
  background: var(--purple-primary);
}

.why-header {
  text-align: center;
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-12));
}

.why-header h2 {
  color: var(--white);
  font-size: var(--text-xl);
  font-weight: 700;
}

.why-header p {
  color: rgba(255, 255, 255, 0.82);
  margin-inline: auto;
  margin-top: var(--space-4);
  max-width: 62ch;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.why-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: var(--space-8);
  border-top: 3px solid rgba(255, 255, 255, 0.3);
  transition: background var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.13);
}

.why-card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
}

.why-card h3 {
  color: var(--white);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.why-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-base);
  line-height: 1.65;
}

/* =========================================
   SECTION 7 — CLOSING CTA
========================================= */
.cta-close {
  background: var(--white);
  text-align: center;
  border-top: 1px solid rgba(67, 43, 124, 0.08);
}

.cta-close h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-4);
}

.cta-close p {
  color: var(--text-body);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}

/* =========================================
   FOOTER
========================================= */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-12));
  margin-bottom: var(--space-12);
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 34ch;
}

.footer-col-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--white);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-contact-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.68);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .two-col.reverse > * {
    direction: ltr;
  }

  .value-img {
    order: -1;
  }

  .value-img img {
    height: 280px;
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .how-cols {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: column;
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}