/* =====================================================
   NETEX TECHNOLOGIES — Custom HTML Site
   Author: Built with care for Netex Technologies
   ===================================================== */

:root {
  /* Brand palette */
  --primary: #1F66B4;          /* royal blue */
  --primary-dark: #154A8A;
  --primary-light: #4A8AD1;
  --accent: #F2B533;            /* gold */
  --accent-dark: #D89A1F;
  --accent-light: #FFD06B;
  --navy: #0A1A2E;
  --navy-light: #142A47;
  --sky: #4FA3E8;
  --sky-light: #BBE0FF;

  /* Neutrals */
  --background: #F5F7FA;
  --foreground: #0F1F35;
  --card: #FFFFFF;
  --muted: #6B7A90;
  --border: rgba(15, 31, 53, 0.08);
  --soft: #EEF3F9;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(15, 31, 53, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 31, 53, 0.08);
  --shadow-lg: 0 24px 48px rgba(15, 31, 53, 0.12);
  --shadow-glow-primary: 0 12px 36px rgba(31, 102, 180, 0.25);
  --shadow-glow-accent: 0 12px 36px rgba(242, 181, 51, 0.30);

  /* Type */
  --font-display: 'Space Grotesk', 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', 'DM Sans', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
}

/* ============= BASE ============= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .25s ease;
}

img, svg {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============= LAYOUT ============= */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
}

/* ============= NAVBAR ============= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  letter-spacing: -0.5px;
}
.nav-logo-text span { color: var(--accent); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  display: inline-block;
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--foreground);
  border-radius: 999px;
  transition: all .25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(31, 102, 180, 0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: all .3s ease;
  box-shadow: var(--shadow-glow-primary);
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(31, 102, 180, 0.4);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(31, 102, 180, 0.08);
  color: var(--primary);
}

@media (max-width: 980px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
  }
  .nav-menu.open a, .nav-menu.open .nav-cta { width: 100%; text-align: center; }
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  cursor: pointer;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-glow-primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(31, 102, 180, 0.4);
}

.btn-gold {
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  box-shadow: var(--shadow-glow-accent);
}
.btn-gold:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(242, 181, 51, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(31, 102, 180, 0.06);
  color: var(--primary);
}
.btn-ghost:hover {
  background: rgba(31, 102, 180, 0.12);
  transform: translateY(-2px);
}

/* ============= TYPOGRAPHY HELPERS ============= */
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(31, 102, 180, 0.10);
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow-gold {
  color: var(--accent-dark);
  background: rgba(242, 181, 51, 0.15);
}

.eyebrow-light {
  color: var(--accent);
  background: rgba(242, 181, 51, 0.18);
}

.headline-xl {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
}

.headline-lg {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}

.headline-md {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.lede {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--muted);
  line-height: 1.65;
}

.gold-word { color: var(--accent); }
.primary-word { color: var(--primary); }

/* ============= SECTIONS ============= */
.section-pad {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-pad { padding: 70px 0; }
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

.section-head .lede {
  margin-top: 16px;
}

/* ============= HERO ============= */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 1200px 600px at top right, rgba(79, 163, 232, 0.18), transparent 60%),
    radial-gradient(ellipse 800px 500px at bottom left, rgba(242, 181, 51, 0.12), transparent 60%),
    linear-gradient(180deg, #F8FAFD 0%, #EEF3FA 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 130px 0 60px; }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: .6; }
}

/* Floating dashboard mockup */
.hero-mockup {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  animation: float-up 6s ease-in-out infinite;
}

@keyframes float-up {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mockup-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mockup-head-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.mockup-title {
  font-weight: 700;
  font-size: 15px;
}
.mockup-sub {
  font-size: 12px;
  color: var(--muted);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: var(--accent); }
.mockup-dots span:nth-child(3) { background: #28C940; }

.mockup-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 160px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(79, 163, 232, 0.08), rgba(31, 102, 180, 0.04));
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.mockup-chart .bar {
  width: 28px;
  background: linear-gradient(180deg, var(--sky), var(--primary));
  border-radius: 6px 6px 0 0;
  animation: bar-rise 1.4s ease-out backwards;
}

@keyframes bar-rise {
  from { height: 0 !important; opacity: 0; }
}

.mockup-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.mockup-stat {
  text-align: center;
  padding: 14px 10px;
  background: var(--soft);
  border-radius: 10px;
}
.mockup-stat .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--foreground);
}
.mockup-stat .l {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.mockup-floater {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-floater.top {
  top: -16px;
  right: -8px;
  animation: float-up 5s ease-in-out infinite reverse;
}

.mockup-floater.bottom {
  bottom: -16px;
  left: -8px;
  animation: float-up 7s ease-in-out infinite;
}

.mockup-floater-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-floater-info .l {
  font-size: 11px;
  color: var(--muted);
}
.mockup-floater-info .v {
  font-weight: 700;
  font-size: 14px;
}

/* ============= STATS BAR ============= */
.stats-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-top: -60px;
  position: relative;
  z-index: 5;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .stats-card {
    grid-template-columns: 1fr 1fr;
    margin-top: -40px;
    padding: 28px;
    gap: 24px;
  }
  .stats-card-why { grid-column: 1 / -1; }
}

.stats-card-why h3 {
  font-size: 26px;
  margin-bottom: 6px;
}

.stats-card-why .lede {
  font-size: 14px;
  margin-bottom: 12px;
}

.stats-card-why a {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s ease;
}
.stats-card-why a:hover { gap: 10px; }

.stat-item {
  text-align: center;
  border-left: 1px solid var(--border);
  padding: 0 12px;
}
.stats-card-why { border-left: none; padding: 0; }

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stat-item { border-left: none; }
}

/* ============= CARD GRIDS ============= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31, 102, 180, 0.15);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(31, 102, 180, 0.12), rgba(79, 163, 232, 0.08));
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform .3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-3deg);
}

.feature-icon.gold {
  background: linear-gradient(135deg, rgba(242, 181, 51, 0.18), rgba(255, 208, 107, 0.12));
  color: var(--accent-dark);
}

.feature-icon.danger {
  background: rgba(220, 53, 69, 0.10);
  color: #DC3545;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Module card with chips */
.module-chip {
  display: inline-block;
  padding: 6px 12px;
  margin: 4px 4px 0 0;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  background: rgba(31, 102, 180, 0.08);
  color: var(--primary);
}

/* ============= DARK SECTION ============= */
.section-dark {
  background:
    radial-gradient(ellipse 800px 500px at top right, rgba(31, 102, 180, 0.30), transparent 60%),
    radial-gradient(ellipse 600px 400px at bottom left, rgba(242, 181, 51, 0.18), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #061224 100%);
  color: #fff;
  overflow: hidden;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #fff; }

.section-dark .lede {
  color: rgba(255, 255, 255, 0.7);
}

.section-dark .eyebrow {
  background: rgba(242, 181, 51, 0.18);
  color: var(--accent);
}

/* Mesh background pattern (CSS-only) */
.mesh-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(79, 163, 232, 0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(242, 181, 51, 0.14), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(31, 102, 180, 0.10), transparent 60%);
  pointer-events: none;
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.orb-primary { background: rgba(31, 102, 180, 0.30); }
.orb-accent { background: rgba(242, 181, 51, 0.30); }
.orb-sky { background: rgba(79, 163, 232, 0.30); }

/* ============= TIMELINE / IMPLEMENTATION ============= */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .timeline::before { left: 50%; transform: translateX(-50%); }
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
}

@media (min-width: 768px) {
  .timeline-item { width: calc(50% - 30px); }
  .timeline-item:nth-child(odd) {
    margin-right: auto;
    flex-direction: row-reverse;
    text-align: right;
  }
  .timeline-item:nth-child(even) { margin-left: auto; }
}

.timeline-step {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(31, 102, 180, 0.4);
  position: relative;
  z-index: 2;
}

.timeline-content h3 {
  font-size: 18px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-content h3 { justify-content: flex-end; }
}

.timeline-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ============= TWO-COL SECTION ============= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* Stat box (e.g. ERP Why) */
.stat-box-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(31, 102, 180, 0.20);
}

.stat-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}

.stat-box-tile {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 18px;
  backdrop-filter: blur(10px);
}

.stat-box-tile .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
}
.stat-box-tile .l {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

/* Bullet list with accent dots */
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.bullet-list li {
  display: flex;
  gap: 16px;
}

.bullet-list .dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}

.bullet-list h4 {
  font-size: 17px;
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.bullet-list p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============= LOGO MARQUEE ============= */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 30px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: marquee-scroll 35s linear infinite;
}

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

.marquee-item {
  flex-shrink: 0;
  width: 110px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 14px 18px;
  transition: transform .3s ease;
}

.marquee-item:hover { transform: translateY(-4px); }

.marquee-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0.4);
  transition: filter .3s ease;
}

.marquee-item:hover img { filter: grayscale(0); }

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

/* ============= TESTIMONIALS ============= */
.testimonial-track {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fade-slide-in .5s ease;
}

@keyframes fade-slide-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-quote {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: #fff;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 32px;
}

.testimonial-quote::before { content: '"'; }
.testimonial-quote::after { content: '"'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}

.testimonial-author .name {
  font-weight: 600;
  color: #fff;
}
.testimonial-author .role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.testimonial-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}

.testimonial-controls button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all .25s ease;
}
.testimonial-dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--accent);
}

/* ============= LIFECYCLE VISUAL (HRM) ============= */
.lifecycle {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 12px;
}

.lifecycle-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.lifecycle-row.top { margin-bottom: 60px; }

.lifecycle-node {
  text-align: center;
  flex: 1 1 110px;
}

.lifecycle-node-icon {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  position: relative;
}

.lifecycle-node:hover .lifecycle-node-icon {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-primary);
}

.lifecycle-node.dominant .lifecycle-node-icon {
  width: 80px;
  height: 80px;
  font-size: 32px;
  border-color: rgba(31, 102, 180, 0.30);
  background: #fff;
  box-shadow: 0 12px 40px rgba(31, 102, 180, 0.18);
}

.lifecycle-node.dominant .lifecycle-node-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-md);
  border: 2px solid var(--accent);
  opacity: 0.4;
  animation: pulse-ring 2.5s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.08); opacity: 0; }
}

.lifecycle-node-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
}

.lifecycle-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============= TIMELINE — JOURNEY STYLE (about) ============= */
.journey-list {
  position: relative;
  padding-left: 36px;
  border-left: 2px solid rgba(31, 102, 180, 0.18);
}

.journey-item {
  position: relative;
  padding-bottom: 36px;
}

.journey-item:last-child { padding-bottom: 0; }

.journey-item::before {
  content: '';
  position: absolute;
  left: -45px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--background);
  border: 3px solid var(--primary);
}

.journey-item .year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 6px;
  display: inline-block;
}

.journey-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ============= BIG MODULE LIST ============= */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.module-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  cursor: default;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 102, 180, 0.25);
  box-shadow: var(--shadow-md);
}

.module-card .feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}

.module-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.module-card .desc {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.55;
}

.module-card ul {
  list-style: none;
  padding: 0;
}
.module-card ul li {
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0 4px 18px;
  position: relative;
}
.module-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.core-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(31, 102, 180, 0.10);
  color: var(--primary);
}

.show-more-toggle {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.hidden-modules { display: none; }
.hidden-modules.shown {
  display: contents;
  animation: fade-in .4s ease;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============= FOOTER ============= */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at top right, rgba(31, 102, 180, 0.20), transparent 60%),
    radial-gradient(ellipse 400px 300px at bottom left, rgba(242, 181, 51, 0.10), transparent 60%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.footer-brand h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 12px;
}
.footer-brand h3 span { color: var(--accent); }

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all .25s ease;
}

.footer-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
  transform: translateY(-2px);
}

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

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color .2s ease;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 2;
}

/* ============= UTIL ============= */
.text-center { text-align: center; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }
.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.tags-row .module-chip { margin: 0; }

/* ============= AOS-LIKE Reveals (no library needed) ============= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left { transform: translateX(-30px); }
.reveal-left.visible { transform: none; }
.reveal-right { transform: translateX(30px); }
.reveal-right.visible { transform: none; }
.reveal-zoom { transform: scale(0.92); }
.reveal-zoom.visible { transform: scale(1); }

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ============= AI / DARK CARDS ============= */
.dark-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .35s ease;
}

.dark-card:hover {
  border-color: rgba(242, 181, 51, 0.30);
  transform: translateY(-4px);
}

.dark-card .feature-icon {
  background: rgba(242, 181, 51, 0.18);
  color: var(--accent);
}

.dark-card h3 { color: #fff; }
.dark-card p { color: rgba(255, 255, 255, 0.6); font-size: 14px; }

/* ============= CONTACT FORM ============= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: flex-start;
}

@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: linear-gradient(135deg, var(--navy), #142A47);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-info-card h3 { color: #fff; margin-bottom: 12px; }
.contact-info-card p { color: rgba(255, 255, 255, 0.7); margin-bottom: 28px; font-size: 14px; }

.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.contact-info-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-list .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(242, 181, 51, 0.18); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-list .label { font-size: 12px; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 1px; }
.contact-info-list .value { font-size: 14px; color: #fff; font-weight: 500; }

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  transition: all .25s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 102, 180, 0.10);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ============= LOGO MARQUEE BG SECTION ============= */
.section-soft {
  background: linear-gradient(180deg, #F8FAFD 0%, #EEF3FA 100%);
}
