/* Soufio shared design system */
*,*::before,*::after { box-sizing: border-box; }
html,body { margin:0; padding:0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #050509;
  color: #ECECF1;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(125,135,255,0.35); color: #fff; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 760px) { .wrap { padding: 0 20px; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Nav */
nav.top {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  background: rgba(5,5,9,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 17px; letter-spacing: -0.025em; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.4), transparent 60%),
    linear-gradient(135deg, #6366F1 0%, #A855F7 60%, #EC4899 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 13px; letter-spacing: -0.05em;
  box-shadow: 0 6px 18px rgba(99,102,241,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: rgba(236,236,241,0.55); font-weight: 500; }
@media (max-width: 980px) { .nav-links { display: none; } }
.nav-links a { transition: color 0.18s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.2s; font-family: inherit;
  letter-spacing: -0.005em;
}
.btn-ghost { background: transparent; color: rgba(236,236,241,0.85); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); color: #fff; }
.btn-primary {
  background: #fff; color: #050509;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10), 0 8px 24px rgba(255,255,255,0.06);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 12px 28px rgba(255,255,255,0.10); }

/* Page hero */
.page-hero { padding: 100px 0 80px; position: relative; overflow: hidden; }
.page-hero-mesh {
  position: absolute; inset: -20% 0 auto 0; height: 600px; z-index: -1; pointer-events: none;
  filter: blur(80px); opacity: 0.7;
  background:
    radial-gradient(34% 60% at 25% 30%, rgba(99,102,241,0.45), transparent 70%),
    radial-gradient(28% 50% at 70% 20%, rgba(236,72,153,0.30), transparent 75%);
}
.eyebrow {
  font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
  color: #A5B4FC; margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 700; letter-spacing: -0.045em; line-height: 1.0;
  margin: 0 0 24px; max-width: 920px;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.78) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero h1 .accent {
  background: linear-gradient(135deg, #A5B4FC 0%, #C084FC 50%, #F472B6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero .lead {
  font-size: clamp(17px, 1.5vw, 21px); color: rgba(236,236,241,0.6);
  max-width: 640px; line-height: 1.55;
}

.section { padding: 100px 0; position: relative; }
.section--tight { padding: 70px 0; }
.section h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.05;
  margin: 0 0 20px;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.72) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section h2 .accent {
  background: linear-gradient(135deg, #A5B4FC 0%, #C084FC 50%, #F472B6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section .lead {
  font-size: 18px; color: rgba(236,236,241,0.58); max-width: 620px;
  line-height: 1.55; font-weight: 400; margin: 0;
}
.section-head { margin-bottom: 64px; max-width: 760px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* Capability / service cards */
.caps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 22px; overflow: hidden;
}
@media (max-width: 960px) { .caps-grid { grid-template-columns: 1fr; } }
.cap {
  padding: 36px 32px;
  background: #07070C;
  transition: background 0.2s;
}
.cap:hover { background: rgba(255,255,255,0.025); }
.cap .icon-wrap {
  width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-bg); color: var(--accent);
  margin-bottom: 26px;
}
.cap h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.018em; color: #fff; }
.cap p { font-size: 14.5px; color: rgba(236,236,241,0.58); margin: 0; line-height: 1.6; }
.cap ul {
  list-style: none; padding: 0; margin: 18px 0 0;
  font-size: 13px; color: rgba(236,236,241,0.6); display: flex; flex-direction: column; gap: 8px;
}
.cap ul li::before { content: '— '; color: rgba(255,255,255,0.4); }

/* Quote */
.quote { text-align: center; padding: 30px 0 10px; max-width: 920px; margin: 0 auto; }
.quote blockquote { margin: 0 0 40px; font-size: clamp(22px, 3vw, 38px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.3; color: #fff; }
.quote .by { display: inline-flex; gap: 14px; align-items: center; }
.test-avatar {
  width: 44px; height: 44px; border-radius: 999px;
  background: linear-gradient(135deg, #6366F1, #EC4899);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px;
}
.test-name { font-size: 14px; font-weight: 700; color: #fff; }
.test-role { font-size: 12.5px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* Big stats */
.big-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 760px) { .big-stats { grid-template-columns: repeat(2, 1fr); } }
.big-stat { padding: 50px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,0.05); }
.big-stat:last-child { border-right: none; }
@media (max-width: 760px) { .big-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); } }
.big-stat-v {
  font-size: clamp(36px, 4vw, 52px); font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,0.7));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.big-stat-l { font-size: 13.5px; color: rgba(255,255,255,0.5); }

/* CTA band */
.cta-band { padding: 140px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 50% 50%, rgba(99,102,241,0.20), transparent 70%),
    radial-gradient(30% 40% at 70% 30%, rgba(236,72,153,0.12), transparent 70%);
  filter: blur(40px);
}
.cta-band h2 { font-size: clamp(36px, 6vw, 80px); margin-bottom: 24px; letter-spacing: -0.05em; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,0.6); margin-bottom: 40px; max-width: 580px; margin-left: auto; margin-right: auto; }

/* Footer */
footer { padding: 90px 0 50px; border-top: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.45); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 80px; }
@media (max-width: 880px) { .footer-top { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; color: rgba(255,255,255,0.75); margin: 0 0 20px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 13px; align-items: center; }
.badges { display: inline-flex; gap: 8px; }
.badge { padding: 5px 11px; border-radius: 6px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.6); letter-spacing: 0.4px; }
