/* =====================================================
   EGEO LABS LTD - Main Stylesheet
   egeolabs.co.uk
   ===================================================== */

/* ── CSS Variables ── */
:root {
  --navy:       #0F172A;
  --navy-mid:   #1E293B;
  --navy-light: #334155;
  --blue:       #2563EB;
  --blue-dark:  #1D4ED8;
  --blue-light: #3B82F6;
  --cyan:       #06B6D4;
  --cyan-light: #22D3EE;
  --white:      #FFFFFF;
  --gray-50:    #F8FAFC;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-400:   #94A3B8;
  --gray-500:   #64748B;
  --gray-700:   #374151;
  --purple:     #7C3AED;
  --green:      #10B981;
  --orange:     #F59E0B;
  --red:        #EF4444;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 24px rgba(15,23,42,.10);
  --shadow-lg:  0 12px 48px rgba(15,23,42,.18);
  --shadow-xl:  0 24px 64px rgba(15,23,42,.24);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: 0.15s cubic-bezier(0.4,0,0.2,1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

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

a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }

::selection { background: var(--blue); color: #fff; }

/* ── Utilities ── */
.section-padding { padding: 100px 0; }
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-light-custom { background: var(--gray-50); }
.bg-dark-section  { background: var(--navy); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37,99,235,.08);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-label.light { color: var(--cyan); background: rgba(6,182,212,.12); }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--navy);
}
.section-title.light { color: var(--white); }
.section-title-sm { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700; }

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}
.section-sub.light { color: var(--gray-400); }
.section-body { font-size: 1rem; color: var(--gray-500); line-height: 1.75; }

/* ── Fade-in Animations ── */
.fade-in-up, .fade-in-left, .fade-in-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease var(--delay, 0s), transform 0.7s ease var(--delay, 0s);
}
.fade-in-left  { transform: translateX(-30px); }
.fade-in-right { transform: translateX(30px); }

.fade-in-up.visible, .fade-in-left.visible, .fade-in-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ── Buttons ── */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,99,235,.45);
  color: #fff;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 100%);
}
.btn-primary-custom.btn-lg { padding: 15px 34px; font-size: 1rem; border-radius: var(--radius-lg); }

.btn-outline-custom {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-outline-custom:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(37,99,235,.04);
  transform: translateY(-2px);
}
.btn-outline-custom.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius-lg); }

/* =====================================================
   NAVIGATION
   ===================================================== */
#mainNav {
  background: rgba(15,23,42,0);
  backdrop-filter: blur(0px);
  padding: 20px 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease,
              box-shadow 0.3s ease;
  z-index: 1000;
}
#mainNav.scrolled {
  background: rgba(15,23,42,0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.navbar-brand { text-decoration: none; }
.brand-logo { display: flex; align-items: center; gap: 10px; }
.brand-icon { color: var(--blue); font-size: 1.5rem; line-height: 1; }
.brand-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.brand-accent { color: var(--cyan); }

.nav-link {
  color: rgba(255,255,255,.75) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 6px 14px !important;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-link:hover { color: #fff !important; background: rgba(255,255,255,.06); }
.nav-link.active { color: #fff !important; }

/* Custom hamburger */
.navbar-toggler {
  border: none;
  background: none;
  padding: 8px;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon-custom {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.navbar-toggler-icon-custom span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Grid background */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

/* Gradient orbs */
.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
}
.orb-1 { width: 600px; height: 600px; background: var(--blue); top: -150px; right: -100px; }
.orb-2 { width: 400px; height: 400px; background: var(--cyan); bottom: -100px; left: -100px; }
.orb-3 { width: 300px; height: 300px; background: var(--purple); top: 50%; left: 40%; }

.hero-content { position: relative; z-index: 2; padding: 120px 0 80px; width: 100%; }

/* Hero text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.3);
  color: var(--cyan-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

.hero-headline {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.stat-num { font-size: 1.5rem; font-weight: 800; color: var(--white); display: block; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,.5); font-weight: 500; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.12); }

/* ── Dashboard Mockup ── */
.hero-dashboard-col { position: relative; padding: 40px 0 40px 40px; }

.dashboard-mockup { position: relative; }

.dash-card.dash-main {
  background: rgba(30,41,59,.9);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(15,23,42,.5);
}
.dash-dots { display: flex; gap: 7px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green  { background: #28C840; }
.dash-title-text { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,.6); flex: 1; text-align: center; }
.dash-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600; color: var(--green);
}

.pulse-dot {
  display: inline-block; width: 7px; height: 7px;
  background: var(--green); border-radius: 50%;
  animation: pulse-green 2s infinite;
}
.pulse-dot.cyan { background: var(--cyan); animation: pulse-cyan 2s infinite; }

@keyframes pulse-green { 0%,100%{box-shadow:0 0 0 0 rgba(16,185,129,.4)} 50%{box-shadow:0 0 0 5px rgba(16,185,129,0)} }
@keyframes pulse-cyan  { 0%,100%{box-shadow:0 0 0 0 rgba(6,182,212,.4)}  50%{box-shadow:0 0 0 5px rgba(6,182,212,0)} }

.dash-body { padding: 20px; }

.dash-metrics { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.dash-metric {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.metric-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.metric-icon.blue   { background: rgba(37,99,235,.2); color: var(--blue-light); }
.metric-icon.cyan   { background: rgba(6,182,212,.2); color: var(--cyan); }
.metric-icon.purple { background: rgba(124,58,237,.2); color: #A78BFA; }
.metric-icon.green  { background: rgba(16,185,129,.2); color: var(--green); }

.metric-val { font-size: 1rem; font-weight: 700; color: #fff; }
.metric-lbl { font-size: 0.72rem; color: rgba(255,255,255,.45); }
.metric-badge { margin-left: auto; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; }
.metric-badge.up { background: rgba(16,185,129,.15); color: var(--green); }

.dash-chart-area { background: rgba(255,255,255,.02); border-radius: var(--radius); padding: 14px; }
.chart-label { font-size: 0.72rem; color: rgba(255,255,255,.4); margin-bottom: 12px; font-weight: 500; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.chart-bar {
  flex: 1;
  height: var(--h, 50%);
  background: rgba(37,99,235,.3);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: background var(--transition);
  cursor: default;
}
.chart-bar.active { background: var(--blue); }
.chart-bar:hover  { background: var(--blue-light); }
.bar-tip {
  position: absolute;
  bottom: -18px;
  left: 50%; transform: translateX(-50%);
  font-size: 0.6rem;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
}

/* Floating cards */
.dash-float {
  position: absolute;
  background: rgba(30,41,59,.95);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  animation: float-anim 6s ease-in-out infinite;
}
.dash-float-1 { top: -20px; left: -20px; animation-delay: 0s; }
.dash-float-2 { bottom: 60px; right: -30px; animation-delay: 2s; }
.dash-float-3 { bottom: -10px; left: 30px; animation-delay: 4s; }

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

.float-icon {
  width: 36px; height: 36px;
  background: rgba(37,99,235,.2);
  color: var(--blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.float-icon.cyan  { background: rgba(6,182,212,.2); color: var(--cyan); }
.float-icon.green { background: rgba(16,185,129,.2); color: var(--green); }

.float-title { font-size: 0.8rem; font-weight: 700; color: #fff; }
.float-sub   { font-size: 0.7rem; color: rgba(255,255,255,.45); }

/* Tech icon floats */
.tech-icon-float {
  position: absolute;
  width: 40px; height: 40px;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
  font-size: 1.1rem;
  animation: float-anim 5s ease-in-out infinite;
}
.t1 { top: 10%; right: -50px; animation-delay: 1s; }
.t2 { top: 45%; right: -60px; animation-delay: 3s; }
.t3 { top: 75%; right: -40px; animation-delay: 5s; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  z-index: 2;
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px; height: 8px;
  background: rgba(255,255,255,.4);
  border-radius: 2px;
  animation: scroll-wheel 2s infinite;
}
@keyframes scroll-wheel {
  0%,100% { transform: translateY(0); opacity: 1; }
  80%      { transform: translateY(10px); opacity: 0; }
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-visual { position: relative; display: flex; justify-content: center; }

.about-card-main {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  max-width: 360px;
  width: 100%;
}
.about-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.aicon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}
.aicon i {
  font-size: 1.5rem;
  color: var(--blue);
}
.aicon:hover {
  background: rgba(37,99,235,.05);
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.about-badge-uk, .about-badge-est {
  position: absolute;
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.about-badge-uk { top: -16px; right: 0; }
.about-badge-est { bottom: -16px; left: 0; background: var(--blue); }

/* Values grid */
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.value-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.value-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }

.value-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}
.value-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.value-body  { font-size: 0.82rem; color: var(--gray-500); margin: 0; line-height: 1.5; }

/* =====================================================
   STATS SECTION
   ===================================================== */
.stats-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0.04;
}

.stats-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  position: relative;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: inline-block;
}
.stat-plus {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--cyan);
  display: inline-block;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  margin-top: 6px;
  display: block;
}
.stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,.1); }

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.service-block {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 60px;
  margin-bottom: 40px;
  transition: box-shadow var(--transition);
}
.service-block:hover { box-shadow: var(--shadow-lg); }

.service-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.erp-badge { background: rgba(37,99,235,.1); color: var(--blue); border: 1px solid rgba(37,99,235,.2); }
.tpl-badge { background: rgba(6,182,212,.1);  color: var(--cyan); border: 1px solid rgba(6,182,212,.2); }

.service-name {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.service-desc { font-size: 0.98rem; color: var(--gray-500); line-height: 1.75; margin-bottom: 24px; }

.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-row  { display: flex; gap: 10px; flex-wrap: wrap; }
.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}
.feature-chip i { color: var(--blue); font-size: 0.75rem; }

.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.s-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(37,99,235,.06);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
}

/* ── ERP Mockup ── */
.erp-mockup {
  display: flex;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,.1);
  background: var(--navy-mid);
  min-height: 380px;
}
.erp-sidebar {
  width: 60px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 8px;
}
.erp-logo-mini {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--blue-light);
  background: rgba(37,99,235,.2);
  border-radius: 8px;
  padding: 6px 4px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.erp-nav {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.35);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.erp-nav:hover, .erp-nav.active {
  background: rgba(37,99,235,.25);
  color: var(--blue-light);
}

.erp-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.erp-top-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.erp-page-title { font-size: 0.85rem; font-weight: 700; color: #fff; }
.erp-actions { display: flex; align-items: center; gap: 8px; }
.erp-notif {
  width: 30px; height: 30px;
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 0.85rem;
  cursor: pointer;
}
.erp-avatar {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: #fff;
}

.erp-widgets { display: flex; gap: 8px; }
.erp-widget {
  flex: 1;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  transition: border-color var(--transition-fast);
}
.erp-widget:hover { border-color: rgba(37,99,235,.3); }
.erp-widget.blue .w-icon   { color: var(--blue-light); }
.erp-widget.cyan .w-icon   { color: var(--cyan); }
.erp-widget.purple .w-icon { color: #A78BFA; }
.w-icon { font-size: 1.2rem; margin-bottom: 6px; }
.w-val  { font-size: 0.95rem; font-weight: 800; color: #fff; }
.w-lbl  { font-size: 0.62rem; color: rgba(255,255,255,.4); font-weight: 500; }

.erp-table-mini { flex: 1; }
.table-head-mini {
  display: grid; grid-template-columns: 1fr 1.5fr 1fr 0.8fr;
  font-size: 0.65rem; font-weight: 700;
  color: rgba(255,255,255,.3);
  padding: 0 8px 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.table-row-mini {
  display: grid; grid-template-columns: 1fr 1.5fr 1fr 0.8fr;
  font-size: 0.72rem;
  color: rgba(255,255,255,.7);
  padding: 8px;
  border-radius: 6px;
  transition: background var(--transition-fast);
  align-items: center;
}
.table-row-mini:hover { background: rgba(255,255,255,.04); }

.badge-s {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  display: inline-block;
}
.badge-s.shipped    { background: rgba(16,185,129,.15); color: var(--green); }
.badge-s.processing { background: rgba(37,99,235,.15);  color: var(--blue-light); }
.badge-s.pending    { background: rgba(245,158,11,.15); color: var(--orange); }

/* ── 3PL Mockup ── */
.tpl-mockup {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.tpl-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tpl-title { font-size: 0.85rem; font-weight: 700; color: #fff; }
.tpl-live  { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 600; color: var(--cyan); }

.tpl-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }

.tpl-metric-row { display: flex; gap: 12px; }
.tpl-metric {
  flex: 1;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}
.tm-icon { font-size: 1.1rem; color: var(--blue-light); margin-bottom: 6px; }
.tm-icon.cyan   { color: var(--cyan); }
.tm-icon.purple { color: #A78BFA; }
.tm-val  { font-size: 1rem; font-weight: 800; color: #fff; }
.tm-lbl  { font-size: 0.62rem; color: rgba(255,255,255,.4); }

.tpl-orders { background: rgba(255,255,255,.03); border-radius: var(--radius); padding: 14px; }
.tpl-order-head { font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,.4); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.tpl-order { font-size: 0.78rem; color: rgba(255,255,255,.65); padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.tpl-order:last-child { border: none; }
.tpl-order strong { color: #fff; }

.tpl-warehouse-map { }
.wh-label { font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,.4); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.wh-zones { display: flex; gap: 8px; }
.wh-zone {
  flex: 1;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  font-size: 0.8rem; font-weight: 800;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.06);
}
.wh-zone span { display: block; font-size: 0.68rem; color: var(--cyan); margin-top: 4px; font-weight: 600; }
.wh-zone.a { border-color: rgba(16,185,129,.3); color: var(--green); }
.wh-zone.b { border-color: rgba(37,99,235,.3);  color: var(--blue-light); }
.wh-zone.c { border-color: rgba(6,182,212,.3);  color: var(--cyan); }
.wh-zone.d { border-color: rgba(245,158,11,.3); color: var(--orange); }

/* ── Bespoke Service Cards ── */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  cursor: default;
}
.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.sc-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(6,182,212,.1));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 18px;
  transition: all var(--transition);
}
.service-card:hover .sc-icon { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; }
.sc-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.sc-body  { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; margin: 0; }

/* =====================================================
   MOBILE APPS SECTION
   ===================================================== */
.app-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
  position: relative;
}
.app-card:hover {
  border-color: rgba(37,99,235,.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.app-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #fff;
}
.iptv-color   { background: linear-gradient(135deg, #9333EA, #EC4899); }
.vizite-color { background: linear-gradient(135deg, #10B981, #06B6D4); }
.go2cut-color { background: linear-gradient(135deg, #F59E0B, #EF4444); }
.nailbook-color { background: linear-gradient(135deg, #EC4899, #8B5CF6); }

.app-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.68rem; font-weight: 700;
  background: rgba(16,185,129,.15);
  color: var(--green);
  border: 1px solid rgba(16,185,129,.3);
  padding: 3px 10px;
  border-radius: 100px;
}
.app-badge.coming { background: rgba(245,158,11,.12); color: var(--orange); border-color: rgba(245,158,11,.25); }

.app-name { font-size: 1.2rem; font-weight: 800; color: #fff; margin: 0; }
.app-desc { font-size: 0.85rem; color: rgba(255,255,255,.55); line-height: 1.6; margin: 0; }

.app-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.app-features li { display: flex; align-items: center; gap: 10px; font-size: 0.83rem; color: rgba(255,255,255,.65); }
.app-features i { color: var(--cyan); font-size: 0.85rem; }

.app-platforms { display: flex; gap: 8px; }
.platform-tag {
  font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  padding: 4px 10px;
  border-radius: 6px;
  display: flex; align-items: center;
}

/* =====================================================
   PROCESS SECTION
   ===================================================== */
.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process-line {
  position: absolute;
  top: 38px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0.3;
  z-index: 0;
}

.process-step { position: relative; z-index: 1; }

.ps-number {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--blue);
  background: rgba(37,99,235,.08);
  border: 1.5px solid rgba(37,99,235,.2);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  letter-spacing: 0.05em;
}

.ps-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
  height: 100%;
}
.ps-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow); }

.ps-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff;
  margin: 0 auto 16px;
}
.ps-title { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.ps-body  { font-size: 0.82rem; color: var(--gray-500); line-height: 1.6; margin: 0; }

/* =====================================================
   TECHNOLOGY SECTION
   ===================================================== */
.tech-category-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  height: 100%;
}
.tech-category-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }

.tc-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.tc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff;
}
.tc-icon.blue   { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.tc-icon.cyan   { background: linear-gradient(135deg, var(--cyan), #0891B2); }
.tc-icon.purple { background: linear-gradient(135deg, #7C3AED, #5B21B6); }
.tc-icon.orange { background: linear-gradient(135deg, #F59E0B, #D97706); }
.tc-icon.green  { background: linear-gradient(135deg, #10B981, #059669); }
.tc-icon.navy   { background: linear-gradient(135deg, var(--navy-mid), var(--navy)); }

.tc-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0; }

.tech-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.tech-chip:hover { border-color: var(--blue); color: var(--blue); background: rgba(37,99,235,.04); }

.tc-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.tc-dot.html   { background: #E44D26; }
.tc-dot.css    { background: #264DE4; }
.tc-dot.bs     { background: #7952B3; }
.tc-dot.react  { background: #61DAFB; }
.tc-dot.php    { background: #777BB4; }
.tc-dot.node   { background: #68A063; }
.tc-dot.mysql  { background: #00618A; }
.tc-dot.pg     { background: #336791; }
.tc-dot.aws    { background: #FF9900; }
.tc-dot.azure  { background: #0089D6; }
.tc-dot.flutter{ background: #02569B; }
.tc-dot.rn     { background: #61DAFB; }
.tc-dot.git    { background: #F05032; }
.tc-dot.docker { background: #2496ED; }
.tc-dot.ci     { background: #10B981; }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-section { background: var(--gray-50); }

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.t-stars { color: #F59E0B; font-size: 0.85rem; display: flex; gap: 3px; }
.t-quote { font-size: 0.95rem; color: var(--gray-700); line-height: 1.75; font-style: italic; flex: 1; }
.t-quote::before { content: '"'; }
.t-quote::after  { content: '"'; }

.t-author { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.t-avatar.blue   { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.t-avatar.cyan   { background: linear-gradient(135deg, var(--cyan), #0891B2); }
.t-avatar.purple { background: linear-gradient(135deg, #7C3AED, #5B21B6); }

.t-name { font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.t-role { font-size: 0.78rem; color: var(--gray-400); }

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section { background: var(--white); }

.ci-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.ci-item:last-child { border: none; }
.ci-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  flex-shrink: 0;
}
.ci-label { font-size: 0.75rem; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.ci-value { font-size: 0.95rem; font-weight: 600; color: var(--navy); }
a.ci-value:hover { color: var(--blue); }

.contact-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
}
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--gray-500);
}
.trust-item i { color: var(--blue); }

/* Contact form card */
.contact-form-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-label-custom {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.req { color: var(--blue); }

.form-input-custom {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  appearance: none;
}
.form-input-custom::placeholder { color: var(--gray-400); }
.form-input-custom:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-input-custom.error { border-color: var(--red); }
.form-select-custom { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748B'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }
textarea.form-input-custom { resize: vertical; min-height: 120px; }

.field-error { font-size: 0.78rem; color: var(--red); margin-top: 5px; min-height: 18px; }

.form-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  text-align: center;
}
.form-note i { color: var(--blue); }

/* Form alerts */
.form-alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.form-alert.success { background: rgba(16,185,129,.1); color: #065F46; border: 1px solid rgba(16,185,129,.25); }
.form-alert.error   { background: rgba(239,68,68,.08); color: #991B1B; border: 1px solid rgba(239,68,68,.2); }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer { background: var(--navy); }

.footer-top { padding: 80px 0 60px; border-bottom: 1px solid rgba(255,255,255,.06); }

.footer-about { font-size: 0.88rem; color: rgba(255,255,255,.5); line-height: 1.7; margin: 16px 0 20px; }

.footer-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(6,182,212,.1);
  border: 1px solid rgba(6,182,212,.2);
  padding: 5px 14px;
  border-radius: 100px;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links li a, .footer-links li span {
  font-size: 0.88rem;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}
.footer-links li a:hover { color: var(--cyan); }

.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}
.social-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.footer-bottom { padding: 24px 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,.35); margin: 0; }
.footer-legal { display: flex; align-items: center; gap: 12px; }
.footer-legal a { font-size: 0.82rem; color: rgba(255,255,255,.35); transition: color var(--transition-fast); }
.footer-legal a:hover { color: var(--cyan); }
.footer-legal span { color: rgba(255,255,255,.15); }

/* =====================================================
   LEGAL MODALS
   ===================================================== */
.legal-modal { background: var(--navy-mid); color: #fff; border: 1px solid rgba(255,255,255,.08); }
.legal-modal .modal-header { border-bottom: 1px solid rgba(255,255,255,.08); }
.legal-modal .modal-title { color: #fff; font-weight: 700; }
.legal-modal .modal-body { color: rgba(255,255,255,.7); font-size: 0.9rem; line-height: 1.7; }
.legal-modal .modal-body h6 { color: var(--cyan); margin: 20px 0 8px; }
.legal-modal .modal-body p { margin-bottom: 12px; }

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px; height: 44px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(37,99,235,.4);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991px) {
  .hero-dashboard-col { padding: 40px 0 0; }
  .hero-text-col { text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-badge { margin: 0 auto 24px; }

  .t1, .t2, .t3 { display: none; }
  .dash-float-1 { top: -10px; left: 0; }
  .dash-float-2 { bottom: 40px; right: 0; }
  .dash-float-3 { display: none; }

  .service-block { padding: 36px 28px; }
  .values-grid { grid-template-columns: 1fr; }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-line { display: none; }
}

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

  .stats-wrapper { gap: 20px; }
  .stat-divider { display: none; }

  .service-block { padding: 28px 20px; }

  .process-timeline { grid-template-columns: 1fr; }

  .footer-top { padding: 60px 0 40px; }

  .contact-form-card { padding: 28px 20px; }

  .hero-cta .btn-lg { padding: 12px 24px; font-size: 0.9rem; }

  .about-card-main { padding: 28px; }
  .about-icon-grid { grid-template-columns: repeat(3, 1fr); }

  .tpl-metric-row { flex-wrap: wrap; }
  .tpl-metric { min-width: 80px; }

  .erp-mockup { min-height: 280px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 1.9rem; }
  .hero-stats { gap: 16px; }
  .hero-stat-divider { display: none; }

  .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }

  .wh-zones { flex-wrap: wrap; }

  .values-grid { grid-template-columns: 1fr; }
}

/* ── Scroll animation for sections that aren't hero ── */
@media (prefers-reduced-motion: no-preference) {
  .fade-in-up:not(.visible) { opacity: 0; transform: translateY(24px); }
  .fade-in-left:not(.visible)  { opacity: 0; transform: translateX(-24px); }
  .fade-in-right:not(.visible) { opacity: 0; transform: translateX(24px); }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in-up, .fade-in-left, .fade-in-right { opacity: 1 !important; transform: none !important; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
