*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #041630;
  --navy-mid: #071e3d;
  --navy-light: #0a2550;
  --blue: #1E7FD4;
  --blue-bright: #2196F3;
  --blue-pale: rgba(30,127,212,0.12);
  --green: #4CAF24;
  --green-bright: #5DC92A;
  --green-pale: rgba(76,175,36,0.12);
  --teal: #1E7FD4;
  --teal-pale: rgba(30,127,212,0.12);
  --white: #F0F6FF;
  --slate: #7A90B0;
  --slate-light: #A0B4CC;
  --border: rgba(30,127,212,0.2);
  --border-light: rgba(255,255,255,0.08);
  --accent: var(--green);
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--navy); color: var(--white); overflow-x: hidden; line-height: 1.6; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 5%;
  background: rgba(4,22,48,0.95); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}
.logo-img { height: 56px; width: auto; display: block; }
.nav-links { display: flex; gap: 0.3rem; list-style: none; align-items: center; }
.nav-links > li > a {
  color: var(--slate-light); font-size: 0.875rem; text-decoration: none;
  padding: 0.5rem 0.85rem; border-radius: 7px; transition: all 0.2s;
  cursor: pointer; display: flex; align-items: center; gap: 4px;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--white); background: var(--border-light); }
.nav-links > li > a.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff; font-weight: 600;
}
.nav-links > li > a.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: '▾'; font-size: 0.65rem; opacity: 0.5; margin-left: 2px; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; padding-top: 10px; z-index: 200; min-width: 250px; }
.has-dropdown.open .dropdown { display: block; }
.dropdown-inner {
  background: var(--navy-light); border: 1px solid var(--border);
  border-radius: 10px; padding: 6px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 7px; font-size: 0.85rem;
  color: var(--slate-light); text-decoration: none;
  transition: all 0.15s; white-space: nowrap;
}
.dropdown a:hover { background: var(--blue-pale); color: var(--blue-bright); }
.dropdown a.active { background: var(--blue-pale); color: var(--blue-bright); }
.dropdown a .di { font-size: 1rem; }

/* ── SHARED ELEMENTS ── */
.grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(30,127,212,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(30,127,212,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.grid-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(30,127,212,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 80% 80%, rgba(76,175,36,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 100% 80% at 0% 100%, rgba(4,22,48,0.95) 0%, transparent 60%);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--blue-pale); border: 1px solid var(--border);
  border-radius: 100px; padding: 0.35rem 0.9rem;
  font-size: 0.78rem; font-weight: 500; color: var(--blue-bright);
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1.8rem;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  color: #fff;
  padding: 0.8rem 2rem; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all 0.2s; border: none; cursor: pointer; font-family: 'Inter', sans-serif;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,127,212,0.3); }
.btn-secondary {
  border: 1px solid var(--border); color: var(--white);
  padding: 0.8rem 2rem; border-radius: 8px;
  font-size: 0.95rem; font-weight: 400;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all 0.2s; cursor: pointer; background: none; font-family: 'Inter', sans-serif;
}
.btn-secondary:hover { border-color: var(--blue-bright); color: var(--blue-bright); }

.stat-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 700; color: var(--white); letter-spacing: -1px; line-height: 1; }
.stat-num span { color: var(--green); }
.stat-label { font-size: 0.78rem; color: var(--slate); margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.06em; }

section { padding: 5.5rem 5%; }
.section-eyebrow { font-size: 0.75rem; font-weight: 600; color: var(--blue-bright); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.section-title { font-family: 'Syne', sans-serif; font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 1rem; }
.section-sub { font-size: 1rem; color: var(--slate-light); max-width: 540px; line-height: 1.75; font-weight: 300; }
.section-divider { height: 1px; background: var(--border-light); margin: 4rem 0; }

/* page sub-hero banner */
.page-hero {
  padding: 8rem 5% 5rem; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #061e45 100%);
}
.page-hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(2.5rem,5vw,3.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 1rem; }
.page-hero h1 em { font-style: normal; color: var(--green); }
.page-hero p { color: var(--slate-light); font-size: 1.05rem; max-width: 560px; line-height: 1.75; font-weight: 300; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2rem; }

/* accent bar on section titles */
.section-title-accent {
  display: inline-block;
  border-bottom: 3px solid var(--green);
  padding-bottom: 4px;
}

/* cards */
.cards-grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.svc-card-dark {
  background: var(--navy-light); border: 1px solid var(--border-light);
  border-radius: 12px; padding: 1.5rem; transition: all 0.2s;
  border-top: 3px solid transparent;
}
.svc-card-dark:hover { border-color: var(--border); border-top-color: var(--green); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.svc-card-dark .card-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.svc-card-dark h4 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--white); }
.svc-card-dark p { font-size: 0.85rem; color: var(--slate); line-height: 1.65; margin-bottom: 1rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.etag { font-size: 0.72rem; font-weight: 500; background: rgba(30,127,212,0.1); border: 1px solid rgba(30,127,212,0.2); color: var(--slate-light); padding: 0.2rem 0.6rem; border-radius: 5px; }

/* two-col feature */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.feature-visual { border-radius: 16px; overflow: hidden; min-height: 300px; display: flex; align-items: center; justify-content: center; position: relative; background: linear-gradient(135deg, #041630, #0a3d8a); }
.feature-visual.green-bg { background: linear-gradient(135deg, #041630, #1a4d10); }
.fv-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,0.04) 1px,transparent 1px); background-size: 32px 32px; }
.fv-content { position: relative; z-index: 2; padding: 2.5rem; text-align: center; }
.fv-icon { font-size: 3.5rem; display: block; margin-bottom: 1rem; }
.fv-label { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.fv-sub { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.feature-text h3 { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; }
.feature-text > p { font-size: 0.95rem; color: var(--slate-light); line-height: 1.8; margin-bottom: 1.25rem; }
.feature-list { list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.75rem; font-size: 0.9rem; color: var(--slate-light); }
.feature-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* pills */
.pills-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.6rem; }
.pill-item { background: var(--navy-light); border: 1px solid var(--border-light); border-radius: 100px; padding: 0.5rem 1.1rem; font-size: 0.82rem; font-weight: 500; color: var(--slate-light); transition: all 0.2s; cursor: default; }
.pill-item:hover { background: var(--blue-pale); border-color: var(--border); color: var(--blue-bright); }
.pill-item.hl { background: var(--blue-pale); border-color: var(--border); color: var(--blue-bright); font-weight: 600; }

/* industries */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.75rem; margin-top: 2rem; }
.ind-card { background: var(--navy-light); border: 1px solid var(--border-light); border-radius: 10px; padding: 1rem; text-align: center; transition: all 0.2s; }
.ind-card:hover { border-color: var(--border); background: var(--blue-pale); }
.ind-card .ind-icon { font-size: 1.5rem; display: block; margin-bottom: 0.4rem; }
.ind-card .ind-name { font-size: 0.78rem; font-weight: 600; color: var(--slate-light); }

/* cta band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-mid) 0%, #061e45 100%);
  padding: 5rem 5%; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(76,175,36,0.08) 0%, transparent 70%);
}
.cta-band .section-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.cta-band p { color: var(--slate-light); margin: 1rem auto 2rem; max-width: 480px; }

/* footer */
footer {
  background: #020e20;
  border-top: 1px solid var(--border-light);
  padding: 3rem 5%;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo-img { height: 48px; width: auto; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: var(--slate); text-decoration: none; }
.footer-links a:hover { color: var(--blue-bright); }
.footer-copy { font-size: 0.8rem; color: var(--slate); }

/* ticker */
.ticker-wrap { overflow: hidden; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); padding: 0.9rem 0; background: rgba(30,127,212,0.03); }
.ticker-inner { display: flex; gap: 3rem; animation: ticker 30s linear infinite; white-space: nowrap; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.tick-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 500; color: var(--slate-light); text-transform: uppercase; letter-spacing: 0.06em; }
.tick-sep { color: var(--green); opacity: 0.5; }

/* logo strip */
.logos-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); text-align: center; margin: 3rem 0 1.5rem; }
.logos-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 3rem; }
.logo-card { background: var(--navy-light); border: 1px solid var(--border-light); border-radius: 12px; padding: 1.25rem 0.75rem; display: flex; align-items: center; justify-content: center; min-height: 68px; transition: all 0.2s; }
.logo-card:hover { border-color: var(--border); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(30,127,212,0.15); }
.sw-logo { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.xero-c { width:24px;height:24px;background:#13b5ea;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:800; }
.sage-t { color:#00b140;font-size:1.1rem;font-weight:800;font-family:'Syne',sans-serif; }
.odoo-t { color:#714B67;font-size:1rem;font-weight:900;font-family:'Syne',sans-serif;letter-spacing:-1px; }
.odoo-t span{color:#017E84;}
.ns-t { color:#009CDE;font-size:0.9rem;font-weight:800; }
.ns-t span{color:#f47920;}
.sap-t { background:#003366;color:#fff;font-size:0.85rem;font-weight:900;padding:3px 8px;border-radius:4px;letter-spacing:1px; }
.zoho-t { font-size:1rem;font-weight:900;letter-spacing:-0.5px; }
.zoho-t .z{color:#e8232a;}.zoho-t .o1{color:#f4981e;}.zoho-t .h{color:#349c35;}.zoho-t .o2{color:#1565c0;}
.qbo-t { display:flex;flex-direction:column;line-height:1.2; }
.qbo-t .qi{font-size:0.6rem;color:#2ca01c;letter-spacing:0.5px;}
.qbo-t .qn{font-size:0.75rem;font-weight:800;color:var(--white);}
.qbo-circle{width:22px;height:22px;background:#2ca01c;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:0.7rem;font-weight:900;}

/* ERP cards */
.erp-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 2rem 0; }
.erp-tab { padding: 0.5rem 1.2rem; border-radius: 100px; border: 1px solid var(--border-light); background: none; font-size: 0.82rem; font-weight: 600; color: var(--slate); cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; }
.erp-tab.active, .erp-tab:hover { background: linear-gradient(135deg, var(--blue), var(--green)); border-color: transparent; color: #fff; }
.erp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.erp-card { background: var(--navy-light); border: 1px solid var(--border-light); border-radius: 12px; padding: 1.5rem; position: relative; overflow: hidden; transition: all 0.2s; }
.erp-card::before { content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--blue),var(--green));opacity:0;transition:opacity 0.2s; }
.erp-card:hover { border-color: var(--border); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.erp-card:hover::before { opacity: 1; }
.erp-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.erp-badge { font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 6px; }
.badge-smb { background: rgba(76,175,36,0.15); color: var(--green-bright); }
.badge-mid { background: rgba(255,165,0,0.12); color: #f59e0b; }
.badge-ent { background: rgba(30,127,212,0.15); color: var(--blue-bright); }
.badge-os  { background: rgba(113,75,103,0.2); color: #c084fc; }
.erp-card h4 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--white); }
.erp-card p { font-size: 0.85rem; color: var(--slate); line-height: 1.6; margin-bottom: 1rem; }

/* dropdown JS */
/* (applied via JS in each page) */

/* responsive */
@media(max-width:960px){
  nav .nav-links { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .logos-grid { grid-template-columns: repeat(3,1fr); }
}
@media(max-width:600px){
  .logos-grid { grid-template-columns: repeat(2,1fr); }
  footer { flex-direction: column; align-items: flex-start; }
}
