/* O16 Labs — Shared styles for static pages */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #1a56db;
  --primary-dark: #1e429f;
  --primary-light: #e8f0fe;
  --dark: #0b1220;
  --text: #1f2937;
  --muted: #64748b;
  --bg: #ffffff;
  --soft: #f7f9fc;
  --border: #e5e7eb;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}
html, body { font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--text); background: #fff; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Topbar */
.topbar { background: var(--dark); color: #cbd5e1; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; }
.topbar .contact span { margin-right: 18px; }
.topbar .socials a { margin-left: 12px; opacity: .85; }

/* Header */
header.site { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
header.site .container { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--dark); font-size: 20px; }
.logo .dot { width: 26px; height: 26px; background: var(--primary); border-radius: 50%; display: inline-block; }
nav ul { list-style: none; display: flex; gap: 28px; }
nav a { font-weight: 500; color: #334155; font-size: 15px; }
nav a.active, nav a:hover { color: var(--primary); }
.header-cta { display: flex; gap: 10px; }
.btn { display: inline-block; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; transition: .2s; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }

/* Breadcrumb */
.breadcrumb { padding: 20px 0 0; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

/* Hero */
.hero { padding: 40px 0 60px; }
.hero .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.15; color: var(--dark); font-weight: 800; margin-bottom: 18px; }
.hero h1 .accent { color: var(--primary); }
.hero p.lead { color: var(--muted); font-size: 16px; margin-bottom: 26px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; margin-bottom: 30px; }
.hero-visual { display: flex; justify-content: center; align-items: center; min-height: 320px; position: relative; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border: 1px solid var(--border); border-radius: 14px; padding: 24px; background: #fff; box-shadow: var(--shadow); }
.stat { display: flex; align-items: center; gap: 14px; }
.stat .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-size: 18px; border: 1px solid rgba(26,86,219,.15); }
.stat .icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.stat .num { font-size: 22px; font-weight: 800; color: var(--dark); }
.stat .lbl { font-size: 13px; color: var(--muted); }

/* Sections */
section { padding: 70px 0; }
.eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700; text-align: center; margin-bottom: 10px; }
h2.section-title { font-size: 34px; font-weight: 800; color: var(--dark); text-align: center; margin-bottom: 12px; }
h2.section-title .accent { color: var(--primary); }
.section-sub { color: var(--muted); text-align: center; max-width: 620px; margin: 0 auto 40px; }

/* Trusted */
.trusted { padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.trusted .row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }
.trusted small { color: var(--muted); font-size: 13px; }
.trusted .brand { font-weight: 700; color: #94a3b8; font-size: 18px; }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards.col-4 { grid-template-columns: repeat(4, 1fr); }
.cards.col-6 { grid-template-columns: repeat(6, 1fr); }
.card { border: 1px solid var(--border); border-radius: 12px; padding: 24px; background: #fff; transition: .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.card .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.card h3 { font-size: 16px; margin-bottom: 8px; color: var(--dark); font-weight: 700; }
.card p { color: var(--muted); font-size: 14px; }

/* CTA banner */
.cta-band { background: var(--primary); color: #fff; padding: 28px 32px; border-radius: 14px; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 40px 0; }
.cta-band h3 { font-size: 22px; margin-bottom: 6px; }
.cta-band p { opacity: .9; font-size: 14px; }
.cta-band .btn { background: #fff; color: var(--primary); }
.cta-band .btn:hover { background: #f1f5f9; }

/* Process */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 40px; position: relative; }
.step { text-align: center; }
.step .badge { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; margin: 0 auto 12px; font-weight: 700; }
.step h4 { font-size: 15px; color: var(--dark); margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }

.section-faq {
  padding: 80px 0;
  background: #fff;
}
.section-faq .section-title {
  margin-bottom: 48px;
  font-size: 36px;
}
.faq-box {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  border: 1px solid #e8edf3;
  border-radius: 20px;
  padding: 48px 52px;
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.06);
}
.faq-visual {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-visual-bg {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.15) 0%, rgba(26, 86, 219, 0.02) 70%);
}
.faq-visual-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px dashed rgba(26, 86, 219, 0.15);
  animation: faqSpin 30s linear infinite;
}
@keyframes faqSpin { to { transform: rotate(360deg); } }
.faq-bubble {
  position: absolute;
  border-radius: 24px;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(26, 86, 219, 0.25), inset 0 1px 0 rgba(255,255,255,0.3);
}
.faq-bubble-lg {
  width: 150px;
  height: 120px;
  background: linear-gradient(145deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
  top: 18%;
  left: 12%;
  z-index: 2;
  animation: faqFloat 5s ease-in-out infinite;
}
.faq-bubble-sm {
  width: 110px;
  height: 90px;
  background: linear-gradient(145deg, #60a5fa 0%, #3b82f6 100%);
  bottom: 18%;
  right: 10%;
  z-index: 3;
  animation: faqFloat 5s ease-in-out infinite 1.5s;
}
@keyframes faqFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.faq-bubble-icon {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.faq-bubble-dots {
  display: flex;
  gap: 8px;
}
.faq-bubble-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: block;
}
.faq-bubble-tail {
  position: absolute;
  bottom: -12px;
  left: 24px;
  width: 20px;
  height: 20px;
  background: inherit;
  transform: rotate(45deg);
  border-radius: 4px;
  box-shadow: 4px 4px 8px rgba(26, 86, 219, 0.15);
}
.faq-bubble-sm .faq-bubble-tail { left: auto; right: 20px; background: #3b82f6; }
.faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.faq-item.open {
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.08);
  border-color: rgba(26, 86, 219, 0.25);
  border-left: 3px solid #1a56db;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 14px;
  color: #0f172a;
  text-align: left;
  background: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.45;
}
.faq-q:hover { color: #1a56db; }
.faq-q .plus {
  color: #1a56db;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .25s;
}
.faq-a {
  color: #64748b;
  font-size: 14px;
  line-height: 1.75;
  padding: 0 20px 18px;
  display: none;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .plus { transform: rotate(45deg); }

@media (max-width: 900px) {
  .faq-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }
  .faq-visual { min-height: 220px; }
}


/* Testimonials */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { background: var(--soft); padding: 24px; border-radius: 12px; }
.stars { color: #fbbf24; margin-bottom: 10px; }
.testi p { font-size: 14px; color: var(--text); margin-bottom: 16px; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-weight: 700; }
.who .name { font-weight: 700; color: var(--dark); font-size: 14px; }
.who .role { font-size: 12px; color: var(--muted); }

/* Footer */
footer.site { background: var(--dark); color: #cbd5e1; padding: 60px 0 20px; margin-top: 40px; }
footer.site .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr; gap: 32px; }
footer.site h5 { color: #fff; font-size: 15px; margin-bottom: 16px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; font-size: 14px; }
footer.site a:hover { color: var(--primary); }
footer .base { border-top: 1px solid #1e293b; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; color: #94a3b8; }

/* Hero visual mockups */
.mock-phones, .mock-dash { width: 100%; max-width: 500px; }
.blob { position: absolute; inset: 0; background: radial-gradient(circle at 60% 40%, rgba(26,86,219,.12), transparent 60%); border-radius: 50%; z-index: 0; }
.mock-dash-box { background: #0b1220; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); color: #fff; position: relative; z-index: 1; width: 100%; }
.mock-dash-box .row { display: flex; gap: 12px; margin-bottom: 12px; }
.mock-dash-box .kpi { flex: 1; background: #111a2e; border-radius: 8px; padding: 12px; }
.mock-dash-box .kpi .n { color: #fff; font-weight: 700; font-size: 16px; }
.mock-dash-box .kpi .l { color: #94a3b8; font-size: 11px; }
.mock-dash-box .chart { height: 120px; background: linear-gradient(180deg, rgba(26,86,219,.35), transparent), #111a2e; border-radius: 8px; position: relative; overflow: hidden; }
.mock-dash-box .chart::after { content: ''; position: absolute; left: 0; right: 0; bottom: 20%; height: 2px; background: var(--primary); box-shadow: 0 -8px 20px var(--primary); }

/* Phone mock */
.phone { width: 190px; height: 380px; border-radius: 32px; background: #0b1220; padding: 10px; box-shadow: var(--shadow); position: relative; z-index: 1; }
.phone .screen { background: linear-gradient(180deg, #1a56db, #0b1220); border-radius: 24px; width: 100%; height: 100%; padding: 16px; color: #fff; }
.phone .screen .bar { height: 8px; background: rgba(255,255,255,.2); border-radius: 4px; margin-bottom: 8px; }
.phone .screen .bar.short { width: 60%; }
.phones { display: flex; gap: 16px; position: relative; z-index: 1; }
.phones .phone:nth-child(2) { transform: translateY(24px); }

/* Laptop mock */
.laptop { width: 100%; max-width: 480px; background: #0b1220; border-radius: 16px 16px 4px 4px; padding: 14px; position: relative; z-index: 1; box-shadow: var(--shadow); }
.laptop::after { content: ''; display: block; height: 8px; background: #1e293b; margin: 10px -20px -14px; border-radius: 0 0 20px 20px; }
.laptop .code { font-family: 'Courier New', monospace; color: #64d2ff; font-size: 12px; background: #050914; border-radius: 8px; padding: 16px; height: 220px; line-height: 1.6; overflow: hidden; }
.laptop .code .k { color: #f472b6; }
.laptop .code .s { color: #fbbf24; }

/* Service card link */
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--primary); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.card-link:hover { gap: 10px; }
.card-link svg { width: 14px; height: 14px; }

/* Check list */
.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; color: var(--text); font-size: 15px; }
.check-list .check { width: 22px; height: 22px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; font-size: 12px; font-weight: 700; }

/* Process timeline */
.process-timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 50px; position: relative; }
.process-timeline::before { content: ''; position: absolute; top: 23px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 6px, transparent 6px, transparent 12px); z-index: 0; }
.process-timeline .step { position: relative; z-index: 1; }
.process-timeline .badge { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); color: var(--primary); display: grid; place-items: center; margin: 0 auto 14px; font-weight: 700; font-size: 14px; }

/* Tech stack */
/* Tech Stack section */
.section-stack {
  padding: 90px 0;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.section-stack .section-title { margin-bottom: 12px; font-size: 36px; }
.stack-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.stack-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  padding: 22px 16px 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  min-height: 160px;
}
.stack-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 86, 219, 0.1);
  border-color: rgba(26, 86, 219, 0.2);
}
.stack-label {
  display: block;
  font-size: 11px;
  color: #1a56db;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 18px;
}
.stack-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 12px;
  justify-content: center;
}
.stack-tech { text-align: center; width: 56px; }
.stack-tech img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
  transition: transform .25s;
}
.stack-tech:hover img { transform: scale(1.12); }
.stack-tech span { font-size: 10px; color: #64748b; font-weight: 600; line-height: 1.2; display: block; }

/* Success Stories */
.section-stories {
  padding: 70px 0 85px;
  background: #f8fbff;
}
.section-stories .section-title { margin-bottom: 6px; font-size: 30px; }
.section-stories .section-sub {
  color: #64748b;
  max-width: 520px;
  margin-top: 6px;
  font-size: 13px;
}
.stories-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.story-item {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  min-height: 220px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.story-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
  border-color: rgba(59, 130, 246, 0.18);
}
.story-text {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #2563eb;
  background: rgba(59, 130, 246, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.85px;
  margin-bottom: 10px;
}
.story-text h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.22;
  margin-bottom: 10px;
}
.story-text p {
  font-size: 12px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 14px;
  max-width: 100%;
}
.story-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.story-link span { transition: transform .2s ease; }
.story-link:hover span { transform: translateX(3px); }
.story-mock {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 100%;
}
.story-mock-fintech { background: rgba(59, 130, 246, 0.06); }
.story-mock-health { background: rgba(16, 185, 129, 0.06); }
.story-mock-shop { background: rgba(236, 72, 153, 0.06); }
.story-mock .phones {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.story-mock .phone {
  width: 88px;
  height: 220px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.1);
}
.screen-bank { background: linear-gradient(180deg, #1d4ed8 0%, #0f172a 100%) !important; }
.bank-balance { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.screen-shop { background: #ffffff !important; color: #0f172a !important; }
.shop-hero { height: 70px; background: linear-gradient(135deg, #ec4899, #8b5cf6); border-radius: 14px; margin-bottom: 12px; }
.shop-phone { width: 88px; height: 220px; }
.browser-mock {
  width: 140px;
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.95);
}
.browser-dots {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}
.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}
.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #22c55e; }
.browser-body { padding: 16px; }
.health-kpis {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.health-kpis div {
  flex: 1;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 10px;
}
.health-kpis small { display: block; font-size: 9px; color: #64748b; margin-bottom: 4px; }
.health-kpis strong { font-size: 16px; color: #15803d; }
.health-chart {
  height: 80px;
  background: linear-gradient(180deg, rgba(34,197,94,.25), transparent), #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  position: relative;
}
.health-chart::after {
  content: '';
  position: absolute;
  bottom: 30%;
  left: 0;
  right: 0;
  height: 2px;
  background: #22c55e;
  box-shadow: 0 -6px 16px rgba(34,197,94,.4);
}

/* Engagement Models */
.section-engage {
  padding: 90px 0;
  background: #f8fafc;
}
.section-engage .section-title { margin-bottom: 12px; font-size: 36px; }
.engage-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.engage-item {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  padding: 36px 28px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.engage-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 86, 219, 0.1);
  border-color: rgba(26, 86, 219, 0.25);
}
.engage-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  border: 2px solid #dbeafe;
  background: linear-gradient(135deg, #eff6ff, #fff);
  color: #1a56db;
  display: grid;
  place-items: center;
  transition: background .3s, border-color .3s;
}
.engage-item:hover .engage-icon-wrap {
  background: linear-gradient(135deg, #1a56db, #2563eb);
  border-color: #1a56db;
  color: #fff;
}
.engage-icon-wrap svg { width: 28px; height: 28px; }
.engage-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}
.engage-item p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 20px;
}
.engage-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1a56db;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.engage-link span { transition: transform .2s; }
.engage-link:hover span { transform: translateX(4px); }

/* Testimonials */
.section-testimonials {
  padding: 90px 0;
  background: #fff;
}
.section-testimonials .section-title {
  margin-bottom: 12px;
  font-size: 36px;
  color: #0f172a;
}
.testi-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}
.testi-viewport {
  flex: 1;
  overflow: hidden;
}
.testi-track {
  display: flex;
  gap: 24px;
  transition: transform .45s ease;
}
.testi-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  padding: 32px 28px 28px;
  text-align: left;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}
.testi-quote {
  font-size: 48px;
  line-height: 1;
  color: #dbeafe;
  font-weight: 800;
  font-family: Georgia, serif;
  margin-bottom: -8px;
}
.testi-card .stars {
  color: #fbbf24;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testi-card blockquote {
  font-size: 14px;
  color: #475569;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
  min-height: 80px;
  border: none;
  padding: 0;
}
.testi-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a56db, #3b82f6);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.testi-author {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}
.testi-role {
  font-size: 12px;
  color: #94a3b8;
}
.testi-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #1a56db;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: background .2s, transform .2s;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.35);
}
.testi-arrow:hover {
  background: #1e40af;
  transform: scale(1.05);
}

@media (max-width: 1100px) {
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  .story-item { grid-template-columns: 1fr; }
  .story-mock { min-height: 200px; }
  .engage-row { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .testi-card { flex: 0 0 calc(50% - 12px); min-width: calc(50% - 12px); }
}
@media (max-width: 700px) {
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .testi-card { flex: 0 0 100%; min-width: 100%; }
  .testi-arrow { width: 40px; height: 40px; font-size: 20px; }
  .story-text { padding: 28px 24px; }
  .story-text h3 { font-size: 18px; }
}

/* Blog cards */
.blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.blog-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; transition: .25s; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-card .thumb { height: 180px; background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 50%, #60a5fa 100%); position: relative; overflow: hidden; }
.blog-card .thumb::after { content: ''; position: absolute; inset: 20%; background: rgba(255,255,255,.15); border-radius: 8px; }
.blog-card .body { padding: 22px; }
.blog-card h3 { font-size: 16px; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

/* CTA Banner */
.section-cta {
  padding: 60px 0 80px;
  background: #fff;
}
.cta-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(135deg, #1a56db 0%, #0047cc 100%);
  border-radius: 20px;
  padding: 48px 50px;
  overflow: hidden;
  color: #fff;
}
.cta-dots {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  mask-image: radial-gradient(ellipse at 80% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 50%, #000 0%, transparent 70%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  flex: 0 0 42%;
  max-width: 420px;
}
.cta-content h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
  color: #fff;
}
.cta-content p {
  font-size: 15px;
  opacity: 0.92;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #fff;
}
.cta-btn {
  background: #fff !important;
  color: #1a56db !important;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.cta-btn:hover {
  background: #f1f5f9 !important;
  transform: translateY(-1px);
}
.cta-stats {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}
.cta-stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}
.cta-stat:first-child { border-left: none; }
.cta-stat .num {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
  color: #fff;
}
.cta-stat .lbl {
  font-size: 12px;
  opacity: 0.88;
  line-height: 1.35;
  color: #fff;
}

@media (max-width: 900px) {
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    gap: 32px;
  }
  .cta-content { flex: none; max-width: 100%; }
  .cta-stats {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .cta-stat {
    flex: 0 0 50%;
    padding: 16px 12px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .cta-stat:nth-child(1),
  .cta-stat:nth-child(2) { border-top: none; }
  .cta-stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.2); }
}
@media (max-width: 480px) {
  .cta-stat { flex: 0 0 100%; border-right: none !important; }
}


/* Footer form */
.footer-form input, .footer-form textarea { width: 100%; padding: 10px 14px; border-radius: 8px; border: 1px solid #334155; background: #111827; color: #e2e8f0; font-size: 14px; margin-bottom: 10px; font-family: inherit; }
.footer-form textarea { min-height: 80px; resize: vertical; }
.footer-form input::placeholder, .footer-form textarea::placeholder { color: #64748b; }
.footer-form .btn { width: 100%; margin-top: 4px; }

/* Hero — Custom Software page */
.hero-cs {
  padding: 36px 0 56px;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 55%);
  overflow: hidden;
}
.hero.hero-cs { padding-bottom: 56px; }
figure.device-showcase,
figure.hero-showcase { margin: 0; border: none; padding: 0; }
.breadcrumb-hero {
  padding: 0 0 32px;
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb-hero a:hover { color: var(--primary); }
.breadcrumb-hero .current { color: #64748b; }
.breadcrumb-hero .sep { color: #cbd5e1; font-size: 11px; }

.hero-cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 40px;
  align-items: center;
}
.hero-cs-content h1 {
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.1;
  color: #0f172a;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero-cs-content h1 .accent { color: #1a56db; }
.hero-sub {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.55;
  margin-bottom: 16px;
  max-width: 520px;
}
.hero-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-cs .hero-cta { margin-bottom: 0; gap: 14px; flex-wrap: wrap; }
.hero-cs .btn {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 8px;
}
.hero-cs .btn-primary {
  background: #1a56db;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.35);
}
.hero-cs .btn-primary:hover {
  background: #1e40af;
  box-shadow: 0 6px 20px rgba(26, 86, 219, 0.4);
}
.hero-cs .btn-outline {
  border-width: 1.5px;
  color: #1a56db;
  border-color: #1a56db;
  background: #fff;
}
.hero-cs .btn-outline:hover { background: #eff6ff; }

figure.hero-showcase { margin: 0; border: none; padding: 0; }

.hero-cs-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 20px;
}

/* Background decor */
.showcase-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.showcase-dots {
  position: absolute;
  left: 2%;
  top: 6%;
  width: 88px;
  height: 104px;
  background-image: radial-gradient(circle, #c5d0de 1.8px, transparent 1.8px);
  background-size: 13px 13px;
  opacity: 0.9;
}
.showcase-blob {
  position: absolute;
  border-radius: 36px;
  z-index: 0;
}
.showcase-blob-1 {
  width: 78%;
  height: 72%;
  right: 0;
  top: 12%;
  background: rgba(186, 212, 252, 0.38);
  transform: rotate(-6deg);
}
.showcase-blob-2 {
  width: 55%;
  height: 50%;
  right: 12%;
  top: 22%;
  background: rgba(219, 234, 254, 0.55);
  transform: rotate(4deg);
  border-radius: 28px;
}

/* Showcase container */
.hero-showcase {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  min-height: 340px;
}

/* Floating badges */
.hero-showcase .hero-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}
.float-badge {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #1a56db;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(26, 86, 219, 0.38);
  animation: heroFloat 4.5s ease-in-out infinite;
}
.float-badge svg { width: 22px; height: 22px; }
.float-code { top: 2%; left: 6%; animation-delay: 0s; }
.float-gear { top: 52%; left: 0; animation-delay: 1.2s; }
.float-brace { bottom: 18%; right: 2%; animation-delay: 2.4s; }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* MacBook 3D */
.macbook-stage {
  position: relative;
  z-index: 3;
  margin: 24px auto 0;
  max-width: 400px;
  transform: perspective(1400px) rotateY(-20deg) rotateX(4deg);
  filter: drop-shadow(0 28px 40px rgba(15, 23, 42, 0.16));
}
.macbook { width: 100%; }

.macbook-lid {
  background: linear-gradient(165deg, #e4e8ee 0%, #c4ccd8 40%, #aeb8c6 100%);
  border-radius: 14px 14px 4px 4px;
  padding: 10px 10px 8px;
  border: 1px solid #a0aab8;
  position: relative;
}
.macbook-bezel {
  background: #0a0a0a;
  border-radius: 6px;
  padding: 6px 6px 5px;
  position: relative;
}
.macbook-camera {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  z-index: 2;
}
.macbook-screen {
  background: #1e1e1e;
  border-radius: 3px;
  overflow: hidden;
  min-height: 210px;
}

/* VS Code UI */
.vscode {
  display: flex;
  min-height: 210px;
  font-size: 9px;
}
.vscode-side {
  width: 32%;
  background: #252526;
  border-right: 1px solid #1a1a1a;
  display: flex;
  flex-direction: column;
}
.vs-activity {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 5px;
  border-bottom: 1px solid #1a1a1a;
}
.vs-activity span {
  width: 14px;
  height: 2px;
  background: #555;
  border-radius: 1px;
  margin: 0 auto;
}
.vs-activity span.active { background: #fff; width: 16px; }
.vs-explorer { padding: 6px 4px; flex: 1; }
.vs-folder, .vs-file {
  color: #ccc;
  padding: 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
}
.vs-folder i, .vs-file i {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 1px;
}
.vs-folder i { background: #dcb67a; }
.vs-file i { background: #519aba; }
.vs-folder.open { color: #fff; font-weight: 600; }
.vs-file.indent { padding-left: 10px; }
.vs-file.indent2 { padding-left: 18px; }
.vs-folder.indent { padding-left: 10px; }
.vs-file.sel {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 2px;
}

.vscode-main { flex: 1; display: flex; flex-direction: column; }
.vs-tabbar {
  display: flex;
  background: #2d2d2d;
  border-bottom: 1px solid #1a1a1a;
}
.vs-tabbar span {
  padding: 5px 10px;
  color: #888;
  border-right: 1px solid #1a1a1a;
  font-family: Consolas, monospace;
}
.vs-tabbar span.active {
  background: #1e1e1e;
  color: #fff;
}
.vs-code {
  padding: 8px 6px;
  font-family: Consolas, 'Courier New', monospace;
  font-size: 8.5px;
  line-height: 1.65;
  flex: 1;
  color: #d4d4d4;
}
.code-line { display: flex; gap: 8px; }
.code-line .n {
  color: #5a5a5a;
  min-width: 12px;
  text-align: right;
  user-select: none;
}
.vs-code .c { color: #569cd6; }
.vs-code .k { color: #9cdcfe; }
.vs-code .f { color: #dcdcaa; }
.vs-code .s { color: #ce9178; }
.vs-code .t { color: #4ec9b0; }
.vs-code .a { color: #9cdcfe; }

/* MacBook base / keyboard */
.macbook-base {
  position: relative;
  padding-top: 4px;
}
.macbook-deck {
  height: 12px;
  margin: 0 5%;
  background: linear-gradient(180deg, #cdd4dc 0%, #a8b2c0 50%, #95a0af 100%);
  border-radius: 0 0 10px 10px;
  position: relative;
  transform: perspective(600px) rotateX(65deg);
  transform-origin: top center;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.14);
}
.macbook-deck::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16%;
  height: 3px;
  background: #8893a2;
  border-radius: 0 0 3px 3px;
}
.macbook-keys,
.macbook-trackpad { display: none; }
.macbook-edge-glow {
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, #3b82f6 30%, #60a5fa 50%, #3b82f6 70%, transparent 95%);
  box-shadow: 0 0 12px 3px rgba(59, 130, 246, 0.5);
  z-index: 4;
}

/* Hero stats row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
  padding: 28px 0 0;
  border-top: 1px solid #e8edf3;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
}
.hero-stat-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: #1a56db;
  display: grid;
  place-items: center;
  background: #eff6ff;
  border-radius: 12px;
}
.hero-stat-icon svg { width: 24px; height: 24px; }
.hero-stat-text {
  font-size: 14px;
  color: #64748b;
  line-height: 1.4;
}
.hero-stat-text strong {
  color: #0f172a;
  font-weight: 800;
  font-size: 16px;
  margin-right: 4px;
}

/* Hero trusted banner */
.hero-trusted {
  margin-top: 40px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.07);
  padding: 32px 48px 36px;
  text-align: center;
}
.hero-trusted-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 28px;
  letter-spacing: 0;
}
.hero-trusted-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 32px;
  max-width: 920px;
  margin: 0 auto;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s, transform 0.2s;
}
.brand-logo:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.brand-logo svg {
  display: block;
  width: auto;
  height: 28px;
}
.brand-logo.brand-mow svg { height: 26px; }
.brand-logo.brand-vibe svg { height: 24px; }
.brand-logo.brand-encore svg { height: 30px; }
.brand-logo.brand-clutch svg { height: 26px; }
.brand-logo.brand-good svg { height: 28px; }

/* Why Choose section */
.section-why {
  padding: 80px 0;
  background: #fff;
}
.section-why .section-title {
  margin-bottom: 48px;
  font-size: 36px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.why-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 28px 18px 24px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: transform .25s, box-shadow .25s;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.why-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: #1a56db;
  display: grid;
  place-items: center;
}
.why-icon svg { width: 34px; height: 34px; }
.why-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.35;
}
.why-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

/* Services section */
.section-services {
  padding: 80px 0;
  background: #f8fafc;
}
.section-services .section-title {
  margin-bottom: 48px;
  font-size: 36px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 24px 22px 22px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.service-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.service-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #1a56db;
  display: grid;
  place-items: center;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  padding-top: 4px;
}
.service-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1a56db;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
}
.service-link span { font-size: 14px; transition: transform .2s; }
.service-link:hover span { transform: translateX(4px); }

@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .why-grid, .service-grid { grid-template-columns: 1fr; }
  .section-why .section-title, .section-services .section-title { font-size: 28px; }
}

/* Business Growth section */
.section-growth {
  padding: 80px 0;
  background: #fff;
}
.growth-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.growth-content h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.growth-content h2 .accent { color: #1a56db; }
.growth-p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 16px;
}
.growth-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}
.growth-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
  line-height: 1.5;
}
.growth-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1a56db;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.growth-visual {
  position: relative;
  min-height: 420px;
}
.growth-dots {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, #cbd5e1 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.7;
  z-index: 0;
}

/* SaaS Dashboard mockup */
.saas-dash {
  position: relative;
  z-index: 1;
  display: flex;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8edf3;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  min-height: 400px;
}
.saas-sidebar {
  width: 72px;
  background: linear-gradient(180deg, #1a56db 0%, #1e40af 100%);
  padding: 16px 10px;
  flex-shrink: 0;
}
.saas-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.saas-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.saas-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  font-size: 9px;
  text-align: center;
  line-height: 1.2;
}
.saas-nav a.active,
.saas-nav a:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.saas-nav .nav-ico { font-size: 14px; }

.saas-main {
  flex: 1;
  padding: 16px 18px 18px;
  background: #f8fafc;
  min-width: 0;
}
.saas-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.saas-topbar h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}
.saas-search {
  width: 100px;
  height: 28px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.saas-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.saas-kpi {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  padding: 10px 10px 8px;
}
.saas-kpi .kpi-label {
  display: block;
  font-size: 9px;
  color: #94a3b8;
  margin-bottom: 4px;
}
.saas-kpi strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.2;
}
.saas-kpi .up {
  font-style: normal;
  font-size: 9px;
  color: #22c55e;
  font-weight: 600;
}

.saas-charts {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.saas-chart-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  padding: 12px;
}
.chart-head {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 10px;
}
.line-chart {
  height: 70px;
}
.line-chart svg { width: 100%; height: 100%; }

.donut-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.donut-chart {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(#1a56db 0 35%, #3b82f6 35% 60%, #22d3ee 60% 80%, #94a3b8 80% 100%);
  position: relative;
  flex-shrink: 0;
}
.donut-chart::after {
  content: '';
  position: absolute;
  inset: 14px;
  background: #fff;
  border-radius: 50%;
}
.donut-legend {
  list-style: none;
  padding: 0;
  font-size: 9px;
  color: #64748b;
}
.donut-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.donut-legend span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

.saas-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.saas-panel {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  padding: 12px;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
}
.activity-row:last-child { border-bottom: none; }
.activity-row .avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e8f0fe;
  color: #1a56db;
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.activity-row strong {
  display: block;
  font-size: 10px;
  color: #334155;
  font-weight: 600;
}
.activity-row small {
  font-size: 8px;
  color: #94a3b8;
}
.task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  font-size: 10px;
  color: #475569;
}
.task-row .progress {
  width: 60px;
  height: 5px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.task-row .progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1a56db, #3b82f6);
  border-radius: 4px;
}

@media (max-width: 1000px) {
  .growth-grid { grid-template-columns: 1fr; gap: 40px; }
  .growth-visual { min-height: auto; }
}
@media (max-width: 640px) {
  .saas-kpis { grid-template-columns: 1fr 1fr; }
  .saas-charts, .saas-bottom { grid-template-columns: 1fr; }
}

/* Industries section */
.section-industries {
  padding: 80px 0;
  background: #f8fafc;
}
.section-industries .section-title {
  margin-bottom: 48px;
  font-size: 36px;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.industry-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 28px 16px 24px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: transform .25s, box-shadow .25s;
}
.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.industry-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  color: #1a56db;
  display: grid;
  place-items: center;
}
.industry-icon svg { width: 36px; height: 36px; }
.industry-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.3;
}
.industry-card p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .section-industries .section-title { font-size: 28px; }
}
@media (max-width: 420px) {
  .industry-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-cs-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-cs-visual { min-height: auto; }
  .macbook-stage { max-width: 360px; transform: perspective(1200px) rotateY(-12deg) rotateX(2deg); margin-top: 16px; }
  .hero-showcase { max-width: 420px; margin: 0 auto; }
  .float-code { left: 2%; }
  .float-brace { right: 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-trusted { padding: 24px 20px; }
  .hero-trusted-logos {
    justify-content: center;
    gap: 20px 28px;
  }
  .brand-logo svg { height: 22px; }
  .brand-logo.brand-encore svg { height: 24px; }
  .hero-cs-content h1 { font-size: 30px; }
}

/* Topbar social */
.topbar .social-icons { display: flex; gap: 14px; align-items: center; }
.topbar .social-icons a { color: #94a3b8; font-size: 14px; transition: .2s; }
.topbar .social-icons a:hover { color: #fff; }
.topbar .socials { display: flex; align-items: center; gap: 20px; }

/* Nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; transition: .2s; }

/* Industry cards compact */
.industry-card { text-align: center; padding: 20px 12px !important; }
.industry-card h3 { font-size: 14px !important; }

/* SVG icon helper */
.ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Responsive */
@media (max-width: 900px) {
  .hero .grid, .hero-cs-grid, .stats, .hero-stats, .cards, .cards.col-4, .cards.col-6, .process, .testis, footer.site .grid,
  .process-timeline, .engage-cards, .blog-cards, .story-card, .faq-box { grid-template-columns: 1fr 1fr; }
  .story-card { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  header.site .container { position: relative; flex-wrap: wrap; }
  header.site nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); display: none; padding: 16px 24px; box-shadow: var(--shadow); }
  header.site nav.open { display: block; }
  header.site nav ul { flex-direction: column; gap: 14px; }
  .hero h1 { font-size: 32px; }
  .testi-prev { left: 4px; }
  .testi-next { right: 4px; }
}
@media (max-width: 560px) {
  .stats, .hero-stats, .cards, .cards.col-4, .cards.col-6, .process, .testis, footer.site .grid, .hero .grid, .hero-cs-grid,
  .process-timeline, .engage-cards, .blog-cards, .faq-box { grid-template-columns: 1fr; }
  .topbar .socials span { display: none; }
  .cta-band { flex-direction: column; text-align: center; }
  .process-timeline::before { display: none; }
}
