html, body { background: #000; }
body { font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fadeTo70 {
  from { opacity: 0; }
  to   { opacity: 0.7; }
}

.anim-pre      { opacity: 0; animation: fadeUp    0.6s cubic-bezier(0.22,1,0.36,1) 0s   forwards; }
.anim-headline { opacity: 0; animation: fadeScale 0.6s cubic-bezier(0.22,1,0.36,1) 0.2s forwards; transform-origin: center; }
.anim-sub      { opacity: 0; animation: fadeTo70  0.6s cubic-bezier(0.22,1,0.36,1) 0.4s forwards; }
.anim-cta      { opacity: 0; animation: fadeUp    0.5s cubic-bezier(0.22,1,0.36,1) 0.6s forwards; }
.anim-nav      { opacity: 0; animation: fadeUp    0.5s cubic-bezier(0.22,1,0.36,1) 0s   forwards; }

.headline-gradient {
  background-image: linear-gradient(to bottom, #ffffff 0%, #ffffff 55%, #b4c0ff 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.section-gradient {
  background-image: linear-gradient(to bottom, #ffffff 0%, #ffffff 70%, #b4c0ff 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.hairline { border-top: 1px solid rgba(255,255,255,0.10); }

/* ── Pricing ───────────────────────────────────────────── */
.pricing-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px; padding: 40px;
  display: flex; flex-direction: column;
  transition: border-color 0.4s ease, background 0.4s ease;
}
.pricing-card:hover { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.04); }
.pricing-card--featured {
  background: linear-gradient(180deg, rgba(48,84,255,0.12) 0%, rgba(48,84,255,0.03) 60%, rgba(255,255,255,0.025) 100%);
  border-color: rgba(180,192,255,0.25);
}
.pricing-card--featured:hover { border-color: rgba(180,192,255,0.45); }
.pricing-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(255,255,255,0.06); color: #b4c0ff;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
}
.pricing-card--featured .pricing-icon {
  background: rgba(48,84,255,0.18); border-color: rgba(180,192,255,0.35); color: #fff;
}
.pricing-title  { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; color: #fff; line-height: 1; }
.pricing-desc   { color: rgba(255,255,255,0.58); line-height: 1.55; font-size: 15.5px; }
.pricing-amount { font-family: 'Instrument Serif', serif; font-size: 56px; line-height: 1; color: #fff; letter-spacing: -0.02em; }
.pricing-amount .pricing-amount__prefix {
  font-family: 'Instrument Sans', sans-serif; font-size: 14px; text-transform: uppercase;
  letter-spacing: 0.22em; color: rgba(255,255,255,0.45); display: block; margin-bottom: 10px; font-weight: 500;
}
.pricing-amount .pricing-amount__num { font-style: italic; }
.pricing-features { display: flex; flex-direction: column; gap: 14px; }
.pricing-features li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,0.78); font-size: 15px; line-height: 1.5; }
.pricing-check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(48,84,255,0.18); color: #b4c0ff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px; border: 1px solid rgba(180,192,255,0.3);
}
.pricing-card--featured .pricing-check { background: #3054ff; color: #fff; border-color: #3054ff; }
.pricing-cta {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 18px 24px; border: 1px dashed rgba(255,255,255,0.22);
  border-radius: 9999px; color: rgba(255,255,255,0.88); font-size: 15px; font-weight: 500; transition: all 0.3s ease;
}
.pricing-cta .pricing-cta__arrow { display: inline-block; transition: transform 0.3s ease; }
.pricing-cta:hover .pricing-cta__arrow { transform: translateX(4px); }
.pricing-cta:hover { border-color: rgba(255,255,255,0.6); color: #fff; background: rgba(255,255,255,0.04); }
.pricing-cta--solid { background: #fff; color: #0a0400; border: 1px solid #fff; }
.pricing-cta--solid:hover { background: #b4c0ff; border-color: #b4c0ff; color: #0a0400; }

/* ── Marquee ───────────────────────────────────────────── */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }

/* ── Service rows ──────────────────────────────────────── */
.service-row { transition: background-color 0.4s ease; }
.service-row:hover { background-color: rgba(255,255,255,0.03); }
.service-row .arrow { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease; opacity: 0.5; }
.service-row:hover .arrow { transform: translateX(8px); opacity: 1; }

/* ── Work cards ────────────────────────────────────────── */
.work-card .work-img { transition: transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.work-card:hover .work-img { transform: scale(1.04); }

/* ── Sticky navbar ─────────────────────────────────────── */
.site-nav.is-scrolled {
  background-color: rgba(0,0,0,0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.625rem; padding-bottom: 0.625rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

/* Active nav link */
.nav-active {
  color: #fff !important;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.25);
  text-underline-offset: 5px;
}

/* ── Grid BG (CTA section) ─────────────────────────────── */
.grid-bg {
  background-image:
    linear-gradient(to right,  rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* ── CTAs ──────────────────────────────────────────────── */
.cta-primary { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.cta-primary:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(255,255,255,0.3); }
.cta-primary .arrow-pill { transition: background-color 0.2s ease; }
.cta-primary:hover .arrow-pill { background-color: #2040e0; }
.cta-secondary { transition: background-color 0.2s ease, color 0.2s ease; }
.cta-secondary .arrow-icon { transition: transform 0.2s ease; }
.cta-secondary:hover .arrow-icon { transform: translateX(4px); }

/* ── Parallax footer ───────────────────────────────────── */
@keyframes viewBelowFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.view-below-text { animation: viewBelowFade 1.4s ease 0.3s both; }

@keyframes footerCardReveal {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.footer-card-anim { animation: footerCardReveal 0.9s cubic-bezier(0.22,1,0.36,1) 0.15s both; }

/* ── Contact form ──────────────────────────────────────── */
.form-label { display: block; font-family: 'Instrument Sans', sans-serif; font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 10px; }
.form-input { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 14px 18px; color: #fff; font-family: 'Instrument Sans', sans-serif; font-size: 15px; outline: none; transition: border-color 0.2s ease, background 0.2s ease; appearance: none; -webkit-appearance: none; }
.form-input::placeholder { color: rgba(255,255,255,0.22); }
.form-input:focus { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.06); }
select.form-input { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
select.form-input option { background: #0a0a0f; color: #fff; }
textarea.form-input { resize: vertical; min-height: 140px; line-height: 1.6; }
.service-check { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.1); border-radius: 9999px; padding: 8px 16px; cursor: pointer; color: rgba(255,255,255,0.55); font-family: 'Instrument Sans', sans-serif; font-size: 14px; transition: all 0.2s ease; background: rgba(255,255,255,0.03); user-select: none; }
.service-check:hover { border-color: rgba(255,255,255,0.22); color: #fff; background: rgba(255,255,255,0.06); }
.service-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.service-check:has(input:checked) { border-color: #3054ff; background: rgba(48,84,255,0.15); color: #fff; box-shadow: 0 0 15px rgba(48,84,255,0.15); }

/* ── Video ─────────────────────────────────────────────── */
video.bg-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }

/* ── FAQ accordion ─────────────────────────────────────── */
.faq-item { border-bottom: 1px dashed rgba(255,255,255,0.12); }
.faq-item:first-child { border-top: 1px dashed rgba(255,255,255,0.12); }
.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 28px 0; text-align: left; background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.88); font-family: 'Instrument Sans', sans-serif;
  font-size: 17px; font-weight: 450; letter-spacing: -0.01em; line-height: 1.4;
  transition: color 0.2s ease;
}
.faq-btn:hover { color: #fff; }
.faq-chevron {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.faq-btn[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg); border-color: rgba(180,192,255,0.4);
  color: #b4c0ff; background: rgba(48,84,255,0.12);
}
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease; opacity: 0; }
.faq-answer.is-open { opacity: 1; }
.faq-answer-inner { padding-bottom: 24px; color: rgba(255,255,255,0.55); font-size: 15.5px; line-height: 1.65; max-width: 640px; }

/* ── Service detail cards ──────────────────────────────── */
.svc-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px; padding: 36px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.35s ease, background 0.35s ease;
}
.svc-card:hover { border-color: rgba(255,255,255,0.16); background: rgba(255,255,255,0.035); }
.svc-card .svc-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: rgba(48,84,255,0.12); color: #b4c0ff;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(180,192,255,0.2); margin-bottom: 20px;
}
.svc-card h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; color: #fff; line-height: 1.1; margin-bottom: 12px; }
.svc-card p  { color: rgba(255,255,255,0.55); font-size: 15px; line-height: 1.65; margin-bottom: 20px; }
.svc-features { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.svc-features li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,0.7); font-size: 14.5px; line-height: 1.5; }
.svc-dot { flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: #3054ff; margin-top: 7px; }
/* ── Dropdown Premium Effect ────────────────────────── */
.dropdown-premium {
  background: rgba(10, 10, 14, 0.98) !important; /* Almost solid but keeps deep depth */
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8) !important;
}
.nav-drop-item {
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.nav-drop-item:hover {
  background-color: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}
/* ── Roadmap Steps ────────────────────────────────────── */
.roadmap-step { position: relative; padding-left: 56px; }
.roadmap-step::before {
  content: ""; position: absolute; left: 19px; top: 32px; bottom: -32px;
  width: 1px; border-left: 1px dashed rgba(255,255,255,0.15);
}
.roadmap-step:last-child::before { display: none; }
.roadmap-num {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; font-family: 'Instrument Sans', sans-serif;
  box-shadow: 0 0 15px rgba(255,255,255,0.05);
}

/* ── Comparison Table ──────────────────────────────────── */
.comp-table { width: 100%; border-collapse: collapse; }
.comp-table th, .comp-table td { padding: 24px; border-bottom: 1px solid rgba(255,255,255,0.06); text-align: left; }
.comp-table th { color: rgba(255,255,255,0.4); font-size: 13px; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 500; }
.comp-table td { font-size: 15.5px; }
.comp-check { color: #3054ff; }
.comp-cross { color: rgba(255,255,255,0.2); }

/* ── ROI Calculator Mockup ─────────────────────────────── */
.roi-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 32px; padding: 40px;
}
.roi-slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 5px;
  background: rgba(255,255,255,0.1); outline: none; margin: 20px 0;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #3054ff; cursor: pointer; border: 4px solid #fff;
}

/* ── Tech Badges ───────────────────────────────────────── */
.tech-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 9999px; padding: 6px 14px; font-size: 13px; color: rgba(255,255,255,0.7);
}

/* ── Deliverable Cards ─────────────────────────────────── */
.deliv-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; padding: 24px; transition: all 0.3s ease;
}
.deliv-card:hover { border-color: rgba(48,84,255,0.3); background: rgba(48,84,255,0.03); transform: translateY(-4px); }

/* ── Mobile Navigation Menu ─────────────────────────────── */
#mob-menu {
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}
#mob-menu.is-open {
  transform: translateX(0) !important;
}

/* ── Footer Mobile Fix ──────────────────────────────────────── */
@media (max-width: 767px) {
  #footer-parallax {
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
  }
  /* hide the gradient overlay — not needed when truck is below card */
  #footer-parallax > div:first-child {
    display: none !important;
  }
  /* footer card: take it out of absolute, flow normally first */
  #footer-parallax footer {
    position: relative !important;
    top: auto !important;
    order: 1;
  }
  /* truck image: show below footer card */
  #parallax-truck {
    position: relative !important;
    top: 0 !important;
    inset: auto !important;
    height: 220px !important;
    width: 100% !important;
    overflow: hidden;
    order: 2;
  }
  #parallax-truck img {
    transform: none !important;
  }
}

/* ── Project filter tabs ─────────────────────────────────────── */
.proj-filter { padding: 0.5rem 1.25rem; border-radius: 999px; font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.65); background: transparent; border: 1px solid rgba(255,255,255,0.18); cursor: pointer; transition: all 0.2s ease; white-space: nowrap; }
.proj-filter:hover { color: white; border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.05); }
.proj-filter.active { background: white !important; color: #0a0400 !important; border-color: white !important; font-weight: 600; }

/* ── Project cards ───────────────────────────────────────────── */
.proj-card { text-decoration: none; display: block; }
.proj-card .proj-img-wrap { border-radius: 1rem; overflow: hidden; aspect-ratio: 1/1; position: relative; border: 1px solid rgba(255,255,255,0.08); background: #0d0d12; transition: border-color 0.3s ease; }
.proj-card:hover .proj-img-wrap { border-color: rgba(255,255,255,0.22); }
.proj-card .proj-img-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; transition: opacity 0.4s ease, transform 0.5s ease; }
.proj-card:hover .proj-img-wrap img { opacity: 0.8; transform: scale(1.03); }
.proj-card .proj-logo-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

/* ── Project detail page ─────────────────────────────────────── */
.tech-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.tech-item:last-child { border-bottom: none; }
.tech-icon { width: 2rem; height: 2rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); flex-shrink: 0; }
.gallery-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 0.75rem; border: 1px solid rgba(255,255,255,0.08); }

/* ── Idea / Inspiration cards ───────────────────────────────────────────── */
.idea-card { display: block; text-decoration: none; }
.idea-card .idea-img-wrap { aspect-ratio: 4/3; width: 100%; border-radius: 0.75rem; border: 1px dashed rgba(255,255,255,0.14); background: #0d0d12; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; transition: border-color 0.3s ease; }
.idea-card:hover .idea-img-wrap { border-color: rgba(255,255,255,0.35); }
.idea-card .idea-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.35s ease, transform 0.45s ease; }
.idea-card:hover .idea-img-wrap img { opacity: 1; transform: scale(1.04); }
.idea-card .idea-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.625rem; }
.idea-card .idea-ph-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; }
.idea-link { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; color: rgba(255,255,255,0.45); transition: color 0.2s ease; margin-top: 0.5rem; }
.idea-link:hover { color: white; }
