/* ==========================================================================
   AgrowsNXT — Premium Design System
   Palette: Brand Indigo + White + Black only (tints/shades of these three)
   ========================================================================== */

:root {
  /* ---- Pure 2-color system: brand indigo + white (tints/shades of each only) ---- */
  --brand: #463CE3;
  --brand-800: #1C1868;
  --brand-700: #362FB8;
  --brand-600: #463CE3;
  --brand-400: #8780ED;
  --brand-300: #ACA6F2;
  --brand-200: #CFCBF8;
  --brand-050: #EFEDFD;

  /* text — dark shades of brand, standing in for "black" */
  --ink-900: #12103A;
  --ink-700: #322D74;
  --ink-500: #6961C7;
  --ink-300: #A79FE8;

  /* light text on dark brand sections */
  --on-dark-1: #C7C2F7;
  --on-dark-2: #9A93E0;
  --on-dark-3: #6F68C0;

  /* ---- White (tints, used for backgrounds/borders) ---- */
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f7f6fe;
  --bg-tint: #f0eefc;
  --border: #e4e1fa;
  --border-strong: #c9c3f4;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(18, 16, 58, 0.07);
  --shadow-md: 0 12px 32px rgba(18, 16, 58, 0.12);
  --shadow-lg: 0 30px 70px rgba(18, 16, 58, 0.20);
  --shadow-brand: 0 14px 34px rgba(70, 60, 227, 0.35);

  --container: 1280px;
  --container-narrow: 860px;
  --nav-h: 80px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-head: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink-700);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
svg { flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 28px; }

section { position: relative; padding: 110px 0; }
@media (max-width: 900px) { section { padding: 72px 0; } }

.band-white { background: var(--bg); }
.band-soft { background: var(--bg-soft); }
.band-mint { background: var(--bg-tint); }
.band-navy { background: radial-gradient(120% 140% at 15% 0%, var(--brand-800) 0%, var(--ink-900) 60%), var(--ink-900); color: var(--on-dark-1); }
.band-navy h2, .band-navy h3, .band-navy h4 { color: #fff; }
.band-navy .ink-light { color: var(--on-dark-2); }
.band-border-top { border-top: 1px solid var(--border); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 600; color: var(--ink-900); letter-spacing: -0.02em; line-height: 1.16; }
h1 { font-size: clamp(2.3rem, 4vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.22rem; font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 500; }
p { color: var(--ink-500); }
.accent { color: var(--brand); font-style: italic; font-weight: 500; }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-050);
  padding: 7px 16px; border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.label.on-dark { color: #c8c3fb; background: rgba(255,255,255,0.08); }
.label.mint { color: var(--ink-900); background: var(--bg-tint); }

.section-head { max-width: 660px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.05rem; margin-top: 16px; }
.eyebrow-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 54px; flex-wrap: wrap; }
.eyebrow-row .section-head { margin-bottom: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px; font-family: var(--font-head);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-700); transform: translateY(-2px); box-shadow: 0 16px 38px rgba(70,60,227,.45); }
.btn-outline { border: 1.5px solid var(--border-strong); color: var(--ink-900); background: transparent; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-outline.on-dark { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-outline.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Page Loader (index.html only)
   ========================================================================== */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
#page-loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader-logo { display: flex; align-items: center; gap: 2px; animation: loaderPulse 1.6s ease-in-out infinite; }
.loader-logo .logo-badge { padding: 10px 16px; font-size: 1.6rem; }
.loader-logo .logo-suffix { font-size: 1.6rem; }
@keyframes loaderPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: .85; } }
.loader-text { display: flex; align-items: center; gap: 4px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink-500); letter-spacing: .02em; }
.loader-dots span { animation: loaderDots 1.4s infinite; opacity: 0; }
.loader-dots span:nth-child(2) { animation-delay: .2s; }
.loader-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes loaderDots { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.loader-bar { width: 160px; height: 3px; border-radius: 2px; background: var(--bg-tint); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 40%; background: var(--brand); border-radius: 2px; animation: loaderBar 1.2s ease-in-out infinite; }
@keyframes loaderBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ==========================================================================
   Logo wordmark (matches provided logo artwork)
   ========================================================================== */
.logo-badge {
  display: inline-flex; align-items: center;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 7px 14px 8px;
  line-height: 1;
}
.logo-suffix {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--brand);
  margin-left: 3px;
  line-height: 1;
}

/* ---- Real logo asset ---- */
.site-logo { height: 34px; width: auto; display: block; }
.loader-logo .site-logo { height: 52px; }
.footer-about .site-logo { filter: drop-shadow(0 0 10px rgba(255,255,255,.15)); }

/* ---- Icon system (refined, consistent, animated) ---- */
.icon-box, .card .icon-box, .solution-card .ic, .mini-stat .ic, .industry-card .ic,
.icon-item .ic, .info-card .ic, .float-stat .ic, .team-avatar {
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.card:hover .icon-box, .industry-card:hover .ic, .icon-item:hover .ic, .mini-stat:hover .ic {
  transform: scale(1.08) rotate(-4deg);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar { position: sticky; top: 0; z-index: 1000; height: var(--nav-h); background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); display: flex; align-items: center; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink-900); }

.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button { display: flex; align-items: center; gap: 6px; padding: 12px 16px; font-size: 14.5px; font-weight: 600; color: var(--ink-700); border-radius: var(--radius-sm); transition: color .2s, background .2s; }
.nav-item > a:hover, .nav-item > button:hover, .nav-item.open > button { color: var(--brand); background: var(--brand-050); }
.nav-item .chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav-item.open .chev { transform: rotate(180deg); }

.mega { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px); width: 760px; max-width: 90vw; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 30px; opacity: 0; pointer-events: none; transition: opacity .22s var(--ease), transform .22s var(--ease); z-index: 50; }
.nav-item.open .mega { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 28px; }
.mega-col h5 { font-family: var(--font-head); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-300); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.mega-col a { display: flex; align-items: flex-start; gap: 10px; padding: 9px 6px; border-radius: var(--radius-sm); font-size: 13.8px; font-weight: 500; color: var(--ink-700); transition: background .2s, color .2s, transform .2s; }
.mega-col a:hover { background: var(--bg-soft); color: var(--brand); transform: translateX(3px); }
.mega-col a svg { width: 15px; height: 15px; color: var(--brand); margin-top: 1px; transition: transform .3s var(--ease); }
.mega-col a:hover svg { transform: scale(1.15); }
.mega-foot { grid-column: 1 / -1; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.mega-foot p { font-size: 13px; margin: 0; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink-900); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-main { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 24px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); }
  .nav-main.open { transform: translateX(0); }
  .nav-item > a, .nav-item > button { width: 100%; justify-content: space-between; padding: 15px 10px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .mega { position: static; width: auto; max-width: none; box-shadow: none; border: none; opacity: 1; pointer-events: auto; transform: none; display: none; padding: 6px 10px 16px; }
  .nav-item.open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; gap: 4px; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-outline.hide-mobile { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 76px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 60px; align-items: center; padding-bottom: 70px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; padding-bottom: 40px; } }
.hero-copy p.lead { font-size: 1.14rem; color: var(--ink-500); margin: 20px 0 34px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-blob { position: absolute; width: 420px; height: 420px; background: var(--brand); border-radius: 50%; filter: blur(90px); z-index: -1; top: -80px; right: -100px; opacity: .28; animation: blobPulse 6s ease-in-out infinite; }
@keyframes blobPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.float-stat { position: absolute; bottom: -26px; left: -26px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 16px 20px; display: flex; align-items: center; gap: 12px; animation: floatY 5s ease-in-out infinite; }
.float-stat .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-050); display: flex; align-items: center; justify-content: center; }
.float-stat .ic svg { width: 21px; height: 21px; color: var(--brand); }
.float-stat strong { display: block; font-family: var(--font-head); font-size: 15px; }
.float-stat span { font-size: 12px; color: var(--ink-300); }
.float-badge { position: absolute; top: 22px; right: 22px; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-radius: var(--radius-pill); padding: 9px 16px; font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-sm); }
.float-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(70,60,227,.18); animation: dotPing 1.8s ease-in-out infinite; }
@keyframes dotPing { 0%, 100% { box-shadow: 0 0 0 4px rgba(70,60,227,.18); } 50% { box-shadow: 0 0 0 7px rgba(70,60,227,.08); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 640px) { .float-stat { left: 12px; bottom: -20px; } }

/* Stats bar */
.stats-bar { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 0; }
.stats-bar .row { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .stats-bar .row { grid-template-columns: repeat(2, 1fr); } }
.stats-bar .stat { text-align: center; padding: 40px 20px; border-right: 1px solid var(--border); }
.stats-bar .stat:last-child { border-right: none; }
@media (max-width: 760px) { .stats-bar .stat:nth-child(2) { border-right: none; } .stats-bar .stat:nth-child(odd) { border-right: 1px solid var(--border); } }
.stats-bar .stat b { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--brand); display: block; }
.stats-bar .stat span { font-size: .86rem; color: var(--ink-500); margin-top: 4px; display: block; }

/* ==========================================================================
   Reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in { transition-delay: .08s; }
.reveal-delay-2.in { transition-delay: .16s; }
.reveal-delay-3.in { transition-delay: .24s; }
.reveal-delay-4.in { transition-delay: .32s; }

/* ==========================================================================
   Dark solutions band (4 icon cards, equal weight — hover-only elevation)
   ========================================================================== */
.solutions-wave {
  position: absolute; inset: 0; opacity: .6; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.06) 0, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(70,60,227,.28) 0, transparent 45%),
    radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px;
}
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 1; }
@media (max-width: 900px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .solutions-grid { grid-template-columns: 1fr; } }
.solution-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-md);
  padding: 30px 24px; transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.solution-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.solution-card:hover::before { transform: scaleX(1); }
.solution-card:hover { background: #fff; transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.solution-num {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-head); font-weight: 500; font-size: 13px;
  letter-spacing: .05em; color: var(--on-dark-3); transition: color .35s var(--ease);
}
.solution-card:hover .solution-num { color: var(--brand-200); }
.solution-card .ic { width: 46px; height: 46px; border-radius: 10px; background: rgba(70,60,227,.22); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.solution-card .ic svg { width: 22px; height: 22px; color: var(--brand-300); }
.solution-card:hover .ic { background: var(--brand-050); }
.solution-card:hover .ic svg { color: var(--brand); }
.solution-card h4 { color: #fff; margin-bottom: 8px; font-size: 1rem; }
.solution-card:hover h4 { color: var(--ink-900); }
.solution-card p { color: var(--on-dark-2); font-size: .88rem; }
.solution-card:hover p { color: var(--ink-500); }

/* ==========================================================================
   Split (photo + text) sections
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 900px) { .split.reverse { direction: ltr; } }
.split-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.split-photo:hover img { transform: scale(1.05); }

.check-list li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; font-size: .97rem; color: var(--ink-700); }
.check-list li .tick { width: 20px; height: 20px; border-radius: 50%; background: var(--brand-050); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.check-list li .tick svg { width: 12px; height: 12px; color: var(--brand); }

/* Mini stats row w/ icons */
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 760px) { .mini-stats { grid-template-columns: repeat(2, 1fr); } }
.mini-stat { display: flex; align-items: center; gap: 16px; }
.mini-stat .ic { width: 52px; height: 52px; border-radius: 12px; background: var(--brand-050); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mini-stat .ic svg { width: 24px; height: 24px; color: var(--brand); }
.mini-stat b { font-family: var(--font-head); font-size: 1.5rem; display: block; color: var(--ink-900); }
.mini-stat span { font-size: .82rem; color: var(--ink-500); }

/* ==========================================================================
   Dark CTA banner
   ========================================================================== */
.cta-dark { border-radius: var(--radius-lg); padding: 64px 56px; background: linear-gradient(120deg, var(--ink-900) 0%, var(--brand-800) 100%); color: #fff; position: relative; overflow: hidden; }
.cta-dark::before { content:''; position:absolute; width:420px; height:420px; border-radius:50%; background: radial-gradient(circle, rgba(70,60,227,.4), transparent 70%); top:-160px; right:-140px; }
.cta-dark::after { content:''; position:absolute; width:300px; height:300px; border-radius:50%; background: radial-gradient(circle, rgba(70,60,227,.25), transparent 70%); bottom:-140px; left:-80px; }
.cta-dark-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-dark-grid { grid-template-columns: 1fr; text-align: center; } }
.cta-dark h2 { color: #fff; }
.cta-dark p { color: var(--on-dark-1); margin-top: 14px; max-width: 460px; }
.cta-checks { display: flex; gap: 22px; flex-wrap: wrap; margin: 26px 0; }
@media (max-width: 860px) { .cta-checks { justify-content: center; } }
.cta-checks span { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--on-dark-1); }
.cta-checks svg { width: 16px; height: 16px; color: var(--brand-400); }
.cta-side { display: flex; justify-content: center; }
.cta-badge-ring { width: 170px; height: 170px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; animation: spinSlow 18s linear infinite; }
.cta-badge-ring .inner { width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.06); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; animation: spinSlowReverse 18s linear infinite; }
.cta-badge-ring .inner svg { width: 34px; height: 34px; color: var(--brand-400); }
.cta-badge-ring .inner span { font-size: 11.5px; color: var(--on-dark-2); text-align: center; padding: 0 10px; }
@keyframes spinSlow { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes spinSlowReverse { from { transform: rotate(0); } to { transform: rotate(-360deg); } }

/* ==========================================================================
   Insights / resources cards
   ========================================================================== */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .insights-grid { grid-template-columns: 1fr; } }
.insight-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); transition: box-shadow .3s, transform .3s; background: #fff; }
.insight-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.insight-photo { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.insight-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.insight-card:hover .insight-photo img { transform: scale(1.06); }
.insight-tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); padding: 5px 12px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 600; color: var(--brand); }
.insight-body { padding: 22px 22px 24px; }
.insight-body h4 { margin-bottom: 12px; font-size: 1.02rem; }
.insight-body a.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-size: 13.5px; color: var(--brand); }
.insight-body a.more svg { width: 14px; height: 14px; transition: transform .25s; }
.insight-body a.more:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Cards / grids (services, generic)
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 30px 26px; transition: box-shadow .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); transform: translateY(-5px); }
.card .icon-box { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-050); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card .icon-box svg { width: 22px; height: 22px; color: var(--brand); }
.card.mint .icon-box { background: var(--ink-900); }
.card.mint .icon-box svg { color: #fff; }
.card h3 { margin-bottom: 10px; font-size: 1.08rem; }
.card p { font-size: .93rem; }
.card a.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 13.5px; color: var(--brand); }
.card a.more svg { width: 14px; height: 14px; transition: transform .25s; }
.card a.more:hover svg { transform: translateX(4px); }

/* Row list (challenges) */
.row-list .row-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.row-list .row-item:first-child { padding-top: 0; }
.row-list .row-item:last-child { border-bottom: none; }
.row-item .num { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--border-strong); }
.row-item h4 { margin-bottom: 8px; }
.row-item p { font-size: .95rem; }

/* Approach (numbered steps + photo) */
.approach-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .approach-grid { grid-template-columns: 1fr; } }
.approach-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3.4; }
.approach-photo img { width: 100%; height: 100%; object-fit: cover; }
.approach-steps .step { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.approach-steps .step:last-child { border-bottom: none; }
.approach-steps .num { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s var(--ease); }
.approach-steps .step:hover .num { transform: scale(1.1) rotate(-6deg); }
.approach-steps h4 { margin-bottom: 6px; }
.approach-steps p { font-size: .93rem; }

/* Process timeline (existing 4-step) */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }
.process-step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px 22px; transition: box-shadow .3s, transform .3s; }
.process-step:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.process-step .num { width: 36px; height: 36px; border-radius: 50%; background: var(--ink-900); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.process-step h4 { margin-bottom: 8px; font-size: 1rem; }
.process-step p { font-size: .88rem; }

/* Tech stack badges */
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 900px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
.tech-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 22px 12px; text-align: center;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.tech-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.tech-card .tech-icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  color: var(--brand); background: var(--brand-050); border-radius: 12px;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.tech-card:hover .tech-icon { transform: scale(1.1) rotate(-4deg); background: var(--brand-200); }
.tech-card .tech-icon svg { width: 24px; height: 24px; }
.tech-card span { font-size: 12.5px; font-weight: 500; color: var(--ink-700); }

/* ==========================================================================
   Team (role-based, honest — no fabricated identities)
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 30px 22px; text-align: center; transition: box-shadow .3s, transform .3s; }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.team-avatar { width: 74px; height: 74px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.team-card:hover .team-avatar { transform: scale(1.08) rotate(-4deg); }
.team-avatar svg { width: 32px; height: 32px; color: #fff; }
.team-card h4 { font-size: .98rem; margin-bottom: 4px; }
.team-card span.role { display: block; font-size: .82rem; color: var(--ink-300); margin-bottom: 14px; }
.team-card p { font-size: .85rem; }

/* ==========================================================================
   Testimonial (photo + carousel dots)
   ========================================================================== */
.testi-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-stars { color: var(--brand); letter-spacing: 3px; margin-bottom: 20px; font-size: 1.05rem; }
.testi-quote { font-family: var(--font-head); font-style: italic; font-size: 1.3rem; font-weight: 500; color: var(--ink-900); line-height: 1.5; margin-bottom: 26px; }
.testi-who { display: flex; align-items: center; gap: 14px; }
.testi-who .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--ink-900); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-family: var(--font-head); }
.testi-who strong { display: block; }
.testi-who span { font-size: .85rem; color: var(--ink-500); }
.testi-track { position: relative; }
.testi-slide { display: none; }
.testi-slide.active { display: block; animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: translateY(0);} }
.testi-dots { display: flex; gap: 9px; margin-top: 30px; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); transition: all .3s; }
.testi-dots button.active { width: 26px; border-radius: 5px; background: var(--brand); }
.testi-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/4.6; }
.testi-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Newsletter + resources split
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 860px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { border-radius: var(--radius-lg); padding: 40px; }
.news-card.light { background: var(--bg-soft); border: 1px solid var(--border); }
.news-card.dark { background: var(--ink-900); color: #fff; }
.news-card.dark h3 { color: #fff; }
.news-card.dark p { color: var(--on-dark-1); }
.news-form { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.news-form input { flex: 1; min-width: 180px; padding: 13px 16px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font-size: .93rem; }
.news-form input::placeholder { color: var(--on-dark-2); }
.news-form input:focus { outline: none; border-color: var(--brand-400); }
.news-msg { flex-basis: 100%; margin-top: 14px; font-size: .85rem; display: none; }
.news-msg.show { display: block; color: var(--brand-400); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 22px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--ink-900); text-align: left; }
.faq-q svg { width: 18px; height: 18px; color: var(--ink-300); transition: transform .3s var(--ease); flex-shrink: 0; margin-left: 20px; }
.faq-item.open .faq-q { color: var(--brand); }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--brand); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 4px 22px; font-size: .95rem; max-width: 760px; }

/* ==========================================================================
   Case study cards
   ========================================================================== */
.case-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.case-photo { aspect-ratio: 16/9; overflow: hidden; }
.case-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case-card:hover .case-photo img { transform: scale(1.06); }
.case-top { padding: 26px 26px 0; }
.case-industry { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); background: var(--brand-050); padding: 5px 11px; border-radius: var(--radius-pill); margin-bottom: 16px; }
.case-card h3 { margin-bottom: 10px; }
.case-body { padding: 16px 26px 8px; font-size: .93rem; }
.case-note { font-size: .78rem; color: var(--ink-300); font-style: italic; padding: 0 26px 26px; }

/* Industry cards */
.industry-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; transition: box-shadow .3s, border-color .3s, transform .3s; }
.industry-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); transform: translateY(-4px); }
.industry-card .ic { width: 50px; height: 50px; border-radius: 12px; background: var(--bg-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.industry-card .ic svg { width: 24px; height: 24px; color: var(--ink-900); }
.industry-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.industry-card p { font-size: .9rem; }
.industry-card ul { margin-top: 14px; }
.industry-card ul li { font-size: .84rem; color: var(--ink-500); padding: 4px 0; display: flex; gap: 8px; align-items: baseline; }
.industry-card ul li::before { content: '—'; color: var(--border-strong); }

/* Security/QA icon rows */
.icon-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .icon-row { grid-template-columns: repeat(2, 1fr); } }
.icon-item { text-align: center; padding: 26px 16px; }
.icon-item .ic { width: 58px; height: 58px; border-radius: 16px; background: var(--brand-050); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.icon-item .ic svg { width: 26px; height: 26px; color: var(--brand); }
.icon-item h4 { font-size: .95rem; margin-bottom: 6px; }
.icon-item p { font-size: .84rem; }

/* ==========================================================================
   Page hero
   ========================================================================== */
.page-hero { padding: 60px 0 70px; }
.page-hero .label { margin-bottom: 18px; }
.page-hero p { font-size: 1.08rem; max-width: 640px; margin-top: 18px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-300); margin-bottom: 24px; }
.breadcrumb a { color: var(--ink-300); }
.breadcrumb a:hover { color: var(--brand); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: flex-start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.info-card:first-child { padding-top: 0; }
.info-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-050); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-card .ic svg { width: 21px; height: 21px; color: var(--brand); }
.info-card h4 { font-size: .95rem; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: .92rem; }
.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); margin-top: 24px; height: 220px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.form-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 7px; color: var(--ink-700); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 15px; background: #fff; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--ink-900); font-size: .94rem; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { resize: vertical; min-height: 120px; }
.form-msg { margin-top: 16px; font-size: .88rem; display: none; padding: 12px 16px; border-radius: var(--radius-sm); }
.form-msg.show { display: block; }
.form-msg.success { background: var(--brand-050); color: var(--brand-700); border: 1px solid #d6d1fb; }

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer { background: var(--ink-900); color: var(--on-dark-2); padding: 76px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-top h4 { font-family: var(--font-head); color: #fff; font-size: .88rem; margin-bottom: 18px; letter-spacing: .02em; }
.footer-top ul li { margin-bottom: 10px; }
.footer-top ul li a { font-size: .87rem; color: var(--on-dark-2); transition: color .2s; }
.footer-top ul li a:hover { color: #fff; }
.footer-about p { font-size: .87rem; margin: 16px 0 22px; max-width: 300px; color: var(--on-dark-2); }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-3px); }
.socials a svg { width: 15px; height: 15px; color: var(--brand-200); }
.socials a:hover svg { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: var(--on-dark-3); }
.footer-bottom a { color: var(--on-dark-3); }
.footer-bottom a:hover { color: #fff; }

/* Utility */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
