:root {
  --navy:      #0d1f35;
  --navy2:     #1a3a5c;
  --navy3:     #2a5080;
  --teal:      #00c9a7;
  --teal2:     #00a589;
  --teal-glow: rgba(0,201,167,0.12);
  --amber:     #f5a623;
  --coral:     #e85d42;
  --white:     #ffffff;
  --off:       #f0f4f8;
  --gray1:     #8a9ab5;
  --gray2:     #c5d0e0;
  --text:      #0d1f35;
  --textmd:    #3d5275;
  --textsm:    #6b82a0;
  --border:    rgba(13,31,53,0.1);
  --condensed: 'Barlow Condensed', sans-serif;
  --display:   'Syne', sans-serif;
  --body:      'DM Sans', sans-serif;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ── TYPOGRAPHY ── */
.display-xl {
  font-family: var(--condensed);
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.01em;
}
.display-lg {
  font-family: var(--condensed);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.display-md {
  font-family: var(--display);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::before { display: none; }
.body-lg { font-size: 18px; line-height: 1.75; color: var(--textmd); }
.body-md { font-size: 16px; line-height: 1.7;  color: var(--textmd); }
.body-sm { font-size: 14px; line-height: 1.65; color: var(--textsm); }

/* ── LAYOUT ── */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.section    { padding: 96px 0; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--navy); }
.section-off  { background: var(--off); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 10px; border: none;
  cursor: pointer; transition: all 0.2s var(--ease); text-decoration: none;
}
.btn-primary  { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: var(--teal2); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,201,167,0.25); }
.btn-navy     { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy2); transform: translateY(-2px); }
.btn-outline  { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.btn-outline-dark { background: transparent; color: var(--navy2); border: 1.5px solid var(--border); }
.btn-outline-dark:hover { border-color: var(--teal); color: var(--teal2); }
.btn-lg { padding: 16px 34px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 9px 18px; font-size: 13px; border-radius: 8px; }

/* ── TAG ── */
.tag {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 600; padding: 4px 12px;
  border-radius: 20px; letter-spacing: 0.03em;
}
.tag-teal  { background: rgba(0,201,167,0.1); color: var(--teal2); border: 1px solid rgba(0,201,167,0.2); }
.tag-navy  { background: rgba(13,31,53,0.07); color: var(--navy2); border: 1px solid var(--border); }
.tag-amber { background: rgba(245,166,35,0.1); color: #7a4f00; border: 1px solid rgba(245,166,35,0.2); }

/* ── SECTION HEAD ── */
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 56px; }
.section-head.centered { align-items: center; text-align: center; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ══════════════════════════════════════
   NAVIGATION — DROPDOWN
══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 0 40px;
}
.nav.scrolled {
  background: rgba(13,31,53,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo-icon { width: 34px; height: 34px; flex-shrink: 0; }
.nav-logo-wordmark {
  font-family: var(--display); font-size: 21px; font-weight: 800;
  color: var(--white); letter-spacing: -0.02em; line-height: 1;
}
.nav-logo-wordmark span { color: var(--teal); }
.nav-logo-sub {
  font-size: 9px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gray1); margin-top: 3px; display: block;
}

/* Nav items */
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }

.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--body); font-size: 14px; font-weight: 500;
  color: var(--gray2); padding: 8px 12px; border-radius: 8px;
  cursor: pointer; transition: color 0.15s, background 0.15s;
  white-space: nowrap; text-decoration: none; border: none; background: none;
}
.nav-link:hover, .nav-item.active > .nav-link { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-link { position: relative; }
.nav-link.active-page { color: var(--teal) !important; }
.nav-dropdown-item.active-page { background: rgba(0,201,167,0.08) !important; }
.nav-dropdown-item.active-page .ddi-title { color: var(--teal) !important; }
.nav-link.active-page { color: var(--teal); }

.nav-link-arrow {
  width: 14px; height: 14px; flex-shrink: 0;
  transition: transform 0.2s;
  opacity: 0.6;
}
.nav-item:hover .nav-link-arrow { transform: rotate(180deg); }

/* Dropdown panel */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 8px;
  min-width: 220px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  z-index: 300;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown arrow tip */
.nav-dropdown::before {
  content: '';
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px;
  background: var(--navy);
  border-left: 1px solid rgba(255,255,255,0.1);
  border-top: 1px solid rgba(255,255,255,0.1);
  transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  font-family: var(--body); font-size: 13px; font-weight: 500;
  color: var(--gray2); cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none; white-space: nowrap;
}
.nav-dropdown-item:hover { background: rgba(255,255,255,0.07); color: var(--white); }
.nav-dropdown-item .ddi-icon {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.nav-dropdown-item .ddi-body { display: flex; flex-direction: column; }
.nav-dropdown-item .ddi-title { font-size: 13px; font-weight: 600; color: var(--white); }
.nav-dropdown-item .ddi-sub   { font-size: 11px; color: var(--gray1); margin-top: 1px; }
.nav-dropdown-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 6px 8px; }

/* Nav CTA */
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 1px; transition: all 0.3s; }



/* ══════════════════════════════════════
   PAGE HERO (reusable inner page hero)
══════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,167,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-eyebrow { margin-bottom: 16px; }
.page-hero-title {
  font-family: var(--condensed); font-size: clamp(36px, 5vw, 64px);
  font-weight: 700; color: var(--white); letter-spacing: -0.01em;
  line-height: 1.04; margin-bottom: 16px;
}
.page-hero-title span { color: var(--teal); }
.page-hero-desc { font-size: 18px; color: var(--gray2); line-height: 1.75; max-width: 580px; }

/* ══════════════════════════════════════
   HOME HERO
══════════════════════════════════════ */
.hero {
  background: var(--navy); min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 70px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 2; padding: 80px 0 100px; max-width: 680px; }
.hero-eyebrow { margin-bottom: 24px; }
.hero-headline { color: var(--white); margin-bottom: 10px; }
.hero-headline span { color: var(--teal); }
.hero-sub {
  font-family: var(--condensed); font-size: clamp(18px,2.2vw,28px);
  font-weight: 600; color: rgba(255,255,255,0.4);
  letter-spacing: 0; margin-bottom: 24px; line-height: 1.2;
}
.hero-desc { max-width: 500px; margin-bottom: 40px; font-size: 17px; line-height: 1.75; color: var(--gray2); }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: flex; gap: 44px; padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08); flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--condensed); font-size: 40px; font-weight: 800;
  color: var(--white); line-height: 1; letter-spacing: -0.01em;
}
.stat-num span { color: var(--teal); }
.stat-label { font-size: 12px; color: var(--gray1); font-weight: 500; letter-spacing: 0.04em; }

/* Home — trust bar */
.trust-bar { background: var(--off); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 26px 0; }
.trust-inner { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; }
.trust-label { font-size: 12px; font-weight: 600; color: var(--textsm); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.trust-logo {
  font-family: var(--display); font-size: 13px; font-weight: 700;
  color: var(--gray2); opacity: 0.65; transition: opacity 0.2s;
  display: flex; align-items: center; gap: 7px;
}
.trust-logo:hover { opacity: 1; }

/* ══════════════════════════════════════
   SERVICES PAGE — CARD GRID
══════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 30px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s var(--ease);
  cursor: pointer;
}
.service-card:hover {
  border-color: rgba(0,201,167,0.35); box-shadow: 0 20px 60px rgba(13,31,53,0.08);
  transform: translateY(-6px);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 22px;
}
.service-tag { margin-bottom: 12px; }
.service-title { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-desc  { font-size: 15px; line-height: 1.7; color: var(--textmd); margin-bottom: 22px; flex: 1; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-features li {
  font-size: 13px; color: var(--textmd);
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.5;
}
.service-features li::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: rgba(0,201,167,0.12) url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%2300c9a7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  border: 1.5px solid rgba(0,201,167,0.3);
}

/* ══════════════════════════════════════
   WMS SERVICE DETAIL PAGE
══════════════════════════════════════ */

/* Tab navigation for WMS sub-sections */
.wms-tabs {
  display: flex; gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 48px; overflow-x: auto;
}
.wms-tab {
  font-family: var(--body); font-size: 14px; font-weight: 600;
  color: var(--gray1); padding: 14px 22px;
  border: none; background: none; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s; white-space: nowrap;
}
.wms-tab:hover { color: var(--navy); }
.wms-tab.active { color: var(--teal); border-bottom-color: var(--teal); }
.wms-panel { display: none; }
.wms-panel.active { display: block; }

/* Ported WMS instruction styles — prefixed to avoid conflicts */
.wms-menu-tree {
  background: var(--navy); border-radius: 16px;
  padding: 32px 36px; font-family: 'DM Sans', monospace;
  font-size: 13px; color: var(--gray2); line-height: 1.9;
}
.wms-menu-top  { color: var(--teal); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.wms-menu-item { padding-left: 20px; color: var(--gray2); }
.wms-menu-item.sub { padding-left: 40px; color: var(--gray1); font-size: 12px; }
.wms-menu-arrow{ color: var(--amber); margin-right: 6px; }
.wms-menu-sep  { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 8px 0; }

.wms-workflow {
  display: flex; align-items: stretch; gap: 0;
  overflow-x: auto; padding: 8px 0; flex-wrap: nowrap;
}
.wms-wf-step {
  flex: 1; min-width: 130px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 14px; text-align: center; position: relative;
}
.wms-wf-step + .wms-wf-step { margin-left: 28px; }
.wms-wf-step + .wms-wf-step::before {
  content: '→'; position: absolute; left: -22px; top: 50%;
  transform: translateY(-50%); font-size: 18px; color: var(--teal); font-weight: bold;
}
.wms-wf-icon  { font-size: 22px; margin-bottom: 8px; display: block; }
.wms-wf-label { font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.wms-wf-sub   { font-size: 10px; color: var(--textsm); margin-top: 4px; font-family: 'DM Sans', monospace; }

.wms-feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 18px; }
.wms-feature-card {
  background: var(--off); border: 1px solid var(--border);
  border-radius: 12px; padding: 26px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wms-feature-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(13,31,53,0.08); }
.wms-feature-icon { font-size: 26px; margin-bottom: 12px; display: block; }
.wms-feature-card h4 { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.wms-feature-card p  { font-size: 13px; color: var(--textsm); line-height: 1.65; }

.wms-roadmap { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px; }
.wms-road-card { border-radius: 12px; padding: 26px; position: relative; overflow: hidden; }
.wms-road-card.done    { background: #0d1f35; border: 1px solid rgba(0,201,167,0.3); }
.wms-road-card.current { background: #1a2f00; border: 1px solid rgba(100,200,80,0.4); }
.wms-road-card.next    { background: #2a1f00; border: 1px solid rgba(245,166,35,0.3); }
.wms-road-card.future  { background: #1a1f2e; border: 1px solid rgba(100,120,200,0.2); }
.wms-road-step { font-family: var(--body); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 8px; }
.wms-road-card.done    .wms-road-step { color: var(--teal); }
.wms-road-card.current .wms-road-step { color: #7dd860; }
.wms-road-card.next    .wms-road-step { color: var(--amber); }
.wms-road-card.future  .wms-road-step { color: var(--gray1); }
.wms-road-card h4 { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; line-height: 1.25; }
.wms-road-card ul { list-style: none; font-size: 12px; line-height: 1.9; }
.wms-road-card.done    ul { color: #7ecfbe; }
.wms-road-card.current ul { color: #a8e090; }
.wms-road-card.next    ul { color: #e0c070; }
.wms-road-card.future  ul { color: var(--gray1); }
.wms-road-card ul li::before { content: '→ '; opacity: 0.6; }

/* WMS menu screenshots grid */
.screenshots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 20px; }
.screenshot-card {
  background: var(--off); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; transition: box-shadow 0.2s, transform 0.2s;
}
.screenshot-card:hover { box-shadow: 0 12px 36px rgba(13,31,53,0.1); transform: translateY(-3px); }
.screenshot-header {
  background: var(--navy); padding: 12px 16px;
  font-family: var(--display); font-size: 13px; font-weight: 700;
  color: var(--teal); display: flex; align-items: center; gap: 8px;
}
.screenshot-body { padding: 16px; }
.screenshot-menu-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.screenshot-menu-list li {
  font-family: var(--body); font-size: 12px; color: var(--textmd);
  padding: 6px 10px; border-radius: 6px;
  display: flex; align-items: center; gap: 8px; cursor: default;
  transition: background 0.15s;
}
.screenshot-menu-list li:hover { background: var(--white); }
.screenshot-menu-list li.sub { padding-left: 26px; color: var(--textsm); font-size: 11px; }
.screenshot-menu-list .sep { height: 1px; background: var(--border); margin: 4px 0; padding: 0; }

/* ══════════════════════════════════════
   PRICING PAGE
══════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; align-items: start; }
.pricing-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 30px 26px;
  display: flex; flex-direction: column; position: relative;
  transition: box-shadow 0.2s, transform 0.2s var(--ease);
}
.pricing-card:hover { box-shadow: 0 20px 60px rgba(13,31,53,0.09); transform: translateY(-4px); }
.pricing-card.featured { background: var(--navy); border-color: var(--teal); transform: scale(1.03); }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: var(--navy);
  font-size: 10px; font-weight: 700; padding: 3px 13px; border-radius: 20px;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.pricing-tier {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.pricing-price {
  font-family: var(--condensed); font-size: 46px; font-weight: 800;
  color: var(--navy); letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px;
}
.pricing-card.featured .pricing-price { color: var(--white); }
.pricing-price sup { font-size: 20px; font-weight: 600; vertical-align: super; letter-spacing: 0; }
.pricing-period { font-size: 13px; color: var(--textsm); margin-bottom: 6px; }
.pricing-card.featured .pricing-period { color: var(--gray1); }
.pricing-tagline {
  font-size: 13px; color: var(--textmd); line-height: 1.5;
  padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border);
}
.pricing-card.featured .pricing-tagline { color: var(--gray2); border-bottom-color: rgba(255,255,255,0.1); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; flex: 1; }
.pricing-features li { font-size: 13px; color: var(--textmd); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.pricing-card.featured .pricing-features li { color: var(--gray2); }
.pricing-features .check { color: var(--teal); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.pricing-cta { width: 100%; text-align: center; justify-content: center; }

/* ══════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.value-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; margin-bottom: 12px; transition: background 0.2s;
}
.value-item:hover { background: rgba(255,255,255,0.07); }
.value-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(0,201,167,0.1); border: 1px solid rgba(0,201,167,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.value-body h5 { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.value-body p  { font-size: 13px; color: var(--gray1); line-height: 1.6; }
.quote-block {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--teal); border-radius: 0 16px 16px 0; padding: 30px; margin-bottom: 28px;
}
.quote-text { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--white); line-height: 1.4; letter-spacing: -0.01em; margin-bottom: 16px; }
.quote-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy2); border: 2px solid var(--teal); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 16px; font-weight: 800; color: var(--teal); }
.phil-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.phil-stat { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 18px; }
.phil-stat-num { font-family: var(--condensed); font-size: 34px; font-weight: 800; color: var(--white); letter-spacing: -0.01em; line-height: 1; margin-bottom: 4px; }
.phil-stat-num span { color: var(--teal); }
.phil-stat-label { font-size: 12px; color: var(--gray1); line-height: 1.4; }

/* ══════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info h3 { font-family: var(--condensed); font-size: 32px; font-weight: 700; color: var(--white); letter-spacing: -0.01em; margin-bottom: 16px; }
.contact-info p  { font-size: 16px; color: var(--gray2); line-height: 1.75; margin-bottom: 32px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-detail-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(0,201,167,0.1); border: 1px solid rgba(0,201,167,0.2); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.contact-detail-text { font-size: 14px; color: var(--gray2); }
.contact-detail-text a { color: var(--teal); }
.contact-form-wrap { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 36px; }
.form-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-label { font-size: 11px; font-weight: 600; color: var(--gray1); letter-spacing: 0.08em; text-transform: uppercase; }
.form-input {
  background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 11px 14px;
  font-family: var(--body); font-size: 14px; color: var(--white);
  outline: none; transition: border-color 0.2s; width: 100%;
}
.form-input:focus { border-color: var(--teal); }
.form-input::placeholder { color: rgba(255,255,255,0.2); }
.form-input option { color: #333; background: white; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
textarea.form-input { resize: none; line-height: 1.6; }
.form-check-group { display: flex; flex-wrap: wrap; gap: 10px; }
.form-check { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray2); cursor: pointer; }
.form-check input { accent-color: var(--teal); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer { background: #080f1a; padding: 60px 0 28px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer-logo-text { font-family: var(--display); font-size: 19px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.footer-logo-text span { color: var(--teal); }
.footer-tagline { font-size: 14px; color: var(--gray1); line-height: 1.7; max-width: 270px; margin-bottom: 20px; }
.footer-col h5 { font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--white); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; color: var(--gray1); transition: color 0.15s; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-copy { font-size: 13px; color: var(--textsm); }
.footer-copy span { color: var(--teal); }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { font-size: 13px; color: var(--textsm); transition: color 0.15s; }
.footer-bottom-links a:hover { color: var(--white); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
/* ══════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid  { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .wms-roadmap   { grid-template-columns: repeat(2,1fr); }
  .about-grid    { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid  { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
══════════════════════════════════════ */
@media (max-width: 768px) {
  /* Layout */
  .container { padding: 0 20px; }
  .nav-toggle { display: flex !important; }
  .nav-menu   { display: none; }
  .nav-cta    { display: none; }
  .section   { padding: 60px 0; }
  .section-sm { padding: 40px 0; }

  /* Nav */
  .nav { padding: 0 20px; }
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero { min-height: auto; padding-top: 70px; }
  .hero-content { padding: 60px 0 70px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { gap: 28px; }

  /* Page hero */
  .page-hero { padding: 110px 0 56px; }

  /* Grids → single column */
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .phil-stats    { grid-template-columns: 1fr 1fr; }

  /* WMS tabs */
  .wms-tabs { gap: 0; }
  .wms-tab  { padding: 12px 14px; font-size: 13px; }
  .wms-feature-grid { grid-template-columns: 1fr; }
  .wms-roadmap      { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: 1fr; }
  .wms-workflow     { flex-direction: column; }
  .wms-wf-step + .wms-wf-step { margin-left: 0; margin-top: 32px; }
  .wms-wf-step + .wms-wf-step::before {
    content: '↓'; left: 50%; top: -24px;
    transform: translateX(-50%);
  }
  .wms-menu-tree { padding: 20px; font-size: 12px; }

  /* Contact form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 20px; }

  /* Google Workspace section */
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* Mobile page hero grid (e.g. mobile app page with phone mockup) */
  .page-hero .container[style*="grid-template-columns: 1fr auto"] {
    grid-template-columns: 1fr !important;
  }
  .page-hero .container > div[style*="flex-shrink:0"] { display: none; }

  /* Typography scale down */
  .display-xl { font-size: clamp(32px, 9vw, 52px); }
  .display-lg { font-size: clamp(24px, 7vw, 40px); }
  .body-lg    { font-size: 16px; }

  /* Section headings */
  .section-head { margin-bottom: 36px; }

  /* Inline grid overrides (used in WMS page) */
  [style*="grid-template-columns: 1fr 1fr;gap:64px"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  [style*="grid-template-columns: repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: 1fr 1fr;gap:20px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ══════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
══════════════════════════════════════ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .phil-stats  { grid-template-columns: 1fr; }
  .wms-tabs    { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .wms-tab     { font-size: 12px; padding: 10px 12px; white-space: nowrap; }
  .page-hero   { padding: 100px 0 44px; }
  .contact-form-wrap { padding: 20px 16px; }
}


/* ══════════════════════════════════════
   PAGE TRANSITIONS
══════════════════════════════════════ */
.page {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.page.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.page.page-out {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

/* ══════════════════════════════════════
   ERROR FALLBACK PAGE
══════════════════════════════════════ */
#page-error {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--navy);
  text-align: center;
  padding: 40px 20px;
}
.error-code {
  font-family: var(--condensed);
  font-size: 96px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.error-title {
  font-family: var(--condensed);
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}
.error-msg {
  font-size: 15px;
  color: var(--gray1);
  margin-bottom: 32px;
  max-width: 400px;
}

/* ══════════════════════════════════════
   NAV ACTIVE STATE
══════════════════════════════════════ */
.nav-link { position: relative; }
.nav-link.active-page { color: var(--teal) !important; }
.nav-dropdown-item.active-page {
  background: rgba(0,201,167,0.08) !important;
}
.nav-dropdown-item.active-page .ddi-title { color: var(--teal) !important; }

/* ══════════════════════════════════════
   MOBILE NAV REWRITE
══════════════════════════════════════ */
@media (max-width: 768px) {
  body.nav-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    padding: 16px 16px 120px;
    gap: 2px;
    z-index: 199;
    overflow-y: auto;
  }
  body.nav-open .nav-item { width: 100%; }
  body.nav-open .nav-link {
    font-size: 16px;
    color: var(--gray2);
    padding: 13px 14px;
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
  }
  body.nav-open .nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.06);
  }
  body.nav-open .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    margin: 2px 0 6px 12px;
    padding: 6px;
    min-width: unset;
  }
  body.nav-open .nav-dropdown::before { display: none; }
  body.nav-open .nav-dropdown-item {
    padding: 10px 12px;
    border-radius: 8px;
  }
  body.nav-open .nav-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 200;
  }
  body.nav-open .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }
}
