/* ==========================================================================
   CLOUDFORGE TECHNOLOGIES — DESIGN SYSTEM & STYLES
   ========================================================================== */

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

:root {
  --bg-dark: #070B10;
  --bg-surface: #0E1622;
  --bg-surface-elevated: #152234;
  --bg-card: rgba(14, 22, 34, 0.7);
  --bg-glass: rgba(15, 26, 42, 0.65);
  
  --color-text-main: #F0F4F8;
  --color-text-muted: #94A3B8;
  --color-text-subtle: #64748B;
  
  --accent-cyan: #38BDF8;
  --accent-blue: #0284C7;
  --accent-indigo: #6366F1;
  --accent-glow: #4FA4DA;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(56, 189, 248, 0.2);
  --border-glass-hover: rgba(56, 189, 248, 0.5);
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
  
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.15);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(99, 102, 241, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
}

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

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

a:hover {
  color: #7DD3FC;
}

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

/* Layout Utilities */
.app-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-pad {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Conic Glow Button Styling */
@property --app-glow-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes app-glow-spin {
  to {
    --app-glow-angle: 360deg;
  }
}

.btn-glow {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.9), rgba(15, 26, 42, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-full);
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-height: 48px;
}

.btn-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--app-glow-angle),
      transparent 0deg,
      transparent 210deg,
      var(--accent-cyan) 300deg,
      #E0F2FE 340deg,
      var(--accent-cyan) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  filter: drop-shadow(0 0 6px var(--accent-cyan));
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.25s ease;
  animation: app-glow-spin 2.6s linear infinite;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
  color: #FFFFFF !important;
}

.btn-glow:hover::before {
  opacity: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-main);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 48px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glass);
  color: #FFFFFF;
}

/* Header & Navigation */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 11, 16, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  z-index: 1005;
}

.brand-logo svg {
  height: 40px;
  width: auto;
}
.brand-logo img { display: block; width: auto; height: 46px; max-width: min(250px, 34vw); object-fit: contain; }

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

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
}

/* Desktop Mega Menu Dropdown */
@media (min-width: 992px) {
  .mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 88vw;
    max-width: 960px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass-hover);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1100;
  }

  .nav-item.has-mega-menu:hover .mega-menu:not(.is-closed),
  .mega-menu.is-visible:not(.is-closed) {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  .mega-menu.is-closed {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(10px) !important;
  }
}

@media (min-width: 992px) and (max-width: 1240px) {
  .nav-menu { gap: .95rem; }
  .nav-link { font-size: .88rem; }
  .brand-logo svg { height: 35px; }
  .brand-logo img { height: 40px; }
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

.mega-menu-desc h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-cyan);
}

.mega-menu-desc p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.mega-menu-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.25rem;
}

.mega-menu-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-main);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.mega-menu-link:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--border-glass);
  color: var(--accent-cyan);
  transform: translateX(4px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--color-text-main);
  font-size: 1.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 1005;
}

/* Hero Section Grid */
.hero-section {
  position: relative;
  padding-top: 130px;
  padding-bottom: 70px;
  overflow: hidden;
}

/* Homepage Salesforce spotlight */
.home-salesforce-section { position: relative; overflow: hidden; padding-block: clamp(4rem, 8vw, 6.5rem); border-block: 1px solid rgba(56,189,248,.16); background: radial-gradient(circle at 80% 45%, rgba(56,189,248,.2), transparent 30%), linear-gradient(120deg, #0d2941, #0d1627 56%, #101735); }
.home-salesforce-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: clamp(2.5rem, 7vw, 6rem); }
.home-salesforce-copy h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 1rem; }
.home-salesforce-copy > p { max-width: 670px; color: #c1d5e5; font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.5rem; }
.home-salesforce-points { display: grid; gap: .65rem; margin-bottom: 1.8rem; color: #eaf7ff; font-size: .94rem; font-weight: 550; }
.home-salesforce-points i { color: #7dd3fc; margin-right: .5rem; }
.home-salesforce-visual { position: relative; min-height: 360px; isolation: isolate; overflow: hidden; border-radius: 22px; }
.home-salesforce-visual::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, rgba(245,252,255,.88), rgba(224,244,255,.28)), url('assets/img/customer-platform-workflow.png') center / cover no-repeat; opacity: .86; }
.home-salesforce-visual::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(246,252,255,.72), transparent 68%); }
.salesforce-orb { position: absolute; border-radius: 50%; z-index: 1; filter: blur(2px); animation: salesforceFloat 7s ease-in-out infinite; }
.orb-one { width: 280px; height: 280px; top: 20px; left: 10%; background: rgba(56,189,248,.18); box-shadow: 0 0 90px rgba(56,189,248,.3); }
.orb-two { width: 140px; height: 140px; right: 4%; bottom: 18px; background: rgba(129,140,248,.22); animation-delay: -3s; }
.salesforce-dashboard-card { position: absolute; z-index: 2; border: 1px solid rgba(186,230,253,.34); border-radius: 18px; background: rgba(8,22,38,.82); box-shadow: 0 25px 65px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.dashboard-main { top: 22px; right: 5%; width: min(350px, 82%); padding: 1.7rem; animation: salesforceFloat 6s ease-in-out infinite; }
.dashboard-label { display: block; color: #8ecdf1; font-size: .68rem; letter-spacing: .12em; font-weight: 700; margin-bottom: .65rem; }
.dashboard-main strong { display: block; color: #fff; font-family: var(--font-heading); font-size: 2.5rem; }
.dashboard-bars { height: 92px; display: flex; align-items: end; gap: .55rem; margin-top: 1rem; padding-top: .8rem; border-top: 1px solid rgba(186,230,253,.16); }
.dashboard-bars i { display: block; flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(#7dd3fc, #2563eb); animation: dashboardGrow 1.4s ease both; transform-origin: bottom; }
.dashboard-bars i:nth-child(1){height:35%}.dashboard-bars i:nth-child(2){height:52%;animation-delay:.1s}.dashboard-bars i:nth-child(3){height:46%;animation-delay:.2s}.dashboard-bars i:nth-child(4){height:70%;animation-delay:.3s}.dashboard-bars i:nth-child(5){height:63%;animation-delay:.4s}.dashboard-bars i:nth-child(6){height:92%;animation-delay:.5s}
.dashboard-side { left: 0; bottom: 68px; width: 175px; padding: 1rem; animation: salesforceFloat 6s ease-in-out infinite -2s; }
.dashboard-side i { color: #7dd3fc; margin-right: .4rem; }.dashboard-side strong { color: #fff; font-size: 1.5rem; }.dashboard-side span { display:block; color:#b7cad9; font-size:.76rem; margin-top:.25rem; }
.dashboard-bottom { display:flex; align-items:center; gap:.55rem; right: 0; bottom: 8px; padding: .9rem 1.05rem; animation: salesforceFloat 6s ease-in-out infinite -4s; }.dashboard-bottom i,.dashboard-bottom b { color:#5eead4; }.dashboard-bottom span { color:#ecfeff; font-size:.83rem; }.dashboard-bottom b { font-size:.7rem; animation: statusPulse 1.8s ease-in-out infinite; }
@keyframes salesforceFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes dashboardGrow { from { transform: scaleY(.1); opacity: .2; } to { transform: scaleY(1); opacity: 1; } }
@keyframes statusPulse { 50% { opacity: .35; transform: scale(1.35); } }

/* ---------- Salesforce focus page ---------- */
.salesforce-hero {
  padding-top: 150px;
  padding-bottom: 82px;
  background:
    radial-gradient(circle at 82% 30%, rgba(56, 189, 248, 0.2), transparent 28%),
    radial-gradient(circle at 12% 90%, rgba(99, 102, 241, 0.16), transparent 36%);
}
.salesforce-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: center; gap: 4rem; }
.salesforce-snapshot { padding: 1.5rem; background: rgba(14, 22, 34, .76); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); box-shadow: var(--shadow-glow); }
.snapshot-label { display: block; color: var(--accent-cyan); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.salesforce-snapshot > div { display: flex; gap: .85rem; align-items: center; padding: .9rem 0; border-top: 1px solid var(--border-subtle); color: var(--color-text-main); font-weight: 600; }
.salesforce-snapshot i { color: var(--accent-cyan); width: 1.1rem; text-align: center; }
.salesforce-feature { border-color: rgba(56, 189, 248, .48); background: linear-gradient(135deg, rgba(2,132,199,.18), var(--bg-card)); }
.salesforce-feature .service-card-icon { background: rgba(56, 189, 248, .16); color: #7dd3fc; }
.salesforce-intro { max-width: 760px; margin-bottom: 2.4rem; }
.salesforce-intro .hero-badge { margin-bottom: .75rem; }
.salesforce-intro h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .85rem; }
.salesforce-intro p { color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.75; }
.salesforce-cloud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.salesforce-cloud-card { min-height: 245px; padding: 1.55rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); transition: transform var(--transition-fast), border-color var(--transition-fast); }
.salesforce-cloud-card:hover { transform: translateY(-4px); border-color: var(--border-glass-hover); }
.salesforce-cloud-card > i { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; margin-bottom: 1.3rem; border-radius: .7rem; background: rgba(56,189,248,.12); color: var(--accent-cyan); font-size: 1.1rem; }
.salesforce-cloud-card h3 { margin-bottom: .65rem; font-size: 1.2rem; }
.salesforce-cloud-card p { color: var(--color-text-muted); font-size: .92rem; line-height: 1.7; }
.salesforce-process-section { background: rgba(14, 22, 34, .55); border-block: 1px solid var(--border-subtle); }
.salesforce-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-subtle); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; }
.salesforce-steps > div { padding: 1.6rem; background: var(--bg-surface); }
.salesforce-steps span { display: block; color: var(--accent-cyan); font-family: var(--font-heading); font-weight: 800; font-size: 1.45rem; margin-bottom: 1rem; }
.salesforce-steps h3 { margin-bottom: .45rem; font-size: 1.15rem; }
.salesforce-steps p { color: var(--color-text-muted); font-size: .9rem; line-height: 1.65; }
.salesforce-cta { display: flex; gap: 2rem; align-items: center; justify-content: space-between; padding: clamp(1.8rem, 5vw, 3rem); border-radius: var(--radius-lg); border: 1px solid var(--border-glass); background: linear-gradient(120deg, rgba(2,132,199,.2), rgba(99,102,241,.13)); }
.salesforce-cta > div { max-width: 680px; }
.salesforce-cta .hero-badge { margin-bottom: .7rem; }
.salesforce-cta h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); margin-bottom: .65rem; }
.salesforce-cta p { color: var(--color-text-muted); }

/* ---------- Homepage trust and discovery ---------- */
.home-trust-section { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; margin-top: clamp(4rem, 9vw, 7rem); padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(21,34,52,.7), rgba(14,22,34,.3)); }
.trust-visual { overflow: hidden; border: 1px solid #c8e5f7; border-radius: 20px; box-shadow: 0 18px 42px rgba(27,100,157,.13); }
.trust-visual img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; transition: transform .6s ease; }
.home-trust-section:hover .trust-visual img { transform: scale(1.025); }
.trust-copy .hero-badge { margin-bottom: .85rem; }
.trust-copy h2, .home-faq-intro h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: .85rem; }
.trust-copy > p, .home-faq-intro p { color: var(--color-text-muted); line-height: 1.75; }
.trust-pill-grid { display: grid; gap: .8rem; margin-top: 1.7rem; }
.trust-pill-grid > div { display: flex; align-items: flex-start; gap: .85rem; padding: 1rem; border-radius: var(--radius-md); background: rgba(7,11,16,.42); border: 1px solid var(--border-subtle); }
.trust-pill-grid i { color: var(--accent-cyan); margin-top: .2rem; }
.trust-pill-grid strong { display: block; font-size: .94rem; margin-bottom: .12rem; }
.trust-pill-grid span { color: var(--color-text-muted); font-size: .88rem; line-height: 1.5; }
.home-purpose-section { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; }
.home-purpose-section > div { min-height: 215px; padding: clamp(1.6rem, 4vw, 2.8rem); background: var(--bg-surface); }
.home-purpose-section > div + div { border-left: 1px solid var(--border-subtle); background: linear-gradient(130deg, rgba(2,132,199,.14), var(--bg-surface)); }
.home-purpose-section i { color: var(--accent-cyan); font-size: 1.35rem; margin-bottom: .8rem; }
.home-purpose-section span { display: block; color: var(--accent-cyan); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .7rem; }
.home-purpose-section h3 { font-size: clamp(1.25rem, 2.5vw, 1.7rem); max-width: 28rem; }
.home-faq-section { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; margin-top: clamp(4rem, 9vw, 7rem); margin-bottom: 1.5rem; }
.home-faq-intro .hero-badge { margin-bottom: .85rem; }
.home-faq-list { margin: 0; }
.industry-visual-section { margin-top: clamp(4rem, 9vw, 7rem); }
.industry-visual-head { max-width: 720px; margin-bottom: 2rem; }
.industry-visual-head .hero-badge, .ecosystem-copy .hero-badge { margin-bottom: .85rem; }
.industry-visual-head h2, .ecosystem-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .7rem; }
.industry-visual-head p, .ecosystem-copy p { color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.7; }
.industry-visual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.industry-visual-card { position: relative; min-height: 255px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem; padding: 1.5rem; color: #fff; text-decoration: none; isolation: isolate; border-radius: var(--radius-lg); border: 1px solid rgba(125,211,252,.36); background-image: linear-gradient(0deg, rgba(3,10,21,.9), rgba(3,10,21,.04) 70%), url('assets/img/industry-showcase.png'); background-size: 300% 100%; transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal); }
.industry-visual-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, transparent 45%, rgba(56,189,248,.18)); opacity: 0; transition: opacity var(--transition-normal); }
.industry-visual-card:hover { color: #fff; transform: translateY(-5px); border-color: var(--accent-cyan); box-shadow: 0 15px 36px rgba(2,132,199,.26); }
.industry-visual-card:hover::after { opacity: 1; }
.industry-visual-card.retail { background-position: 0 50%; }
.industry-visual-card.logistics { background-position: 50% 50%; }
.industry-visual-card.manufacturing { background-position: 100% 50%; }
.industry-visual-card span { font-family: var(--font-heading); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.15; }
.industry-visual-card small { color: #c7eaff; font-size: .85rem; }
.ecosystem-section { position: relative; overflow: hidden; margin-top: 1rem; padding: clamp(2rem, 5vw, 4rem); border: 1px solid rgba(56,189,248,.28); border-radius: var(--radius-lg); background: linear-gradient(120deg, rgba(3,105,161,.3), rgba(49,46,129,.18) 55%, rgba(14,22,34,.75)); }
.ecosystem-section::before { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(56,189,248,.16); filter: blur(45px); top: -220px; right: 10%; pointer-events: none; }
.ecosystem-copy { position: relative; max-width: 660px; }
.ecosystem-chips { position: relative; display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.ecosystem-chips span { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1rem; border: 1px solid rgba(186,230,253,.3); border-radius: var(--radius-full); background: rgba(7,11,16,.35); color: #f0f9ff; font-size: .9rem; font-weight: 600; }
.ecosystem-chips i { color: #7dd3fc; font-size: 1.05rem; }
.ecosystem-note { position: relative; margin-top: 1.2rem; color: #b6c9d9; font-size: .78rem; line-height: 1.5; }
.capability-marquee { position: relative; overflow: hidden; margin-top: 1.8rem; padding: .25rem 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.capability-marquee-track { display: flex; width: max-content; animation: capabilityMarquee 30s linear infinite; }
.capability-marquee-set { display: flex; flex: none; gap: .8rem; padding-right: .8rem; }
.capability-marquee-set span { display: inline-flex; align-items: center; gap: .62rem; min-height: 58px; padding: .75rem 1.05rem; border: 1px solid #c6e2f4; border-radius: 15px; background: rgba(255,255,255,.82); box-shadow: 0 8px 20px rgba(20,87,138,.08); color: #234a6b; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.capability-marquee-set i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, #d8f1ff, #e6eaff); color: #0879c9; font-size: .86rem; }
.capability-marquee:hover .capability-marquee-track { animation-play-state: paused; }
@keyframes capabilityMarquee { to { transform: translateX(-50%); } }

/* ---------- Dynamic service pages ---------- */
.service-detail-hero { padding-top: 145px; padding-bottom: 70px; background: radial-gradient(circle at 78% 30%, rgba(56,189,248,.15), transparent 30%); }
.service-detail-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr); gap: clamp(2rem, 7vw, 5rem); align-items: center; }
.service-detail-grid .hero-subtitle { max-width: 760px; }
.service-detail-aside { padding: 1.5rem; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border-glass); }
.service-detail-aside h3 { margin-bottom: 1rem; font-size: 1.15rem; }
.service-detail-aside ul { padding: 0; margin: 0; list-style: none; }
.service-detail-aside li { padding: .8rem 0; border-top: 1px solid var(--border-subtle); color: var(--color-text-muted); font-size: .92rem; }
.service-detail-aside li::before { content: '✓'; color: var(--accent-cyan); font-weight: 700; margin-right: .65rem; }
.service-deliverables-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.service-deliverable { padding: 1.4rem; min-height: 130px; border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--border-subtle); }
.service-deliverable i { color: var(--accent-cyan); margin-bottom: .8rem; }
.service-deliverable p { color: var(--color-text-muted); font-size: .94rem; line-height: 1.6; }

.hero-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text-col {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-contact-quick {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(14, 22, 34, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  width: fit-content;
}

/* SVG Illustration Card */
.svg-diagram-card {
  background: linear-gradient(145deg, rgba(14, 22, 34, 0.8) 0%, rgba(7, 11, 16, 0.9) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

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

@keyframes svgPulse {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 48; }
}

.svg-pulse-path {
  animation: svgPulse 4s linear infinite;
}

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

.svg-floating-node {
  animation: nodeFloat 3.5s ease-in-out infinite;
}

/* Interactive Animated Tech Canvas Component */
.tech-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  background: linear-gradient(180deg, #05080E 0%, #0A111A 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

#techPipelineCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-telemetry-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(7, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  z-index: 10;
}

.telemetry-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  display: inline-block;
  animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.telemetry-metrics {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.telemetry-metrics strong {
  color: #FFFFFF;
}

.canvas-controls {
  display: flex;
  gap: 0.75rem;
}

.btn-canvas-ctrl {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid var(--border-glass);
  color: var(--accent-cyan);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-canvas-ctrl:hover {
  background: var(--accent-cyan);
  color: #070B10;
}

/* 4-Step Agile Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.process-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all var(--transition-normal);
}

.process-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(56, 189, 248, 0.25);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.process-title {
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.process-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Asymmetrical Service Card Grid */
.service-card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card-col-12 { grid-column: span 12; }
.card-col-10 { grid-column: span 6; }
.card-col-8 { grid-column: span 6; }

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  backdrop-filter: blur(12px);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  box-shadow: 0 15px 35px rgba(2, 132, 199, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.service-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  border: 1px solid var(--border-subtle);
}

.card-link-btn {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Stat Counter Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.stat-card:hover {
  border-color: var(--border-glass);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Industries & Technologies Grid */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
  cursor: pointer;
  min-height: 44px;
}

.tech-chip:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* FAQ Accordion Component */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-glass-hover);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  color: var(--color-text-main);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  min-height: 48px;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
  color: var(--accent-cyan);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: rgba(56, 189, 248, 0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.75rem 1.5rem 1.75rem;
}

/* Contact Form Card */
.contact-form-card {
  background: linear-gradient(160deg, #0E1A2B 0%, #080D15 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
  min-height: 48px;
}

.form-control:focus {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* Universal Modal Drawer View */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 7, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--color-text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--accent-cyan);
}

/* View Sections for SPA switching */
.view-section {
  display: none;
  animation: fadeIn 0.35s ease forwards;
}

.view-section.active-view {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer Modal Buttons */
.footer-modal-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color var(--transition-fast);
}

.footer-modal-btn:hover {
  color: var(--accent-cyan);
}

/* Footer */
.app-footer {
  background: #04070B;
  border-top: 1px solid var(--border-subtle);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-subtle);
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .hero-content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .home-salesforce-grid { grid-template-columns: 1fr; }
  .home-salesforce-visual { width: min(460px, 100%); margin-inline: auto; }

  .mobile-nav-toggle { display: flex; }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #0E1622;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  
  .mega-menu {
    position: static;
    width: 100%;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 1rem;
    margin-top: 0.5rem;
    box-shadow: none;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .mega-menu-links {
    grid-template-columns: 1fr;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group-full { grid-column: span 1; }
  .card-col-10, .card-col-8, .card-col-12 { grid-column: span 12; }
}

@media (max-width: 768px) {
  .tech-canvas-wrapper { height: 380px; }
  .canvas-telemetry-overlay {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 1rem;
  }
  .telemetry-metrics { flex-wrap: wrap; gap: 0.75rem; }
  
  /* Mobile Modal Drawer Sheet */
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  .modal-box {
    max-height: 92vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-section { padding-top: 110px; }
  .brand-logo img { height: 37px; max-width: 200px; }
  .home-salesforce-grid { grid-template-columns: 1fr; }
  .home-salesforce-visual { min-height: 310px; width: min(420px, 100%); margin-inline: auto; }
  .dashboard-main { right: 0; width: 82%; }.dashboard-side { bottom: 64px; width: 155px; }.dashboard-bottom { max-width: 205px; }
  .salesforce-hero { padding-top: 120px; }
  .salesforce-hero-grid, .salesforce-cloud-grid, .salesforce-steps { grid-template-columns: 1fr; }
  .home-trust-section, .home-faq-section, .service-detail-grid { grid-template-columns: 1fr; }
  .home-trust-section { padding: 1.5rem; }
  .trust-visual { max-width: 360px; margin-inline: auto; }
  .home-purpose-section { grid-template-columns: 1fr; }
  .home-purpose-section > div + div { border-left: 0; border-top: 1px solid var(--border-subtle); }
  .service-deliverables-grid { grid-template-columns: 1fr; }
  .service-detail-hero { padding-top: 120px; }
  .industry-visual-grid { grid-template-columns: 1fr; }
  .industry-visual-card { min-height: 220px; background-size: 100% 300%; }
  .industry-visual-card.retail { background-position: 50% 0; }
  .industry-visual-card.logistics { background-position: 50% 50%; }
  .industry-visual-card.manufacturing { background-position: 50% 100%; }
  .salesforce-hero-grid { gap: 2rem; }
  .salesforce-cloud-card { min-height: 0; }
  .salesforce-cta { align-items: flex-start; flex-direction: column; gap: 1.4rem; }
  .hero-title { font-size: 2.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 1.5rem 1rem; }
}

/* ========================================================================== 
   LIGHT CONSULTING THEME — white canvas, confident blue actions
   ========================================================================== */
:root {
  --bg-dark: #ffffff;
  --bg-surface: #f7faff;
  --bg-surface-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --color-text-main: #11243d;
  --color-text-muted: #52657d;
  --color-text-subtle: #708199;
  --accent-cyan: #1684dc;
  --accent-blue: #0d6fc0;
  --accent-indigo: #3568d4;
  --accent-glow: #65b7f2;
  --border-subtle: #e2ebf5;
  --border-glass: rgba(22, 132, 220, 0.24);
  --border-glass-hover: rgba(22, 132, 220, 0.54);
  --shadow-glow: 0 15px 36px rgba(25, 111, 187, 0.12);
  --shadow-lg: 0 24px 60px rgba(30, 63, 101, 0.13);
}

html, body { background: #ffffff; color: var(--color-text-main); }
body {
  background-image: radial-gradient(circle at 87% 0%, rgba(121, 198, 255, .20), transparent 26%), radial-gradient(circle at 8% 30%, rgba(231, 244, 255, .92), transparent 24%);
}
h1, h2, h3, h4, h5, h6 { color: var(--color-text-main); }
a:hover { color: #075fa9; }

.app-header { background: rgba(255,255,255,.93); border-bottom-color: #e5edf6; box-shadow: 0 6px 24px rgba(22, 60, 101, .06); }
.brand-logo img { height: 54px; max-width: min(280px, 42vw); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; min-height: 38px; padding: .45rem; color: #28618d; border: 1px solid #cfe3f3; border-radius: var(--radius-full); background: #f6fbff; font-size: .9rem; font-weight: 700; transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast); }
.theme-toggle:hover { transform: translateY(-1px); color: #0b67af; border-color: #8ac6ed; background: #eaf6ff; }
.nav-link { color: #3d516b; }
.nav-link:hover, .nav-link.active { color: var(--accent-blue); }
.mobile-nav-toggle { color: var(--accent-blue); background: #f5faff; border-color: #cfe4f7; }
@media (min-width: 992px) { .mega-menu { background: rgba(255,255,255,.98); box-shadow: var(--shadow-lg); } }
.mega-menu-link { color: #263c58; }
.mega-menu-link:hover { background: #eff8ff; color: var(--accent-blue); }

.btn-glow { background: linear-gradient(135deg, #1585dd, #0965b2); border-color: transparent; box-shadow: 0 12px 25px rgba(9,101,178,.2); }
.btn-glow:hover { box-shadow: 0 16px 30px rgba(9,101,178,.28); }
.btn-secondary { color: #126fb9; background: #ffffff; border-color: #b7d8f2; }
.btn-secondary:hover { color: #075fa9; background: #eef8ff; border-color: #78b9e7; }

.hero-section { padding-top: 150px; padding-bottom: 92px; background: linear-gradient(118deg, #f8fcff 0%, #ffffff 53%, #e9f6ff 100%); }
.hero-section::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: 40px; background: radial-gradient(circle, rgba(77,174,242,.22), transparent 65%); pointer-events: none; }
.hero-text-col, .hero-graphic-col { position: relative; z-index: 1; }
.hero-title { background: linear-gradient(135deg, #102b4a 15%, #0c6db8 95%); -webkit-background-clip: text; background-clip: text; }
.hero-subtitle { color: #516780; font-size: 1.13rem; max-width: 650px; }
.hero-badge { background: #eef8ff; border-color: #cde7fa; color: #096ab5; }
.hero-contact-quick { background: #ffffff; border-color: #d9e9f6; color: #52657d; box-shadow: 0 8px 22px rgba(37,86,130,.05); }
.hero-contact-quick a { color: #0b69b2 !important; }
.svg-diagram-card { background: linear-gradient(145deg, #ffffff, #eaf7ff); border-color: #badff7; box-shadow: 0 28px 55px rgba(21,104,178,.16); }
/* SVG transform attributes position the architecture nodes; keep those intact. */
.svg-floating-node { animation: none; }
.hero-svg-illustration text { fill: #54718c; }

.home-salesforce-section { border-block-color: #d7eaf8; background: linear-gradient(125deg, #e7f6ff, #fafdff 58%, #edf4ff); }
.home-salesforce-copy > p { color: #4b6680; }
.home-salesforce-points { color: #163b60; }
.home-salesforce-points i { color: #0877ca; }
.salesforce-dashboard-card { background: rgba(255,255,255,.92); border-color: #b8ddf6; box-shadow: 0 22px 50px rgba(24,98,163,.16), inset 0 1px rgba(255,255,255,.85); }
.dashboard-label { color: #437298; }.dashboard-main strong, .dashboard-side strong { color: #153858; }.dashboard-side span { color: #53718d; }.dashboard-bottom span { color: #173a59; }

.process-card, .service-card, .stat-card, .tech-chip, .faq-item, .service-deliverable, .service-detail-aside, .salesforce-snapshot, .salesforce-cloud-card { background: #ffffff; border-color: #dce9f4; box-shadow: 0 7px 22px rgba(37,86,130,.045); }
.process-card:hover, .service-card:hover, .stat-card:hover, .salesforce-cloud-card:hover { box-shadow: 0 18px 36px rgba(20,100,166,.12); }
.process-title, .service-card-title { color: #142f4b; }
.process-desc, .service-card-desc, .stat-label, .salesforce-intro p, .salesforce-cloud-card p, .salesforce-steps p, .service-deliverable p, .service-detail-aside li, .trust-copy > p, .home-faq-intro p { color: #5b6f85; }
.tag-badge, .faq-toggle-icon { background: #f2f8fd; border-color: #dceaf5; }

.tech-canvas-wrapper { background: linear-gradient(180deg, #f4fbff, #e6f4ff); border-color: #bfe2f9; box-shadow: 0 18px 40px rgba(27,105,173,.12); }
.canvas-telemetry-overlay { background: rgba(255,255,255,.92); border-color: #cfe6f7; box-shadow: 0 8px 22px rgba(23,91,149,.08); }
.telemetry-metrics { color: #5b6f85; }.telemetry-metrics strong { color: #183b5c; }

.home-trust-section, .home-purpose-section, .salesforce-process-section { background: #f6faff; border-color: #dceaf5; }
.trust-pill-grid > div { background: #ffffff; border-color: #dceaf5; }.trust-pill-grid span { color: #5b6f85; }
.ecosystem-section { background: linear-gradient(120deg, #e8f6ff, #f8fcff 56%, #eff4ff); border-color: #bedff5; }
.ecosystem-chips span { background: #ffffff; border-color: #cfe5f5; color: #234664; }.ecosystem-note { color: #60758b; }
.capability-marquee-set span { background:rgba(255,255,255,.9); border-color:#cfe5f5; color:#234a6b; }

.salesforce-hero, .service-detail-hero { background: radial-gradient(circle at 82% 30%, rgba(99,189,246,.18), transparent 28%), #ffffff; }
.salesforce-steps { background: #dceaf5; border-color: #dceaf5; }.salesforce-steps > div { background: #ffffff; }.salesforce-cta { background: linear-gradient(120deg, #e6f5ff, #eef3ff); border-color: #b9dcf5; }.salesforce-cta p { color: #5b6f85; }

.contact-form-card { background: linear-gradient(145deg, #ffffff, #eff8ff); border-color: #c3e2f6; box-shadow: 0 20px 45px rgba(19,92,153,.12); }
.form-label { color: #405a73; }.form-control { background: #ffffff; border-color: #cfdfea; color: #193a59; }.form-control:focus { background: #ffffff; }
.modal-backdrop { background: rgba(18, 47, 78, .42); }.modal-box { background: #ffffff; border-color: #c4e0f4; }.modal-close-btn { background: #f0f8ff; border-color: #cfe5f5; color: #1d4d73; }

.app-footer { background: #123757; border-top-color: #1e5079; }.app-footer h4 { color: #ffffff; }.app-footer, .app-footer p, .app-footer a, .footer-modal-btn { color: #cfe5f5; }.app-footer a:hover, .footer-modal-btn:hover { color: #ffffff; }

@media (max-width: 991px) { .nav-menu { background: #ffffff; border-bottom-color: #dce9f4; } .mega-menu { background: #f5faff; border-color: #dce9f4; } }
@media (max-width: 480px) { .brand-logo img { height: 42px; max-width: 220px; } }
/* A focused, editorial hero visual rather than a generic technology mesh. */
.delivery-journey-card { position: relative; min-height: 420px; overflow: hidden; padding: 1.45rem; border: 1px solid #bddff6; border-radius: 24px; background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%); box-shadow: 0 28px 60px rgba(21,104,178,.16); }
.delivery-journey-card::before { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -160px; top: -145px; background: radial-gradient(circle, rgba(48,156,235,.26), transparent 67%); animation: deliveryGlow 8s ease-in-out infinite; }
.delivery-journey-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid #d8eaf7; }
.delivery-journey-head span { color: #0870bc; font-size: .78rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }.delivery-journey-head strong { color: #173b5d; font-family: var(--font-heading); font-size: .92rem; }
.delivery-track { position: absolute; z-index: 0; left: 3.35rem; top: 115px; bottom: 80px; width: 2px; overflow: hidden; background: #cfe7f8; }.delivery-track i { display: block; width: 100%; height: 76px; border-radius: 999px; background: linear-gradient(#4db4ef, #0c70c0); animation: deliveryFlow 3.8s ease-in-out infinite; }
.delivery-step { position: relative; z-index: 1; display: grid; grid-template-columns: 48px 1fr; gap: .9rem; align-items: start; margin-top: 1.32rem; padding: .9rem .95rem; border: 1px solid rgba(196,225,245,.85); border-radius: 14px; background: rgba(255,255,255,.78); box-shadow: 0 8px 16px rgba(24,100,165,.05); animation: deliveryLift 6s ease-in-out infinite; }
.delivery-step-two { animation-delay: -2s; }.delivery-step-three { margin-bottom: 2.2rem; animation-delay: -4s; }.delivery-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #ffffff; background: linear-gradient(135deg, #2195e5, #086ab7); box-shadow: 0 7px 14px rgba(9,101,178,.22); }.delivery-step small { display: block; margin-bottom: .14rem; color: #1680ca; font-size: .67rem; font-weight: 800; letter-spacing: .1em; }.delivery-step strong { display: block; color: #173b5d; font-family: var(--font-heading); font-size: 1rem; }.delivery-step p { margin-top: .2rem; color: #59728a; font-size: .78rem; line-height: 1.45; }
.delivery-status { position: absolute; z-index: 1; bottom: 1.25rem; right: 1.35rem; display: inline-flex; align-items: center; gap: .5rem; color: #466780; font-size: .75rem; font-weight: 600; }.delivery-status b { width: 8px; height: 8px; border-radius: 50%; background: #28ba8c; box-shadow: 0 0 0 5px rgba(40,186,140,.14); animation: statusPulse 1.8s ease-in-out infinite; }
@keyframes deliveryGlow { 50% { transform: translate(-28px, 24px) scale(1.08); opacity: .72; } } @keyframes deliveryFlow { 0% { transform: translateY(-86px); opacity: 0; } 28%,72% { opacity: 1; } 100% { transform: translateY(275px); opacity: 0; } } @keyframes deliveryLift { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

.outcomes-section { background: linear-gradient(180deg, #ffffff, #f2f9ff); border-block: 1px solid #dcebf7; }.outcomes-heading { max-width: 750px; margin: 0 auto 2.6rem; text-align: center; }.outcomes-heading h2 { margin: .5rem auto .75rem; font-size: clamp(2rem, 4vw, 2.8rem); }.outcomes-heading p { color: #587088; line-height: 1.7; }.outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }.outcomes-grid article { position: relative; overflow: hidden; padding: 1.65rem; border: 1px solid #d3e6f5; border-radius: 16px; background: rgba(255,255,255,.88); box-shadow: 0 9px 24px rgba(27,99,158,.06); }.outcomes-grid article::after { content:''; position:absolute; width:100px; height:100px; right:-46px; bottom:-50px; border-radius:50%; background:rgba(76,180,239,.14); }.outcomes-grid > article:nth-child(2)::after { background: rgba(77,112,229,.12); }.outcomes-grid i { display:grid; place-items:center; width:42px; height:42px; margin-bottom:1.1rem; border-radius:12px; color:#1078c4; background:#e9f6ff; }.outcomes-grid h3 { margin-bottom:.5rem; font-size:1.14rem; }.outcomes-grid p { position:relative; z-index:1; color:#5a7188; font-size:.91rem; line-height:1.65; }.outcomes-progress { display:flex; align-items:center; justify-content:center; gap:.7rem; margin-top:2rem; color:#397093; font-size:.8rem; font-weight:700; }.outcomes-progress i { width:52px; height:2px; overflow:hidden; background:#c8e4f7; }.outcomes-progress i::after { content:''; display:block; width:45%; height:100%; background:#1787db; animation: progressSweep 2.8s ease-in-out infinite; } @keyframes progressSweep { from { transform:translateX(-130%); } to { transform:translateX(250%); } }
.section-pad[style*="rgba(14, 22, 34"] { background: #f7fbff !important; border-color: #dcebf7 !important; }
@media (max-width: 768px) { .delivery-journey-card { min-height: 400px; }.outcomes-grid { grid-template-columns: 1fr; }.outcomes-progress { justify-content:flex-start; flex-wrap:wrap; gap:.45rem; }.outcomes-progress i { width:30px; } }
/* Night mode keeps the blue brand energy while giving visitors a true dark option. */
html[data-theme="dark"] { color-scheme: dark; --bg-dark: #07111f; --bg-surface: #0d1b2d; --bg-surface-elevated: #13263c; --bg-card: #102237; --color-text-main: #edf7ff; --color-text-muted: #a9bfd1; --color-text-subtle: #7792aa; --border-subtle: rgba(157, 204, 237, .16); --border-glass: rgba(93, 187, 246, .28); --border-glass-hover: rgba(110, 197, 250, .58); --shadow-lg: 0 24px 60px rgba(0,0,0,.34); }
html[data-theme="dark"], html[data-theme="dark"] body { background: #07111f; color: var(--color-text-main); }
html[data-theme="dark"] body { background-image: radial-gradient(circle at 85% 0%, rgba(20,115,187,.23), transparent 28%), radial-gradient(circle at 8% 35%, rgba(25,61,102,.32), transparent 25%); }
html[data-theme="dark"] .app-header { background: rgba(7,17,31,.92); border-bottom-color: rgba(157,204,237,.13); box-shadow: 0 6px 24px rgba(0,0,0,.2); }
html[data-theme="dark"] .nav-link, html[data-theme="dark"] .mega-menu-link { color: #c8d8e5; } html[data-theme="dark"] .theme-toggle { color: #d8eaf8; border-color: rgba(158,211,246,.25); background: rgba(255,255,255,.06); } html[data-theme="dark"] .theme-toggle:hover { color:#ffffff; background:rgba(78,177,238,.16); border-color:#69bced; }
html[data-theme="dark"] .hero-section { background: linear-gradient(118deg, #081525, #0a1b2e 54%, #102d48); } html[data-theme="dark"] .hero-title { background: linear-gradient(135deg, #ffffff 15%, #70c7fb 100%); -webkit-background-clip:text; background-clip:text; } html[data-theme="dark"] .hero-subtitle { color:#b3c6d7; } html[data-theme="dark"] .hero-badge { background:rgba(69,165,225,.12); border-color:rgba(122,205,254,.25); color:#8bd3ff; } html[data-theme="dark"] .hero-contact-quick { background:rgba(10,28,47,.76); border-color:rgba(150,205,240,.16); color:#b3c6d7; } html[data-theme="dark"] .hero-contact-quick a { color:#a2dcff !important; }
html[data-theme="dark"] .delivery-journey-card { background:linear-gradient(145deg,#0d2238,#102d48); border-color:rgba(119,204,249,.28); box-shadow:0 28px 60px rgba(0,0,0,.28); } html[data-theme="dark"] .delivery-journey-head { border-color:rgba(156,211,243,.14); } html[data-theme="dark"] .delivery-journey-head strong, html[data-theme="dark"] .delivery-step strong { color:#eff9ff; } html[data-theme="dark"] .delivery-journey-head span, html[data-theme="dark"] .delivery-step small { color:#86d1ff; } html[data-theme="dark"] .delivery-track { background:rgba(123,205,250,.2); } html[data-theme="dark"] .delivery-step { border-color:rgba(151,209,245,.16); background:rgba(8,24,42,.68); box-shadow:none; } html[data-theme="dark"] .delivery-step p, html[data-theme="dark"] .delivery-status { color:#aec7d9; }
html[data-theme="dark"] .home-salesforce-section { background:linear-gradient(125deg,#0b2941,#0c1d31 58%,#101c3d); border-color:rgba(123,205,250,.16); } html[data-theme="dark"] .home-salesforce-copy > p, html[data-theme="dark"] .home-salesforce-points { color:#c7dbea; } html[data-theme="dark"] .home-salesforce-visual::before { background:linear-gradient(135deg,rgba(7,24,40,.76),rgba(8,25,43,.24)),url('assets/img/customer-platform-workflow.png') center / cover no-repeat; opacity:.53; } html[data-theme="dark"] .home-salesforce-visual::after { background:linear-gradient(90deg,rgba(7,24,40,.58),transparent 70%); } html[data-theme="dark"] .salesforce-dashboard-card { background:rgba(8,25,42,.86); border-color:rgba(178,228,255,.23); box-shadow:0 22px 50px rgba(0,0,0,.24); } html[data-theme="dark"] .dashboard-main strong, html[data-theme="dark"] .dashboard-side strong { color:#ffffff; } html[data-theme="dark"] .dashboard-label, html[data-theme="dark"] .dashboard-side span { color:#b6d2e6; }
html[data-theme="dark"] .process-card, html[data-theme="dark"] .service-card, html[data-theme="dark"] .stat-card, html[data-theme="dark"] .tech-chip, html[data-theme="dark"] .faq-item, html[data-theme="dark"] .service-deliverable, html[data-theme="dark"] .service-detail-aside, html[data-theme="dark"] .salesforce-snapshot, html[data-theme="dark"] .salesforce-cloud-card { background:#0d1d30; border-color:rgba(150,205,240,.15); box-shadow:none; } html[data-theme="dark"] .process-title, html[data-theme="dark"] .service-card-title { color:#f1f9ff; } html[data-theme="dark"] .process-desc, html[data-theme="dark"] .service-card-desc, html[data-theme="dark"] .stat-label, html[data-theme="dark"] .salesforce-intro p, html[data-theme="dark"] .salesforce-cloud-card p, html[data-theme="dark"] .salesforce-steps p, html[data-theme="dark"] .service-deliverable p, html[data-theme="dark"] .service-detail-aside li, html[data-theme="dark"] .trust-copy > p, html[data-theme="dark"] .home-faq-intro p { color:#a9bfd1; }
html[data-theme="dark"] .outcomes-section, html[data-theme="dark"] .section-pad[style*="rgba(14, 22, 34"] { background:linear-gradient(180deg,#081525,#0c1c2f) !important; border-color:rgba(145,204,241,.14) !important; } html[data-theme="dark"] .outcomes-heading p, html[data-theme="dark"] .outcomes-grid p { color:#a9c2d5; } html[data-theme="dark"] .outcomes-grid article { background:#0d1d30; border-color:rgba(146,205,241,.16); box-shadow:none; } html[data-theme="dark"] .outcomes-grid i { background:rgba(57,164,227,.15); color:#84cefc; } html[data-theme="dark"] .outcomes-progress { color:#9acde9; }
html[data-theme="dark"] .home-trust-section, html[data-theme="dark"] .home-purpose-section, html[data-theme="dark"] .salesforce-process-section { background:#0b1a2c; border-color:rgba(150,205,240,.14); } html[data-theme="dark"] .trust-visual { border-color:rgba(145,207,244,.22); box-shadow:0 18px 42px rgba(0,0,0,.22); } html[data-theme="dark"] .trust-pill-grid > div { background:#0d1d30; border-color:rgba(150,205,240,.14); } html[data-theme="dark"] .ecosystem-section { background:linear-gradient(120deg,#0c2943,#102033 56%,#122543); border-color:rgba(120,201,247,.26); } html[data-theme="dark"] .ecosystem-chips span { background:rgba(6,19,34,.55); border-color:rgba(178,227,255,.22); color:#e8f7ff; }
html[data-theme="dark"] .capability-marquee-set span { background:rgba(6,19,34,.62); border-color:rgba(178,227,255,.2); box-shadow:none; color:#e6f6ff; } html[data-theme="dark"] .capability-marquee-set i { background:rgba(55,165,230,.16); color:#89d5ff; }
html[data-theme="dark"] .salesforce-hero, html[data-theme="dark"] .service-detail-hero { background:radial-gradient(circle at 82% 30%,rgba(53,153,218,.19),transparent 28%),#071525; } html[data-theme="dark"] .salesforce-steps { background:rgba(147,207,245,.12); border-color:rgba(147,207,245,.12); } html[data-theme="dark"] .salesforce-steps > div { background:#0d1d30; } html[data-theme="dark"] .salesforce-cta { background:linear-gradient(120deg,#0e2f4e,#142449); border-color:rgba(119,203,248,.25); }
html[data-theme="dark"] .contact-form-card { background:linear-gradient(145deg,#0d2238,#102b45); border-color:rgba(125,207,250,.24); box-shadow:0 20px 45px rgba(0,0,0,.26); } html[data-theme="dark"] .form-label { color:#c0d4e3; } html[data-theme="dark"] .form-control { background:#081727; border-color:rgba(150,205,240,.2); color:#eaf7ff; } html[data-theme="dark"] .modal-box { background:#0d1d30; border-color:rgba(124,205,250,.25); } html[data-theme="dark"] .modal-close-btn { background:#132b43; border-color:rgba(151,211,246,.18); color:#e2f4ff; }
html[data-theme="dark"] .btn-secondary { color:#c2e5fb; background:rgba(255,255,255,.05); border-color:rgba(146,208,247,.25); } html[data-theme="dark"] .btn-secondary:hover { color:#ffffff; background:rgba(52,163,227,.16); }
@media (max-width: 991px) { html[data-theme="dark"] .nav-menu { background:#09192a; border-color:rgba(150,205,240,.15); } html[data-theme="dark"] .mega-menu { background:#10253b; border-color:rgba(150,205,240,.16); } }
@media (prefers-reduced-motion: reduce) { .capability-marquee-track { animation: none; } }
