/* ══════════════════════════════════════════════════════════════
   v26 sitewide design system — white theme, purple (#7c3aed) accent,
   particle-canvas hero, consistent spacing scale.
   ══════════════════════════════════════════════════════════════ */

:root {
  --v26-gap: 2rem;            /* uniform vertical gap between stacked hero blocks */
  --v26-section-pad: 5.5rem;  /* uniform top/bottom padding for every full-width section */
  --v26-head-gap: 3rem;       /* uniform space between a section heading and its grid */
  --v26-grid-gap: 1.5rem;     /* uniform gap inside every card grid */
}

@media (max-width: 560px) {
  :root { --v26-gap: 1.5rem; --v26-section-pad: 3.5rem; }
}

body { background: #ffffff !important; }
.whatsapp-float { display: none !important; }

/* ── Particle hero screen ── */
.fb-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  color: #0f172a;
}
.fb-hero.is-full { min-height: 100vh; min-height: 100svh; }
.fb-hero.is-compact { min-height: 46vh; }

.fb-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.fb-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15,23,42,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
}

.fb-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
  background-image: radial-gradient(rgba(15,23,42,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* ── Floating wireframe shapes ── */
.fb-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
}
.fb-shape svg { display: block; width: 100%; height: 100%; }
.fb-shape-hex   { top: 14%;  left: 7%;   width: 90px;  height: 90px;  animation: fb-float-a 9s ease-in-out infinite; }
.fb-shape-tri   { top: 68%;  left: 10%;  width: 60px;  height: 60px;  animation: fb-float-b 11s ease-in-out infinite; }
.fb-shape-ring  { top: 20%;  right: 9%;  width: 110px; height: 110px; animation: fb-float-a 13s ease-in-out infinite reverse; }
.fb-shape-plus  { top: 62%;  right: 13%; width: 44px;  height: 44px;  animation: fb-float-b 8s ease-in-out infinite; }
.fb-shape-square{ bottom: 16%; left: 46%; width: 40px; height: 40px; animation: fb-float-a 10s ease-in-out infinite; }

@keyframes fb-float-a {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(10deg); }
}
@keyframes fb-float-b {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(16px) rotate(-12deg); }
}
@media (max-width: 900px) {
  .fb-shape { display: none; }
}

/* ── Hero content ── */
.fb-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--v26-gap);
  padding: var(--v26-section-pad) 1.5rem;
}

.fb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(124,58,237,0.06);
  border: 1px solid rgba(124,58,237,0.2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #5b2bd6;
  animation: fb-fade-up 0.8s 0.15s cubic-bezier(0.16,1,0.3,1) both;
}
.fb-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16,185,129,0.5);
}

.fb-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  max-width: 1100px;
  margin: 0;
  letter-spacing: -0.02em;
  color: #0f172a;
  animation: fb-fade-up 0.9s 0.2s cubic-bezier(0.16,1,0.3,1) both;
}
.fb-hero.is-compact .fb-title { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.fb-title .accent { color: #7c3aed; }

.fb-sub {
  max-width: 640px;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: #475569;
  animation: fb-fade-up 0.9s 0.25s cubic-bezier(0.16,1,0.3,1) both;
}

.fb-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  animation: fb-fade-up 0.9s 0.3s cubic-bezier(0.16,1,0.3,1) both;
}
.fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.9rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  cursor: pointer;
  border: 1px solid transparent;
}
.fb-btn-primary {
  background: #7c3aed;
  color: #fff;
  box-shadow: 0 10px 30px rgba(124,58,237,0.35);
}
.fb-btn-primary:hover {
  background: #6d28d9;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(124,58,237,0.45);
}
.fb-btn-ghost {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
.fb-btn-ghost:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

/* ── Callback request form — first thing visible in the hero ── */
.fb-callback {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 1.85rem 2rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(15,23,42,0.08);
  animation: fb-fade-up 0.8s cubic-bezier(0.16,1,0.3,1) both;
}
.fb-callback-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #5b2bd6;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.fb-callback-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #0f172a;
  margin-bottom: 0.35rem;
}
.fb-callback-sub {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}
.fb-callback-row {
  display: flex;
  gap: 0.6rem;
}
.fb-callback-input {
  flex: 1;
  min-width: 0;
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}
.fb-callback-input::placeholder { color: #94a3b8; }
.fb-callback-input:focus {
  background: #ffffff;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}
.fb-callback-submit {
  padding: 0.95rem 1.6rem;
  border-radius: 12px;
  background: #7c3aed;
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.fb-callback-submit:hover { background: #6d28d9; }
.fb-callback-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.fb-callback-msg { margin-top: 0.9rem; font-size: 0.85rem; display: none; }
.fb-callback-msg.success { color: #22d3a7; display: block; }
.fb-callback-msg.error { color: #f87171; display: block; }
@media (max-width: 480px) {
  .fb-callback-row { flex-direction: column; }
  .fb-callback { padding: 1.5rem; }
}

/* ── Stat chips ── */
.fb-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  animation: fb-fade-up 0.9s 0.4s cubic-bezier(0.16,1,0.3,1) both;
}
.fb-stat { text-align: center; }
.fb-stat-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #0f172a;
}
.fb-stat-label {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (max-width: 560px) { .fb-stats { gap: 1.5rem; } }

/* ── Bottom marquee ticker ── */
.fb-marquee {
  position: relative;
  z-index: 2;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 1.1rem 0;
  overflow: hidden;
}
.fb-marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: fb-marquee-scroll 28s linear infinite;
}
.fb-marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: #334155;
  text-transform: uppercase;
  white-space: nowrap;
}
.fb-marquee-item .sep { color: #7c3aed; font-size: 1.1rem; line-height: 1; }
@keyframes fb-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .fb-marquee-track { animation: none; }
}

@keyframes fb-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .fb-shape,
  .fb-eyebrow, .fb-title, .fb-sub, .fb-actions, .fb-callback, .fb-stats {
    animation: none !important;
  }
}

/* ══════════ Below-the-fold sections (used on every page) ══════════ */
.v26-section {
  position: relative;
  background: #ffffff;
  color: #0f172a;
  padding: var(--v26-section-pad) 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.v26-section.alt { background: #f8fafc; }
.v26-section.tight { padding-top: calc(var(--v26-section-pad) * 0.6); padding-bottom: calc(var(--v26-section-pad) * 0.6); }
.v26-container { max-width: 1180px; margin: 0 auto; }
.v26-container.narrow { max-width: 820px; }
.v26-head { text-align: center; max-width: 640px; margin: 0 auto var(--v26-head-gap); }
.v26-head.left { text-align: left; margin: 0 0 var(--v26-head-gap); max-width: 100%; }
.v26-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: 0.75rem;
}
.v26-head h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #0f172a;
  margin: 0;
}
.v26-head p { color: #64748b; margin-top: 0.9rem; line-height: 1.6; font-size: 1rem; }

.v26-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.85rem;
  box-shadow: 0 2px 10px rgba(15,23,42,0.02);
  transition: all 0.25s ease;
}
.v26-card:hover {
  border-color: rgba(124,58,237,0.35);
  box-shadow: 0 12px 30px rgba(124,58,237,0.08);
  transform: translateY(-3px);
}

.v26-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--v26-grid-gap); }
.v26-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--v26-grid-gap); }
.v26-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--v26-grid-gap); }
@media (max-width: 980px) {
  .v26-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .v26-grid-3 { grid-template-columns: 1fr; }
  .v26-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .v26-grid-4 { grid-template-columns: 1fr; }
}

.v26-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.25);
  color: #7c3aed;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.v26-card h3 { font-family: 'Sora', sans-serif; font-size: 1.1rem; color: #0f172a; margin: 0 0 0.5rem; }
.v26-card p { color: #64748b; font-size: 0.9rem; line-height: 1.6; margin: 0; }

.v26-step-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: #7c3aed;
  margin-bottom: 0.6rem;
}

.v26-portfolio-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-bottom: 1.25rem;
}
.v26-portfolio-link {
  display: inline-block;
  margin-top: 0.9rem;
  color: #7c3aed;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}
.v26-portfolio-link:hover { color: #5b2bd6; }

.v26-testi-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 0.6rem; letter-spacing: 2px; }
.v26-testi-role { color: #94a3b8; font-size: 0.82rem; margin-bottom: 0.75rem; }
.v26-testi-quote { color: #334155; font-size: 0.92rem; line-height: 1.6; font-style: italic; }

.v26-cta-box {
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: 22px;
  background: rgba(124,58,237,0.05);
  border: 1px solid rgba(124,58,237,0.2);
}
.v26-cta-box h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: #0f172a;
  margin: 0;
}
.v26-cta-box p { color: #64748b; max-width: 520px; margin: 1rem auto 1.75rem; line-height: 1.6; }

/* Two-column split layout (image + text, form + info, etc.) */
.v26-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) {
  .v26-split { grid-template-columns: 1fr; gap: 2.5rem; }
}
.v26-split-img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  object-fit: cover;
  display: block;
  box-shadow: 0 20px 50px rgba(15,23,42,0.06);
}

/* Generic prose block used on legal / content pages */
.v26-prose { color: #334155; font-size: 1.02rem; line-height: 1.8; }
.v26-prose h2 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.4rem; color: #0f172a; margin: 2.25rem 0 0.85rem; }
.v26-prose h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.15rem; color: #0f172a; margin: 1.75rem 0 0.75rem; }
.v26-prose h2:first-child, .v26-prose h3:first-child { margin-top: 0; }
.v26-prose p { margin-bottom: 1.4rem; }
.v26-prose ul, .v26-prose ol { margin: 0.75rem 0 1.4rem 1.25rem; }
.v26-prose li { margin-bottom: 0.4rem; }
.v26-prose a { color: #7c3aed; }
.v26-prose img { border-radius: 16px; margin: 2rem 0; max-width: 100%; height: auto; display: block; }

/* Simple form field styling reused on contact / careers / internship forms */
.v26-field { margin-bottom: 1.1rem; text-align: left; }
.v26-field label { display: block; font-size: 0.85rem; font-weight: 600; color: #334155; margin-bottom: 0.35rem; }
.v26-input, .v26-textarea, .v26-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}
.v26-textarea { resize: vertical; min-height: 120px; }
.v26-input:focus, .v26-textarea:focus, .v26-select:focus {
  background: #ffffff;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

/* ── Back-to-top button (sitewide) ── */
.v26-to-top {
  position: fixed;
  right: 1.75rem;
  bottom: 1.75rem;
  z-index: 40;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(124,58,237,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.v26-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.v26-to-top:hover { background: #6d28d9; }
@media (prefers-reduced-motion: reduce) {
  .v26-to-top { transition: opacity 0.15s ease; }
}
@media (max-width: 560px) {
  .v26-to-top { right: 1.1rem; bottom: 1.1rem; width: 42px; height: 42px; }
}
