
/* ============================================================
   PAGE-SPECIFIC — Hire an AI-First Engineer
============================================================ */

/* ── HERO */
.hero {
  position: relative; overflow: hidden;
  padding: 170px 0 90px;
  background: var(--bg-dark); color: var(--fg-dark);
}
.hero-aurora { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-aurora span {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; will-change: transform;
}
.hero-aurora .b1 { width: 56vw; height: 56vw; left: -12vw; top: -16vw; background: radial-gradient(circle, rgba(5,139,240,0.32), transparent 60%); animation: drift1 22s ease-in-out infinite alternate; }
.hero-aurora .b2 { width: 46vw; height: 46vw; right: -14vw; top: 8vh; background: radial-gradient(circle, rgba(70,180,255,0.26), transparent 60%); animation: drift2 27s ease-in-out infinite alternate; }
.hero-aurora .b3 { width: 38vw; height: 38vw; left: 32vw; bottom: -18vw; background: radial-gradient(circle, rgba(180,225,255,0.30), transparent 60%); animation: drift3 25s ease-in-out infinite alternate; }
@keyframes drift1 { from { transform: translate(0,0); } to { transform: translate(7vw,4vh); } }
@keyframes drift2 { from { transform: translate(0,0); } to { transform: translate(-6vw,6vh); } }
@keyframes drift3 { from { transform: translate(0,0); } to { transform: translate(-4vw,-3vh); } }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 4.6vw, 58px); line-height: 1.14; letter-spacing: -0.025em;
  margin: 22px 0 22px; color: var(--fg-dark);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #058BF0 0%, #19a7ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 18px; color: var(--muted-dark); max-width: 560px; margin: 0 0 18px; line-height: 1.65; }
.hero-points { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--fg-dark); }
.hero-points svg { color: var(--accent); flex: none; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero illustration — draggable Cloudastra ID badge on a lanyard (vanilla rope physics) */
.hero-illu { display: flex; justify-content: center; }
.lanyard { position: relative; width: 100%; max-width: 460px; height: 540px; margin-left: auto; touch-action: none; -webkit-user-select: none; user-select: none; }
.lanyard-cord { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.cord-anchor { position: absolute; top: -3px; left: 50%; transform: translateX(-50%); width: 48px; height: 9px; border-radius: 5px; background: linear-gradient(180deg,#13294f,#0a1b3a); box-shadow: 0 3px 8px rgba(12,21,48,.28); z-index: 2; }

.badge { position: absolute; left: 0; top: 0; width: 256px; margin-left: -128px; transform-origin: 50% 0; z-index: 3; cursor: grab; will-change: transform; }
.lanyard.dragging .badge, .badge:active { cursor: grabbing; }
.badge-clip { display: block; width: 40px; height: 28px; margin: 0 auto -6px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg,#dde4ee,#9aa7bd); border: 1px solid rgba(12,21,48,.18); position: relative; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.badge-clip::after { content: ''; position: absolute; left: 50%; top: 9px; transform: translateX(-50%); width: 19px; height: 8px; border-radius: 4px; background: #0a1b3a; }

.badge-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 26px 54px -18px rgba(5,139,240,.45), 0 10px 24px -10px rgba(12,21,48,.18); }
.badge-head { display: flex; align-items: center; gap: 9px; padding: 14px 18px; background: linear-gradient(120deg,#0a63c4,#1aa0ff); color: #fff; }
.badge-head svg { width: 26px; height: 19px; }
.badge-head span { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.14em; }
.badge-body { padding: 20px 18px 14px; text-align: center; }
.badge-ava { display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 70px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--border); margin-bottom: 12px; }
.badge-ava img { width: 34px; height: 25px; }
.badge-name { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--fg); letter-spacing: -0.015em; }
.badge-role { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.badge-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 15px; }
.badge-tags span { font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); background: rgba(5,139,240,.09); border: 1px solid rgba(5,139,240,.18); border-radius: 999px; padding: 4px 9px; }
.badge-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-top: 1px solid var(--border); }
.badge-bar { flex: 1; height: 22px; background: repeating-linear-gradient(90deg,#0a1b3a 0 2px, transparent 2px 4px, #0a1b3a 4px 5px, transparent 5px 9px); opacity: .8; }
.badge-id { font-family: var(--font-sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; color: var(--muted); white-space: nowrap; }

.lanyard-hint { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; color: var(--muted); background: rgba(255,255,255,.72); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; z-index: 4; pointer-events: none; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: hintPulse 2.6s ease-in-out infinite; }
.lanyard.dragging .lanyard-hint { opacity: 0; }
@keyframes hintPulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }

@keyframes liveBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes liveBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* nodePulse — used by venn core, trust-bar icons + process step numbers */
@keyframes nodePulse {
  0% { opacity: 0.7; transform: scale(0.9); }
  70%, 100% { opacity: 0; transform: scale(1.15); }
}

/* ── trust bar */
.trust-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; position: relative; z-index: 1; }
.trust-stat {
  padding: 22px 22px 22px 24px; border-radius: 16px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}
.trust-stat::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--edge-angle), transparent 0deg, var(--accent) 70deg, #5BB8FF 130deg, rgba(5,139,240,0.12) 205deg, transparent 300deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
}
.trust-stat:hover { transform: translateY(-5px); box-shadow: 0 22px 46px -22px rgba(5,139,240,0.5); border-color: transparent; }
.trust-stat:hover::before { opacity: 1; animation: edgeSpin 2.2s linear infinite; }
.ts-icon {
  display: inline-flex; width: 38px; height: 38px; border-radius: 10px;
  align-items: center; justify-content: center; margin-bottom: 14px;
  background: rgba(5,139,240,0.10); color: var(--accent); position: relative;
}
.ts-icon::after {
  content: ''; position: absolute; inset: 0; border-radius: 10px;
  border: 1px solid rgba(5,139,240,0.4); opacity: 0; animation: nodePulse 3s ease-out infinite;
}
.trust-stat:nth-child(2) .ts-icon::after { animation-delay: 1s; }
.trust-stat:nth-child(3) .ts-icon::after { animation-delay: 2s; }
.trust-stat strong { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--fg); display: block; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 6px; }
.trust-stat span { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ── section head helper */
.sec-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.sec-head .section-headline, .sec-head .section-sub { margin-left: auto; margin-right: auto; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── best-for: copy + auto-cycling 3D card deck (CardSwap, ported from V3) */
.bestfor-tag { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.bestfor2 { position: relative; }
.bf-runway { position: relative; min-height: 360vh; }
.bf-pin { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; }
.bf-runway.no-scrub { min-height: 0; }
.bf-runway.no-scrub .bf-pin { position: static; min-height: 0; padding: clamp(72px,10vw,130px) 0; }
.bestfor-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.bestfor-copy .sec-head { margin-bottom: 0; text-align: left; margin-left: 0; margin-right: 0; max-width: none; }
.bestfor-copy .sec-head .section-headline, .bestfor-copy .sec-head .section-sub { margin-left: 0; margin-right: 0; }
.bestfor-copy .btn { margin-top: 30px; }
.bestfor-stage { position: relative; height: 420px; perspective: 1000px; }
.card-swap-container { position: absolute; left: 50%; top: 50%; transform: translate(-54%, -46%); width: 320px; height: 270px; perspective: 900px; transform-origin: center; }
.cs-card {
  position: absolute; top: 50%; left: 50%; width: 320px; height: 270px;
  border-radius: 18px; border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(165deg, #123a6b, #0a1b3a 70%);
  box-shadow: 0 30px 60px -24px rgba(5,139,240,0.5), 0 12px 30px -12px rgba(0,0,0,0.4);
  transform-style: preserve-3d; will-change: transform; backface-visibility: hidden;
  opacity: 0; padding: 30px; display: flex; flex-direction: column;
}
.cs-card .bestfor-tag { color: #6cc1ff; margin: 0 0 10px; }
.cs-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 23px; color: #fff; margin: 0 0 12px; letter-spacing: -0.02em; line-height: 1.2; }
.cs-card p { color: rgba(255,255,255,0.74); font-size: 15px; line-height: 1.6; margin: 0; }

/* ── role cards */
.role-card .role-meta { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: block; }

/* ── comparison table */
.compare { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.compare-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; }
.compare-row > div { padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; font-size: 15px; }
.compare-row:last-child > div { border-bottom: none; }
.compare-head > div { font-family: var(--font-display); font-weight: 700; font-size: 16px; background: rgba(255,255,255,0.03); }
.compare-head .col-ai { color: var(--accent); }
.compare-row .label { color: var(--muted-dark); font-weight: 500; }
.compare-row .col-trad { color: var(--muted-dark); }
.compare-row .col-ai { color: var(--fg-dark); font-weight: 600; background: rgba(5,139,240,0.06); }
.compare-row .col-ai svg { color: var(--accent); margin-right: 8px; flex: none; }

/* ── process timeline (scroll-scrubbed scrollytelling) */
.proc { position: relative; }
.proc-runway { position: relative; min-height: 460vh; }
.proc-pin { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; }
.proc-runway.no-scrub { min-height: 0; }
.proc-runway.no-scrub .proc-pin { position: static; min-height: 0; padding: clamp(72px,10vw,130px) 0; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 28px; position: relative; }
.step { padding: 0 18px; position: relative; z-index: 1; opacity: var(--rev, 0); transform: translateY(calc((1 - var(--rev, 0)) * 22px)); transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); }

/* ONE continuous track + fill across the whole row, scrubbed by --lineP.
   Spans from step 1's number centre (38px) to step 5's (80% across). */
.steps::before, .steps::after {
  content: ''; position: absolute; top: 19px; left: 38px; width: 80%; height: 2px; border-radius: 2px; z-index: 0;
}
.steps::before { background: var(--border-2); }
.steps::after {
  background: linear-gradient(90deg, var(--accent), #19a7ff);
  box-shadow: 0 0 10px rgba(5,139,240,0.75);
  transform: scaleX(var(--lineP, 0)); transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}

.step-num {
  width: 40px; height: 40px; border-radius: 50%; position: relative; z-index: 1;
  background: var(--bg-3); color: var(--muted); font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  transform: scale(calc(0.55 + 0.45 * var(--rev, 0)));
  transition: transform 0.45s var(--ease-out), background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
.step.act .step-num { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(5,139,240,0.8); }
.step-num::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(5,139,240,0.55); opacity: 0; }
.step.act .step-num::after { animation: nodePulse 2.4s ease-out infinite; }

.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 6px; transition: color 0.25s ease; }
.step .step-time { font-family: var(--font-sans); font-size: 11px; font-weight: 600; color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase; display: block; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }
/* hover unleashes each stage one by one — number pops + ring fires */
.steps .step { cursor: default; }
.steps .step:hover .step-num { animation: stepPop 0.6s var(--ease-out); }
.steps .step:hover .step-num::after { animation: nodePulse 0.7s ease-out; }
.steps .step:hover h3 { color: var(--accent); }
@keyframes stepPop { 0% { transform: scale(1); } 38% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* ── guarantees */
.guard-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px; margin: -16px; border-radius: 16px; border: 1px solid transparent; transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out); }
/* scroll-scrubbed reveal (one-by-one) */
.guard-scrub .guard-item { opacity: var(--rev, 0); transform: translateY(calc((1 - var(--rev, 0)) * 34px)); }
.guard-item:hover { background: rgba(255,255,255,0.04); border-color: rgba(5,139,240,0.28); transform: translateY(-3px); }
.guard-item .gi { width: 44px; height: 44px; border-radius: 12px; flex: none; background: rgba(5,139,240,0.12); color: var(--accent); display: flex; align-items: center; justify-content: center; position: relative; transition: transform 0.3s var(--ease-out), background 0.3s ease; }
.guard-item:hover .gi { transform: scale(1.1) rotate(-4deg); background: rgba(5,139,240,0.2); }
.guard-item .gi::after { content: ''; position: absolute; inset: 0; border-radius: 12px; border: 1px solid rgba(5,139,240,0.5); opacity: 0; }
.guard-item:hover .gi::after { animation: nodePulse 0.8s ease-out; }
.guard-item h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 2px 0 6px; color: var(--fg-dark); transition: color 0.25s ease; }
.guard-item:hover h3 { color: #6cc1ff; }
.guard-item p { color: var(--muted-dark); font-size: 14px; margin: 0; }
  .guard-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: 0.01em; color: var(--accent); opacity: 0.9; margin-bottom: 10px; }

/* ── engagement models */
.model-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.model-card.featured { border-color: rgba(5,139,240,0.5); box-shadow: var(--shadow-lg); }
.model-badge { position: absolute; top: -12px; left: 30px; }
.model-card .price { font-family: var(--font-display); font-weight: 800; font-size: 28px; margin: 14px 0 2px; letter-spacing: -0.02em; }
.model-card .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.model-card .model-term { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.model-feats { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.model-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--fg); }
.model-feats svg { color: var(--accent); flex: none; margin-top: 3px; }
.model-best { font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 16px; margin-bottom: 20px; }

/* FAQ — two-column, matches home page */
.faq-layout { display: flex; flex-direction: column; gap: 48px; }
.faq-head .eyebrow { justify-content: flex-start; }
.faq-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; letter-spacing: -0.02em; color: var(--fg); margin: 20px 0 0; }
.faq-intro { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 24px 0 0; max-width: 28rem; }
.faq-reach { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.faq-reach:hover { text-decoration: underline; }
.faq-reach svg { transition: transform 0.25s var(--ease-out); }
.faq-reach:hover svg { transform: translate(2px, -2px); }
.faq-list { flex: 1; width: 100%; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--fg); transition: color 0.25s ease; }
.faq-q:hover { color: var(--accent); }
.faq-q .faq-ico { flex: none; width: 16px; height: 16px; color: var(--muted); transition: transform 0.3s var(--ease-out), color 0.3s ease; }
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .faq-ico { transform: rotate(180deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin: 0 0 22px; padding-right: 32px; max-width: 760px; }
@media (min-width: 768px) {
  .faq-layout { flex-direction: row; gap: 80px; align-items: flex-start; }
  .faq-head { position: sticky; top: 128px; width: 42%; flex: none; }
}

/* ── final CTA */
.final-cta { text-align: left; }
.final-cta h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -0.02em; color: var(--fg-dark); margin: 0 0 18px; max-width: 820px; }
.final-cta h2 em { font-style: normal; color: var(--accent); }
.final-cta p { color: var(--muted-dark); font-size: 18px; max-width: 560px; margin: 0 0 32px; }
.final-checks { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px 26px; margin-top: 34px; }
.final-checks li { list-style: none; display: inline-flex; align-items: center; gap: 8px; color: var(--muted-dark); font-size: 14px; }
.final-checks svg { color: var(--accent); }
/* Final CTA — two-column: copy left, CTA button right (vertically centered) */
.cross { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cross-caps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cross-caps span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--fg-dark); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; padding: 9px 15px; }
.cross-caps svg { color: #6cc1ff; }
.cross-cta { flex: none; }
/* Final CTA — pinned scroll-reveal: dark BG holds, then left copy, then CTA button */
.cta-runway { position: relative; min-height: 340vh; }
.cta-pin { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-dark); overflow: hidden; }
.cta-pin .wrap { width: 100%; }
.cta-stage { opacity: var(--rev, 0); filter: blur(calc((1 - var(--rev, 0)) * 16px)); transform: translateY(calc((1 - var(--rev, 0)) * 30px)); will-change: opacity, filter, transform; }
.cta-runway.no-scrub { min-height: 0; }
.cta-runway.no-scrub .cta-pin { position: static; min-height: 0; padding: 96px 0; }
.cta-runway.no-scrub .cta-stage { opacity: 1; filter: none; transform: none; }
/* no divider line at the top of the footer on this page */
#contact + .v3-footer { border-top: none; }
#contact + .v3-footer .v3-foot-accent { display: none; }
/* INDUSTRIES — marquee of hover-glow cards (no constant edge line at rest) */
@property --edge-angle { syntax: '<angle>'; inherits: false; initial-value: 135deg; }
.ind-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ind-track { display: flex; gap: 16px; width: max-content; animation: indMarquee 42s linear infinite; }
.ind-marquee:hover .ind-track { animation-play-state: paused; }
@keyframes indMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ind-item { position: relative; flex: none; display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease-out), box-shadow 0.35s ease; }
.ind-item .ii { width: 40px; height: 40px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); transition: transform 0.3s var(--ease-out); }
.ind-item:hover .ii { transform: scale(1.1) rotate(-5deg); }
.ind-item span { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--fg); white-space: nowrap; }
.ind-item::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--edge-angle), transparent 0deg, var(--accent) 70deg, #5BB8FF 130deg, rgba(5,139,240,0.12) 205deg, transparent 300deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.ind-item:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -22px rgba(5,139,240,0.5); }
.ind-item:hover::before { opacity: 1; animation: edgeSpin 2.2s linear infinite; }
@keyframes edgeSpin { from { --edge-angle: 0deg; } to { --edge-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) { .ind-track { animation: none; } .ind-marquee { overflow-x: auto; } }

/* ── AI-first services card grid */
.ai-services { padding: clamp(72px,9vw,120px) 0; }
.ai-services .sec-head { margin-bottom: 44px; }
.svc-grid { gap: 20px; }
.svc-card { text-decoration: none; transition: transform 0.3s var(--ease-out); }
.svc-card:hover { transform: translate3d(0, -4px, 0.01px); }
.svc-card .border-glow-inner { padding: 28px; align-items: flex-start; }
.svc-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(5,139,240,0.14); color: #6cc1ff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: transform 0.3s var(--ease-out); }
.svc-card:hover .svc-ico { transform: scale(1.08) rotate(-4deg); }
.svc-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--fg-dark); margin: 0 0 8px; line-height: 1.3; }
.svc-card p { color: var(--muted-dark); font-size: 14px; line-height: 1.55; margin: 0; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-illu { order: -1; }
  .lanyard { margin: 0 auto; max-width: 380px; height: 460px; }
  .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-row .label { grid-column: 1 / -1; padding-bottom: 4px; font-weight: 700; color: var(--fg-dark); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before, .steps::after { display: none; }
  .trust-bar { grid-template-columns: 1fr; gap: 20px; }
  .bestfor-grid2 { grid-template-columns: 1fr; gap: 36px; }
  .cross { grid-template-columns: 1fr; gap: 28px; }
  .bestfor-stage { height: 360px; }
  .card-swap-container { transform: scale(0.82) translate(-50%, -46%); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ── CONTACT — Start a project (dark) */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 52px; align-items: start; }
.contact-copy h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.02em; color: var(--fg-dark); margin: 18px 0 16px; }
.contact-copy h2 em { font-style: normal; color: var(--accent); }
.contact-copy p { color: var(--muted-dark); font-size: 17px; line-height: 1.6; margin: 0 0 28px; max-width: 440px; }
.contact-methods { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-methods li { display: flex; align-items: center; gap: 13px; color: var(--fg-dark); font-size: 15px; }
.contact-methods .cm-ico { width: 42px; height: 42px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(5,139,240,0.14); color: #6cc1ff; }
.contact-methods a { color: var(--fg-dark); text-decoration: none; }
.contact-methods a:hover { color: var(--accent); }
.cform { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 22px; padding: 32px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--muted-dark); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #fff; font-family: var(--font-sans); font-size: 14.5px; transition: border-color 0.25s ease, background 0.25s ease; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236cc1ff' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select option { color: #0a1b3a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(5,139,240,0.08); }
.field textarea { min-height: 110px; resize: vertical; }
.cform .btn { width: 100%; justify-content: center; margin-top: 4px; }
.cform-note { font-size: 12.5px; color: var(--muted-dark); text-align: center; margin: 14px 0 0; }


  .calc-shell {
    max-width: 1180px; margin: 0 auto;
    border: 1px solid var(--border-dark); border-radius: 26px;
    background:
      radial-gradient(120% 90% at 50% 0%, rgba(5,139,240,0.10), transparent 55%),
      linear-gradient(180deg, var(--bg-dark-3), var(--bg-dark-2));
    padding: 44px clamp(22px, 4vw, 52px);
    box-shadow: 0 40px 90px -50px rgba(0,0,0,0.8);
  }
  .calc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: stretch; }
  .calc-main { display: flex; flex-direction: column; }
  .calc-intro { margin-bottom: 30px; }
  .calc-intro .eyebrow { justify-content: flex-start; }
  .calc-intro h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.14; letter-spacing: -0.02em; color: var(--fg-dark); margin: 14px 0 14px; }
  .calc-intro h2 em { font-style: normal; color: var(--accent); }
  .calc-intro p { color: var(--muted-dark); font-size: 15.5px; line-height: 1.6; margin: 0; max-width: 460px; }
  .calc-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr; gap: 24px 28px; flex: 1;
  }
  .calc-field { display: flex; flex-direction: column; }
  .calc-field label {
    display: block; font-family: var(--font-sans);
    font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
    color: var(--fg-dark); margin-bottom: 14px;
  }
  .calc-field input[type="range"] {
    width: 100%; height: 4px; -webkit-appearance: none; appearance: none;
    background: var(--border-dark); border-radius: 999px; outline: none;
    accent-color: var(--accent); cursor: pointer;
  }
  .calc-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 18px; height: 18px;
    border-radius: 50%; background: var(--accent); border: 3px solid #cfe4fb;
    box-shadow: 0 4px 12px -2px rgba(5,139,240,0.6); cursor: pointer;
  }
  .calc-field input[type="range"]::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%; background: var(--accent);
    border: 3px solid #cfe4fb; cursor: pointer;
  }
  .calc-readout {
    margin-top: auto; display: flex; align-items: center; justify-content: space-between;
    border: 1px solid var(--border-dark); border-radius: 12px;
    background: rgba(255,255,255,0.02); padding: 13px 16px;
  }
  .calc-readout .val { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--accent); }
  .calc-readout .unit { font-size: 13px; color: var(--muted-dark); }
  @media (max-width: 560px) {
    .calc-grid { grid-template-columns: 1fr; }
  }
  .calc-side { display: flex; flex-direction: column; gap: 14px; }
  .calc-card {
    display: flex; align-items: center; gap: 16px;
    border: 1px solid var(--border-dark); border-radius: 16px;
    background: rgba(255,255,255,0.02); padding: 18px 20px; text-align: left;
  }
  .calc-card .calc-ico {
    width: 42px; height: 42px; flex: none; border-radius: 11px;
    display: grid; place-items: center; color: var(--accent);
    background: rgba(5,139,240,0.12);
  }
  .calc-card .calc-body { min-width: 0; }
  .calc-card .calc-lbl {
    font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted-dark); margin-bottom: 5px; line-height: 1.4;
  }
  .calc-card .calc-val { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--fg-dark); line-height: 1.1; }
  .calc-card .calc-foot { font-size: 11px; color: var(--muted-dark); margin-top: 5px; line-height: 1.45; }
  .calc-card.is-hero {
    border-color: rgba(22,163,74,0.45);
    background: linear-gradient(180deg, rgba(22,163,74,0.14), rgba(22,163,74,0.04));
  }
  .calc-card.is-hero .calc-ico { color: #22c55e; background: rgba(22,163,74,0.16); }
  .calc-card.is-hero .calc-val { color: #22c55e; }
  .calc-cta { margin-top: 22px; }
  .calc-cta .btn { width: 100%; justify-content: center; }
  .calc-note { font-size: 12px; color: var(--muted-dark); margin: 14px 0 0; text-align: center; }
  @media (max-width: 860px) {
    .calc-layout { grid-template-columns: 1fr; gap: 38px; }
  }


  .numgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .numstat { border: 1px solid var(--border-dark); border-radius: 18px; background: rgba(255,255,255,0.02); padding: 30px 24px; text-align: center; transition: transform 0.3s var(--ease-out), border-color 0.3s ease, background 0.3s ease; }
  .numstat:hover { transform: translateY(-4px); border-color: rgba(5,139,240,0.4); background: rgba(5,139,240,0.05); }
  .numstat .nv { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4vw, 48px); line-height: 1; letter-spacing: -0.02em; color: var(--accent); }
  .numstat .nl { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted-dark); }
  @media (max-width: 860px) { .numgrid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .numgrid { grid-template-columns: 1fr; } }
