/* =============================================================
   MYSTiQUE AI — Main Stylesheet
   ============================================================= */

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: #f5f5f5;
  color: #3b3c4a;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Variables ---- */
:root {
  --purple: #582fbe;
  --purple-light: #8b5cff;
  --purple-bg: #ece4ff;
  --blue: #0085cb;
  --gradient: linear-gradient(135deg, #582fbd 0%, #0085cb 100%);
  --gradient-btn: linear-gradient(15.91deg, #0085cb 26.45%, #582fbd 89.26%);
  --dark: #090909;
  --black: #000;
  --white: #fff;
  --text-dark: #3b3c4a;
  --text-light: #888;
  --border-purple: #493380;
  --nav-height: 85px;
  --banner-height: 45px;
}

/* ================================================================
   TOP ANNOUNCEMENT BANNER
   ================================================================ */
.site-announcement {
  width: 100%;
  height: 45px;
  background: linear-gradient(0.21deg, #582fbd -21.54%, #0085cb 109.61%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1000;
}

.site-announcement p {
  color: #fff;
  font-size: 14px;
  text-align: center;
  text-transform: capitalize;
}

.site-announcement .close-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #fff;
  line-height: 0;
}

.site-announcement .close-btn:hover { opacity: 0.7; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.site-header {
  width: 100%;
  background: #000;
  box-shadow: 0 4px 4px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-inner {
  max-width: 1298px;
  margin: 0 auto;
  padding: 0 100px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 46px;
  width: auto;
}

.site-logo .logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Grid logo SVG */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 6px);
  grid-template-rows: repeat(3, 6px);
  gap: 2px;
}
.logo-grid span {
  display: block;
  background: #582fbe;
  border-radius: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-menu .menu-item > a {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-menu .menu-item > a:hover { color: #8b5cff; }

.nav-menu .menu-item > a .arrow {
  width: 10px;
  height: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 0.2s;
}

.nav-menu .menu-item:hover > a .arrow { transform: rotate(180deg); }

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -20px;
  min-width: 220px;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #ccc;
  font-size: 14px;
  transition: all 0.15s;
}

.dropdown-menu li a:hover {
  background: #1a1a1a;
  color: #8b5cff;
  padding-left: 26px;
}

.nav-cta {
  background: var(--purple);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: #6b3ed4 !important; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--purple);
  border: 1px solid var(--border-purple);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: #6b3ed4;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(88,47,190,0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border-purple);
  color: var(--purple);
  font-size: 18px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--purple-bg);
  transform: translateY(-1px);
}

.btn-gradient {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-btn);
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-gradient:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(88,47,190,0.4);
}

.btn-sm {
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 7px;
  gap: 7px;
}

/* Arrow icon in buttons */
.btn-arrow {
  display: inline-block;
  width: 18px;
  height: 17px;
  flex-shrink: 0;
}

/* ================================================================
   HERO — HOMEPAGE
   ================================================================ */
.hero-home {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-home .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-home .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1298px;
  margin: 0 auto;
  padding: 120px 100px 80px;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 60px;
}

.hero-home .hero-content { max-width: 600px; }

.hero-home .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(88,47,190,0.2);
  border: 1px solid rgba(88,47,190,0.4);
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-home h1 {
  font-size: 62px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-transform: capitalize;
  margin-bottom: 24px;
}

.hero-home h1 span { color: var(--purple-light); }

.hero-home .hero-subtitle {
  font-size: 20px;
  color: #ccc;
  margin-bottom: 16px;
  line-height: 1.6;
}

.hero-home .hero-subtitle-purple {
  font-size: 18px;
  color: var(--purple-light);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-home .hero-btns {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Trusted Bar */
.trusted-bar {
  background: #f9f9f9;
  padding: 18px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.trusted-inner {
  max-width: 1298px;
  margin: 0 auto;
  padding: 0 100px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.trusted-bar .trusted-label {
  font-size: 13px;
  color: #888;
  font-weight: 500;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trusted-bar .trusted-items {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trusted-bar .trusted-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
  font-weight: 500;
}

.trusted-bar .trusted-item svg { flex-shrink: 0; }

.badge-iso {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

/* ================================================================
   SECTION COMMONS
   ================================================================ */
section { width: 100%; }

.section-inner {
  max-width: 1298px;
  margin: 0 auto;
  padding: 0 100px;
}

.section-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--purple);
  margin-bottom: 12px;
  text-align: center;
}

.section-tag.left { text-align: left; }

.section-title {
  font-size: 41px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin-bottom: 20px;
  text-transform: capitalize;
}

.section-title.center { text-align: center; }

.section-subtitle {
  font-size: 18px;
  color: var(--text-dark);
  line-height: 1.7;
}

.section-subtitle.center { text-align: center; max-width: 900px; margin: 0 auto 20px; }

/* ================================================================
   HOMEPAGE — PAIN POINTS
   ================================================================ */
.pain-points-section {
  padding: 80px 0;
  background: #fff;
}

.pain-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 50px;
}

.pain-left .section-title {
  font-size: 41px;
  text-align: left;
}

.pain-left .description {
  font-size: 18px;
  line-height: 1.8;
  color: #3b3c4a;
  margin-top: 20px;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pain-card {
  background: #f9f7ff;
  border: 1px solid #e8e0ff;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.25s;
}

.pain-card:hover {
  border-color: var(--purple);
  box-shadow: 0 4px 20px rgba(88,47,190,0.12);
  transform: translateY(-2px);
}

.pain-card .icon {
  width: 40px;
  height: 40px;
  background: var(--purple-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.pain-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* ================================================================
   HOMEPAGE — AI TEAMS / VALUE PROPS SECTION (purple bg)
   ================================================================ */
.value-section {
  background: var(--purple-bg);
  padding: 80px 0;
}

.value-section .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.value-left h2 {
  font-size: 41px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin-bottom: 20px;
}

.value-left .value-desc {
  font-size: 18px;
  color: #3b3c4a;
  line-height: 1.7;
  margin-bottom: 30px;
}

.value-right .value-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
}

.value-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
}

.value-list { display: flex; flex-direction: column; gap: 10px; }

.value-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.value-list-item .check {
  width: 18px;
  height: 18px;
  background: var(--purple-bg);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ================================================================
   AGENTIC ADVANTAGE SECTION
   ================================================================ */
.agentic-section {
  padding: 80px 0;
  background: #000;
  position: relative;
  overflow: hidden;
}

.agentic-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(88,47,190,0.15) 0%, transparent 70%);
}

.agentic-inner {
  max-width: 1298px;
  margin: 0 auto;
  padding: 0 100px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.agentic-left h2 {
  font-size: 41px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
}

.agentic-left .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.agentic-left .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

.agentic-right p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 40px;
}

.agentic-right p span { color: #fff; font-weight: 600; }

.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
  grid-column: 1 / -1;
}

.advantage-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s;
}

.advantage-card:hover {
  background: rgba(88,47,190,0.15);
  border-color: rgba(88,47,190,0.4);
  transform: translateY(-3px);
}

.advantage-card .icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.advantage-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
  margin: 0;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-section {
  padding: 80px 0;
  background: #fff;
}

.testimonials-section .section-title { text-align: center; }

.testimonials-slider {
  position: relative;
  margin-top: 50px;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.testimonial-card {
  min-width: calc(50% - 12px);
  background: #f9f7ff;
  border: 1px solid #e8e0ff;
  border-radius: 16px;
  padding: 32px;
}

.testimonial-card .quote {
  font-size: 15px;
  color: #3b3c4a;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card .client {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.testimonial-card .client-info .name {
  font-size: 15px;
  font-weight: 600;
  color: #000;
}

.testimonial-card .client-info .role {
  font-size: 13px;
  color: #888;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.slider-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

/* ================================================================
   KNOWLEDGE BASE
   ================================================================ */
.knowledge-section {
  padding: 80px 0;
  background: #f9f9f9;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.knowledge-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.knowledge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.knowledge-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.knowledge-card .card-body {
  padding: 24px;
}

.knowledge-card .tag {
  display: inline-block;
  background: var(--purple-bg);
  color: var(--purple);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.knowledge-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #000;
  line-height: 1.4;
  margin-bottom: 12px;
}

.knowledge-card .meta {
  font-size: 13px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
}

.knowledge-card .read-time {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--purple);
}

/* ================================================================
   SECURITY BADGES (Built with Enterprise-Grade)
   ================================================================ */
.security-section {
  padding: 60px 0;
  background: var(--purple-bg);
}

.security-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.security-card + .security-card {
  margin-top: 20px;
}

.security-card-inner {
  max-width: 1298px;
  margin: 0 auto;
  padding: 0 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sec-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.sec-card .sec-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.sec-card .sec-info p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

.sec-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  background: #fff;
}

.badge-item.active {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-bg);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: #000;
  padding: 80px 0 0;
}

.footer-inner {
  max-width: 1298px;
  margin: 0 auto;
  padding: 0 100px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand .tagline {
  font-size: 14px;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-brand .address {
  font-size: 13px;
  color: #888;
  line-height: 2;
}

.footer-brand .contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
  margin-top: 8px;
  transition: color 0.2s;
}

.footer-brand .contact a:hover { color: var(--purple-light); }

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #888;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--purple-light); }

.footer-subscribe h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.footer-subscribe p {
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
}

.footer-subscribe label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}

.footer-subscribe label span { color: #f00; }

.footer-subscribe .input-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-subscribe input[type="email"] {
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 7px;
  padding: 12px 16px;
  font-size: 14px;
  color: #333;
  outline: none;
}

.footer-subscribe input[type="email"]:focus {
  border-color: var(--purple);
}

.footer-subscribe .btn-send {
  background: var(--gradient-btn);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.2s;
}

.footer-subscribe .btn-send:hover { opacity: 0.9; }

.footer-bottom {
  border-top: 1px solid rgba(63,63,66,0.75);
  max-width: 1298px;
  margin: 0 auto;
  padding: 24px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 15px;
  color: #fff;
}

.footer-bottom .footer-links {
  display: flex;
  gap: 30px;
}

.footer-bottom .footer-links a {
  font-size: 15px;
  color: #fff;
  transition: color 0.2s;
}

.footer-bottom .footer-links a:hover { color: var(--purple-light); }

.footer-iso {
  margin: 0 auto;
  max-width: 1298px;
  padding: 20px 100px;
  border-top: 1px solid rgba(63,63,66,0.4);
}

.iso-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #aaa;
}

/* ================================================================
   HOMEPAGE — "See It In Action" CTA
   ================================================================ */
.see-action-section {
  padding: 20px 0 40px;
  background: #fff;
  text-align: center;
}

.see-action-inner {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* ================================================================
   HOMEPAGE — VIDEO SECTION
   ================================================================ */
.video-section {
  padding: 80px 0;
  background: #111;
}

.video-inner {
  max-width: 1298px;
  margin: 0 auto;
  padding: 0 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.video-embed {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
  cursor: pointer;
}

.video-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  transition: background 0.2s;
}

.play-btn:hover { background: rgba(0,0,0,0.2); }

.play-btn svg {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 0 20px rgba(255,0,0,0.5));
}

/* ================================================================
   SCROLL METRICS STRIP
   ================================================================ */
.metrics-strip {
  padding: 40px 0;
  background: #fff;
}

.metrics-grid {
  max-width: 1298px;
  margin: 0 auto;
  padding: 0 100px;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 16px;
}

.metrics-row.bottom { margin-bottom: 0; }

.metric-item {
  text-align: center;
}

.metric-value {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  line-height: 1;
}

.metric-value.animated {
  color: var(--purple);
}

.metric-label {
  font-size: 13px;
  color: #888;
  margin-top: 6px;
}

/* ================================================================
   LOGISTICS PAGE — HERO
   ================================================================ */
.hero-logistics {
  width: 100%;
  min-height: 635px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-logistics .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-logistics .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
}

.hero-logistics .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1298px;
  margin: 0 auto;
  padding: 130px 100px 80px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.hero-logistics .hero-content {
  flex: 0 0 auto;
  max-width: 620px;
}

.hero-logistics h1 {
  font-size: 55px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-transform: capitalize;
  margin-bottom: 24px;
}

.hero-logistics .sub1 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.5;
}

.hero-logistics .sub2 {
  font-size: 22px;
  color: var(--purple-light);
  margin-bottom: 32px;
  line-height: 1.5;
}

.hero-logistics .hero-btns {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Hero right — table.png image widget */
.hero-stats-widget {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 380px;
  max-width: 520px;
}

/* table.png image — fills the hero right column */
.hero-table-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(88,47,190,0.25),
    0 24px 64px rgba(0,0,0,0.6),
    0 4px 16px rgba(88,47,190,0.3);
  filter: drop-shadow(0 8px 32px rgba(88,47,190,0.25));
}

/* ================================================================
   LOGISTICS — METRICS STRIP (Single row, scroll-triggered counters)
   ================================================================ */
.logistics-metrics {
  padding: 50px 0;
  background: #fff;
}

.logistics-metrics-inner {
  max-width: 1298px;
  margin: 0 auto;
  padding: 0 100px;
}

/* Single row of 4 metrics — no duplicate bottom row */
.metrics-placeholder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #f9f7ff;
  border: 1px solid #e8e0ff;
  border-radius: 12px;
  overflow: hidden;
}

.lmetric-item {
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid #e8e0ff;
  background: #fff;
  transition: background 0.2s;
}

.lmetric-item:last-child { border-right: none; }

.lmetric-item:hover { background: #f9f7ff; }

/* Numbers start at 0 and count up on scroll */
.lmetric-value {
  font-size: 40px;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
  display: block;
  transition: color 0.3s;
}

/* Static value (the <5min one that doesn't animate) */
.lm-static {
  font-size: 40px;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
  display: block;
}

.lmetric-label {
  display: block;
  font-size: 13px;
  color: #888;
  margin-top: 10px;
  font-weight: 500;
}

/* Fade-up animation when counters trigger */
@keyframes lmFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lm-animated {
  animation: lmFadeUp 0.5s ease forwards;
}

/* ================================================================
   LOGISTICS — PAIN POINTS / WHAT'S SLOWING DOWN
   ================================================================ */
.slowing-section {
  padding: 80px 0;
  background: #fff;
}

.slowing-inner {
  max-width: 1298px;
  margin: 0 auto;
  padding: 0 100px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.slowing-left .section-title {
  font-size: 41px;
  text-align: left;
}

.slowing-left .description {
  font-size: 18px;
  line-height: 1.8;
  color: #3b3c4a;
  margin-top: 24px;
}

.slowing-right .pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ================================================================
   LOGISTICS — SOLUTION (purple bg)
   ================================================================ */
.solution-section {
  background: var(--purple-bg);
  padding: 80px 0;
}

.solution-inner {
  max-width: 1298px;
  margin: 0 auto;
  padding: 0 100px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.solution-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1.5px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
  cursor: default;
}

.solution-card:hover {
  border-color: var(--purple);
  box-shadow:
    0 0 0 1px rgba(88,47,190,0.2),
    0 8px 28px rgba(88,47,190,0.18),
    0 2px 8px rgba(88,47,190,0.1);
  transform: translateY(-4px);
  background: rgba(88,47,190,0.03);
}

.solution-card .icon {
  width: 48px;
  height: 48px;
  background: var(--purple-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.solution-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* PNG icon sizing */
.solution-card .icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: filter 0.25s ease;
}

/* Icon glow on card hover */
.solution-card:hover .icon img {
  filter: brightness(1.1) drop-shadow(0 0 8px rgba(139,92,255,0.5));
}

/* Pain card PNG icons */
.pain-card .icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.solution-cta {
  text-align: center;
  margin-top: 40px;
}

/* ================================================================
   LOGISTICS — VIDEO SECTION
   ================================================================ */
.video-cta-section {
  background: #000;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.video-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(88,47,190,0.2) 0%, transparent 65%);
}

.video-cta-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.video-cta-section h2 {
  font-size: 41px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 50px;
}

.video-cta-section h2 span { color: var(--purple-light); }

.video-thumb {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16/9;
  cursor: pointer;
  margin: 0 auto;
  max-width: 800px;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
}

.video-thumb .play-btn svg {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 30px rgba(255,50,50,0.8));
}

.video-cta-section .cta-below {
  margin-top: 36px;
}

/* ================================================================
   LOGISTICS — ONE CLICK WORKFLOW
   ================================================================ */
.workflow-section {
  padding: 80px 0;
  background: #fff;
}

.workflow-inner {
  max-width: 1298px;
  margin: 0 auto;
  padding: 0 100px;
}

.workflow-header {
  text-align: center;
  margin-bottom: 60px;
}

.workflow-header p {
  font-size: 18px;
  color: #666;
  max-width: 900px;
  margin: 20px auto 0;
  line-height: 1.7;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.workflow-card {
  background: #f9f7ff;
  border: 1px solid #e8e0ff;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.25s;
}

.workflow-card:hover {
  border-color: var(--purple);
  box-shadow: 0 6px 24px rgba(88,47,190,0.12);
  transform: translateY(-2px);
}

.workflow-card .icon {
  width: 52px;
  height: 52px;
  background: var(--purple-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.workflow-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.workflow-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* ================================================================
   LOGISTICS — CASE STUDIES (Who's Seen the Difference)
   ================================================================ */
.cases-section {
  padding: 80px 0;
  background: var(--purple-bg);
}

.cases-inner {
  max-width: 1298px;
  margin: 0 auto;
  padding: 0 100px;
}

.cases-header {
  text-align: center;
  margin-bottom: 50px;
}

.cases-slider {
  position: relative;
  overflow: hidden;
}

.cases-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.case-card {
  min-width: calc(33.333% - 14px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

.case-card .case-image {
  position: relative;
  height: 180px;
  background: #1a0535;
  overflow: hidden;
}

.case-card .case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card .case-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--purple-bg);
  color: var(--purple);
  font-size: 9px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.case-card .case-logo {
  position: absolute;
  bottom: 12px;
  right: 12px;
  height: 11px;
}

.case-card .case-body {
  padding: 20px;
}

.case-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.case-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-card .case-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-bg);
  border-radius: 20px;
  padding: 5px 12px;
  width: fit-content;
}

.case-card .case-meta span {
  font-size: 10px;
  font-weight: 500;
  color: var(--purple);
}

.cases-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

/* ================================================================
   COUNTER ANIMATION
   ================================================================ */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.counter-animated {
  animation: countUp 0.5s ease forwards;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .section-inner,
  .nav-inner,
  .agentic-inner,
  .footer-inner,
  .footer-bottom,
  .footer-iso,
  .trusted-inner,
  .slowing-inner,
  .solution-inner,
  .workflow-inner,
  .cases-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .hero-home h1 { font-size: 44px; }
  .hero-logistics h1 { font-size: 40px; }
  .section-title { font-size: 30px; }

  .hero-home .hero-inner,
  .hero-logistics .hero-inner {
    padding: 100px 40px 60px;
    flex-direction: column;
  }

  .pain-columns,
  .value-section .section-inner,
  .agentic-inner,
  .slowing-inner { grid-template-columns: 1fr; }

  .solution-grid { grid-template-columns: 1fr 1fr; }
  .workflow-grid { grid-template-columns: 1fr 1fr; }
  .knowledge-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .metrics-row { grid-template-columns: 1fr 1fr; }
  .metrics-placeholder { grid-template-columns: 1fr 1fr; }
  .testimonials-track .testimonial-card { min-width: 100%; }
  .advantage-grid { grid-template-columns: 1fr 1fr; }
  .cases-track .case-card { min-width: calc(50% - 10px); }
  /* Show table.png widget on tablet but hide on small mobile */
  .hero-stats-widget { max-width: 380px; }
}

@media (max-width: 600px) {
  .section-inner,
  .nav-inner,
  .agentic-inner,
  .footer-inner,
  .footer-bottom,
  .slowing-inner,
  .solution-inner,
  .workflow-inner,
  .cases-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-home .hero-inner,
  .hero-logistics .hero-inner {
    padding: 80px 20px 40px;
  }

  .solution-grid,
  .workflow-grid,
  .knowledge-grid,
  .footer-inner { grid-template-columns: 1fr; }

  .hero-home h1 { font-size: 32px; }
  .hero-logistics h1 { font-size: 30px; }
  .hero-logistics .sub1,
  .hero-logistics .sub2 { font-size: 17px; }

  .hero-btns { flex-direction: column; align-items: flex-start; }
  .btn-primary,
  .btn-outline { font-size: 15px; padding: 10px 18px; }

  .advantage-grid { grid-template-columns: 1fr; }
  .cases-track .case-card { min-width: 90%; }

  /* Hide hero widget on very small screens */
  .hero-stats-widget { display: none; }

  /* Metrics 2-col on mobile */
  .metrics-placeholder { grid-template-columns: 1fr 1fr; }
  .lmetric-value,
  .lm-static { font-size: 28px; }
}

/* ================================================================
   LOGISTICS SCROLL-TRIGGERED COUNTER SCRIPT
   (Inline JS added via wp_footer or functions.php enqueue,
    but we keep a CSS-only fallback coloring here)
   ================================================================ */
/* Ensure values are purple-coloured even before JS fires */
#logistics-metrics-row .lmetric-value,
#logistics-metrics-row .lm-static {
  color: var(--purple);
}

/* ================================================================
   NOTE FOR DEVELOPER:
   Add the following script block to your theme's footer
   (e.g. in footer.php before </body>, or enqueue via functions.php).
   It handles the scroll-triggered count-up animation for the
   logistics metrics strip (#logistics-metrics-row).

   <script>
   (function(){
     var row = document.getElementById('logistics-metrics-row');
     if (!row) return;
     var counters = row.querySelectorAll('.lm-counter');
     var fired = false;

     function easeOut(t) { return 1 - Math.pow(1 - t, 3); }

     function animateCounter(el) {
       var target   = parseFloat(el.dataset.target);
       var suffix   = el.dataset.suffix  || '';
       var decimals = parseInt(el.dataset.decimal || '0', 10);
       var duration = 1600; // ms
       var start    = null;

       el.classList.add('lm-animated');

       function step(ts) {
         if (!start) start = ts;
         var progress = Math.min((ts - start) / duration, 1);
         var val = easeOut(progress) * target;
         el.textContent = val.toFixed(decimals) + suffix;
         if (progress < 1) requestAnimationFrame(step);
         else el.textContent = target.toFixed(decimals) + suffix;
       }
       requestAnimationFrame(step);
     }

     function onScroll() {
       if (fired) return;
       var rect = row.getBoundingClientRect();
       if (rect.top < window.innerHeight - 80) {
         fired = true;
         counters.forEach(function(el) { animateCounter(el); });
         window.removeEventListener('scroll', onScroll);
       }
     }

     window.addEventListener('scroll', onScroll, { passive: true });
     onScroll(); // fire immediately if already in view on load
   })();
   </script>
   ================================================================ */