/* ============================================================
   STRAAL — Shared Stylesheet
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --navy: #002862;
  --navy2: #023682;
  --teal: #44c2c7;
  --teal-dk: #2c8f93;
  --text: #2d3748;
  --muted: #4a5568;
  --light: #f7fafc;
  --white: #fff;
  --border: #e2e8f0;
  --header-h: 72px;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0, 40, 98, 0.1);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  font-weight: 700;
}

/* ============================================================
   Utility
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
  background: var(--white);
}
.section--alt {
  padding: 80px 0;
  background: var(--light);
}
.section__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
}
.section__subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 24px;
}
.section__text {
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 24px;
}
.text-center {
  text-align: center;
}
.text-center .section__subtitle,
.text-center .section__text {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--primary:hover {
  background: var(--teal-dk);
  border-color: var(--teal-dk);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}
.btn--login {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 8px 22px;
  font-size: 14px;
  border-radius: 100px;
  font-weight: 700;
  transition:
    background 0.2s,
    border-color 0.2s;
  cursor: pointer;
}
.btn--login:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.site-header.stuck {
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 8px;
}
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo .site-logo {
  width: 180px;
  height: auto;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.1);
}
.nav-link .caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.7);
  transition: transform 0.2s;
}
.nav-item:hover .caret {
  transform: rotate(180deg);
}

/* Dropdowns */
.dropdown-menu,
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 200;
  animation: fadeDown 0.18s ease;
}
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav-item:hover .dropdown-menu,
.nav-item:hover .mega-menu {
  display: block;
}

.dropdown-menu {
  min-width: 200px;
  padding: 8px 0;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.15s,
    color 0.15s;
}
.dropdown-menu a:hover {
  background: var(--light);
  color: var(--navy);
}

/* Mega Menu */
.mega-menu {
  left: -350px;
  width: 780px;
  padding: 28px 28px 20px;
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.mega-col-title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  padding: 6px 10px 10px;
  border-bottom: 2px solid var(--teal);
  margin-bottom: 4px;
  text-decoration: none;
  transition: color 0.15s;
}
.mega-col-title:hover {
  color: var(--teal-dk);
}
.mega-col a {
  display: block;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  transition:
    background 0.15s,
    color 0.15s;
}
.mega-col a:hover {
  background: var(--light);
  color: var(--navy);
}

.header-cta {
  flex-shrink: 0;
  margin-left: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 999;
  overflow-y: auto;
  padding: 0 0 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-drawer.open {
  transform: translateX(0);
}
.mobile-nav-item > .mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.mobile-sub {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 0;
}
.mobile-sub a {
  display: block;
  padding: 10px 36px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 600;
}
.mobile-sub a:hover {
  color: var(--teal);
}
.mobile-sub-title {
  display: block;
  padding: 8px 24px 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.mobile-toggle-icon {
  font-size: 18px;
  transition: transform 0.25s;
}
.mobile-nav-item.open .mobile-toggle-icon {
  transform: rotate(180deg);
}
.mobile-nav-item.open .mobile-sub {
  display: block;
}
.mobile-drawer-cta {
  padding: 20px 24px 0;
}

/* ============================================================
   HERO
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: calc(var(--header-h) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-content {
  flex: 1;
}
.hero-content h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-content h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero-content p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image img {
  max-width: 480px;
  width: 100%;
  border-radius: 12px;
}

/* Feature pills */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-pill {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Client logos */
.client-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.client-logos img,
.client-logos svg {
  height: 28px;
  width: auto;
  opacity: 0.6;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}
.client-logos img:hover {
  opacity: 0.9;
}

/* ============================================================
   FEATURE ROWS
   ============================================================ */
.feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child {
  border-bottom: none;
}
.feature-row--reverse {
  flex-direction: row-reverse;
}
.feature-row__image {
  flex: 0 0 420px;
  display: flex;
  justify-content: center;
}
.feature-row__image img {
  max-width: 400px;
  border-radius: 12px;
}
.feature-row__content {
  flex: 1;
}
.feature-row__content h4 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.feature-row__content p {
  color: var(--muted);
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  margin: 0 0 20px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: var(--teal);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='%23fff' stroke='%23fff' stroke-width='1' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-dk);
  font-weight: 700;
  font-size: 15px;
  transition: color 0.15s;
}
.feature-link:hover {
  color: var(--navy);
}
.feature-link::after {
  content: ' →';
}

/* ============================================================
   HOMEPAGE TWO-COLUMN
   ============================================================ */
.two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 0;
}
.two-col-section h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}
.two-col-section p {
  color: var(--muted);
  margin-bottom: 20px;
}
.bullet-list {
  list-style: none;
}
.bullet-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-weight: 600;
  color: var(--text);
}
.bullet-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

/* ============================================================
   PRODUCT BOXES (Homepage)
   ============================================================ */
.product-boxes-header {
  text-align: center;
  margin-bottom: 48px;
}
.product-boxes-header h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}
.product-boxes-header p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.product-boxes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-box {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.product-box:hover {
  box-shadow: 0 8px 32px rgba(0, 40, 98, 0.16);
  transform: translateY(-3px);
}
.product-box img {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  object-fit: contain;
}
.product-box h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.product-box p {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
  margin-bottom: 20px;
}
.product-box .cta-link {
  color: var(--teal-dk);
  font-weight: 700;
  font-size: 14px;
  transition: color 0.15s;
}
.product-box .cta-link:hover {
  color: var(--navy);
}

/* ============================================================
   PLUGINS SECTION
   ============================================================ */
.plugins-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.plugins-logos img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition:
    filter 0.2s,
    opacity 0.2s;
}
.plugins-logos img:hover {
  filter: none;
  opacity: 1;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}
.testimonials-header .label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.testimonials-header h2 {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  color: var(--navy);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.testimonial-card .t-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
  flex: 1;
}
.testimonial-card .t-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.testimonial-card .t-author span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.blog-card:hover {
  box-shadow: 0 8px 32px rgba(0, 40, 98, 0.14);
  transform: translateY(-3px);
}
.blog-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__date {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.blog-card__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card__title:hover {
  color: var(--teal-dk);
}
.blog-card__excerpt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.blog-card__link {
  color: var(--teal-dk);
  font-weight: 700;
  font-size: 14px;
}
.blog-card__link:hover {
  color: var(--navy);
}
.blog-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================================
   STAT COUNTERS
   ============================================================ */
.stats-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-counter {
  flex: 1;
  min-width: 180px;
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-counter:last-child {
  border-right: none;
}
.stat-counter .stat-value {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-counter .stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

/* ============================================================
   KNOWLEDGE CARDS
   ============================================================ */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.knowledge-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  cursor: pointer;
}
.knowledge-card:hover {
  box-shadow: 0 8px 32px rgba(0, 40, 98, 0.14);
  transform: translateY(-3px);
}
.knowledge-card__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.knowledge-card__body {
  padding: 18px 20px;
}
.knowledge-card__tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(68, 194, 199, 0.15);
  color: var(--teal-dk);
  margin-bottom: 8px;
}
.knowledge-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

/* ============================================================
   RESOURCES LIST
   ============================================================ */
.resources-list {
  list-style: none;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}
.resources-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.resources-list li:last-child {
  border-bottom: none;
}
.resources-list li:hover {
  background: var(--light);
}
.resources-list .res-icon {
  color: var(--teal);
  font-size: 20px;
  flex-shrink: 0;
}
.resources-list .res-title {
  flex: 1;
  font-weight: 700;
  color: var(--text);
}
.resources-list .res-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(68, 194, 199, 0.15);
  color: var(--teal-dk);
}

/* ============================================================
   INTEGRATION CARDS
   ============================================================ */
.integration-top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.integration-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.integration-card img {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  object-fit: contain;
}
.integration-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.integration-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

/* ============================================================
   TOOLS SECTION
   ============================================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.tool-card {
  background: var(--light);
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.tool-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  object-fit: contain;
}
.tool-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.tool-card p {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
  margin-bottom: 18px;
}

/* ============================================================
   PLUGIN ROWS (Integration page)
   ============================================================ */
.plugin-row {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.plugin-row:last-child {
  border-bottom: none;
}
.plugin-row:nth-child(even) {
  flex-direction: row-reverse;
}
.plugin-row__image {
  flex: 0 0 360px;
  display: flex;
  justify-content: center;
}
.plugin-row__image img {
  max-width: 320px;
  border-radius: var(--radius);
}
.plugin-row__content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.plugin-row__content p {
  color: var(--muted);
  margin-bottom: 20px;
}
.plugin-row__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.plugin-row__links .btn {
  font-size: 14px;
  padding: 10px 22px;
}

/* ============================================================
   PROBLEM/SOLUTION BOXES
   ============================================================ */
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0;
}
.ps-box {
  border-radius: 12px;
  padding: 28px 24px;
}
.ps-box--problem {
  background: rgba(255, 100, 100, 0.06);
  border: 1px solid rgba(255, 100, 100, 0.2);
}
.ps-box--solution {
  background: rgba(68, 194, 199, 0.06);
  border: 1px solid rgba(68, 194, 199, 0.3);
}
.ps-box h5 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.ps-box--problem h5 {
  color: #e53e3e;
}
.ps-box--solution h5 {
  color: var(--teal-dk);
}
.ps-box p {
  color: var(--muted);
  font-size: 14px;
}

/* ============================================================
   CORPORATE BANKING
   ============================================================ */
.feature-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-col h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-col p {
  color: var(--muted);
  font-size: 14px;
}
.feature-col {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.mission-grid h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}
.mission-grid p {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.contact-col h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
}
.contact-col p,
.contact-col address {
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.contact-col a {
  color: var(--teal-dk);
  font-weight: 600;
  display: block;
}
.contact-col a:hover {
  color: var(--navy);
}

.hiring-section {
  display: flex;
  align-items: center;
  gap: 60px;
}
.hiring-content {
  flex: 1;
}
.hiring-content h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}
.hiring-content p {
  color: var(--muted);
  margin-bottom: 24px;
}
.hiring-image {
  flex: 0 0 320px;
}
.hiring-image img {
  max-width: 280px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--white);
}
.footer-nav {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}
.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}
.footer-col ul li a:hover {
  color: var(--teal-dk);
}

.footer-bottom {
  background: var(--navy);
  padding: 36px 0 28px;
}
.footer-bottom-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.footer-logo .site-logo {
  width: 140px;
}
.social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  transition:
    background 0.2s,
    color 0.2s;
  text-decoration: none;
}
.social-icon:hover {
  background: var(--teal);
  color: var(--white);
}
.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-address {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-bottom: 10px;
}
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}
.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 600;
  transition: color 0.15s;
}
.footer-legal-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 60px) 24px 80px;
  background: var(--light);
}
.page-404 .e-404 {
  font-size: 80px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 12px;
}
.page-404 p {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 28px;
}

/* ============================================================
   HERO SIMPLE (blog, resources)
   ============================================================ */
.hero-simple {
  background: var(--navy);
  padding: calc(var(--header-h) + 50px) 0 60px;
  text-align: center;
}
.hero-simple h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.hero-simple p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 28px;
}
.hero-simple img {
  max-width: 280px;
  margin: 24px auto 0;
}

.entry-content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px 0 20px;
}

.entry-content-wrap h1 {
  color: #023682;
  font-size: 48px;
  font-weight: 500;
  line-height: 60px;
  word-spacing: 0px;
}

.entry-content-wrap h3 {
  margin: 1.5em 0 0.5em;
  color: #023682;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

.entry-content-wrap ul {
  list-style: disc;
  margin: 0 0 2rem;
  padding-left: 2em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .mega-menu {
    width: 600px;
    left: -200px;
  }
  .mega-menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-boxes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col-section {
    gap: 40px;
  }
  .feature-row__image {
    flex: 0 0 320px;
  }
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .integration-top-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .plugin-row {
    flex-direction: column !important;
    gap: 28px;
  }
  .plugin-row__image {
    flex: none;
  }
  .hiring-section {
    flex-direction: column;
    gap: 28px;
  }
  .hiring-image {
    flex: none;
  }
}
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }
  .primary-nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-drawer {
    display: block;
  }
  .hero-inner {
    flex-direction: column;
    gap: 32px;
  }
  .hero-image {
    display: none;
  }
  .two-col-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-row {
    flex-direction: column !important;
    gap: 28px;
  }
  .feature-row__image {
    flex: none;
    width: 100%;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-row {
    flex-direction: column;
  }
  .stat-counter {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .stat-counter:last-child {
    border-bottom: none;
  }
  .ps-grid {
    grid-template-columns: 1fr;
  }
  .feature-cols {
    grid-template-columns: 1fr;
  }
  .mission-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom-top {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .product-boxes-grid {
    grid-template-columns: 1fr;
  }
  .knowledge-grid {
    grid-template-columns: 1fr;
  }
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }
  .hero-pills {
    gap: 8px;
  }
  .hero-pill {
    font-size: 13px;
    padding: 6px 14px;
  }
  .section {
    padding: 56px 0;
  }
  .section--alt {
    padding: 56px 0;
  }
  .page-hero {
    padding: calc(var(--header-h) + 40px) 0 56px;
  }
}
