/* ===================================================
   TESSA ERP LANDING PAGE — STYLES
   Color Palette:
     Primary Blue  : #318ED4
     Dark Navy     : #0f2a5f
     White (dom.)  : #FFFFFF
     Light Gray    : #E2E8F0
=================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: #FFFFFF;
  color: #1e2d4a;
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.btn:hover::after { transform: translateX(0); }

.btn-primary {
  background: linear-gradient(135deg, #318ED4, #0f2a5f);
  color: #fff;
  box-shadow: 0 4px 20px rgba(49,142,212,0.35);
}
.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(49,142,212,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid #318ED4;
  color: #318ED4;
}
.btn-outline:hover {
  background: #318ED4;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  background: rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.25);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: #0f2a5f;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 22px; font-size: 0.85rem; }
.btn-lg { padding: 15px 36px; font-size: 1rem; }

.mt-3 { margin-top: 20px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(49,142,212,0.1);
  color: #318ED4;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-tag.light {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  color: #0f2a5f;
  margin-bottom: 16px;
}
.section-title.light { color: #fff; }

.section-sub {
  font-size: 1.05rem;
  color: #536b8a;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
  text-align: center;
}
.section-sub.light { color: rgba(255,255,255,0.82); }

.highlight { color: #318ED4; }
.highlight-light { color: #97d3ff; }
.gradient-text {
  background: linear-gradient(135deg, #318ED4 0%, #97d3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 30px rgba(15,42,95,0.1);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s;
}

/* Show light logo on dark hero bg; hide dark logo */
.nav-logo .logo-light { display: block; }
.nav-logo .logo-dark  { display: none; }

/* After scroll: white navbar — swap to dark logo */
.navbar.scrolled .nav-logo .logo-light { display: none; }
.navbar.scrolled .nav-logo .logo-dark  { display: block; }

.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  transition: color 0.3s;
  white-space: nowrap;
}
.navbar.scrolled .logo-text {
  color: #0f2a5f;
}

.logo-text-erp {
  color: #318ED4;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links li a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: all 0.2s;
}
.nav-links li a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.navbar.scrolled .nav-links li a { color: #1e2d4a; }
.navbar.scrolled .nav-links li a:hover { color: #318ED4; background: rgba(49,142,212,0.08); }
.navbar.scrolled .nav-links li a.btn-primary { color: #fff; }
.navbar.scrolled .nav-links li a.btn-primary:hover { color: #fff; background: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.navbar.scrolled .hamburger span { background: #0f2a5f; }
.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); }


.hero {
  position: relative;
  background: linear-gradient(145deg, #0f2a5f 0%, #163980 40%, #1a5fa8 70%, #318ED4 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  animation: floatShape 8s ease-in-out infinite;
}
.shape-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #318ED4, transparent);
  top: -200px; right: -150px;
  animation-delay: 0s;
}
.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #97d3ff, transparent);
  bottom: -100px; left: -80px;
  animation-delay: 3s;
}
.shape-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #fff, transparent);
  top: 30%; left: 35%;
  animation-delay: 1.5s;
  opacity: 0.05;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.05); }
}

.floating-dots {
  position: absolute;
  inset: 0;
}
.floating-dots span {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: twinkle 4s ease-in-out infinite;
}
.floating-dots span:nth-child(1)  { top: 10%; left: 15%; animation-delay: 0s; }
.floating-dots span:nth-child(2)  { top: 20%; left: 70%; animation-delay: 0.8s; }
.floating-dots span:nth-child(3)  { top: 60%; left: 25%; animation-delay: 1.6s; }
.floating-dots span:nth-child(4)  { top: 40%; left: 85%; animation-delay: 2.4s; }
.floating-dots span:nth-child(5)  { top: 75%; left: 55%; animation-delay: 0.4s; }
.floating-dots span:nth-child(6)  { top: 50%; left: 10%; animation-delay: 1.2s; }
.floating-dots span:nth-child(7)  { top: 85%; left: 80%; animation-delay: 2s; }
.floating-dots span:nth-child(8)  { top: 30%; left: 45%; animation-delay: 3.2s; }
.floating-dots span:nth-child(9)  { top: 65%; left: 62%; animation-delay: 0.6s; }
.floating-dots span:nth-child(10) { top: 15%; left: 40%; animation-delay: 1.8s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(2); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 24px 40px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
  width: fit-content;
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  animation: slideInLeft 0.8s ease both;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 40px;
  animation: slideInLeft 0.8s 0.2s ease both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: slideInLeft 0.8s 0.4s ease both;
}

.pulse-btn {
  animation: pulse 2.5s ease-in-out infinite, slideInLeft 0.8s 0.4s ease both;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(49,142,212,0.35); }
  50% { box-shadow: 0 4px 40px rgba(49,142,212,0.7), 0 0 0 8px rgba(49,142,212,0.1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-visual {
  position: relative;
  animation: slideInRight 0.8s 0.3s ease both;
}

.dashboard-mockup {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
  transition: transform 0.5s ease;
}
.dashboard-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  background: #f1f5f9;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e2e8f0;
}
.mockup-header .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c940; }
.mockup-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #536b8a;
  margin-left: 8px;
}

.mockup-body {
  display: flex;
}

.mockup-sidebar {
  width: 50px;
  background: #0f2a5f;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.sidebar-item {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.sidebar-item.active,
.sidebar-item:hover {
  background: rgba(49,142,212,0.3);
  color: #97d3ff;
}

.mockup-content {
  flex: 1;
  padding: 14px;
  background: #f8fafc;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.stat-mini {
  padding: 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}
.stat-mini.blue { background: linear-gradient(135deg, #318ED4, #1a6fb5); }
.stat-mini.navy { background: linear-gradient(135deg, #0f2a5f, #1a3d7c); }
.stat-mini.teal { background: linear-gradient(135deg, #0e9988, #0a7266); }
.stat-label { font-size: 0.6rem; color: rgba(255,255,255,0.75); font-weight: 500; }
.stat-value { font-size: 0.85rem; font-weight: 800; color: #fff; margin: 2px 0; }
.stat-trend { font-size: 0.55rem; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 3px; }
.stat-trend.up { color: #7fffd4; }

.chart-area {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #e2e8f0;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
}
.bar {
  flex: 1;
  background: #E2E8F0;
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
  animation: barGrow 1.5s ease both;
}
.bar.active { background: linear-gradient(to top, #0f2a5f, #318ED4); }
@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); }
}
/* Bar heights — replaces inline style="height:N%" attributes */
.bar:nth-child(1) { height: 55%; }
.bar:nth-child(2) { height: 72%; }
.bar:nth-child(3) { height: 48%; }
.bar:nth-child(4) { height: 88%; }
.bar:nth-child(5) { height: 65%; }
.bar:nth-child(6) { height: 95%; }
.bar:nth-child(7) { height: 78%; }

.mockup-list { display: flex; flex-direction: column; gap: 5px; }
.list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: #fff;
  border-radius: 8px;
  font-size: 0.72rem;
  color: #1e2d4a;
  border: 1px solid #e2e8f0;
}
.li-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.li-dot.blue { background: #318ED4; }
.li-dot.navy { background: #0f2a5f; }
.li-dot.teal { background: #0e9988; }
.li-status { margin-left: auto; font-size: 0.65rem; font-weight: 600; padding: 2px 8px; border-radius: 20px; }
.li-status.done { background: #dcfce7; color: #15803d; }
.li-status.progress { background: #fef3c7; color: #d97706; }

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f2a5f;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  animation: floatBadge 3s ease-in-out infinite;
}
.float-badge i { color: #318ED4; font-size: 0.9rem; }
.badge-top-right { top: -20px; right: -20px; animation-delay: 0s; }
.badge-bottom-left { bottom: 20px; left: -30px; animation-delay: 1.5s; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.stats-bar {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 28px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.stat-suffix { font-size: 2rem; font-weight: 900; color: #97d3ff; }
.stat-desc { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin-top: 4px; font-weight: 500; }
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}


.challenges {
  padding: 100px 0;
  background: #fff;
  text-align: center;
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.challenge-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: left;
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.challenge-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #318ED4, #0f2a5f);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.challenge-card:hover::before { transform: scaleX(1); }
.challenge-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15,42,95,0.1);
  border-color: transparent;
}

.challenge-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(49,142,212,0.12), rgba(15,42,95,0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #318ED4;
  margin-bottom: 20px;
  transition: all 0.3s;
}
.challenge-card:hover .challenge-icon {
  background: linear-gradient(135deg, #318ED4, #0f2a5f);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

.challenge-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f2a5f;
  margin-bottom: 10px;
}
.challenge-card p {
  font-size: 0.9rem;
  color: #536b8a;
  line-height: 1.6;
}


.solution {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.solution-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0f2a5f 0%, #163980 50%, #1a5fa8 100%);
  z-index: 0;
}
.solution .container { position: relative; z-index: 1; }
/* .solution .section-sub centering now handled by the base .section-sub rule */

.solution-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
  margin-top: 60px;
}

.solution-values { display: flex; flex-direction: column; gap: 24px; }
.value-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.value-point:hover {
  background: rgba(255,255,255,0.15);
  transform: translateX(6px);
}
.vp-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #318ED4, #97d3ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.vp-text h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.vp-text p { font-size: 0.82rem; color: rgba(255,255,255,0.7); line-height: 1.5; }

.ecosystem-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-center {
  position: absolute;
  z-index: 2;
  text-align: center;
}
.eco-logo {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.eco-logo img { height: 32px; width: auto; }
.eco-logo span { font-size: 0.72rem; font-weight: 700; color: #0f2a5f; white-space: nowrap; }

.eco-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: spinSlow 30s linear infinite;
}

.eco-module {
  position: absolute;
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  --angle: calc(var(--i) * 51.43deg);
  top: calc(50% + 155px * sin(var(--angle)) - 36px);
  left: calc(50% + 155px * cos(var(--angle)) - 36px);
  animation: counterSpin 30s linear infinite;
}
.eco-module i { font-size: 1.1rem; }
.eco-module:hover {
  background: rgba(49,142,212,0.5);
  transform: scale(1.2);
  box-shadow: 0 0 30px rgba(49,142,212,0.6);
}
/* Eco-module ring positions — replaces inline style="--i:N" attributes */
.eco-module:nth-child(1) { --i: 0; }
.eco-module:nth-child(2) { --i: 1; }
.eco-module:nth-child(3) { --i: 2; }
.eco-module:nth-child(4) { --i: 3; }
.eco-module:nth-child(5) { --i: 4; }
.eco-module:nth-child(6) { --i: 5; }
.eco-module:nth-child(7) { --i: 6; }

@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes counterSpin { to { transform: rotate(-360deg); } }

.solution-modules { display: flex; flex-direction: column; align-items: flex-start; }
.modules-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  width: 100%;
}
.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mtag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}
.mtag:hover {
  background: #318ED4;
  border-color: #318ED4;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(49,142,212,0.4);
}
.mtag i { font-size: 0.75rem; }


.features {
  padding: 100px 0;
  background: #f8fafc;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: left;
  border: 1px solid #E2E8F0;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(0deg, rgba(49,142,212,0.06), transparent);
  transition: height 0.4s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(49,142,212,0.15);
  border-color: rgba(49,142,212,0.3);
}
.feature-card:hover::after { height: 100%; }

.feature-icon-wrap { margin-bottom: 20px; }
.feature-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #318ED4, #1a5fa8);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  transition: all 0.3s;
  box-shadow: 0 8px 20px rgba(49,142,212,0.3);
}
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-8deg);
  background: linear-gradient(135deg, #0f2a5f, #318ED4);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f2a5f;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.88rem;
  color: #536b8a;
  line-height: 1.65;
  margin-bottom: 20px;
}
.feature-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(49,142,212,0.1);
  color: #318ED4;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}


.modules {
  padding: 100px 0;
  background: #fff;
  text-align: center;
}

.module-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  border: 2px solid #E2E8F0;
  background: transparent;
  color: #536b8a;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tab-btn:hover {
  border-color: #318ED4;
  color: #318ED4;
}
.tab-btn.active {
  background: linear-gradient(135deg, #318ED4, #0f2a5f);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(49,142,212,0.35);
}

.tab-panels { position: relative; }
.tab-panel {
  display: none;
  animation: fadeInUp 0.4s ease both;
}
.tab-panel.active { display: block; }

.panel-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
  background: #f8fafc;
  border-radius: 24px;
  padding: 48px;
  border: 1px solid #E2E8F0;
  text-align: left;
}

.panel-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #318ED4, #1a5fa8);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(49,142,212,0.3);
}
.panel-icon.navy { background: linear-gradient(135deg, #0f2a5f, #1a3d7c); box-shadow: 0 10px 30px rgba(15,42,95,0.3); }
.panel-icon.teal { background: linear-gradient(135deg, #0e9988, #0a7266); box-shadow: 0 10px 30px rgba(14,153,136,0.3); }
.panel-icon.purple { background: linear-gradient(135deg, #7c3aed, #5b21b6); box-shadow: 0 10px 30px rgba(124,58,237,0.3); }

.panel-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f2a5f;
  margin-bottom: 12px;
}
.panel-info p {
  font-size: 0.95rem;
  color: #536b8a;
  line-height: 1.7;
  margin-bottom: 28px;
}

.panel-features { display: flex; flex-direction: column; gap: 14px; }
.panel-feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  transition: all 0.25s;
}
.panel-feature-item:hover {
  border-color: rgba(49,142,212,0.3);
  box-shadow: 0 4px 16px rgba(49,142,212,0.08);
  transform: translateX(4px);
}
.panel-feature-item > i {
  color: #318ED4;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.panel-feature-item strong {
  display: block;
  font-size: 0.9rem;
  color: #0f2a5f;
  margin-bottom: 2px;
}
.panel-feature-item p {
  font-size: 0.82rem;
  color: #536b8a;
  margin: 0;
}


.benefits {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.benefits-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #318ED4 0%, #1a5fa8 50%, #0f2a5f 100%);
  z-index: 0;
}
.benefits .container { position: relative; z-index: 1; }
/* .benefits .section-sub centering now handled by the base .section-sub rule */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.35s ease;
  cursor: default;
}
.benefit-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border-color: rgba(255,255,255,0.4);
}

.benefit-icon {
  width: 68px; height: 68px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 auto 20px;
  transition: all 0.3s;
  border: 2px solid rgba(255,255,255,0.25);
}
.benefit-card:hover .benefit-icon {
  background: rgba(255,255,255,0.25);
  transform: rotate(10deg) scale(1.1);
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}


.testimonials {
  padding: 100px 0;
  background: #f8fafc;
  text-align: center;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 16px;
}

.testi-card {
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #E2E8F0;
  box-shadow: 0 16px 60px rgba(15,42,95,0.08);
  text-align: left;
  position: relative;
}

.testi-quote {
  font-size: 2.5rem;
  color: rgba(49,142,212,0.15);
  margin-bottom: 20px;
}

.testi-text {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 32px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.testi-avatar {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #318ED4, #1a5fa8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.testi-avatar.navy { background: linear-gradient(135deg, #0f2a5f, #1a3d7c); }
.testi-avatar.teal { background: linear-gradient(135deg, #0e9988, #0a7266); }

.testi-info { flex: 1; }
.testi-info strong { display: block; font-size: 0.95rem; color: #0f2a5f; font-weight: 700; }
.testi-info span { font-size: 0.82rem; color: #536b8a; }

.testi-stars { margin-left: auto; color: #f59e0b; font-size: 0.9rem; display: flex; gap: 2px; }

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid #E2E8F0;
  background: #fff;
  color: #0f2a5f;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover {
  background: linear-gradient(135deg, #318ED4, #0f2a5f);
  color: #fff;
  border-color: transparent;
  transform: scale(1.1);
}
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #E2E8F0;
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dots .dot.active {
  width: 24px;
  border-radius: 4px;
  background: #318ED4;
}


.cta-final {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #fff;
}
.cta-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(49,142,212,0.08), rgba(15,42,95,0.05));
}
.cta-shape-1 {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  animation: floatShape 8s ease-in-out infinite;
}
.cta-shape-2 {
  width: 400px; height: 400px;
  bottom: -150px; left: -100px;
  animation: floatShape 10s ease-in-out infinite reverse;
}

.cta-inner { position: relative; z-index: 1; }

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(49,142,212,0.1);
  color: #318ED4;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #0f2a5f;
  margin-bottom: 16px;
  line-height: 1.25;
}
.cta-inner h2 span { color: #318ED4; }

.cta-inner > p {
  font-size: 1.05rem;
  color: #536b8a;
  max-width: 500px;
  margin: 0 auto 40px;
}

.cta-contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 20px;
}

.cta-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 32px;
  border-radius: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s ease;
  min-width: 260px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}
.cta-contact-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.cta-contact-btn:hover::after { transform: translateX(0); }
.cta-contact-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.cta-contact-btn.wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
}
.cta-contact-btn.wa:hover { box-shadow: 0 16px 40px rgba(37,211,102,0.35); }

.cta-contact-btn.email {
  background: linear-gradient(135deg, #318ED4, #0f2a5f);
  color: #fff;
}
.cta-contact-btn.email:hover { box-shadow: 0 16px 40px rgba(49,142,212,0.4); }

.cta-contact-btn > i {
  font-size: 2rem;
  flex-shrink: 0;
}

.cta-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cta-btn-label {
  font-size: 0.75rem;
  opacity: 0.85;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.cta-btn-value {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Footer contact links */
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
}
.footer-contact-link:hover {
  color: #97d3ff;
  transform: translateX(4px);
}
.footer-contact-link i {
  color: #318ED4;
  width: 16px;
  font-size: 1rem;
  flex-shrink: 0;
}


.footer {
  background: #0f2a5f;
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo {
  height: 36px;
  width: auto;
}

.footer-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  white-space: nowrap;
}

.footer-logo-text-erp {
  color: #318ED4;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s;
  font-size: 0.9rem;
}
.footer-socials a:hover {
  background: #318ED4;
  color: #fff;
  transform: translateY(-3px);
}

.footer-links h5,
.footer-contact h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links ul li a:hover { color: #97d3ff; }

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}
.footer-contact p i { color: #318ED4; width: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}


.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, #318ED4, #0f2a5f);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(49,142,212,0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all 0.3s ease;
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(49,142,212,0.5); }


[data-aos] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos="fade-up"] { transform: translateY(40px); }
[data-aos="fade-left"] { transform: translateX(-40px); }
[data-aos="fade-right"] { transform: translateX(40px); }
[data-aos="zoom-in"] { transform: scale(0.85); }
[data-aos="flip-up"] { transform: perspective(600px) rotateX(30deg); }

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}


@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content { max-width: 600px; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .badge-bottom-left { left: 0; }
  .badge-top-right { right: 0; }

  .solution-layout { grid-template-columns: 1fr; gap: 48px; }
  .ecosystem-visual { height: 340px; }
  .solution-modules { align-items: center; text-align: center; width: 100%; }
  .solution-modules .modules-title { text-align: left; }

  .panel-layout { grid-template-columns: 1fr; padding: 32px; gap: 32px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 0 0 20px 20px;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li a { color: #1e2d4a !important; padding: 12px 16px; border-radius: 10px; width: 100%; }
  .nav-links li a:hover { background: rgba(49,142,212,0.08); color: #318ED4 !important; }
  .hamburger { display: flex; }

  .challenges-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }

  .stats-inner { gap: 20px; }

  .module-tabs { flex-direction: column; align-items: center; }
  .tab-btn { width: 100%; justify-content: center; max-width: 320px; }

  .testi-card { padding: 32px 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .cta-form { padding: 0 8px; }
  .cta-contact-buttons { flex-direction: column; align-items: center; }
  .cta-contact-btn { min-width: unset; width: 100%; max-width: 360px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .challenges-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .dashboard-mockup { transform: none; }
  .float-badge { display: none; }
}

/* ======================================================
   CLIENTS SLIDER
====================================================== */
.clients {
  padding: 100px 0 56px;
  background: #fff;
  text-align: center;
  overflow: hidden;
}

/* .clients .section-sub centering now handled by the base .section-sub rule */

/* ── Outer wrapper: clips the overflow & adds edge fade ── */
.clients-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
  padding: 12px 0;
}

.clients-track-outer {
  overflow: hidden;
  /* Fade edges with a mask gradient */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  position: relative;
}

/* ── The scrolling belt (two .clients-list side-by-side) ── */
.clients-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.clients-track.scroll-left  { animation: marqueeLeft  55s linear infinite; }
.clients-track.scroll-right { animation: marqueeRight 48s linear infinite; }

/* Pause on hover anywhere in the track */
.clients-track-outer:hover .clients-track { animation-play-state: paused; }

@keyframes marqueeLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ── One set of logos ── */
.clients-list {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

/* ── Individual logo card ── */
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-right: 1px solid #E2E8F0;
  transition: background 0.25s ease;
  cursor: default;
}

.client-logo:last-child { border-right: none; }

.client-logo img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  /* Start greyscale + faded */
  filter: grayscale(100%) opacity(0.45);
  transition: filter 0.35s ease, transform 0.35s ease;
  display: block;
  pointer-events: none; /* let the wrapper handle hover */
}

.client-logo:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

.client-logo:hover {
  background: rgba(49, 142, 212, 0.04);
}

/* ── Responsive tweaks ── */
@media (max-width: 768px) {
  .client-logo { padding: 12px 20px; }
  .client-logo img { height: 34px; max-width: 110px; }
  .clients-track.scroll-left  { animation-duration: 38s; }
  .clients-track.scroll-right { animation-duration: 34s; }
}

@media (max-width: 480px) {
  .client-logo { padding: 10px 16px; }
  .client-logo img { height: 28px; max-width: 90px; }
  .clients-track.scroll-left  { animation-duration: 28s; }
  .clients-track.scroll-right { animation-duration: 24s; }
  .clients-track-outer {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      #000 5%,
      #000 95%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      #000 5%,
      #000 95%,
      transparent 100%
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none !important; }
  .clients-track { overflow-x: auto; }
}

.faq {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.faq-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #318ED4 0%, #1a5fa8 50%, #0f2a5f 100%);
  z-index: 0;
}

.faq .container {
  position: relative;
  z-index: 1;
}

/* .faq .section-sub centering now handled by the base .section-sub rule */

/* ── List wrapper ── */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

/* ── Individual FAQ item ── */
.faq-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.open {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Hidden extra items */
.faq-item.faq-extra {
  display: none;
}
.faq-item.faq-extra.faq-visible {
  display: block;
  animation: fadeInUp 0.4s ease both;
}

/* ── Question button ── */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.08);
}

.faq-item.open .faq-question {
  background: rgba(255, 255, 255, 0.06);
}

/* ── Icon badge ── */
.faq-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-item.open .faq-icon {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ── Question text ── */
.faq-q-text {
  flex: 1;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
}

/* ── Chevron toggle ── */
.faq-chevron {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  transition: transform 0.35s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* ── Answer panel (collapse/expand) ── */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 28px 22px 84px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin: 0;
}

/* ── "Read More" button wrap ── */
.faq-more-wrap {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.faq-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.faq-read-more:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.faq-read-more i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.faq-read-more.expanded i {
  transform: rotate(180deg);
}

.faq-more-wrap.hidden {
  display: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .faq-question { padding: 18px 20px; gap: 12px; }
  .faq-answer p  { padding: 0 20px 18px 72px; }
  .faq-q-text    { font-size: 0.92rem; }
  .faq-icon      { width: 36px; height: 36px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .faq-question { padding: 16px; gap: 10px; }
  .faq-answer p  { padding: 0 16px 16px 16px; }
  .faq-icon      { display: none; }
}

/* ======================================================
   ARTIKEL PAGE
====================================================== */

/* Active nav link */
.nav-active {
  color: #318ED4 !important;
  font-weight: 600;
}

/* ── Hero ── */
.artikel-hero {
  position: relative;
  background: linear-gradient(135deg, #0f2a5f 0%, #1a4a8a 60%, #318ED4 100%);
  padding: 140px 0 80px;
  overflow: hidden;
}
.artikel-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.artikel-hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: #fff;
}
.artikel-hero-shape.shape-1 {
  width: 500px; height: 500px;
  top: -150px; right: -100px;
}
.artikel-hero-shape.shape-2 {
  width: 300px; height: 300px;
  bottom: -100px; left: -60px;
}
.artikel-hero-inner {
  position: relative;
  z-index: 1;
}
.artikel-hero-content .section-tag {
  margin-bottom: 20px;
}
.artikel-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.artikel-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Filter Bar ── */
.artikel-list {
  padding: 72px 0 100px;
  background: #f8fafc;
}
.artikel-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.artikel-filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid #d1dce8;
  background: #fff;
  color: #4a5568;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}
.artikel-filter-btn:hover {
  border-color: #318ED4;
  color: #318ED4;
}
.artikel-filter-btn.active {
  background: #318ED4;
  border-color: #318ED4;
  color: #fff;
  font-weight: 600;
}

/* ── Article Grid ── */
.artikel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

/* ── Article Card ── */
.artikel-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(15,42,95,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}
.artikel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(49,142,212,0.18);
}
.artikel-card-cover {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
}
.cover-blue   { background: linear-gradient(135deg, #318ED4, #1a6fb0); }
.cover-navy   { background: linear-gradient(135deg, #0f2a5f, #1a4a8a); }
.cover-teal   { background: linear-gradient(135deg, #0e9f8e, #0b7a6d); }
.cover-purple { background: linear-gradient(135deg, #7c3aed, #5b21b6); }

.artikel-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.artikel-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  width: fit-content;
}
.badge-blue   { background: #e8f4fc; color: #1a6fb0; }
.badge-navy   { background: #e8ecf8; color: #0f2a5f; }
.badge-teal   { background: #e0f8f5; color: #0b7a6d; }
.badge-purple { background: #ede9fe; color: #5b21b6; }

.artikel-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 12px;
  flex: 1;
}
.artikel-card-title a {
  color: #1e2d4a;
  transition: color 0.2s ease;
}
.artikel-card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.artikel-card-title a:hover {
  color: #318ED4;
}

.artikel-card-excerpt {
  font-size: 0.88rem;
  color: #5a6a85;
  line-height: 1.65;
  margin-bottom: 20px;
}

.artikel-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #e8eef5;
  font-size: 0.78rem;
  color: #8a9ab5;
}
.artikel-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.artikel-card-meta i {
  color: #318ED4;
}

/* ── Bottom CTA ── */
.artikel-list-cta {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, #f0f7ff, #e8f0fb);
  border-radius: 20px;
  border: 1px solid #d0e4f5;
}
.artikel-list-cta p {
  font-size: 1.05rem;
  color: #3a4f6e;
  margin-bottom: 24px;
}

/* ── Empty state ── */
.artikel-empty {
  text-align: center;
  padding: 64px 20px;
  color: #94A3B8;
}
.artikel-empty-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .artikel-grid { grid-template-columns: repeat(2, 1fr); }
  .artikel-hero-title { font-size: 2.4rem; }
}

@media (max-width: 640px) {
  .artikel-hero { padding: 120px 0 60px; }
  .artikel-hero-title { font-size: 1.9rem; }
  .artikel-grid { grid-template-columns: 1fr; }
  .artikel-filter { gap: 8px; }
  .artikel-filter-btn { font-size: 0.82rem; padding: 7px 14px; }
}

