/* ================================================
   KLK SISTEMAS - Landing Page Styles
   Réplica Pixel-Perfect del Diseño de Referencia
   ================================================ */

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

/* ---- CSS Custom Properties ---- */
:root {
  /* Blues */
  --royal-blue: #0B52D6;
  --royal-blue-hover: #0940A8;
  --royal-blue-dark: #0B42A6;
  --blue-wedge: #1545A8;
  --navy-deep: #011438;
  --navy-darker: #020B1F;
  --navy-footer: #010D2A;
  --sky-blue: #38BDF8;
  --blue-connector: #2563EB;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0A1128;

  /* Layout */
  --container-width: 1140px;
  --header-height: 80px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 50px;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

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

/* ================================================
   HEADER
   ================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  height: var(--header-height);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: box-shadow 0.25s ease;
}

.header.scrolled {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-logo-img {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.header-logo-img:hover {
  transform: scale(1.02);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--royal-blue);
  background: var(--gray-50);
}

.nav-link .arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

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

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 190px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  border: 1px solid var(--gray-200);
  z-index: 100;
}

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

.dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
}

.dropdown a:hover {
  background: var(--gray-100);
  color: var(--royal-blue);
}

/* Header CTA Button */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--royal-blue);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--royal-blue-hover);
  box-shadow: 0 4px 12px rgba(11, 82, 214, 0.35);
}

.cta-arrow {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.header-cta:hover .cta-arrow {
  transform: translateX(3px);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================================
   HERO
   ================================================ */
.hero {
  padding-top: calc(var(--header-height) + 25px);
  padding-bottom: 25px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

/* Dynamic Curved Hero Gradient Background matching reference */
.hero-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-gradient-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-container {
  display: grid;
  grid-template-columns: 0.88fr 1.45fr;
  gap: 15px;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1260px;
}

.hero-content {
  max-width: 520px;
}

.hero-accent {
  width: 36px;
  height: 5px;
  background: var(--royal-blue);
  border-radius: 3px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.14;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-title .hero-blue {
  color: var(--royal-blue);
  font-weight: 800;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 430px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--royal-blue);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(11, 82, 214, 0.35);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--royal-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 82, 214, 0.45);
}

.btn-arrow {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--gray-100);
  color: var(--gray-900);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--gray-200);
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
  margin-right: -55px;
}

.hero-devices-img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.14));
  transition: transform 0.3s ease;
  transform: translateX(45px);
}

@media (min-width: 1280px) {
  .hero-image-wrapper {
    margin-right: -80px;
  }

  .hero-devices-img {
    max-width: 770px;
    transform: translateX(65px);
  }
}

/* ================================================
   FEATURES BAR (Floating Overlapping White Card)
   ================================================ */
.features-bar {
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 10;
  margin-top: 32px;
  margin-bottom: 50px;
}

.features-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.12), 0 3px 12px rgba(11, 82, 214, 0.08);
  border: 2px solid #C4D5F6;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.features-card:hover {
  border-color: rgba(11, 82, 214, 0.4);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.15), 0 6px 16px rgba(11, 82, 214, 0.12);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.25;
  margin-bottom: 3px;
}

.feature-text p {
  font-size: 0.72rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* ================================================
   ECOSYSTEM / SOLUCIONES (Dark Navy Section)
   ================================================ */
.ecosystem {
  background: radial-gradient(circle at 50% 15%, #082963 0%, #011438 75%);
  padding: 65px 0 70px;
  color: var(--white);
  position: relative;
  z-index: 5;
}

.ecosystem-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.ecosystem-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 36px;
}

.ecosystem-header .section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sky-blue);
  margin-bottom: 10px;
  display: block;
}

.ecosystem-header .section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}

.ecosystem-header .section-desc {
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.6;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: all 0.25s ease;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-outline .btn-arrow {
  font-size: 1rem;
}

/* ================================================
   SOLUTIONS SECTION (Super-Pro Interactive Grid)
   ================================================ */
/* Category Filter Nav */
.solutions-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 auto 42px;
  max-width: 960px;
  position: relative;
  z-index: 2;
}

.sol-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: #E2E8F0;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.sol-filter-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
}

.sol-filter-btn.active {
  background: linear-gradient(135deg, #0B52D6 0%, #0284C7 100%);
  color: #FFFFFF;
  border-color: #38BDF8;
  box-shadow: 0 6px 22px rgba(11, 82, 214, 0.45);
  transform: translateY(-2px);
}

.sol-filter-btn i {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Large 3-Column Solutions Grid */
.solutions-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

/* Large Super-Pro Card */
.solution-card-item {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 470px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.25s ease;
}

.solution-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0B52D6, #38BDF8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solution-card-item:hover {
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45), 0 0 30px rgba(56, 189, 248, 0.25);
  border-color: rgba(56, 189, 248, 0.85);
}

.solution-card-item:hover::before {
  opacity: 1;
}

/* Topbar: Category Tag + Zoom Hint */
.sol-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  width: 100%;
}

.sol-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: #EFF6FF;
  color: #0B52D6;
  border: 1px solid #BFDBFE;
}

.sol-card-zoom {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #F1F5F9;
  transition: all 0.2s ease;
}

.solution-card-item:hover .sol-card-zoom {
  background: #EFF6FF;
  color: #0B52D6;
}

/* Image Showcase Stage */
.solution-card-img {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at center, #FFFFFF 30%, #F8FAFC 100%);
  border: 1px solid #E2E8F0;
  padding: 12px;
  position: relative;
  transition: background 0.3s ease;
}

.solution-card-item:hover .solution-card-img {
  background: radial-gradient(circle at center, #FFFFFF 20%, #EFF6FF 100%);
}

.solution-card-img img {
  max-width: 100%;
  max-height: 175px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.solution-card-item:hover .solution-card-img img {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 16px 28px rgba(11, 82, 214, 0.22));
}

/* Card Body */
.sol-card-body {
  text-align: left;
  margin-bottom: 16px;
  flex-grow: 1;
}

.sol-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 3px;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.sol-card-subtitle {
  font-size: 0.84rem;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Chips List */
.sol-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sol-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 4px 9px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.sol-chip i {
  color: #0B52D6;
  font-size: 0.72rem;
}

.solution-card-item:hover .sol-chip {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

/* Bottom Action Button */
.sol-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: #F8FAFC;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  margin-top: auto;
  transition: all 0.25s ease;
}

.sol-action-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0B52D6;
  transition: color 0.25s ease;
}

.sol-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #EFF6FF;
  color: #0B52D6;
  font-size: 0.78rem;
  transition: all 0.25s ease;
}

.solution-card-item:hover .sol-card-action {
  background: #0B52D6;
  border-color: #0B52D6;
}

.solution-card-item:hover .sol-action-text {
  color: #FFFFFF;
}

.solution-card-item:hover .sol-action-icon {
  background: #FFFFFF;
  color: #0B52D6;
  transform: translateX(3px);
}

.sol-card-hidden {
  display: none !important;
}

.ecosystem-footer-cta {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

/* ================================================
   ERP INTEGRATIONS (New Dedicated Section)
   ================================================ */
/* ================================================
   ERP INTEGRATIONS (Unified Dynamic Showcase)
   ================================================ */
.erp-section {
  padding: 75px 0 70px;
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 50%, #F8FAFC 100%);
  position: relative;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.erp-container {
  max-width: 1320px;
  margin: 0 auto;
}

.erp-section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 35px;
}

.erp-section-header .section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--royal-blue);
  margin-bottom: 10px;
  display: block;
}

.erp-section-header .section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}

/* Unified Dynamic Card */
.erp-unified-wrapper {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.erp-unified-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid #C4D5F6;
  box-shadow: 0 16px 42px rgba(11, 82, 214, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 22px 28px 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.erp-unified-card:hover {
  box-shadow: 0 20px 48px rgba(11, 82, 214, 0.12), 0 6px 20px rgba(0, 0, 0, 0.05);
  border-color: rgba(11, 82, 214, 0.35);
}

/* Dynamic shifting gradient accent line at top of card */
.erp-unified-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, #0B52D6, #38BDF8, #2563EB, #0B52D6);
  background-size: 200% 100%;
  animation: erpGradientShift 6s linear infinite;
}

@keyframes erpGradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Top Live Status Header */
.erp-live-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  margin-bottom: 4px;
  flex-wrap: wrap;
  gap: 12px;
}

.erp-live-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gray-800);
}

.erp-pulse-beacon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
}

.beacon-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.beacon-ring {
  position: absolute;
  width: 18px;
  height: 18px;
  background: rgba(16, 185, 129, 0.35);
  border-radius: 50%;
  animation: beaconPulse 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes beaconPulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.erp-badges-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.erp-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--royal-blue);
  background: rgba(11, 82, 214, 0.07);
  border: 1px solid rgba(11, 82, 214, 0.14);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* Dynamic Marquee Ribbon with 7 ERP Logos */
.erp-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 16px 0;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.erp-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: erpMarqueeFlow 32s linear infinite;
  will-change: transform;
}

.erp-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes erpMarqueeFlow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.erp-logo-slot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  min-width: 185px;
  padding: 0 16px;
  cursor: pointer;
}

.erp-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, filter 0.25s ease;
  height: 100%;
  width: 100%;
}

.erp-logo-slot:hover .erp-logo-box {
  transform: translateY(-3px) scale(1.09);
  filter: drop-shadow(0 4px 12px rgba(11, 82, 214, 0.18));
}

.erp-logo-box img {
  max-height: 44px;
  max-width: 145px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.erp-logo-box .erp-b1 {
  max-height: 44px;
}

.erp-logo-box .erp-odoo {
  max-height: 32px;
}

.erp-logo-box .erp-dynamics {
  max-height: 42px;
  max-width: 155px;
}

.erp-profit-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.erp-profit-img {
  max-height: 32px !important;
  max-width: 115px !important;
}

.profit-badge {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.2;
  letter-spacing: 0.4px;
}

.profit-badge.badge-2k8 {
  background: linear-gradient(135deg, #0284c7, #0050d8);
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(2, 132, 199, 0.3);
}

.profit-badge.badge-2kdoce {
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #1e293b;
  box-shadow: 0 2px 5px rgba(234, 179, 8, 0.3);
}

.erp-slot-divider {
  width: 1px;
  height: 34px;
  background: rgba(226, 232, 240, 0.9);
  flex-shrink: 0;
}

/* Bottom Feature Highlights */
.erp-unified-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  margin-top: 4px;
}

.erp-footer-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
}

.erp-footer-pill i {
  color: var(--royal-blue);
  font-size: 0.88rem;
}

/* ================================================
   INDUSTRIES
   ================================================ */
.industries {
  padding: 65px 0 60px;
  background: var(--white);
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.industry-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.industry-image-container {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: visible;
}

.industry-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* The signature blue badge overlapping photo */
.industry-badge {
  position: absolute;
  bottom: -17px;
  left: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 10px rgba(11, 82, 214, 0.35);
  z-index: 2;
}

.industry-badge svg {
  width: 16px;
  height: 16px;
}

.industry-body {
  padding: 26px 16px 16px;
}

.industry-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.industry-body p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 12px;
}

.industry-arrow {
  color: var(--royal-blue);
  font-size: 1.15rem;
  font-weight: 700;
  display: inline-block;
  transition: transform 0.2s ease;
}

.industry-card:hover .industry-arrow {
  transform: translateX(4px);
}

/* ================================================
   CLIENTS (Continuous Flowing Carousel)
   ================================================ */
.clients {
  padding: 30px 0 65px;
  background: var(--white);
  position: relative;
  z-index: 2;
}

.clients-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
}

.clients-heading-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 20px;
}

.clients-heading-box .section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--royal-blue);
  margin-bottom: 8px;
  display: block;
}

.clients-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}

.clients-sub {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Category Filter Tabs */
.clients-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  max-width: 1100px;
}

.client-cat-btn {
  background: var(--white);
  color: var(--gray-700);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1.5px solid #E2E8F0;
  transition: all 0.25s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.client-cat-btn:hover {
  background: #EFF6FF;
  color: var(--royal-blue);
  border-color: #BFDBFE;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 82, 214, 0.08);
}

.client-cat-btn.active {
  background: linear-gradient(135deg, #0B52D6 0%, #0284C7 100%);
  color: #FFFFFF;
  border-color: #0B52D6;
  box-shadow: 0 4px 14px rgba(11, 82, 214, 0.35);
  transform: translateY(-2px);
}

.client-cat-btn i {
  font-size: 0.8rem;
}

/* Double Flowing Marquee Track */
.marquee-double-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 6px 0;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  transition: opacity 0.25s ease;
}

.marquee-track-left {
  animation: scrollMarqueeLeft 125s linear infinite;
}

.marquee-track-right {
  animation: scrollMarqueeRight 125s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarqueeLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollMarqueeRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  min-width: 180px;
  padding: 10px 22px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.marquee-item:hover {
  transform: translateY(-4px);
  border-color: #C4D5F6;
  box-shadow: 0 8px 20px rgba(11, 82, 214, 0.12);
}

.marquee-item img {
  max-height: 62px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.marquee-item:hover img {
  transform: scale(1.08);
}

/* ================================================
   SERVICES (Dark Navy Bar)
   ================================================ */
.services {
  padding: 0 0 50px;
  background: var(--white);
}

.services-bar {
  background: var(--navy-darker);
  border-radius: var(--radius-lg);
  padding: 26px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
}

.service-col {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-glow-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-glow-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.6));
}

.service-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.25;
}

.service-info p {
  font-size: 0.78rem;
  color: var(--gray-400);
  line-height: 1.45;
  margin: 0;
}

/* ================================================
   CONTACT & LOCATION
   ================================================ */
.contact {
  padding: 45px 0 55px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.contact-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 45px;
  align-items: start;
}

.contact-title,
.location-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--royal-blue);
  margin-bottom: 12px;
}

/* Social icons */
.social-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.social-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--royal-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-circle:hover {
  background: var(--royal-blue-hover);
  transform: translateY(-1px);
}

/* Form */
.contact-grid-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.form-row-three input,
.form-row-action input {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.82rem;
  color: var(--gray-800);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row-three input:focus,
.form-row-action input:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(11, 82, 214, 0.12);
}

.form-row-action {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-row-action input {
  flex: 1;
}

.btn-send {
  background: var(--royal-blue-dark);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
}

.btn-send:hover:not(:disabled) {
  background: var(--royal-blue-hover);
  transform: translateY(-1px);
}

.btn-send:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Honeypot Invisible */
.hp-check {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Form Feedback & WhatsApp Confirmation */
.form-feedback {
  margin-top: 8px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  line-height: 1.55;
  animation: fadeIn 0.3s ease;
}

.form-feedback.success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.form-feedback.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.feedback-wa-action {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-wa-direct {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
}

.btn-wa-direct:hover {
  background: #1EBE5D;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(37, 211, 102, 0.45);
}

.wa-hint-text {
  font-size: 0.76rem;
  color: #15803D;
}

/* Location Box */
.location-detail {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.location-pin {
  flex-shrink: 0;
  margin-top: 2px;
}

.map-wrapper {
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  height: 135px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--navy-footer);
  padding: 26px 0;
  color: var(--gray-400);
  font-size: 0.82rem;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.footer-logo-img:hover {
  transform: scale(1.03);
}

.footer-center p {
  color: var(--gray-400);
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: var(--white);
  font-weight: 600;
  font-size: 0.82rem;
}

.footer-link:hover {
  color: var(--sky-blue);
}

/* ================================================
   RESPONSIVE DESIGN
   =============================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-accent {
    margin: 0 auto 20px;
  }

  .hero-subtitle {
    margin: 0 auto 25px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image-wrapper {
    justify-content: center;
    margin-top: 20px;
    margin-right: 0;
  }

  .hero-devices-img {
    max-width: 580px;
    margin: 0 auto;
    transform: none;
  }

  .hero-bg-gradient {
    opacity: 0.22;
  }

  .features-card {
    grid-template-columns: repeat(3, 1fr);
  }

  .solutions-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .erp-unified-card {
    padding: 20px 22px 18px;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .clients-heading-box {
    text-align: center;
    margin-bottom: 6px;
  }

  .services-bar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  /* Header Mobile */
  .header-logo-img {
    height: 40px;
  }

  .header-cta {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .nav.active {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  /* Hero Mobile */
  .hero {
    padding-top: calc(var(--header-height) + 18px);
    padding-bottom: 25px;
    min-height: auto;
    overflow: hidden;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 15px;
    width: 100%;
    max-width: 100%;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.18;
    margin-bottom: 14px;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0 auto 20px;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .hero-image-wrapper {
    margin: 10px auto 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    transform: none;
    overflow: hidden;
  }

  .hero-devices-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    transform: none;
    margin: 0 auto;
  }

  /* Features Floating Card Mobile */
  .features-bar {
    margin-top: 25px;
    margin-bottom: 35px;
    width: 100%;
    padding: 0;
  }

  .features-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 16px;
    width: 100%;
  }

  .feature-item {
    align-items: center;
    gap: 12px;
  }

  /* Ecosystem Section Mobile */
  .ecosystem {
    padding: 55px 0 45px;
    overflow: hidden;
  }

  .ecosystem-header {
    margin-bottom: 25px;
  }

  .ecosystem-header .section-title {
    font-size: 1.65rem;
  }

  .ecosystem-header .section-desc {
    font-size: 0.88rem;
  }

  /* Solutions Section Mobile - Large & Legible */
  .solutions-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
  }

  .solutions-filter-nav {
    gap: 8px;
    margin-bottom: 25px;
  }

  .sol-filter-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .solution-card-item {
    min-height: auto;
    padding: 20px 18px 18px;
    border-radius: 16px;
  }

  .solution-card-img {
    height: 190px;
    margin-bottom: 14px;
  }

  .solution-card-img img {
    max-height: 165px;
  }

  .sol-card-title {
    font-size: 1.18rem;
  }

  .sol-card-subtitle {
    font-size: 0.82rem;
  }

  .sol-chip {
    font-size: 0.72rem;
    padding: 3px 8px;
  }

  /* ERP Section Mobile */
  .erp-section {
    padding: 60px 0 55px;
  }

  .erp-section-header .section-title {
    font-size: 1.65rem;
  }

  .erp-unified-card {
    padding: 18px 16px 16px;
    border-radius: var(--radius-md);
  }

  .erp-live-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 12px;
  }

  .erp-badges-summary {
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
  }

  .erp-logo-slot {
    min-width: 145px;
    height: 72px;
    padding: 0 10px;
  }

  .erp-logo-box img {
    max-height: 36px;
    max-width: 120px;
  }

  .erp-profit-img {
    max-height: 28px !important;
  }

  .profit-badge {
    font-size: 0.68rem;
    padding: 2px 6px;
  }

  .erp-unified-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 12px;
  }

  /* Industries Mobile */
  .industries {
    margin-top: 0;
    padding: 45px 0 40px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .industry-image-container {
    height: 175px;
  }

  /* Clients Mobile */
  .clients {
    padding: 25px 0 40px;
  }

  .clients-container {
    padding: 0 10px;
    text-align: center;
  }

  .clients-title {
    font-size: 1.65rem;
  }

  .clients-categories {
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
  }

  .client-cat-btn {
    font-size: 0.74rem;
    padding: 6px 13px;
  }

  .marquee-double-wrapper {
    gap: 10px;
  }

  .marquee-wrapper {
    padding: 4px 0;
  }

  .marquee-track {
    gap: 14px;
  }

  .marquee-item {
    height: 72px;
    min-width: 140px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
  }

  .marquee-item img {
    max-height: 48px;
    max-width: 125px;
  }

  /* Services Mobile */
  .services {
    padding: 25px 0;
  }

  .services-bar {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 18px;
  }

  .service-col {
    justify-content: flex-start;
    gap: 14px;
  }

  /* Contact & Form Mobile */
  .contact {
    padding: 40px 0 50px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-box,
  .location-box {
    width: 100%;
    max-width: 100%;
  }

  .form-row-three {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-row-action {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .form-row-three input,
  .form-row-action input {
    width: 100%;
  }

  .btn-send {
    width: 100%;
    justify-content: center;
  }

  .map-wrapper {
    max-width: 100%;
    height: 160px;
  }

  /* Footer Mobile */
  .footer {
    padding: 24px 0;
  }

  .footer-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-logo-img {
    height: 42px;
    margin: 0 auto;
  }

  .footer-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .header-logo-img {
    height: 36px;
  }

  .header-cta {
    padding: 6px 10px;
    font-size: 0.74rem;
  }

  .hero-title {
    font-size: 1.85rem;
    letter-spacing: -0.4px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .erp-logo-slot {
    min-width: 130px;
    height: 64px;
    padding: 0 8px;
  }

  .erp-logo-box img {
    max-height: 32px;
    max-width: 105px;
  }

  .solutions-cards-grid {
    gap: 16px;
  }
}

/* ================================================
   SOLUTION DETAIL MODAL (Popup Premium)
   ================================================ */
.solution-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}

.solution-modal.active {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 20, 56, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: 20px;
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-modal.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  border: 1px solid var(--gray-200);
}

.modal-close-btn:hover {
  background: #FEE2E2;
  color: #DC2626;
  transform: rotate(90deg);
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: stretch;
}

.modal-image-wrapper {
  background: radial-gradient(circle at center, #FFFFFF 0%, #EEF2F6 100%);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 20px 0 0 20px;
  border-right: 1px solid var(--gray-200);
}

.modal-image-wrapper img {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.18));
  transition: transform 0.3s ease;
}

.modal-image-wrapper img:hover {
  transform: scale(1.05);
}

.modal-image-badge {
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--royal-blue);
  background: rgba(11, 82, 214, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.modal-info {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}

.modal-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--royal-blue);
  margin-bottom: 6px;
  display: block;
}

.modal-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.18;
  margin-bottom: 8px;
}

.modal-accent-line {
  width: 44px;
  height: 3.5px;
  background: var(--royal-blue);
  border-radius: 2px;
  margin-bottom: 14px;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 18px;
}

.modal-highlights {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 22px;
  border: 1px solid var(--gray-200);
}

.modal-highlights-header {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-highlights-header i {
  color: var(--royal-blue);
}

.modal-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.modal-feature-list li {
  font-size: 0.8rem;
  color: var(--gray-700);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.modal-feature-list li::before {
  content: "✓";
  color: var(--royal-blue);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.2;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
}

.btn-wa-modal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white) !important;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}

.btn-wa-modal:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* Card Zoom Hint Indicator */
.card-zoom-hint {
  font-size: 0.62rem;
  color: var(--royal-blue);
  font-weight: 700;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.solution-card-item:hover .card-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .modal-dialog {
    max-width: 95%;
    margin: 10px auto;
    border-radius: 16px;
  }

  .modal-content-grid {
    grid-template-columns: 1fr;
  }

  .modal-image-wrapper {
    border-radius: 16px 16px 0 0;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 24px 20px;
  }

  .modal-image-wrapper img {
    max-height: 220px;
  }

  .modal-info {
    padding: 22px 18px;
  }

  .modal-title {
    font-size: 1.4rem;
  }

  .modal-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .modal-cta-btn,
  .btn-wa-modal {
    width: 100%;
    justify-content: center;
  }

  .card-zoom-hint {
    opacity: 0.9;
    transform: none;
  }
}