/* ── Trakeit Landing — Design System ───────────────────────────────────── */

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

:root {
  --navy:        #0F172A;
  --navy-mid:    #1E293B;
  --navy-light:  #334155;
  --blue:        #2563EB;
  --blue-mid:    #1D4ED8;
  --blue-light:  #DBEAFE;
  --blue-pale:   #EFF6FF;
  --cyan:        #0EA5E9;
  --cyan-light:  #E0F2FE;
  --green:       #10B981;
  --green-light: #D1FAE5;
  --amber:       #F59E0B;
  --amber-light: #FEF3C7;
  --red:         #EF4444;
  --red-light:   #FEE2E2;
  --purple:      #8B5CF6;
  --purple-light:#EDE9FE;
  /* ServiceTitan-style accent (vivid green) + ink for light surfaces */
  --st-green:      #16B364;
  --st-green-dark: #0E8F4E;
  --st-green-pale: #E7F8EF;
  --ink:           #0B1B2A;
  --bg:          #F8FAFC;
  --panel:       #FFFFFF;
  --border:      #E2E8F0;
  --text:        #0B1B2A;
  --text-light:  #56627A;
  --text-muted:  #94A3B8;
  --radius:      14px;
  --radius-lg:   22px;
  --pill:        999px;
  --shadow:      0 1px 3px rgba(11,27,42,.06), 0 6px 20px rgba(11,27,42,.06);
  --shadow-md:   0 10px 34px rgba(11,27,42,.10);
  --shadow-lg:   0 28px 70px rgba(11,27,42,.20);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--navy); color: #fff; }
.section-navy { background: var(--navy-mid); color: #fff; }
.section-white { background: var(--panel); }
.section-bg { background: var(--bg); }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; line-height: 1.18; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; font-weight: 700; }
p { line-height: 1.7; }
.eyebrow { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--st-green-dark); margin-bottom: 12px; display: block; }
.section-title { margin-bottom: 16px; }
.section-sub { font-size: 1.15rem; color: var(--text-light); max-width: 600px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }
.gradient-text { background: linear-gradient(120deg, #34E89E, var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-white { color: #fff; }
.text-white .section-sub { color: rgba(255,255,255,.7); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; border-radius: var(--pill); transition: all .18s; white-space: nowrap; cursor: pointer; }
.btn-primary { background: var(--st-green); color: #fff; padding: 13px 26px; box-shadow: 0 6px 18px rgba(22,179,100,.30); }
.btn-primary:hover { background: var(--st-green-dark); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(22,179,100,.38); }
.btn-navy { background: var(--ink); color: #fff; padding: 13px 26px; }
.btn-navy:hover { background: #16314a; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid #CBD5E1; padding: 11.5px 24px; }
.btn-outline:hover { background: #F1F5F9; border-color: #94A3B8; }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); padding: 11.5px 24px; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }
.btn-ghost-nav { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); padding: 8.5px 18px; border-radius: var(--pill); transition: all .18s; }
.btn-ghost-nav:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.85); }

/* Scrolled / solid nav → dark text on the white bar */
.nav-scrolled .nav-logo-text { color: var(--ink); }
.nav-scrolled .nav-link { color: #3A4763; }
.nav-scrolled .nav-link:hover, .nav-scrolled .nav-link.active { color: var(--ink); background: #F1F5F9; }
.nav-scrolled .nav-login { color: #3A4763; }
.nav-scrolled .nav-login:hover { color: var(--ink); background: #F1F5F9; }
.nav-scrolled .nav-mob-btn { color: var(--ink); }
.nav-scrolled .nav-mob-btn:hover { background: #F1F5F9; }
.nav-scrolled .btn-ghost-nav { color: var(--ink); border-color: #CBD5E1; }
.nav-scrolled .btn-ghost-nav:hover { background: #F1F5F9; border-color: #94A3B8; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; border-radius: var(--pill); }
.btn-sm { padding: 9px 18px; font-size: .875rem; }
.btn-icon { gap: 8px; }
.btn-icon svg { flex-shrink: 0; }
.w-full { width: 100%; }

/* ── Badges ─────────────────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.badge-blue   { background: var(--blue-light); color: var(--blue-mid); }
.badge-green  { background: var(--green-light); color: #065F46; }
.badge-amber  { background: var(--amber-light); color: #92400E; }
.badge-red    { background: var(--red-light); color: #991B1B; }
.badge-cyan   { background: var(--cyan-light); color: #075985; }
.badge-purple { background: var(--purple-light); color: #5B21B6; }
.badge-free   { background: var(--green); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 20px; margin-left: 4px; }

/* ── Nav ────────────────────────────────────────────────────────────────── */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: transparent; border-bottom: 1px solid transparent; transition: background .28s ease, box-shadow .28s ease, border-color .28s ease; }
.site-nav.nav-scrolled { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom-color: var(--border); box-shadow: 0 4px 24px rgba(11,27,42,.08); }
.nav-inner { display: flex; align-items: center; height: 72px; gap: 8px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--st-green) 0%, var(--cyan) 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 900; font-family: 'Plus Jakarta Sans', sans-serif; box-shadow: 0 4px 12px rgba(22,179,100,.35); flex-shrink: 0; }
.nav-logo-text { font-size: 20px; font-weight: 800; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -.03em; transition: color .28s ease; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; padding: 0 12px; }
.nav-link { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.85); padding: 8px 13px; border-radius: 8px; transition: color .15s, background .15s; display: flex; align-items: center; gap: 5px; background: none; border: none; }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.14); }
.nav-chev { width: 11px; height: 7px; transition: transform .2s; flex-shrink: 0; opacity: .6; }
.nav-has-dd { position: relative; }
.nav-dd { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); min-width: 340px; opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s, transform .18s; transform: translateX(-50%) translateY(-6px); pointer-events: none; }
.nav-dd.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.nav-dd-wide { min-width: 480px; }
.nav-dd-inner { padding: 10px; }
.nav-dd-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-dd-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; transition: background .12s; color: var(--text); }
.nav-dd-item:hover { background: var(--bg); }
.nav-dd-item strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 1px; }
.nav-dd-item span { font-size: 12px; color: var(--text-light); }
.ddi { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ddi svg { width: 18px; height: 18px; }
.ddi-blue   { background: var(--blue-light);   color: var(--blue); }
.ddi-cyan   { background: var(--cyan-light);   color: #0369A1; }
.ddi-green  { background: var(--green-light);  color: #065F46; }
.ddi-amber  { background: var(--amber-light);  color: #92400E; }
.ddi-red    { background: var(--red-light);    color: #991B1B; }
.ddi-purple { background: var(--purple-light); color: #5B21B6; }
.nav-dd-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); padding: 12px 16px 6px; }
.nav-dd-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 12px 10px; }
.nav-chip { font-size: 13px; font-weight: 600; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 7px 13px; transition: all .12s; }
.nav-chip:hover, .nav-chip.active { background: var(--blue-pale); border-color: var(--blue-light); color: var(--blue); }
.nav-dd-all { display: block; font-size: 13px; font-weight: 700; color: var(--blue); padding: 10px 16px 14px; border-top: 1px solid var(--border); margin-top: 4px; }
.nav-dd-all:hover { color: var(--blue-mid); }

/* ── Product mega-menu (ServiceTitan-style 4-column) ─────────────────────── */
.nav-dd.nav-mega { position: fixed; top: 70px; left: 50%; right: auto; min-width: 0; width: min(1080px, calc(100vw - 32px)); transform: translateX(-50%) translateY(-6px); border-radius: 22px; padding: 0; overflow: hidden; }
.nav-dd.nav-mega.open { transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1.15fr 1fr 1.05fr 1fr; }
.mega-col { padding: 26px 24px 22px; border-right: 1px solid var(--border); display: flex; flex-direction: column; min-width: 0; }
.mega-col:last-child { border-right: none; }
.mega-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding: 0 8px; }
.mega-title { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .01em; }
.mega-viewall { font-size: 11px; font-weight: 700; color: var(--text-light); border: 1px solid var(--border); border-radius: 7px; padding: 3px 10px; transition: all .15s; }
.mega-viewall:hover { background: var(--bg); color: var(--ink); border-color: #CBD5E1; }
.mega-link { display: flex; align-items: center; gap: 11px; padding: 8px; border-radius: 10px; color: var(--text); font-size: 14px; font-weight: 600; transition: background .12s, color .12s; }
.mega-link:hover { background: var(--bg); color: var(--blue); }
.mega-link.active { color: var(--blue); }
.mega-link-plain { padding: 7px 8px; }
.mega-ic { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; }
.mega-ic svg { width: 17px; height: 17px; }
.mega-ic-soft { background: var(--bg); border: 1px solid var(--border); }
.mega-cta { margin-top: auto; padding-top: 14px; }

@media (max-width: 1080px) {
  .nav-dd.nav-mega { width: calc(100vw - 24px); }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .mega-col:nth-child(2) { border-right: none; }
  .mega-col:nth-child(1), .mega-col:nth-child(2) { border-bottom: 1px solid var(--border); }
}
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-login { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.85); padding: 8px 12px; border-radius: 8px; }
.nav-login:hover { color: #fff; background: rgba(255,255,255,.14); }
.nav-mob-btn { display: none; color: #fff; padding: 8px; border-radius: 8px; }
.nav-mob-btn:hover { background: rgba(255,255,255,.14); }
.nav-mob-btn svg { width: 22px; height: 22px; }
.nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1001; opacity: 0; transition: opacity .2s; }
.nav-backdrop.open { opacity: 1; display: block; }
.nav-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 90vw); background: var(--navy); z-index: 1002; transform: translateX(100%); transition: transform .25s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; }
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-drawer-close { font-size: 18px; color: rgba(255,255,255,.7); background: none; border: none; width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nav-drawer-close:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-drawer-scroll { flex: 1; overflow-y: auto; padding: 12px 0; }
.ndl { display: block; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.8); padding: 12px 20px; transition: background .12s; }
.ndl:hover { background: rgba(255,255,255,.08); color: #fff; }
.ndl-hd { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); padding: 16px 20px 6px; }
.ndl-i { padding-left: 28px; font-size: 14px; }
.nav-drawer-ctas { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 8px; }
/* Drawer is dark — keep its logo + outline button legible against the light-nav defaults */
.nav-drawer .nav-logo-text { color: #fff; }
.nav-drawer .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.nav-drawer .btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

/* ── Page top padding (for fixed nav) ──────────────────────────────────── */
/* Nav overlays the hero (transparent at top); heroes carry their own top padding to clear it */
body { padding-top: 0; }
.hero { padding-top: 0; margin-top: -72px; padding-top: 72px; }
[id] { scroll-margin-top: 88px; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero-section { background:
    linear-gradient(115deg, rgba(7,18,29,.95) 0%, rgba(9,22,35,.86) 48%, rgba(9,22,35,.62) 100%),
    url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
  padding: 124px 0 100px; overflow: hidden; position: relative; }
.hero-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 78% 35%, rgba(22,179,100,.22) 0%, transparent 65%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(22,179,100,.16); border: 1px solid rgba(22,179,100,.4); color: #6EE7AE; font-size: 13px; font-weight: 700; padding: 7px 15px; border-radius: var(--pill); margin-bottom: 22px; letter-spacing: .01em; }
.hero-h1 { font-size: clamp(2.6rem, 5vw, 4rem); color: #fff; margin-bottom: 20px; line-height: 1.08; letter-spacing: -.025em; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.7); line-height: 1.75; margin-bottom: 32px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-proof { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-proof span { font-size: 13px; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 6px; }
.hero-proof span::before { content: '✓'; color: var(--green); font-weight: 700; }

/* Dashboard mockup */
.app-mock { background: #1a2332; border-radius: 14px; box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); transition: transform .4s; }
.app-mock:hover { transform: perspective(1200px) rotateY(-1deg) rotateX(1deg); }
.am-bar { background: #111827; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.am-dots { display: flex; gap: 6px; }
.am-dots span { width: 11px; height: 11px; border-radius: 50%; }
.am-dots span:nth-child(1) { background: #EF4444; }
.am-dots span:nth-child(2) { background: #F59E0B; }
.am-dots span:nth-child(3) { background: #10B981; }
.am-url { flex: 1; background: #1E293B; border-radius: 6px; padding: 5px 12px; font-size: 11px; color: rgba(255,255,255,.35); text-align: center; font-family: monospace; }
.am-body { display: flex; height: 380px; }
.am-sidebar { width: 52px; background: #111827; display: flex; flex-direction: column; align-items: center; padding: 14px 0; gap: 8px; border-right: 1px solid rgba(255,255,255,.06); }
.am-logo { width: 30px; height: 30px; background: linear-gradient(135deg, var(--navy-mid), var(--blue)); border-radius: 8px; margin-bottom: 8px; }
.am-nav { width: 32px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.15); }
.am-nav.am-nav-on { background: var(--blue); width: 32px; height: 8px; }
.am-main { flex: 1; display: flex; flex-direction: column; gap: 0; overflow: hidden; }
.am-topbar { background: #1E293B; border-bottom: 1px solid rgba(255,255,255,.06); padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; }
.am-topbar-left { display: flex; flex-direction: column; gap: 4px; }
.am-topbar-title { width: 100px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.2); }
.am-topbar-sub { width: 160px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); }
.am-topbar-btn { width: 80px; height: 28px; border-radius: 6px; background: var(--blue); opacity: .9; }
.am-kpis { display: flex; gap: 8px; padding: 12px 12px 8px; }
.am-kpi { flex: 1; border-radius: 8px; padding: 10px; }
.am-kpi-w { background: rgba(255,255,255,.06); }
.am-kpi-b { background: rgba(37,99,235,.25); }
.am-kpi-g { background: rgba(16,185,129,.2); }
.am-kpi-a { background: rgba(245,158,11,.2); }
.am-kpi-r { background: rgba(239,68,68,.2); }
.am-kv { height: 14px; width: 50px; border-radius: 3px; background: rgba(255,255,255,.25); margin-bottom: 4px; }
.am-kl { height: 7px; width: 36px; border-radius: 3px; background: rgba(255,255,255,.1); }
.am-charts { display: flex; gap: 8px; padding: 0 12px 12px; flex: 1; overflow: hidden; }
.am-chart { flex: 1; background: rgba(255,255,255,.04); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; }
.am-chart-label { height: 7px; width: 60px; border-radius: 3px; background: rgba(255,255,255,.15); margin-bottom: 8px; }
.am-bars { display: flex; align-items: flex-end; gap: 5px; flex: 1; }
.am-b { flex: 1; border-radius: 3px 3px 0 0; background: rgba(255,255,255,.15); }
.am-b.lit { background: var(--blue); }
.am-list { flex: 1; background: rgba(255,255,255,.04); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.am-list-label { height: 7px; width: 70px; border-radius: 3px; background: rgba(255,255,255,.15); margin-bottom: 4px; }
.am-li { display: flex; align-items: center; gap: 8px; }
.am-li-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.am-li-bar { flex: 1; height: 7px; border-radius: 3px; background: rgba(255,255,255,.12); }

/* ── Trust bar ──────────────────────────────────────────────────────────── */
.trust-bar { background: var(--panel); border-bottom: 1px solid var(--border); padding: 30px 0 34px; }
.trust-eyebrow { text-align: center; font-size: 12px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 24px; }
/* Infinite logo marquee (ServiceTitan-style) — track holds the set twice and scrolls -50% for a seamless loop */
.logo-marquee { overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.logo-track { display: flex; width: max-content; align-items: center; animation: logo-scroll 50s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item { margin-right: 64px; white-space: nowrap; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: #9AA6B8; opacity: .85; transition: color .2s, opacity .2s; }
.logo-item:hover { color: var(--ink); opacity: 1; }
/* When real logo files are supplied, swap each .logo-item span for <img class="logo-img" …> */
.logo-img { height: 32px; width: auto; margin-right: 64px; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.logo-img:hover { filter: grayscale(0); opacity: 1; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 14px 36px; }
  .logo-item { margin-right: 0; }
}

/* ── Feature Pillars ────────────────────────────────────────────────────── */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.pillar { background: var(--panel); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); transition: all .2s; cursor: default; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--st-green); }
.pillar-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 26px; line-height: 1; }
.pillar-icon svg { width: 26px; height: 26px; }
.pi-ops    { background: var(--cyan-light);   color: #0369A1; }
.pi-cpl    { background: var(--green-light);  color: #065F46; }
.pi-prj    { background: var(--amber-light);  color: #92400E; }
.pi-fin    { background: var(--blue-light);   color: var(--blue); }
.pi-wfl    { background: var(--purple-light); color: #5B21B6; }
.pi-mob    { background: var(--red-light);    color: #991B1B; }
.pillar h4 { margin-bottom: 10px; font-size: 1.1rem; }
.pillar p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.pillar-features { display: flex; flex-direction: column; gap: 7px; }
.pillar-feature { font-size: 13px; color: var(--text-light); display: flex; align-items: flex-start; gap: 8px; }
.pillar-feature::before { content: '✓'; color: var(--green); font-weight: 700; margin-top: 1px; flex-shrink: 0; }

/* ── Feature Section (alternating) ─────────────────────────────────────── */
.feature-section { padding: 80px 0; }
.feature-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-inner.reverse { direction: rtl; }
.feature-inner.reverse > * { direction: ltr; }
.feature-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.feature-img img { width: 100%; display: block; }
.feature-content { display: flex; flex-direction: column; gap: 20px; }
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.feature-list-item { display: flex; gap: 14px; align-items: flex-start; }
.fli-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--st-green-pale); color: var(--st-green-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; line-height: 1; }
.fli-icon svg { width: 20px; height: 20px; }
.fli-text strong { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
.fli-text span { font-size: 13.5px; color: var(--text-light); line-height: 1.55; }

/* ── Compliance Hero Section ────────────────────────────────────────────── */
.compliance-hero { background: linear-gradient(135deg, var(--navy) 0%, #1a3a2a 100%); padding: 96px 0; position: relative; overflow: hidden; }
.compliance-hero::after { content: ''; position: absolute; top: -40%; right: -10%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(16,185,129,.15) 0%, transparent 70%); pointer-events: none; }
.compliance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.compliance-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.cf-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 18px; }
.cf-item-icon { font-size: 24px; margin-bottom: 10px; }
.cf-item strong { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cf-item span { font-size: 12.5px; color: rgba(255,255,255,.6); line-height: 1.5; }
.compliance-stats { display: flex; gap: 32px; margin-top: 32px; }
.cs-stat strong { display: block; font-size: 2.2rem; font-weight: 900; color: var(--green); line-height: 1; }
.cs-stat span { font-size: 13px; color: rgba(255,255,255,.6); }

/* ── Mobile App Section ─────────────────────────────────────────────────── */
.mobile-section { background: var(--navy); padding: 96px 0; position: relative; overflow: hidden; }
.mobile-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.mobile-phone { position: relative; display: flex; justify-content: center; }
.phone-frame { width: 220px; height: 440px; background: #1a2332; border-radius: 36px; border: 3px solid rgba(255,255,255,.15); box-shadow: 0 40px 80px rgba(0,0,0,.5); display: flex; flex-direction: column; overflow: hidden; position: relative; }
.phone-notch { width: 80px; height: 24px; background: var(--navy); border-radius: 0 0 18px 18px; margin: 0 auto; }
.phone-screen { flex: 1; background: #F8FAFC; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.ps-header { background: var(--navy); border-radius: 10px; height: 40px; display: flex; align-items: center; padding: 0 10px; gap: 6px; }
.ps-logo { width: 22px; height: 22px; background: var(--blue); border-radius: 5px; }
.ps-title { width: 60px; height: 6px; background: rgba(255,255,255,.3); border-radius: 3px; }
.ps-card { background: #fff; border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 5px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.ps-card-top { display: flex; gap: 8px; align-items: center; }
.ps-dot { width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0; }
.ps-dot-b { background: var(--blue-light); }
.ps-dot-g { background: var(--green-light); }
.ps-dot-a { background: var(--amber-light); }
.ps-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.ps-line { height: 7px; border-radius: 3px; background: #E2E8F0; }
.ps-line-sm { width: 60%; }
.ps-badge-row { display: flex; gap: 4px; }
.ps-badge { height: 16px; width: 45px; border-radius: 8px; background: var(--green-light); }
.ps-badge-b { background: var(--blue-light); }
.mobile-features { display: flex; flex-direction: column; gap: 6px; }
.mob-feat { display: flex; gap: 12px; align-items: center; padding: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; }
.mob-feat-icon { font-size: 22px; flex-shrink: 0; }
.mob-feat strong { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.mob-feat span { font-size: 12.5px; color: rgba(255,255,255,.55); }

/* ── Enterprise Trust ───────────────────────────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.trust-item { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; }
.trust-item-icon { font-size: 32px; margin-bottom: 14px; }
.trust-item strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.trust-item p { font-size: 13px; color: var(--text-light); line-height: 1.55; }

/* ── Integrations ───────────────────────────────────────────────────────── */
.integrations-section { background: var(--bg); padding: 96px 0; }
.integrations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.int-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; transition: all .2s; }
.int-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-light); }
.int-logo { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.int-logo-xero    { background: #13B5EA; }
.int-logo-myob    { background: #6B21A8; }
.int-logo-google  { background: #fff; border: 1px solid var(--border); font-size: 20px; }
.int-logo-ms      { background: #F3F4F6; }
.int-logo-twilio  { background: #F22F46; }
.int-logo-stripe  { background: #635BFF; }
.int-logo-zapier  { background: #FF4A00; }
.int-logo-api     { background: var(--navy); }
.int-card strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.int-card span { font-size: 13px; color: var(--text-light); }

/* ── Industries Grid ────────────────────────────────────────────────────── */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.industry-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; group: true; }
.industry-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.industry-card:hover img { transform: scale(1.05); }
.industry-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,.85) 0%, rgba(15,23,42,.2) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.industry-card-icon { font-size: 28px; margin-bottom: 8px; }
.industry-card h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.industry-card a { position: absolute; inset: 0; }
/* …but a real button (e.g. the "Your Industry" CTA tile) must flow normally, not stretch across the card */
.industry-card .btn { position: static; inset: auto; width: auto; }

/* ── Pricing ────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.pricing-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; position: relative; }
.pricing-card.popular { border-color: var(--st-green); box-shadow: 0 0 0 2px var(--st-green-pale); }
.pricing-popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--st-green); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 20px; white-space: nowrap; }
.pricing-tier { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; }
.pricing-price { font-size: 2.8rem; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 4px; letter-spacing: -.04em; font-family: 'Plus Jakarta Sans', sans-serif; }
.pricing-price span { font-size: 1rem; font-weight: 600; color: var(--text-light); letter-spacing: 0; }
.pricing-desc { font-size: 13.5px; color: var(--text-light); margin-bottom: 24px; min-height: 40px; }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pf { font-size: 13.5px; color: var(--text-light); display: flex; gap: 8px; align-items: flex-start; }
.pf::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 48px; }
.pricing-toggle label { font-size: 14px; font-weight: 600; color: var(--text-light); cursor: pointer; }
.pricing-toggle .active-label { color: var(--text); }
.toggle-switch { position: relative; width: 44px; height: 24px; background: var(--st-green); border-radius: 12px; cursor: pointer; }
.toggle-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .2s; }
.save-badge { background: var(--green-light); color: #065F46; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 12px; }

/* ── CTA Banner ─────────────────────────────────────────────────────────── */
.cta-section { background: linear-gradient(120deg, #07121D 0%, #0B1B2A 55%, #0E3A28 100%); padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 45%, rgba(22,179,100,.24) 0%, transparent 68%); }
.cta-section .container { position: relative; }
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.7); font-size: 1.1rem; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cta-note { font-size: 13px; color: rgba(255,255,255,.45); }

/* ── Inner Page Hero ────────────────────────────────────────────────────── */
.page-hero { background: linear-gradient(120deg, #07121D 0%, #0B1B2A 60%, #102A20 100%); padding: 124px 0 88px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 75% 40%, rgba(22,179,100,.20), transparent 65%); }
.page-hero .container { position: relative; }
.page-hero-inner { max-width: 720px; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { font-size: 1.15rem; color: rgba(255,255,255,.7); max-width: 580px; margin-bottom: 32px; }
.page-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── About ──────────────────────────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.value-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.value-icon { font-size: 32px; margin-bottom: 16px; }
.value-card h4 { margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.team-card { text-align: center; }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; }
.team-card h4 { font-size: 1rem; margin-bottom: 4px; }
.team-card span { font-size: 13px; color: var(--text-light); }

/* ── Resources ──────────────────────────────────────────────────────────── */
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.resource-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .2s; }
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.resource-img { height: 200px; object-fit: cover; width: 100%; }
.resource-body { padding: 24px; }
.resource-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 8px; }
.resource-card h4 { margin-bottom: 8px; font-size: 1.05rem; line-height: 1.3; }
.resource-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.resource-link { font-size: 13.5px; font-weight: 700; color: var(--blue); }
.resource-link:hover { color: var(--blue-mid); }

/* ── Solutions / Industry pages ─────────────────────────────────────────── */
.industry-page-hero { position: relative; padding: 80px 0; overflow: hidden; }
.industry-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.challenge-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 22px; }
.challenge-card-icon { font-size: 26px; margin-bottom: 12px; }
.challenge-card h4 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.challenge-card p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; }

/* ── Contact / Form ─────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; margin-top: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-pale); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.contact-item a, .contact-item span { font-size: 14px; color: var(--text-light); }
.form-card { background: var(--panel); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 9px; font-size: 14px; font-family: inherit; background: var(--bg); color: var(--text); transition: border-color .15s, box-shadow .15s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-pale); background: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── Pricing page ───────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.faq-item strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--text-light); line-height: 1.65; }

/* ── NZ / AU pages ──────────────────────────────────────────────────────── */
.region-hero { background: linear-gradient(135deg, var(--navy) 0%, #1a2f1a 100%); padding: 80px 0; position: relative; overflow: hidden; }
.region-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.region-feat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 24px; }
.region-feat h4 { color: #fff; margin-bottom: 8px; font-size: 1rem; }
.region-feat p { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.6; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; margin: 14px 0 18px; max-width: 280px; }
.footer-region-links { display: flex; gap: 16px; }
.footer-region-links a, .footer-region-links span { font-size: 13px; color: rgba(255,255,255,.5); font-weight: 600; }
.footer-col h6 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 13px; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: 12px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.35); transition: color .15s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }
.footer-logo .nav-logo-text { color: #fff !important; }

/* ── 404 ────────────────────────────────────────────────────────────────── */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.error-num { font-size: 8rem; font-weight: 900; color: var(--blue-light); line-height: 1; margin-bottom: 16px; }

/* ── Utilities ──────────────────────────────────────────────────────────── */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .feature-inner { grid-template-columns: 1fr; gap: 40px; }
  .feature-inner.reverse { direction: ltr; }
  .hero-inner { grid-template-columns: 1fr; }
  .app-mock { transform: none; max-width: 480px; margin: 0 auto; }
  .compliance-grid, .mobile-inner, .industry-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .challenge-grid { grid-template-columns: 1fr 1fr; }
  .region-features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-actions { display: none; }
  .nav-mob-btn { display: flex; }
  body { padding-top: 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .am-body { height: 280px; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-stats { margin-left: 0; }
  .compliance-features { grid-template-columns: 1fr; }
  .challenge-grid { grid-template-columns: 1fr; }
  .region-features { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

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