/* ============================================================
   XPERT LAB AI — Main Stylesheet
   Aesthetic: Warm Editorial | Cormorant Garamond + Nunito
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Nunito:wght@300;400;500;600;700;800&display=swap');

/* --- Variables ------------------------------------------- */
:root {
  --cream:         #FAF7F2;
  --cream-dark:    #F0EAE0;
  --cream-deeper:  #E6DDD1;
  --white:         #FFFFFF;
  --charcoal:      #2A2118;
  --text:          #3C3028;
  --text-muted:    #8A7E76;
  --border:        #E5DDD4;

  --accent:        #C96A2B;
  --accent-hover:  #A8551F;
  --accent-light:  #FDF0E8;

  /* Product palette */
  --ats:           #2D6FA5;
  --ats-light:     #EBF3FC;
  --iq:            #1E8A62;
  --iq-light:      #E8F7F2;
  --closr:         #C96A2B;
  --closr-light:   #FDF0E8;
  --accelx:        #7057A0;
  --accelx-light:  #F2EEF8;

  --shadow-sm:  0 2px 8px  rgba(42,33,24,0.06);
  --shadow-md:  0 4px 20px rgba(42,33,24,0.10);
  --shadow-lg:  0 8px 40px rgba(42,33,24,0.14);

  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  20px;

  --nav-height:   72px;
  --max-width:    1200px;
  --section-pad:  96px;
}

/* --- Reset ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* --- Typography ------------------------------------------ */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 500; }
h4 { font-size: 1rem; font-weight: 700; font-family: 'Nunito', sans-serif; color: var(--charcoal); }
p  { font-size: 1.02rem; line-height: 1.8; }

.label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.accent-text { color: var(--accent); }

/* --- Layout --------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.section       { padding: var(--section-pad) 0; }
.section--alt  { background: var(--white); }
.section--warm { background: var(--cream-dark); }

/* --- Buttons -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201,106,43,0.28);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,106,43,0.38);
}
.btn--secondary {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--border);
}
.btn--secondary:hover {
  border-color: var(--charcoal);
  transform: translateY(-2px);
}
.btn--white {
  background: var(--white);
  color: var(--accent);
  box-shadow: var(--shadow-md);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }

/* --- Navigation ------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(250,247,242,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav__inner {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 8px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 8px;
}
.nav__logo img { height: 48px; width: auto; object-fit: contain; }
.nav__logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.nav__logo-accent { color: var(--accent); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__item { position: relative; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 13px;
  font-size: 0.91rem;
  font-weight: 700;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  background: none;
}
.nav__link:hover { color: var(--accent); background: var(--accent-light); }
.nav__chevron { font-size: 0.7rem; transition: transform 0.25s; }
.nav__item--dropdown:hover .nav__chevron { transform: rotate(180deg); }

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 252px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s ease;
  pointer-events: none;
}
.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown,
.nav__item--dropdown.open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
/* Bridge gap between button and dropdown so hover doesn't break */
.nav__item--dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 12px;
}
.nav__dropdown-item {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text);
  transition: all 0.15s;
  text-decoration: none;
  width: 100%;
}
.nav__dropdown-item:hover {
  background: var(--cream);
  color: var(--charcoal);
}
/* nav__dropdown-item styles moved above */
.nav__dropdown-item strong { display: block; font-weight: 700; font-size: 0.9rem; }
.nav__dropdown-item small { display: block; font-size: 0.73rem; color: var(--text-muted); font-weight: 400; }
.nav__dropdown-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nav__dropdown-dot--ats    { background: var(--ats); }
.nav__dropdown-dot--iq     { background: var(--iq); }
.nav__dropdown-dot--closr  { background: var(--closr); }
.nav__dropdown-dot--accelx { background: var(--accelx); }

.nav__cta { margin-left: 16px; flex-shrink: 0; }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 32px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: all 0.28s ease;
    margin-left: 0;
  }
  .nav__links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .nav__dropdown {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none;
    border: none;
    padding: 4px 0 4px 20px;
    background: transparent;
    pointer-events: auto;
    min-width: unset;
  }
  .nav__item--dropdown:hover .nav__dropdown { transform: none; }
  .nav__item, .nav__link { width: 100%; }
}

/* --- Hero (Homepage) ------------------------------------- */
.hero {
  padding-top: calc(var(--nav-height) + 88px);
  padding-bottom: 80px;
  background: linear-gradient(140deg, var(--cream) 0%, var(--cream-dark) 55%, var(--cream-deeper) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(201,106,43,0.09) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -120px; left: 5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(45,111,165,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__pre {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero__pre span {
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.hero h1 { margin-bottom: 24px; }
.hero__sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual — staggered product cards */
.hero__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 8px;
}
.hero__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-md);
  border-top: 3px solid;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: floatIn 0.7s ease both;
}
.hero__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.hero__card:nth-child(1) { border-color: var(--ats);    animation-delay: 0.1s; }
.hero__card:nth-child(2) { border-color: var(--iq);     animation-delay: 0.2s; margin-top: 28px; }
.hero__card:nth-child(3) { border-color: var(--closr);  animation-delay: 0.3s; margin-top: -28px; }
.hero__card:nth-child(4) { border-color: var(--accelx); animation-delay: 0.4s; }
.hero__card-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 5px; }
.hero__card-name { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; margin-bottom: 5px; }
.hero__card-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }
.hero__card:nth-child(1) .hero__card-name { color: var(--ats); }
.hero__card:nth-child(2) .hero__card-name { color: var(--iq); }
.hero__card:nth-child(3) .hero__card-name { color: var(--closr); }
.hero__card:nth-child(4) .hero__card-name { color: var(--accelx); }

/* --- Page Hero (inner pages) ----------------------------- */
.page-hero {
  padding-top: calc(var(--nav-height) + 72px);
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}
.page-hero--ats    { background: linear-gradient(140deg, #EBF3FC 0%, #D5E8F7 100%); }
.page-hero--iq     { background: linear-gradient(140deg, #E8F7F2 0%, #CCF0E2 100%); }
.page-hero--closr  { background: linear-gradient(140deg, #FDF0E8 0%, #FAE0C8 100%); }
.page-hero--accelx { background: linear-gradient(140deg, #F2EEF8 0%, #E2D8F4 100%); }
.page-hero--about, .page-hero--contact {
  background: linear-gradient(140deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.page-hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.page-hero h1 { margin-bottom: 20px; max-width: 760px; }
.page-hero__sub {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.85;
}
.page-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Section header ------------------------------------- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; color: var(--text-muted); max-width: 540px; margin: 0 auto; }

/* --- Products grid (homepage) --------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  border-left: 4px solid;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); background: var(--white); }
.product-card--ats    { border-left-color: var(--ats); }
.product-card--iq     { border-left-color: var(--iq); }
.product-card--closr  { border-left-color: var(--closr); }
.product-card--accelx { border-left-color: var(--accelx); }
.product-card__tag {
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.11em;
  margin-bottom: 10px;
}
.product-card--ats    .product-card__tag { color: var(--ats); }
.product-card--iq     .product-card__tag { color: var(--iq); }
.product-card--closr  .product-card__tag { color: var(--closr); }
.product-card--accelx .product-card__tag { color: var(--accelx); }
.product-card h3 { margin-bottom: 12px; font-size: 1.45rem; }
.product-card p { color: var(--text-muted); margin-bottom: 28px; flex: 1; font-size: 0.95rem; }
.product-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.87rem;
  transition: gap 0.2s;
}
.product-card__link:hover { gap: 10px; }
.product-card--ats    .product-card__link { color: var(--ats); }
.product-card--iq     .product-card__link { color: var(--iq); }
.product-card--closr  .product-card__link { color: var(--closr); }
.product-card--accelx .product-card__link { color: var(--accelx); }

/* --- Why XLA pillars ------------------------------------ */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--accent);
  transition: transform 0.3s, box-shadow 0.3s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.22;
  line-height: 1;
  margin-bottom: 16px;
}
.pillar h4 { margin-bottom: 10px; font-size: 1.05rem; }
.pillar p  { color: var(--text-muted); font-size: 0.93rem; }

/* --- Stats strip ---------------------------------------- */
.stats-strip { background: var(--charcoal); padding: 56px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label { font-size: 0.83rem; color: rgba(255,255,255,0.55); font-weight: 600; }

/* --- Client cards --------------------------------------- */
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.client-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}
.client-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.client-card__product {
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.11em; color: var(--accent); margin-bottom: 8px;
}
.client-card__name { font-size: 1.2rem; font-weight: 700; color: var(--charcoal); margin-bottom: 6px; }
.client-card__status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.77rem; font-weight: 700; color: var(--iq);
}
.client-card__status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--iq);
  animation: pulse 2s infinite;
}
.client-card__status--signed { color: var(--ats); }
.client-card__status--signed::before { background: var(--ats); animation: none; }

/* --- Features grid -------------------------------------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.feature-icon--ats    { background: var(--ats-light); }
.feature-icon--iq     { background: var(--iq-light); }
.feature-icon--closr  { background: var(--closr-light); }
.feature-icon--accelx { background: var(--accelx-light); }
.feature-icon--warm   { background: var(--accent-light); }
.feature-card h4 { margin-bottom: 8px; }
.feature-card p  { color: var(--text-muted); font-size: 0.92rem; }

/* --- Steps (How it works) ------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 32px);
  right: calc(16.66% + 32px);
  height: 2px;
  background: linear-gradient(to right, var(--accent), rgba(201,106,43,0.2));
}
.step { text-align: center; }
.step__num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(201,106,43,0.32);
}
.step h4 { margin-bottom: 10px; font-size: 1.05rem; }
.step p  { color: var(--text-muted); font-size: 0.93rem; }

/* --- AccelX phases -------------------------------------- */
.phases { display: flex; flex-direction: column; }
.phase {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 48px;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.phase:last-child { border-bottom: none; }
.phase__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accelx);
  opacity: 0.2;
  line-height: 1;
}
.phase__weeks {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--accelx); margin-top: 4px;
}
.phase__content h3 { margin-bottom: 12px; }
.phase__content p  { color: var(--text-muted); }

/* --- Data ownership section ----------------------------- */
.ownership {
  background: var(--charcoal);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.ownership::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(201,106,43,0.14) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.ownership .label { color: #F0956A; }
.ownership h2    { color: var(--white); }
.ownership__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ownership__intro p { color: rgba(255,255,255,0.65); margin-bottom: 16px; }
.ownership__points { display: flex; flex-direction: column; gap: 16px; }
.ownership__point {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.07);
}
.ownership__point-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.ownership__point h4 { color: var(--white); margin-bottom: 4px; font-size: 0.93rem; }
.ownership__point p  { color: rgba(255,255,255,0.5); font-size: 0.86rem; line-height: 1.6; }
.ownership__tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: rgba(255,255,255,0.4);
  margin-top: 32px;
  line-height: 1.6;
}

/* --- Pull quote ----------------------------------------- */
.pull-quote {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 30px 36px;
  margin: 48px 0;
}
.pull-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.65;
}

/* --- CTA block ------------------------------------------ */
.cta-block {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
}
.cta-block h2 { color: var(--white); margin-bottom: 14px; }
.cta-block p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  font-size: 1.05rem;
  max-width: 520px;
  margin-left: auto; margin-right: auto;
}
.cta-block__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- Pricing -------------------------------------------- */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border);
  max-width: 480px;
}
.pricing-card__headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 28px;
}
.pricing-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-row:last-of-type { border-bottom: none; }
.pricing-row__label { font-weight: 600; color: var(--text); }
.pricing-row__value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700; color: var(--accent);
}
.pricing-note { font-size: 0.83rem; color: var(--text-muted); margin-top: 16px; font-style: italic; }
.pricing-flat {
  display: inline-block;
  background: var(--iq-light);
  color: var(--iq);
  font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px;
  margin-top: 8px;
}

/* --- Security grid -------------------------------------- */
.security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.security-item {
  display: flex; align-items: center; gap: 14px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.security-item__icon { font-size: 1.4rem; flex-shrink: 0; }
.security-item p { font-weight: 600; color: var(--text); font-size: 0.92rem; }

/* --- About / founder ------------------------------------ */
.founder-grid { display: grid; grid-template-columns: 320px 1fr; gap: 72px; align-items: start; }
.founder-portrait {
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--cream-dark), var(--cream-deeper));
  display: flex; align-items: flex-end; justify-content: center;
  padding: 24px;
  font-size: 0.82rem; color: var(--text-muted); font-style: italic;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.founder-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.beliefs { display: flex; flex-direction: column; gap: 32px; }
.belief { display: flex; gap: 20px; }
.belief__marker {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-light);
  border: 2px solid var(--accent);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.belief h4 { margin-bottom: 6px; }
.belief p  { color: var(--text-muted); font-size: 0.93rem; }

/* --- Contact form --------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.contact-options { display: flex; flex-direction: column; gap: 20px; }
.contact-option {
  padding: 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.contact-option:hover { box-shadow: var(--shadow-sm); }
.contact-option__icon { font-size: 1.4rem; margin-bottom: 9px; }
.contact-option h4 { margin-bottom: 5px; }
.contact-option p  { font-size: 0.88rem; color: var(--text-muted); }
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 800; color: var(--text); text-transform: uppercase; letter-spacing: 0.04em; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,106,43,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* --- Ecosystem strip ------------------------------------ */
.ecosystem-strip {
  display: flex; gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.ecosystem-item {
  flex: 1;
  padding: 24px;
  background: var(--white);
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.ecosystem-item:last-child { border-right: none; }
.ecosystem-item:hover { background: var(--cream); }
.ecosystem-item--current { background: var(--cream-dark); }
.ecosystem-item__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.ecosystem-item__name { font-weight: 800; font-size: 0.95rem; color: var(--charcoal); margin-bottom: 4px; }
.ecosystem-item__desc { font-size: 0.78rem; color: var(--text-muted); }
.ecosystem-item__badge {
  display: inline-block;
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--white); background: var(--accent);
  padding: 2px 8px; border-radius: 50px;
  margin-top: 8px;
}

/* --- Footer --------------------------------------------- */
.footer {
  background: var(--charcoal);
  padding: 64px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}
.footer__brand p { color: rgba(255,255,255,0.4); font-size: 0.9rem; line-height: 1.8; }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer__col h4 {
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 16px;
}
.footer__col a {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  padding: 22px 0;
}
.footer__bottom p { color: rgba(255,255,255,0.25); font-size: 0.8rem; }

/* --- Animations ----------------------------------------- */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Ensure fade-up elements end fully visible */
.fade-up { animation-fill-mode: forwards; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.fade-up   { opacity: 0; animation: fadeUp 0.7s ease both; }
.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.15s; }
.fade-up-3 { animation-delay: 0.25s; }
.fade-up-4 { animation-delay: 0.35s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive ----------------------------------------- */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .hero__inner      { gap: 36px; }
  .ownership__grid  { grid-template-columns: 1fr; gap: 48px; }
  .founder-grid     { grid-template-columns: 1fr; gap: 40px; }
  .founder-portrait { aspect-ratio: 16/7; }
  .contact-grid     { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner    { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .container        { padding: 0 20px; }
  .hero__inner      { grid-template-columns: 1fr; }
  .hero__visual     { display: none; }
  .hero__sub        { max-width: 100%; }
  .products-grid    { grid-template-columns: 1fr; }
  .pillars-grid     { grid-template-columns: 1fr; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .features-grid    { grid-template-columns: 1fr; }
  .clients-grid     { grid-template-columns: 1fr; }
  .steps-grid       { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .phase            { grid-template-columns: 1fr; gap: 6px; }
  .security-grid    { grid-template-columns: 1fr; }
  .cta-block        { padding: 40px 24px; }
  .pricing-card     { padding: 32px 24px; }
  .form-row         { grid-template-columns: 1fr; }
  .form-card        { padding: 28px 20px; }
  .footer__links    { grid-template-columns: 1fr; }
  .ecosystem-strip  { flex-direction: column; }
  .ecosystem-item   { border-right: none; border-bottom: 1px solid var(--border); }
  .ecosystem-item:last-child { border-bottom: none; }
}

