/* =========================================================
   Nexasus CRM — Premium Landing Stylesheet
   Design tokens, layout, components, responsive.
   ========================================================= */

:root {
  --bg:          #0f172a;
  --bg-soft:     #111c33;
  --surface:     #ffffff;
  --surface-alt: #f6f8fc;
  --text:        #0f172a;
  --text-soft:   #475569;
  --text-muted:  #64748b;
  --border:      #e5eaf2;

  --primary:     #4f46e5;
  --primary-600: #4338ca;
  --primary-100: #eef2ff;
  --accent:      #06b6d4;
  --accent-2:    #22c55e;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow:    0 12px 30px rgba(15, 23, 42, .10);
  --shadow-lg: 0 30px 60px rgba(15, 23, 42, .18);

  --container: 1320px;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: 'Sora', var(--font-body);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 780px; }
.grad-text {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 700; color: var(--primary); margin-bottom: 14px;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .95rem; padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(79, 70, 229, .35); }
.btn-primary:hover { background: var(--primary-600); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-100); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--surface-alt); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between;height: 75px;}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--accent));
}
.brand-logo { height: 55px; width: auto; display: block;}
.footer-brand .brand-logo { filter: brightness(0) invert(1); opacity: .95; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; align-items: center; gap: 26px; }
.nav-list > li { position: relative; }
.nav-list a,
.nav-mega-toggle {
  font-weight: 500; color: var(--text-soft); transition: color .2s;
  font-family: var(--font-body); font-size: 15px; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px; padding: 0;
}
.nav-list a:hover,
.nav-mega-toggle:hover { color: var(--primary); }
.nav-list a.active { color: var(--primary); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }

/* Mega menu */
.has-mega { position: static; }             /* anchor mega to header width */
.nav-mega-toggle .caret { font-size: .7rem; transition: transform .25s ease; }
.has-mega:hover .nav-mega-toggle .caret,
.has-mega:focus-within .nav-mega-toggle .caret { transform: rotate(180deg); }

.mega-menu {
  position: absolute; left: 10%; top: calc(100% + 14px); transform: translateX(-50%) translateY(8px);
  width: min(920px, calc(100vw - 48px));
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 200;
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.mega-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 22px; }
.mega-title {
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-muted); padding: 6px 12px 10px;
}
.mega-col > a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  transition: background .18s ease;
}
.mega-col > a:hover { background: var(--surface-alt); }
.mega-ic {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  font-size: 1.15rem; background: var(--primary-100); flex-shrink: 0;
}
.mega-col > a strong { display: block; font-size: .95rem; color: var(--text); }
.mega-col > a small { display: block; font-size: .82rem; color: var(--text-muted); }

.mega-promo {
  background: linear-gradient(160deg, var(--primary), var(--primary-600));
  border-radius: 14px; padding: 22px; color: #fff; display: flex; flex-direction: column; gap: 8px;
}
.mega-promo-eyebrow { color: rgba(255,255,255,.8); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: 0; }
.mega-promo h4 { color: #fff; font-family: var(--font-head); font-size: 1.1rem; }
.mega-promo p { color: rgba(255,255,255,.9); font-size: .88rem; margin-bottom: 6px; }
.mega-promo .btn-primary { background: #fff; color: var(--primary); box-shadow: none; align-self: flex-start; }
.mega-promo .btn-primary:hover { background: #f1f5ff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(79,70,229,.14), transparent 60%),
    radial-gradient(800px 400px at 0% 20%, rgba(6,182,212,.12), transparent 55%),
    var(--surface);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-block: 90px 100px;
}
.hero-title { font-size: clamp(2.4rem, 5vw, 3.7rem); font-weight: 800; margin-bottom: 20px; }
.hero-sub { font-size: 1.12rem; color: var(--text-soft); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-badges li { position: relative; padding-left: 24px; color: var(--text-muted); font-size: .92rem; font-weight: 500; }
.hero-badges li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-2); font-weight: 800;
}

/* Hero visual */
.hero-visual { position: relative; min-height: 380px; }
.glass-card {
  background: rgba(255,255,255,.9); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); backdrop-filter: blur(8px);
}
.card-main { padding: 24px; width: 100%; max-width: 380px; margin-inline: auto; }
.card-row { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-green { background: var(--accent-2); box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.bar { height: 10px; border-radius: 6px; background: var(--surface-alt); }
.bar-lg { flex: 1; }
.card-stat { display: flex; flex-direction: column; margin-bottom: 20px; }
.stat-value { font-family: var(--font-head); font-size: 2rem; font-weight: 800; }
.stat-label { color: var(--text-muted); font-size: .88rem; }
.card-bars { display: flex; align-items: flex-end; gap: 10px; height: 90px; }
.card-bars span {
  flex: 1; height: var(--h); border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: .85;
}
.card-bars.small { height: 56px; gap: 6px; }

/* Code lines (hero visual) */
.code-lines { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.code-lines .cl { height: 8px; width: var(--w); border-radius: 5px; background: var(--surface-alt); }
.code-lines .cl:nth-child(odd) { background: linear-gradient(90deg, rgba(79,70,229,.35), rgba(6,182,212,.25)); }
.card-float { position: absolute; padding: 14px 16px; max-width: 220px; }
.card-float p { font-size: .86rem; color: var(--text-soft); margin-top: 6px; }
.card-1 { top: 8%; right: -6%; animation: float 6s ease-in-out infinite; }
.card-2 { bottom: 6%; left: -4%; animation: float 6s ease-in-out infinite 1.5s; }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pill-green { background: rgba(34,197,94,.14); color: #15803d; }
.pill-blue { background: rgba(6,182,212,.14); color: #0e7490; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Tech stack ---------- */
.tech {
  padding-block: 46px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(79,70,229,.06), transparent 70%),
    var(--surface-alt);
}
.tech-label {
  text-align: center; color: var(--text-muted); font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; margin-bottom: 26px;
}

/* Marquee viewport with fade edges */
.tech-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.tech-track {
  display: flex; align-items: center; gap: 16px; width: max-content;
  animation: tech-scroll 32s linear infinite;
}
.tech-marquee:hover .tech-track { animation-play-state: paused; }

.tech-chip {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 12px 22px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--text-soft);
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease, color .2s ease;
}
.tech-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.tdot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c, var(--primary));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--primary)) 20%, transparent);
}

@keyframes tech-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding-block: 96px; }
.section-alt { background: var(--surface-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.section-sub { color: var(--text-soft); font-size: 1.05rem; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 18px;
}
.icon-1 { background: rgba(79,70,229,.12); }
.icon-2 { background: rgba(34,197,94,.14); }
.icon-3 { background: rgba(6,182,212,.14); }
.icon-4 { background: rgba(234,179,8,.16); }
.icon-5 { background: rgba(236,72,153,.14); }
.icon-6 { background: rgba(99,102,241,.14); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-soft); font-size: .96rem; }

/* ---------- Steps / Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps.steps-6 { grid-template-columns: repeat(3, 1fr); }

.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px 30px; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
/* Big faded number watermark */
.step::after {
  content: counter(step, decimal-leading-zero); counter-increment: step;
  position: absolute; right: 16px; bottom: 4px;
  font-family: var(--font-head); font-weight: 800; font-size: 4.4rem; line-height: 1;
  color: var(--surface-alt); z-index: 0; letter-spacing: -.04em;
}
/* Top gradient bar reveal on hover */
.step::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.step:hover::before { transform: scaleX(1); }
.step > * { position: relative; z-index: 1; }

.step-num {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent)); margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(79, 70, 229, .28);
  transition: transform .25s ease;
}
.step:hover .step-num { transform: scale(1.08) rotate(-4deg); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: .95rem; }

/* Connected timeline line behind the step cards (desktop, single-row only) */
.steps-connected { position: relative; }
@media (min-width: 981px) {
  .steps-connected.steps-4::before {
    content: ""; position: absolute; left: 8%; right: 8%; top: 57px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary) 0 8px, transparent 8px 16px);
    opacity: .35; z-index: 0;
  }
  .steps-connected .step { z-index: 1; }
}

/* ---------- Stats band ---------- */
.stats-band { background: var(--bg); color: #fff; padding-block: 64px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-block { display: flex; flex-direction: column; gap: 6px; }
.stat-big { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #fff; }
.stat-desc { color: #94a3b8; font-size: .95rem; }

/* ---------- Services / What we offer ---------- */
.offer {
  background:
    radial-gradient(700px 380px at 100% 0%, rgba(6,182,212,.08), transparent 60%),
    radial-gradient(600px 320px at 0% 100%, rgba(79,70,229,.08), transparent 60%),
    var(--surface);
}
.offer-inner { display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; align-items: start; }
.offer-head { position: sticky; top: 96px; }
.offer-head .section-title { text-align: left; font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 16px; }
.offer-head .section-sub { text-align: left; margin-bottom: 26px; }
.offer-cta { margin-top: 4px; }

.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.offer-card {
  position: relative; display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
/* Left accent bar that grows on hover */
.offer-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0); transform-origin: top; transition: transform .25s ease;
}
.offer-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent;
}
.offer-card:hover::before { transform: scaleY(1); }

.offer-text { flex: 1; min-width: 0; }
.offer-text h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 2px; letter-spacing: -.01em; }
.offer-text span { color: var(--text-muted); font-size: .88rem; }

.offer-icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.35rem; flex-shrink: 0; transition: transform .25s ease, background .25s ease;
  /* Uniform, subtle brand-tinted background regardless of card */
  background: var(--primary-100) !important;
  /* Mute the multi-color emojis into a soft monochrome look */
  filter: grayscale(1);
  opacity: .92;
}
.offer-card:hover .offer-icon {
  transform: scale(1.06) rotate(-3deg);
  background: linear-gradient(135deg, rgba(79,70,229,.16), rgba(6,182,212,.16)) !important;
  filter: grayscale(0);
  opacity: 1;
}

.offer-arrow {
  color: var(--primary); font-size: 1.15rem; font-weight: 700; flex-shrink: 0;
  opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease;
}
.offer-card:hover .offer-arrow { opacity: 1; transform: translateX(0); }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: stretch; }
.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-flagship {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: center;
  color: #fff; border: 0; background: linear-gradient(150deg, var(--primary), var(--primary-600));
  box-shadow: var(--shadow-lg);
}
.product-flagship h3 { font-size: 1.6rem; margin: 12px 0 10px; }
.product-flagship p { color: rgba(255,255,255,.9); margin-bottom: 16px; }
.product-points { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.product-points li { position: relative; padding-left: 24px; color: rgba(255,255,255,.92); font-size: .94rem; }
.product-points li::before { content: "✓"; position: absolute; left: 0; color: #a5f3fc; font-weight: 800; }
.product-art { display: grid; place-items: center; }
.mini-card {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius); padding: 20px; width: 100%; max-width: 220px; backdrop-filter: blur(6px);
}
.mini-card .stat-value { color: #fff; display: block; }
.mini-card .stat-label { color: rgba(255,255,255,.8); }
.mini-card .card-bars { margin-top: 14px; }

.product-side { display: grid; grid-template-rows: 1fr 1fr; gap: 26px; }
.product-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.2); color: #fff;
}
.product-tag.alt { background: var(--primary-100); color: var(--primary); }
.product-card h3 { font-size: 1.2rem; margin: 12px 0 8px; }
.product-side .product-card p { color: var(--text-soft); font-size: .95rem; margin-bottom: 14px; }
.link-arrow { color: var(--primary); font-weight: 600; font-size: .92rem; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Industries (slider) ---------- */
.industry-slider { position: relative; }
.slider-viewport { overflow: hidden; }
/* Arrows hidden — slider auto-scrolls continuously */
.slider-btn { display: none; }
.slider-track {
  display: flex; gap: 22px; will-change: transform;
}

/* Wide horizontal card: icon left, content right */
.industry-card {
  position: relative; overflow: hidden; flex: 0 0 auto;
  width: calc((100% - 44px) / 3);           /* 3 cards visible on desktop */
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, border-color .22s ease;
}
.industry-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0); transform-origin: top; transition: transform .28s ease;
}
.industry-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.industry-card:hover::before { transform: scaleY(1); }

.industry-icon {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.7rem; flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, var(--primary-100), #e9edfb);
  box-shadow: inset 0 0 0 1px rgba(79,70,229,.1);
  transition: transform .28s ease;
}
.industry-card:hover .industry-icon { transform: scale(1.06) rotate(-4deg); }
.industry-body { min-width: 0; }
.industry-body h3 { font-size: 1.1rem; margin-bottom: 5px; }
.industry-body p { color: var(--text-muted); font-size: .9rem; line-height: 1.5; }

/* Slider arrows */
.slider-btn {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--primary);
  font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm);
  display: grid; place-items: center; transition: background .2s, transform .15s, color .2s, opacity .2s;
}
.slider-btn:hover { background: var(--primary); color: #fff; transform: scale(1.05); }
.slider-btn:disabled { opacity: .4; cursor: default; }
.slider-btn:disabled:hover { background: var(--surface); color: var(--primary); transform: none; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-featured {
  border-color: transparent; position: relative; color: #fff;
  background: linear-gradient(160deg, var(--primary), var(--primary-600));
  box-shadow: var(--shadow-lg); transform: translateY(-8px);
}
.price-featured .price-note, .price-featured .price-features li { color: rgba(255,255,255,.85); }
.price-tag {
  position: absolute; top: 18px; right: 18px; background: rgba(255,255,255,.2); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}
.price-name { font-size: 1.2rem; margin-bottom: 10px; }
.price-amount { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; margin-bottom: 4px; }
.price-cur { font-size: 1.3rem; vertical-align: super; }
.price-per { font-size: 1rem; font-weight: 500; opacity: .7; }
.price-note { color: var(--text-muted); font-size: .92rem; margin-bottom: 22px; }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.price-features li { position: relative; padding-left: 26px; color: var(--text-soft); font-size: .95rem; }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 800; }
.price-featured .price-features li::before { color: #a5f3fc; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.testimonial blockquote { font-size: 1.02rem; color: var(--text); margin-bottom: 22px; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--primary), var(--accent));
}
.t-meta { display: flex; flex-direction: column; }
.t-meta strong { font-size: .95rem; }
.t-meta small { color: var(--text-muted); font-size: .82rem; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 4px 20px; box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-soft); padding-bottom: 18px; font-size: .96rem; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .25s ease, border-color .22s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

.blog-media {
  display: grid; place-items: center; height: 168px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  position: relative; overflow: hidden;
}
.blog-media.media-2 { background: linear-gradient(135deg, #06b6d4, #22c55e); }
.blog-media.media-3 { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.blog-emoji {
  font-size: 3rem; filter: grayscale(1) brightness(3);
  opacity: .9; transition: transform .3s ease;
}
.blog-card:hover .blog-emoji { transform: scale(1.12) rotate(-4deg); }
/* Cover image inside the media area */
.blog-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.blog-card:hover .blog-media img { transform: scale(1.06); }

.blog-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-tag {
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--primary-100); color: var(--primary); text-transform: uppercase; letter-spacing: .04em;
}
.blog-meta time { color: var(--text-muted); font-size: .82rem; }
.blog-body h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 10px; }
.blog-body h3 a { transition: color .2s; }
.blog-body h3 a:hover { color: var(--primary); }
.blog-body p { color: var(--text-soft); font-size: .93rem; margin-bottom: 16px; flex: 1; }
.blog-cta { text-align: center; margin-top: 44px; }

/* ---------- Products page ---------- */
.prod-list { display: flex; flex-direction: column; gap: 40px; }
.prod-row {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-sm);
}
.prod-row.reverse .prod-info { order: 2; }
.prod-info .product-tag { margin-bottom: 12px; }
.prod-info h2 { font-size: 1.7rem; margin-bottom: 10px; }
.prod-info > p { color: var(--text-soft); margin-bottom: 16px; }
.product-points.dark li { color: var(--text-soft); }
.prod-art { display: grid; place-items: center; }
.prod-art .card-main { width: 100%; max-width: 360px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.contact-info h2 { font-size: 1.6rem; margin-bottom: 10px; }
.contact-info > p { color: var(--text-soft); margin-bottom: 26px; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.2rem; background: var(--primary-100); flex-shrink: 0;
}
.contact-list strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.contact-list a, .contact-list span { color: var(--text-soft); font-size: .92rem; }
.contact-list a:hover { color: var(--primary); }
.contact-socials { display: flex; gap: 18px; }
.contact-socials a { color: var(--primary); font-weight: 600; font-size: .9rem; }
.contact-socials a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.form-field { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-field label { font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-field input, .form-field textarea, .form-field select {
  box-sizing: border-box; line-height: 1.4;
  font-family: var(--font-body); font-size: .95rem; color: var(--text);
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form-field input, .form-field select { height: 48px; min-height: 48px; }
.form-field select {
  cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-color: var(--surface); color: var(--text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
  padding-right: 40px; text-overflow: ellipsis;
}
.form-field select::-ms-expand { display: none; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
.form-field textarea { resize: vertical; }
.form-note { margin-top: 12px; font-size: .9rem; text-align: center; }
.form-note.ok { color: #15803d; }
.form-note.err { color: #dc2626; }
.field-err { display: block; color: #dc2626; font-size: .8rem; margin-top: 4px; min-height: 1em; }

/* ---------- Career: clickable cards + slide-in panel ---------- */
.job-card { cursor: pointer; }
.job-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.job-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.5);
  z-index: 300; opacity: 0; animation: jobFade .25s ease forwards;
}
@keyframes jobFade { to { opacity: 1; } }

.job-panel {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(480px, 92vw);
  background: var(--surface); box-shadow: -20px 0 60px rgba(15,23,42,.25);
  z-index: 310; transform: translateX(100%); transition: transform .32s cubic-bezier(.4,.2,.2,1);
  overflow-y: auto; padding: 56px 34px 40px;
}
.job-panel.open { transform: translateX(0); }
.job-panel-close {
  position: absolute; top: 16px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-soft);
  font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .2s, color .2s;
}
.job-panel-close:hover { background: var(--surface-alt); color: var(--text); }
.job-panel .career-type { display: inline-block; margin-bottom: 12px; }
.job-panel h2 { font-size: 1.6rem; margin-bottom: 8px; }
.job-meta { color: var(--primary); font-weight: 600; font-size: .95rem; margin-bottom: 22px; }
.job-desc { color: var(--text-soft); line-height: 1.75; margin-bottom: 28px; }
.job-desc h3 { color: var(--text); font-size: 1.1rem; margin: 20px 0 8px; }
.job-desc ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 6px 0 16px; }
.job-desc li { position: relative; padding-left: 24px; }
.job-desc li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.job-back { background: none; border: 0; color: var(--primary); font-weight: 600; cursor: pointer; margin-bottom: 16px; padding: 0; font-size: .92rem; }
.job-panel .form-field { margin-bottom: 16px; display: flex; flex-direction: column; }
.job-panel .form-field label { font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.job-panel .form-field input, .job-panel .form-field textarea {
  font-family: var(--font-body); font-size: .95rem; color: var(--text);
  padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); width: 100%; transition: border-color .2s, box-shadow .2s;
}
.job-panel .form-field input:focus, .job-panel .form-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
.job-panel .form-field textarea { resize: vertical; }

/* ---------- Empty state ---------- */
.empty-state {
  max-width: 520px; margin: 10px auto 0; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 48px 36px; box-shadow: var(--shadow-sm);
}
.empty-state-icon {
  width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 20px;
  display: grid; place-items: center; font-size: 2.2rem;
  background: linear-gradient(135deg, var(--primary-100), #e9edfb);
}
.empty-state h3 { font-size: 1.35rem; margin-bottom: 10px; }
.empty-state p { color: var(--text-soft); margin-bottom: 24px; line-height: 1.7; }

/* Map band */
.map-band {
  height: 260px; display: grid; place-items: center;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(79,70,229,.12), transparent 60%),
    var(--surface-alt);
  border-top: 1px solid var(--border);
}
.map-inner { text-align: center; color: var(--text-soft); }
.map-pin { font-size: 2.4rem; display: block; margin-bottom: 8px; }
.map-inner p { font-weight: 600; }

/* ---------- Career ---------- */
.career-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.career-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.career-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.career-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.career-top h3 { font-size: 1.1rem; }
.career-type {
  flex-shrink: 0; font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: rgba(34,197,94,.14); color: #15803d;
}
.career-loc { color: var(--primary); font-size: .85rem; font-weight: 600; margin-bottom: 12px; }
.career-card p { color: var(--text-soft); font-size: .93rem; margin-bottom: 16px; flex: 1; }

/* ---------- About page ---------- */
.page-hero {
  padding: 72px 0 56px; text-align: center;
  background:
    radial-gradient(800px 360px at 50% -10%, rgba(79,70,229,.12), transparent 60%),
    radial-gradient(600px 300px at 100% 0%, rgba(6,182,212,.10), transparent 55%),
    var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-title { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; margin-bottom: 16px; }
.page-lead { max-width: 720px; margin: 0 auto 20px; color: var(--text-soft); font-size: 1.08rem; }
.crumbs { font-size: .88rem; color: var(--text-muted); }
.crumbs a { color: var(--primary); font-weight: 600; }
.crumbs span { margin: 0 6px; }

.about-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.about-story-text .section-title { text-align: left; margin-bottom: 16px; }
.about-story-text > p { color: var(--text-soft); margin-bottom: 16px; }
.about-metrics { display: flex; gap: 34px; margin-top: 26px; flex-wrap: wrap; }
.about-metrics .stat-big { display: block; color: var(--primary); font-family: var(--font-head); font-size: 2rem; font-weight: 800; }
.about-metrics .stat-desc { color: var(--text-muted); font-size: .88rem; }
.about-story-visual { display: grid; place-items: center; }

/* Mission / Vision */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 32px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease;
}
.mv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mv-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: 18px; background: var(--primary-100);
}
.mv-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.mv-card p { color: var(--text-soft); }

/* Team — flip cards */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { perspective: 1200px; }

.team-flip {
  position: relative; width: 100%; aspect-ratio: 3 / 3.6;
  transform-style: preserve-3d; transition: transform .6s cubic-bezier(.4,.2,.2,1);
  border-radius: var(--radius-lg);
}
.team-card:hover .team-flip,
.team-card:focus-within .team-flip { transform: rotateY(180deg); }

.team-front, .team-back {
  position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: var(--shadow-sm);
}

/* Front: full-size photo with name overlay */
.team-front { background: var(--surface-alt); }
.team-front img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-front-info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(15,23,42,.82));
  color: #fff; text-align: left;
}
.team-front-info h3 { color: #fff; font-size: 1.15rem; margin-bottom: 2px; }
.team-front-info p { color: rgba(255,255,255,.85); font-size: .88rem; }

/* Back: description + socials */
.team-back {
  transform: rotateY(180deg);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 26px 24px; color: #fff;
  background: linear-gradient(160deg, var(--primary), var(--primary-600));
}
.team-back h3 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.team-back .team-role { color: #a5f3fc; font-size: .84rem; font-weight: 600; margin-bottom: 14px; display: block; }
.team-back p { color: rgba(255,255,255,.9); font-size: .9rem; line-height: 1.55; margin-bottom: 20px; }

.team-social { display: flex; gap: 10px; justify-content: center; }
.team-social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.16); color: #fff; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; transition: background .2s, transform .15s;
}
.team-social a:hover { background: #fff; color: var(--primary); transform: translateY(-2px); }

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(6,182,212,.25), transparent 60%),
    linear-gradient(135deg, var(--primary), var(--primary-600));
  color: #fff;
}
.cta-inner { text-align: center; padding-block: 84px; }
.cta-title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.cta-sub { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 30px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Blog listing layout (sidebar + posts) ---------- */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.blog-main .blog-grid { grid-template-columns: repeat(2, 1fr); }

.blog-sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 100px; }
.side-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.side-card h3 { font-size: 1.05rem; margin-bottom: 16px; }
.side-search { display: flex; gap: 8px; }
.side-search input {
  flex: 1; font-family: var(--font-body); font-size: .92rem; color: var(--text);
  padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface);
  transition: border-color .2s, box-shadow .2s; min-width: 0;
}
.side-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
.side-search button {
  flex-shrink: 0; width: 44px; border: 0; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--primary); color: #fff; font-size: 1rem;
}
.side-search button:hover { background: var(--primary-600); }

.side-cats { display: flex; flex-direction: column; }
.side-cats li { border-bottom: 1px solid var(--border); }
.side-cats li:last-child { border-bottom: 0; }
.side-cats a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; color: var(--text-soft); font-size: .93rem; font-weight: 500; transition: color .2s;
}
.side-cats a:hover { color: var(--primary); }
.side-cats a span {
  font-size: .74rem; font-weight: 700; background: var(--primary-100); color: var(--primary);
  border-radius: 999px; padding: 2px 9px;
}

.side-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.side-tags a {
  font-size: .82rem; font-weight: 600; padding: 6px 13px; border-radius: 999px;
  background: var(--surface-alt); color: var(--text-soft); border: 1px solid var(--border);
  transition: background .2s, color .2s, border-color .2s;
}
.side-tags a:hover { background: var(--primary); color: #fff; border-color: transparent; }

.side-cta { background: linear-gradient(160deg, var(--primary), var(--primary-600)); border-color: transparent; }
.side-cta h3, .side-cta p { color: #fff; }
.side-cta p { color: rgba(255,255,255,.9); font-size: .9rem; margin-bottom: 16px; }
.side-subscribe input {
  width: 100%; font-family: var(--font-body); font-size: .92rem; color: var(--text);
  padding: 11px 13px; border: 0; border-radius: var(--radius-sm); background: #fff; margin-bottom: 10px;
}
.side-subscribe input:focus { outline: 2px solid var(--accent); }
.side-cta .btn-primary { background: #fff; color: var(--primary); box-shadow: none; }
.side-cta .btn-primary:hover { background: #f1f5f9; }

/* Pagination */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.page-btn {
  min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface);
  color: var(--text-soft); font-weight: 600; font-size: .92rem; transition: all .2s;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: transparent; }

/* ---------- Blog / article detail ---------- */
.post-hero {
  padding: 64px 0 36px; text-align: center;
  background:
    radial-gradient(800px 340px at 50% -10%, rgba(79,70,229,.12), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--border);
}
.post-hero .crumbs { margin-bottom: 18px; }
.post-hero .blog-tag { margin-bottom: 16px; display: inline-block; }
.post-title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 22px; }
.post-byline { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.post-avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-weight: 700; font-size: 1.1rem;
}
.post-byline strong { display: block; font-size: .95rem; }
.post-byline span { color: var(--text-muted); font-size: .85rem; }

.post-cover {
  margin: 34px auto 0; height: 320px; border-radius: var(--radius-lg); display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)); overflow: hidden;
}
.post-cover span { font-size: 5rem; filter: grayscale(1) brightness(3); opacity: .92; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.post-body { padding-top: 44px; }
.post-lead { font-size: 1.2rem; line-height: 1.7; color: var(--text); font-weight: 500; margin-bottom: 26px; }
.post-body h2 { font-size: 1.5rem; margin: 32px 0 12px; }
.post-body p { color: var(--text-soft); line-height: 1.8; margin-bottom: 18px; }
.post-body em { color: var(--text); font-style: italic; }
.post-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 6px 0 22px; }
.post-list li { position: relative; padding-left: 30px; color: var(--text-soft); line-height: 1.7; }
.post-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary-100); color: var(--primary); font-size: .7rem; font-weight: 700;
  display: grid; place-items: center;
}
.post-list li strong { color: var(--text); }
.post-quote {
  margin: 30px 0; padding: 22px 26px; border-left: 4px solid var(--primary);
  background: var(--surface-alt); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.12rem; font-style: italic; color: var(--text); line-height: 1.6;
}
.post-share { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.post-share span { font-weight: 700; font-size: .9rem; }
.post-share a {
  font-size: .85rem; font-weight: 600; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-soft); transition: all .2s;
}
.post-share a:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Service detail ---------- */
.svc-overview { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.svc-text .section-title { text-align: left; margin-bottom: 16px; }
.svc-text > p { color: var(--text-soft); margin-bottom: 16px; line-height: 1.75; }
.svc-visual { display: grid; place-items: center; }
.svc-actions { display: flex; justify-content: center; margin-top: 22px; }
.tech-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; width: 100%; }

/* Other services grid — flex so a partial last row stays centered */
.svc-links-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.svc-link-card {
  position: relative; display: flex; align-items: center; gap: 16px; overflow: hidden;
  flex: 0 1 calc((100% - 36px) / 3);   /* 3 per row on desktop */
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.svc-link-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0); transform-origin: top; transition: transform .25s ease;
}
.svc-link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc-link-card:hover::before { transform: scaleY(1); }
.svc-link-ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.35rem; flex-shrink: 0; background: var(--primary-100);
}
.svc-link-text { flex: 1; min-width: 0; }
.svc-link-text strong { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.svc-link-text small { color: var(--text-muted); font-size: .84rem; line-height: 1.4; display: block; }
.svc-link-arrow {
  color: var(--primary); font-size: 1.1rem; font-weight: 700; flex-shrink: 0;
  opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease;
}
.svc-link-card:hover .svc-link-arrow { opacity: 1; transform: translateX(0); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); color: #cbd5e1; padding-top: 64px; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: #94a3b8; font-size: .92rem; max-width: 320px; line-height: 1.65; }
.footer-connect-label { color: #fff; font-size: .88rem; font-weight: 700; margin-top: 22px; margin-bottom: 12px; }

.footer-social-icons { display: flex; gap: 10px; }
.footer-social-icons a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff; font-size: .82rem; font-weight: 700;
  transition: background .2s, transform .15s;
}
.footer-social-icons a:hover { background: var(--primary); transform: translateY(-2px); }

.footer-col h3 { color: #fff; font-size: .95rem; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: #94a3b8; font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-mt { margin-top: 28px; }
.footer-address { color: #94a3b8; font-size: .9rem; line-height: 1.6; }

.footer-newsletter { display: flex; gap: 0; margin-bottom: 6px; }
.footer-newsletter input {
  flex: 1; min-width: 0; font-family: var(--font-body); font-size: .9rem; color: var(--text);
  padding: 11px 14px; border: 2px solid rgba(255,255,255,.15); border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: rgba(255,255,255,.06);
  color: #fff; transition: border-color .2s;
}
.footer-newsletter input::placeholder { color: #64748b; }
.footer-newsletter input:focus { outline: none; border-color: var(--primary); }
.footer-newsletter button {
  width: 48px; border: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--primary); color: #fff; font-size: 1.15rem; cursor: pointer;
  transition: background .2s;
}
.footer-newsletter button:hover { background: var(--primary-600); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 1px solid rgba(255,255,255,.08); padding-block: 24px; flex-wrap: wrap;
}
.footer-bottom p { color: #94a3b8; font-size: .88rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #94a3b8; font-size: .88rem; }
.footer-bottom-links a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 64px 72px; }
  .hero-visual { min-height: 320px; }
  .feature-grid, .steps, .pricing-grid, .testimonial-grid, .blog-grid, .career-grid { grid-template-columns: repeat(2, 1fr); }
  .steps.steps-4, .steps.steps-6 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .price-featured { transform: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }

  /* Services / offer */
  .offer-inner { grid-template-columns: 1fr; gap: 34px; }
  .offer-head { position: static; }
  .offer-head .section-title, .offer-head .section-sub { text-align: center; }
  .offer-head { text-align: center; }

  /* Products */
  .product-grid { grid-template-columns: 1fr; }
  .product-flagship { grid-template-columns: 1fr; }
  .product-art { display: none; }
  .product-side { grid-template-rows: auto auto; }

  /* About page */
  .about-story { grid-template-columns: 1fr; gap: 34px; }
  .about-story-text .section-title { text-align: center; }
  .about-story-visual { order: -1; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  /* Products / Contact pages */
  .prod-row, .prod-row.reverse { grid-template-columns: 1fr; gap: 28px; padding: 30px; }
  .prod-row .prod-info, .prod-row.reverse .prod-info { order: 2; }
  .prod-art { order: 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }

  /* Industries slider — 2 cards visible on tablet */
  .industry-card { width: calc((100% - 22px) / 2); }

  /* Blog + service detail */
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .svc-overview { grid-template-columns: 1fr; gap: 34px; }
  .svc-text .section-title { text-align: center; }
  .svc-visual { order: -1; }
  .svc-link-card { flex: 0 1 calc((100% - 18px) / 2); }
}

@media (max-width: 760px) {
  /* Mobile nav */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 10px 24px 24px; transform: translateY(-120%); transition: transform .3s ease;
    box-shadow: var(--shadow); max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-cta { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 16px; }

  /* Mega menu becomes a simple inline block on mobile */
  .nav-mega-toggle { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .mega-menu {
    position: static; width: 100%; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0;
    display: none;
  }
  .has-mega:focus-within .mega-menu,
  .has-mega.open .mega-menu { display: block; }
  .mega-inner { grid-template-columns: 1fr; padding: 8px 0 12px; gap: 4px; }
  .mega-promo { margin-top: 8px; }
  .mega-col > a { padding: 12px 8px; }

  .section { padding-block: 64px; }
  .feature-grid, .steps, .pricing-grid, .testimonial-grid, .footer-main, .blog-grid, .career-grid { grid-template-columns: 1fr; }
  .steps.steps-4, .steps.steps-6 { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .mv-grid, .team-grid { grid-template-columns: 1fr; }
  .about-metrics { gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  /* Industries slider — 1 card visible */
  .industry-card { width: 100%; }
  .slider-btn { width: 38px; height: 38px; font-size: 1.3rem; }
  .section-head { margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Blog + article detail mobile */
  .blog-main .blog-grid { grid-template-columns: 1fr; }
  .post-cover { height: 220px; }
  .post-cover span { font-size: 3.4rem; }
  .post-lead { font-size: 1.08rem; }
  .svc-link-card { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .container { padding-inline: 18px; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 12px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  /* Static, centered, wrapping chips when motion is off */
  .tech-marquee { -webkit-mask-image: none; mask-image: none; }
  .tech-track { flex-wrap: wrap; justify-content: center; width: 100%; }
}
