/* ═══════════════════════════════════════════════
   ELITE TECH-INNOVATIONS — home.css
   Home page specific styles
═══════════════════════════════════════════════ */


/* HERO */
.hero {
  min-height: min(100vh, 860px);
  padding: 100px 48px 80px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
  z-index: 2;
  background: var(--bg);
}

/* AI GRID CANVAS */
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border2) 1px, transparent 1px),
    linear-gradient(90deg, var(--border2) 1px, transparent 1px);
  background-size: 64px 64px;
}
.grid-nodes {
  position: absolute; inset: 0;
}
.node {
  position: absolute; width: 5px; height: 5px;
  background: var(--blue); border-radius: 50%;
  opacity: 0;
  animation: nodeAppear 4s ease-in-out infinite;
}
@keyframes nodeAppear {
  0%,100%{opacity:0;transform:scale(0)}
  50%{opacity:0.6;transform:scale(1)}
}
.connection {
  position: absolute; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0; transform-origin: left;
  animation: lineFlow 3s ease-in-out infinite;
}
@keyframes lineFlow { 0%,100%{opacity:0;transform:scaleX(0)} 40%,60%{opacity:0.25;transform:scaleX(1)} }

/* Big circle decoration */
.hero-orb {
  position: absolute;
  right: -120px; top: 50%; transform: translateY(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.hero-orb::before {
  content: '';
  width: 500px; height: 500px;
  border-radius: 50%; border: 1px solid var(--border);
  position: absolute;
}
.hero-orb::after {
  content: '';
  width: 300px; height: 300px;
  border-radius: 50%; border: 1px solid var(--border);
  position: absolute;
}
.orb-core {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.08;
  animation: pulse-orb 4s ease-in-out infinite;
}
@keyframes pulse-orb { 0%,100%{transform:scale(1);opacity:0.08} 50%{transform:scale(1.2);opacity:0.15} }

.hero-content { position: relative; z-index: 1; max-width: 820px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 6px 14px 6px 8px;
  border-radius: 100px;
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.2px;
  margin-bottom: 36px;
  font-weight: 500;
}
.badge-pill {
  background: var(--blue); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 100px;
  letter-spacing: 0.5px; text-transform: uppercase;
}

h1 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(56px, 7vw, 108px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -4px;
  color: var(--ink);
  margin-bottom: 40px;
}
h1 .line2 { color: var(--blue); }
h1 .line3 { 
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
}

.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-top: 48px;
  position: relative; z-index: 2;
}
.hero-desc {
  max-width: 380px;
  font-size: 15px; color: var(--muted);
  line-height: 1.7; font-weight: 400;
}
.hero-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.btn-dark {
  background: var(--ink); color: var(--white);
  padding: 14px 28px; border: none;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600; font-size: 14px;
  border-radius: 100px; cursor: pointer;
  transition: all 0.25s;
}
.btn-dark:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(26,59,204,0.25); }
.btn-outline {
  background: transparent; color: var(--ink);
  padding: 13px 28px;
  border: 1.5px solid var(--border);
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 500; font-size: 14px;
  border-radius: 100px; cursor: pointer;
  transition: all 0.25s;
}
.btn-outline:hover { border-color: var(--ink); background: var(--white); }

/* TICKER */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--white);
}
.ticker-inner {
  display: flex; gap: 0;
  animation: ticker 20s linear infinite;
  width: max-content;
}
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item {
  display: flex; align-items: center; gap: 16px;
  padding: 0 40px; white-space: nowrap;
  font-size: 13px; font-weight: 500; color: var(--muted2);
  letter-spacing: 0.3px; text-transform: uppercase;
}
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); opacity: 0.5; }

/* SECTIONS */
.section { padding: 120px 48px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  color: var(--blue); letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 20px;
}
.section-tag::before { content:''; width:20px; height:1.5px; background:var(--blue); }
.section-h {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 800; line-height: 1.0;
  letter-spacing: -2px; color: var(--ink);
}

/* ABOUT */
.about { background: var(--white); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-left { padding-top: 8px; }
.about-body {
  font-size: 15px; color: var(--muted);
  line-height: 1.8; margin: 24px 0 40px;
  font-weight: 400;
}
.about-pillars { display: flex; flex-direction: column; gap: 1px; }
.pillar {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border2);
  transition: all 0.3s;
  cursor: default;
}
.pillar:last-child { border-bottom: none; }
.pillar:hover .pillar-num { color: var(--blue); }
.pillar-num {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--muted2); letter-spacing: 1px;
  min-width: 28px; transition: color 0.3s;
}
.pillar-text { font-size: 14px; color: var(--ink2); line-height: 1.5; font-weight: 500; }

.about-right { display: flex; flex-direction: column; gap: 16px; }
.about-card {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}
.about-card:hover { border-color: var(--border); transform: translateY(-2px); }
.about-card.accent { background: var(--blue); border-color: var(--blue); }
.about-card.accent .card-label { color: rgba(255,255,255,0.5); }
.about-card.accent .card-value { color: #fff; }
.about-card.accent .card-sub { color: rgba(255,255,255,0.6); }
.card-label { font-size: 11px; font-weight: 600; color: var(--muted2); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.card-value { font-family: 'Cabinet Grotesk', sans-serif; font-size: 48px; font-weight: 900; color: var(--ink); line-height: 1; letter-spacing: -2px; }
.card-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
.about-kpi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* WHY */
.why { background: var(--ink); }
.why .section-tag { color: rgba(255,255,255,0.4); }
.why .section-tag::before { background: rgba(255,255,255,0.3); }
.why .section-h { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 64px; }
.why-card {
  background: #111118;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 48px 36px;
  transition: all 0.3s;
  position: relative;
}
.why-card:hover { background: #161613; border-color: rgba(255,255,255,0.14); transform: translateY(-4px); }
.why-num {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--blue); letter-spacing: 1px;
  margin-bottom: 40px;
}
.why-icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 20px;
  transition: all 0.3s;
}
.why-card:hover .why-icon { border-color: var(--blue); background: rgba(26,59,204,0.15); }
.why-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 20px; font-weight: 800;
  color: #fff; margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.why-text { font-size: 13.5px; color: rgba(255,255,255,0.45); line-height: 1.7; }

/* PRODUCTS */
.products { background: var(--bg); }
.products-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.product-card {
  background: var(--white);
  border: 1px solid var(--border2);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: all 0.4s;
}
.product-card:hover { border-color: var(--border); transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,0.1); }
.product-img {
  height: 200px; overflow: hidden;
  background: var(--bg2); position: relative;
}
.product-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.p-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(245,244,240,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  font-size: 10px; font-weight: 700;
  color: var(--ink); padding: 4px 10px;
  border-radius: 100px; letter-spacing: 0.5px; text-transform: uppercase;
}
.product-body { padding: 28px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.p-cat {
  font-size: 11px; font-weight: 600;
  color: var(--blue); letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 8px;
}
.p-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 18px; font-weight: 800;
  color: var(--ink); line-height: 1.2;
  letter-spacing: -0.5px; margin-bottom: 10px;
  overflow-wrap: break-word; word-break: break-word;
}
.p-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 24px; overflow-wrap: break-word; word-break: break-word; }
.p-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  text-decoration: none;
  padding: 8px 16px;
  background: var(--bg); border-radius: 100px;
  border: 1px solid var(--border2);
  transition: all 0.2s;
  margin-top: auto;
  align-self: flex-start;
}
.p-link:hover { background: var(--blue); color: #fff; border-color: var(--blue); gap: 10px; }

/* CLIENTS */
/* ── Clients section ── */
.clients {
  background: var(--white);
  padding: 90px 48px;
  position: relative;
  overflow: hidden;
}
/* top accent line that sweeps in */
.clients::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  transition: left 0.9s cubic-bezier(0.4,0,0.2,1);
}
.clients.in::before { left: 100%; }

.clients-label {
  text-align: center; font-size: 11px; font-weight: 600;
  color: var(--muted2); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 52px;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.client-tile {
  background: var(--white);
  border: 1.5px solid var(--border2);
  border-radius: 18px;
  padding: 32px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  cursor: default;
  will-change: transform, opacity;
}
.client-tile:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.client-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid var(--border2);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
  will-change: transform, opacity;
}
.client-tile:hover .client-avatar {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
}
.client-avatar img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 10px;
}
.client-avatar-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 22px; font-weight: 900;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: -1px;
}
.client-name {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
  line-height: 1.3;
  opacity: 1;
  transition: color 0.3s;
}
.client-tile:hover .client-name { color: var(--blue); }

/* TEAM */
.team { background: var(--bg2); }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.team-card {
  background: var(--white);
  border: 1px solid var(--border2);
  border-radius: 20px; overflow: hidden;
  transition: all 0.3s;
}
.team-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.08); transform: translateY(-4px); }
.team-photo { height: 300px; overflow: hidden; background: var(--bg3); position: relative; }
.team-photo img { width:100%; height:100%; object-fit:cover; object-position:center 20%; transition: transform 0.5s; filter: saturate(0.85); }
.team-card:hover .team-photo img { transform: scale(1.04); filter: saturate(1); }
.team-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,15,13,0.2), transparent 50%); }
.team-body { padding: 24px 24px 28px; }
.team-name {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 19px; font-weight: 800;
  color: var(--ink); letter-spacing: -0.5px;
}
.team-role {
  font-size: 12.5px; font-weight: 600;
  color: var(--blue); margin-top: 4px;
  letter-spacing: 0.2px;
}
.team-divider { width: 24px; height: 2px; background: var(--border); margin: 14px 0; }

/* CTA */
.cta-section { background: var(--bg); padding: 120px 48px; position: relative; }
.cta-inner {
  background: var(--ink);
  border-radius: 28px;
  padding: 80px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 60px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,0.03) 1px,transparent 1px);
  background-size: 48px 48px;
}
.cta-dot {
  position: absolute; right: 80px; top: 50%; transform: translateY(-50%);
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,59,204,0.3), transparent 70%);
  pointer-events: none;
}
.cta-text { position: relative; z-index: 1; }
.cta-tag { font-size: 11px; color: rgba(255,255,255,0.35); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
.cta-h {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 900; color: #fff;
  letter-spacing: -1.5px; line-height: 1.05;
  margin-bottom: 16px;
}
.cta-sub { font-size: 15px; color: rgba(255,255,255,0.45); line-height: 1.6; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.btn-blue {
  background: var(--blue); color: #fff;
  padding: 16px 32px; border: none;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600; font-size: 15px;
  border-radius: 100px; cursor: pointer;
  transition: all 0.25s; white-space: nowrap;
}
.btn-blue:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(26,59,204,0.4); }
.btn-ghost2 {
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.7);
  padding: 15px 32px; border: 1.5px solid rgba(255,255,255,0.1);
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 500; font-size: 15px;
  border-radius: 100px; cursor: pointer;
  transition: all 0.25s; white-space: nowrap; text-align: center;
}
.btn-ghost2:hover { border-color: rgba(255,255,255,0.35); color: #fff; }

/* ══ SCROLL ANIMATIONS ══════════════════════════════════════════ */

/* Base reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ── About section ── */
.about-left  { opacity: 0; transform: translateX(-36px); transition: opacity 0.85s ease, transform 0.85s ease; }
.about-right { opacity: 0; transform: translateX(36px);  transition: opacity 0.85s ease 0.15s, transform 0.85s ease 0.15s; }
.about.in .about-left,
.about.in .about-right { opacity: 1; transform: translateX(0); }

.about .section-tag  { opacity: 0; transform: translateY(12px); transition: opacity 0.55s ease 0.1s,  transform 0.55s ease 0.1s; }
.about .section-h    { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease 0.2s,   transform 0.6s ease 0.2s; }
.about-body   { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease 0.32s,  transform 0.6s ease 0.32s; }
.about.in .section-tag,
.about.in .section-h,
.about.in .about-body { opacity: 1; transform: translateY(0); }

.pillar { opacity: 0; transform: translateX(-16px); }
.about.in .pillar:nth-child(1) { animation: pillarIn 0.55s ease 0.44s forwards; }
.about.in .pillar:nth-child(2) { animation: pillarIn 0.55s ease 0.56s forwards; }
.about.in .pillar:nth-child(3) { animation: pillarIn 0.55s ease 0.68s forwards; }
@keyframes pillarIn { from{opacity:0;transform:translateX(-16px)} to{opacity:1;transform:translateX(0)} }

.about-card { opacity: 0; transform: translateY(20px) scale(0.97); transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s, box-shadow 0.3s; }
.about.in .about-card:nth-child(1) { animation: cardIn 0.6s ease 0.2s  forwards; }
.about.in .about-card:nth-child(2) { animation: cardIn 0.6s ease 0.34s forwards; }
.about.in .about-card:nth-child(3) { animation: cardIn 0.6s ease 0.48s forwards; }
@keyframes cardIn { from{opacity:0;transform:translateY(20px) scale(0.97)} to{opacity:1;transform:translateY(0) scale(1)} }

/* ── Why section ── */
.why-header-wrap { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.why.in .why-header-wrap { opacity: 1; transform: translateY(0); }
.why-card { opacity: 0; transform: translateY(28px); }
.why.in .why-card:nth-child(1) { animation: cardUp 0.65s ease 0.15s forwards; }
.why.in .why-card:nth-child(2) { animation: cardUp 0.65s ease 0.28s forwards; }
.why.in .why-card:nth-child(3) { animation: cardUp 0.65s ease 0.41s forwards; }
@keyframes cardUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }

/* ── Products section ── */
.products-header { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.products.in .products-header { opacity: 1; transform: translateY(0); }
.product-card { opacity: 0; transform: translateY(36px) scale(0.97); }
.products.in .product-card:nth-child(1) { animation: prodIn 0.7s ease 0.12s forwards; }
.products.in .product-card:nth-child(2) { animation: prodIn 0.7s ease 0.26s forwards; }
.products.in .product-card:nth-child(3) { animation: prodIn 0.7s ease 0.40s forwards; }
@keyframes prodIn { from{opacity:0;transform:translateY(36px) scale(0.97)} to{opacity:1;transform:translateY(0) scale(1)} }

/* ── Clients reveal animations ── */

/* label sweeps up */
.clients-label {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.clients.in .clients-label { opacity: 1; transform: translateY(0); }

/* cards start hidden */
.client-tile {
  opacity: 0;
  transform: translateY(36px) scale(0.94);
}

/* avatar starts hidden separately */
.client-avatar {
  opacity: 0;
  transform: scale(0.5);
}

/* card springs in — staggered per child */
.clients.in .client-tile:nth-child(1)  { animation: clientCardIn 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.10s forwards; }
.clients.in .client-tile:nth-child(2)  { animation: clientCardIn 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.18s forwards; }
.clients.in .client-tile:nth-child(3)  { animation: clientCardIn 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.26s forwards; }
.clients.in .client-tile:nth-child(4)  { animation: clientCardIn 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.34s forwards; }
.clients.in .client-tile:nth-child(5)  { animation: clientCardIn 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.42s forwards; }
.clients.in .client-tile:nth-child(6)  { animation: clientCardIn 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.50s forwards; }
.clients.in .client-tile:nth-child(7)  { animation: clientCardIn 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.58s forwards; }
.clients.in .client-tile:nth-child(8)  { animation: clientCardIn 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.66s forwards; }
.clients.in .client-tile:nth-child(9)  { animation: clientCardIn 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.70s forwards; }
.clients.in .client-tile:nth-child(10) { animation: clientCardIn 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.74s forwards; }
.clients.in .client-tile:nth-child(11) { animation: clientCardIn 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.78s forwards; }
.clients.in .client-tile:nth-child(12) { animation: clientCardIn 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.82s forwards; }

/* avatar pops in AFTER its card, with a springy overshoot */
.clients.in .client-tile:nth-child(1)  .client-avatar { animation: avatarPop 0.5s cubic-bezier(0.34,1.8,0.64,1) 0.30s forwards; }
.clients.in .client-tile:nth-child(2)  .client-avatar { animation: avatarPop 0.5s cubic-bezier(0.34,1.8,0.64,1) 0.38s forwards; }
.clients.in .client-tile:nth-child(3)  .client-avatar { animation: avatarPop 0.5s cubic-bezier(0.34,1.8,0.64,1) 0.46s forwards; }
.clients.in .client-tile:nth-child(4)  .client-avatar { animation: avatarPop 0.5s cubic-bezier(0.34,1.8,0.64,1) 0.54s forwards; }
.clients.in .client-tile:nth-child(5)  .client-avatar { animation: avatarPop 0.5s cubic-bezier(0.34,1.8,0.64,1) 0.62s forwards; }
.clients.in .client-tile:nth-child(6)  .client-avatar { animation: avatarPop 0.5s cubic-bezier(0.34,1.8,0.64,1) 0.70s forwards; }
.clients.in .client-tile:nth-child(7)  .client-avatar { animation: avatarPop 0.5s cubic-bezier(0.34,1.8,0.64,1) 0.78s forwards; }
.clients.in .client-tile:nth-child(8)  .client-avatar { animation: avatarPop 0.5s cubic-bezier(0.34,1.8,0.64,1) 0.86s forwards; }
.clients.in .client-tile:nth-child(9)  .client-avatar { animation: avatarPop 0.5s cubic-bezier(0.34,1.8,0.64,1) 0.90s forwards; }
.clients.in .client-tile:nth-child(10) .client-avatar { animation: avatarPop 0.5s cubic-bezier(0.34,1.8,0.64,1) 0.94s forwards; }
.clients.in .client-tile:nth-child(11) .client-avatar { animation: avatarPop 0.5s cubic-bezier(0.34,1.8,0.64,1) 0.98s forwards; }
.clients.in .client-tile:nth-child(12) .client-avatar { animation: avatarPop 0.5s cubic-bezier(0.34,1.8,0.64,1) 1.02s forwards; }

@keyframes clientCardIn {
  from { opacity: 0; transform: translateY(36px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
@keyframes avatarPop {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1);   }
}

/* responsive */
@media(max-width:900px) {
  .clients-grid { grid-template-columns: repeat(3,1fr); }
}
@media(max-width:600px) {
  .clients { padding: 60px 24px; }
  .clients-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .client-avatar { width: 56px; height: 56px; }
  .client-avatar-fallback { font-size: 18px; }
}

/* ── Team section ── */
.team-header-wrap { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.team.in .team-header-wrap { opacity: 1; transform: translateY(0); }
.team-card { opacity: 0; transform: translateY(40px); }
.team.in .team-card:nth-child(1) { animation: teamIn 0.7s ease 0.12s forwards; }
.team.in .team-card:nth-child(2) { animation: teamIn 0.7s ease 0.26s forwards; }
.team.in .team-card:nth-child(3) { animation: teamIn 0.7s ease 0.40s forwards; }
@keyframes teamIn { from{opacity:0;transform:translateY(40px)} to{opacity:1;transform:translateY(0)} }
.team-photo img  { transition: transform 0.5s, filter 0.4s; }

/* ── CTA section ── */
.cta-text { opacity: 0; transform: translateX(-28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.cta-actions { opacity: 0; transform: translateX(28px); transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s; }
.cta-section.in .cta-text,
.cta-section.in .cta-actions { opacity: 1; transform: translateX(0); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero { padding: 90px 32px 64px; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .why-grid { grid-template-columns: repeat(3,1fr); }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .cta-inner { grid-template-columns: 1fr; padding: 56px 40px; text-align: left; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 860px) {
  .hero { padding: 84px 20px 56px; min-height: auto; }
  .hero-orb { display: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-desc { max-width: 100%; }
  h1 { letter-spacing: -2px; }
  .section { padding: 72px 20px; }
  .about-kpi-row { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .products-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .products-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 56px 20px; }
  .cta-inner { padding: 40px 24px; border-radius: 20px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .btn-blue, .btn-ghost2 { text-align: center; }
}

@media (max-width: 480px) {
  .hero-badge { font-size: 11px; }
  .card-value { font-size: 36px; }
  .about-card { padding: 24px; }
  .ticker-item { padding: 0 24px; font-size: 12px; }
}