/* ==========================================================================
   SYNAPSI — Design System
   Apple-inspired · Light palette · Premium motion
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --color-bg: #FFFFFF;
  --color-bg-soft: #F5F5F7;
  --color-bg-mute: #FAFAFD;
  --color-bg-dark: #0A0A0F;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-strong: rgba(0, 0, 0, 0.14);
  --color-text: #1D1D1F;
  --color-text-soft: #515154;
  --color-text-mute: #86868B;

  --color-primary: #0066FF;
  --color-violet: #7B61FF;
  --color-pink: #FF5E9C;
  --color-cyan: #00D4FF;
  --color-success: #00C896;
  --color-amber: #FFB020;

  --gradient-primary: linear-gradient(135deg, #0066FF 0%, #7B61FF 50%, #FF5E9C 100%);
  --gradient-cool: linear-gradient(135deg, #00D4FF 0%, #0066FF 60%, #7B61FF 100%);
  --gradient-warm: linear-gradient(135deg, #7B61FF 0%, #FF5E9C 60%, #FFB020 100%);
  --gradient-soft: linear-gradient(135deg, rgba(0,102,255,.10) 0%, rgba(123,97,255,.10) 50%, rgba(255,94,156,.10) 100%);
  --gradient-text: linear-gradient(135deg, #0066FF 0%, #7B61FF 55%, #FF5E9C 100%);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.08), 0 24px 80px rgba(0,0,0,.08);
  --shadow-glow: 0 8px 40px rgba(0,102,255,.18), 0 16px 80px rgba(123,97,255,.16);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1200px;
  --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: rgba(123,97,255,.25); }

/* Container */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* Typography */
h1, h2, h3, h4 { letter-spacing: -0.035em; line-height: 1.05; font-weight: 700; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--color-primary);
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(0,102,255,.08); border: 1px solid rgba(0,102,255,.15);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1; transform:scale(1);} 50%{opacity:.5; transform:scale(1.4);} }

.h-display { font-size: clamp(48px, 8vw, 96px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.h-section { font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.h-card { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; }

.lead {
  font-size: clamp(18px, 2vw, 22px); line-height: 1.45;
  color: var(--color-text-soft); font-weight: 400;
  letter-spacing: -0.014em;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-mute { color: var(--color-text-mute); }
.text-soft { color: var(--color-text-soft); }
.text-center { text-align: center; }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: background .3s var(--ease);
}
.nav-inner {
  height: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: 18px; }
.nav-logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--color-text-soft);
  padding: 8px 14px; border-radius: var(--radius-pill);
  transition: all .25s var(--ease);
}
.nav-link:hover { color: var(--color-text); background: rgba(0,0,0,.04); }
.nav-link.active { color: var(--color-text); background: rgba(0,0,0,.06); }
.nav-cta {
  font-size: 14px; font-weight: 600;
  background: var(--color-text); color: var(--color-bg);
  padding: 9px 18px; border-radius: var(--radius-pill);
  transition: all .25s var(--ease);
}
.nav-cta:hover { background: var(--color-primary); transform: translateY(-1px); }
.nav-burger { display: none; width: 32px; height: 32px; align-items: center; justify-content: center; }
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--color-text); position: relative; transition: all .3s var(--ease); }
.nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--color-text); transition: all .3s var(--ease); }
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav-burger.open span { background: transparent; }
.nav-burger.open span::before { top: 0; transform: rotate(45deg); }
.nav-burger.open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-burger { display: flex; }
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,.96); backdrop-filter: blur(20px);
    flex-direction: column; padding: 24px; gap: 8px; align-items: stretch;
    transform: translateY(-120%); transition: transform .35s var(--ease);
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link { font-size: 16px; padding: 12px 16px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  padding: 14px 26px; border-radius: var(--radius-pill);
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-text); color: var(--color-bg);
}
.btn-primary:hover { background: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-gradient {
  background: var(--gradient-primary);
  color: #fff;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 20px rgba(123,97,255,.25);
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(123,97,255,.4); }
.btn-ghost {
  background: rgba(0,0,0,.04); color: var(--color-text);
}
.btn-ghost:hover { background: rgba(0,0,0,.08); }
.btn-outline {
  background: transparent; border: 1px solid var(--color-border-strong); color: var(--color-text);
}
.btn-outline:hover { border-color: var(--color-text); background: rgba(0,0,0,.02); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Sections */
section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; }
.section-tight { padding: 60px 0; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head .lead { margin-top: 20px; }

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 100px;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: .55;
  animation: float 18s ease-in-out infinite;
}
.hero-blob.b1 { width: 480px; height: 480px; background: #0066FF; top: -100px; left: -120px; }
.hero-blob.b2 { width: 520px; height: 520px; background: #FF5E9C; top: 100px; right: -150px; animation-delay: -6s; }
.hero-blob.b3 { width: 420px; height: 420px; background: #7B61FF; bottom: -150px; left: 30%; animation-delay: -12s; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.05); }
  66% { transform: translate(-30px,40px) scale(.95); }
}
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 700px; margin: 0 auto 40px; }
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-trust {
  margin-top: 64px;
  display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: center; align-items: center;
  opacity: .7;
}
.hero-trust span { font-size: 13px; color: var(--color-text-mute); font-weight: 500; }

/* Grid */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Cards */
.card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .4s var(--ease);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,102,255,.25);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-soft); color: var(--color-primary);
  margin-bottom: 24px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--color-text-soft); font-size: 16px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag {
  font-size: 12px; font-weight: 500;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--color-bg-soft); color: var(--color-text-soft);
}

/* Feature card variants */
.card-dark {
  background: var(--color-bg-dark); color: #fff;
  border-color: rgba(255,255,255,.08);
}
.card-dark p { color: rgba(255,255,255,.7); }
.card-gradient {
  background: var(--gradient-primary); color: #fff;
  border: 0;
}
.card-gradient p { color: rgba(255,255,255,.85); }
.card-soft { background: var(--color-bg-soft); border-color: transparent; }

/* Bento grid */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
}
.bento .b { padding: 28px; border-radius: var(--radius-lg); background: var(--color-bg-soft); position: relative; overflow: hidden; }
.bento .b-1 { grid-column: span 4; grid-row: span 2; background: var(--gradient-primary); color: #fff; }
.bento .b-2 { grid-column: span 2; }
.bento .b-3 { grid-column: span 2; }
.bento .b-4 { grid-column: span 3; background: var(--color-bg-dark); color: #fff; }
.bento .b-5 { grid-column: span 3; }
.bento .b h3 { font-size: 22px; margin-bottom: 8px; }
.bento .b p { font-size: 15px; color: var(--color-text-soft); }
.bento .b-1 p, .bento .b-4 p { color: rgba(255,255,255,.8); }
@media (max-width: 880px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .bento .b-1, .bento .b-4, .bento .b-5 { grid-column: span 2; }
  .bento .b-1 { grid-row: auto; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento .b-1, .bento .b-2, .bento .b-3, .bento .b-4, .bento .b-5 { grid-column: span 1; }
}

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat {
  padding: 36px 28px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: left;
}
.stat .num {
  font-size: clamp(40px, 5vw, 56px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.stat .lbl { font-size: 14px; color: var(--color-text-soft); font-weight: 500; }
@media (max-width: 880px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Process / framework */
.process {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 24px; right: 24px;
  font-size: 13px; font-weight: 600; color: var(--color-text-mute);
  font-family: 'JetBrains Mono', monospace;
}
.step-num {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-primary); color: #fff;
  font-weight: 700; margin-bottom: 20px;
}
.step h3 { margin-bottom: 10px; font-size: 22px; }
.step p { color: var(--color-text-soft); font-size: 15px; }
@media (max-width: 880px) { .process { grid-template-columns: 1fr; } }

/* Service detail row (alternating) */
.row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; padding: 80px 0;
}
.row + .row { border-top: 1px solid var(--color-border); }
.row.reverse .row-media { order: -1; }
@media (max-width: 880px) { .row { grid-template-columns: 1fr; gap: 32px; } .row.reverse .row-media { order: 0; } }
.row h2 { font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 16px; }
.row .lead { font-size: 18px; }
.row-media {
  background: var(--gradient-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.row-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.row-list li {
  list-style: none; display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--color-text-soft);
}
.row-list li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gradient-primary); margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* Logo marks */
.logo-svg { width: 32px; height: 32px; }

/* Footer */
.footer {
  background: var(--color-bg-dark); color: rgba(255,255,255,.7);
  padding: 80px 0 32px;
  position: relative;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 64px;
}
.footer-brand { max-width: 360px; }
.footer-brand .logo-svg { width: 36px; height: 36px; }
.footer-brand p { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,.6); }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.02em; text-transform: uppercase; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: rgba(255,255,255,.65); font-size: 14px; transition: color .25s; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,.5);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* CTA banner */
.cta-banner {
  background: var(--color-bg-dark); color: #fff;
  padding: 80px 48px; border-radius: var(--radius-xl);
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0; opacity: .4;
  background: radial-gradient(circle at 30% 30%, rgba(0,102,255,.5), transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(255,94,156,.5), transparent 50%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { font-size: clamp(32px, 4vw, 56px); margin-bottom: 16px; letter-spacing: -0.04em; }
.cta-banner p { color: rgba(255,255,255,.75); margin-bottom: 32px; font-size: 18px; }
.cta-banner .btn-primary { background: #fff; color: var(--color-text); }
.cta-banner .btn-primary:hover { background: var(--color-bg-soft); }

/* Logo cloud / industries */
.logo-cloud {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.logo-cloud .chip {
  padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  font-size: 14px; font-weight: 500;
  color: var(--color-text-soft);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .25s var(--ease);
}
.logo-cloud .chip:hover { border-color: var(--color-primary); color: var(--color-text); }
.logo-cloud .chip svg { width: 16px; height: 16px; color: var(--color-primary); }

/* Pricing-like cards */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan {
  padding: 36px 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--color-border); background: var(--color-bg);
  display: flex; flex-direction: column; gap: 18px; position: relative;
}
.plan.featured { background: var(--color-bg-dark); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); transform: scale(1.02); }
.plan.featured p, .plan.featured ul { color: rgba(255,255,255,.75); }
.plan-name { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--color-primary); }
.plan.featured .plan-name { color: var(--color-cyan); }
.plan-price { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan ul li { font-size: 14px; display: flex; gap: 8px; align-items: flex-start; color: var(--color-text-soft); }
.plan ul li::before {
  content: '✓'; color: var(--color-primary); font-weight: 700; flex-shrink: 0;
}
.plan.featured ul li::before { color: var(--color-cyan); }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } .plan.featured { transform: none; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  background: var(--color-bg); overflow: hidden; transition: border-color .25s var(--ease);
}
.faq-item:hover { border-color: var(--color-border-strong); }
.faq-q {
  width: 100%; padding: 22px 24px; display: flex;
  justify-content: space-between; align-items: center; gap: 16px;
  font-size: 17px; font-weight: 600; text-align: left; letter-spacing: -0.015em;
}
.faq-q::after {
  content: '+'; font-size: 22px; font-weight: 300; color: var(--color-text-mute);
  transition: transform .3s var(--ease);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; padding: 0 24px;
  transition: max-height .35s var(--ease), padding .35s var(--ease);
  color: var(--color-text-soft); font-size: 15px;
}
.faq-item.open .faq-a { max-height: 320px; padding: 0 24px 22px; }

/* Form */
.form { display: grid; gap: 16px; max-width: 640px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--color-text-soft); }
.field input, .field textarea, .field select {
  font: inherit; padding: 14px 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--color-border-strong);
  background: var(--color-bg); color: var(--color-text);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0,102,255,.12);
}
.field textarea { min-height: 140px; resize: vertical; }

/* Animations */
.reveal { opacity: 0; transform: translateY(24px); transition: all .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: all .7s var(--ease-out); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .35s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .42s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: .49s; }

/* Marquee for tech stack / industries */
.marquee {
  overflow: hidden; padding: 16px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex; gap: 16px; width: max-content;
  animation: marquee 35s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Decorative SVG visuals */
.viz-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}

/* Visual: dashboard mock */
.mock {
  width: 88%; aspect-ratio: 4/3;
  background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  overflow: hidden; display: flex; flex-direction: column;
  transform: perspective(1200px) rotateX(4deg) rotateY(-6deg);
}
.mock-bar { height: 32px; background: var(--color-bg-soft); border-bottom: 1px solid var(--color-border); display: flex; align-items: center; padding: 0 14px; gap: 6px; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.15); }
.mock-body { flex: 1; padding: 16px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.mock-cell { background: var(--color-bg-soft); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mock-cell.tall { grid-row: span 2; }
.mock-cell .ml { height: 8px; background: linear-gradient(90deg, var(--color-primary), var(--color-violet)); border-radius: 4px; width: 70%; }
.mock-cell .ml.short { width: 40%; }
.mock-cell .ml.long { width: 90%; }
.mock-cell .bar { height: 6px; background: rgba(0,0,0,.08); border-radius: 3px; }
.mock-cell .bar.b-fill { background: linear-gradient(90deg, var(--color-violet), var(--color-pink)); width: 60%; }

/* Industries grid */
.industries {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.industry {
  padding: 28px 24px; border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: 10px;
  transition: all .3s var(--ease);
}
.industry:hover { transform: translateY(-3px); border-color: var(--color-primary); }
.industry .ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--gradient-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary); margin-bottom: 6px;
}
.industry .ico svg { width: 22px; height: 22px; }
.industry h4 { font-size: 17px; font-weight: 600; }
.industry p { font-size: 14px; color: var(--color-text-soft); }
@media (max-width: 880px) { .industries { grid-template-columns: 1fr 1fr; } }

/* Testimonial */
.quote {
  padding: 48px; background: var(--color-bg-soft);
  border-radius: var(--radius-xl); position: relative;
}
.quote .q { font-size: clamp(22px, 2.5vw, 30px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; }
.quote .author { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.quote .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600;
}
.quote .meta { display: flex; flex-direction: column; }
.quote .meta strong { font-size: 15px; }
.quote .meta span { font-size: 13px; color: var(--color-text-mute); }

/* Page hero (smaller, for inner pages) */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 48px;
  text-align: center; position: relative;
  background: var(--gradient-soft);
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 16px; letter-spacing: -0.04em; }
.page-hero .lead { max-width: 680px; margin: 0 auto; }

/* Utilities */
.flex { display: flex; }
.gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
