/* ==========================================================================
   SmartSoft - Microsoft 365 Enterprise Services Theme
   Shared across all individual service landing pages
   ========================================================================== */

:root {
  --primary: #0a1f3f;
  --primary-light: #14325f;
  --primary-dark: #06152b;
  --accent: #F7D840;
  --accent-dark: #DFC230;
  --accent-text: #C4A820;
  --accent-gradient: linear-gradient(135deg, #F7D840, #DFC230);
  --graphite: #2D3748;
  --graphite-dark: #1E293B;
  --slate: #475569;
  --slate-light: #64748b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-page: #ffffff;
  --bg-soft: #F8FAFC;
  --bg-subtle: #F1F5F9;
  --border: rgba(10, 31, 63, 0.08);
  --border-gold: rgba(223, 194, 48, 0.35);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 6px rgba(10, 31, 63, 0.04);
  --shadow-md: 0 10px 30px rgba(10, 31, 63, 0.08);
  --shadow-lg: 0 20px 48px rgba(10, 31, 63, 0.12);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Manrope', 'Inter', sans-serif;
  --max-width: 1220px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(10, 31, 63, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img,
.brand-logo-img {
  height: 64px !important;
  max-height: 64px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo:hover img,
.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

@media (max-width: 980px) {
  .brand-logo img,
  .brand-logo-img {
    height: 54px !important;
    max-height: 54px !important;
  }
}

@media (max-width: 480px) {
  .brand-logo img,
  .brand-logo-img {
    height: 46px !important;
    max-height: 46px !important;
  }
}

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

.nav-menu a {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  padding: 6px 0;
  position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-dark);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-header-quote {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(223, 194, 48, 0.35);
  transition: all 0.25s var(--ease);
}

.btn-header-quote:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(223, 194, 48, 0.45);
}

/* ==========================================================================
   Breadcrumb Bar
   ========================================================================== */
.breadcrumb-bar {
  background: var(--bg-soft);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--slate-light);
}

.breadcrumb-bar a {
  color: var(--slate);
  font-weight: 500;
}

.breadcrumb-bar a:hover {
  color: var(--primary);
}

.breadcrumb-bar .sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* ==========================================================================
   Service Hero Section
   ========================================================================== */
.service-hero {
  padding: 64px 0 72px;
  background: radial-gradient(circle at 85% 20%, rgba(247, 216, 64, 0.08) 0%, transparent 45%),
              linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  background: rgba(10, 31, 63, 0.06);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid rgba(10, 31, 63, 0.08);
}

.eyebrow-badge i {
  color: var(--accent-dark);
}

.service-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.service-hero h1 .highlight {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 30%;
  padding: 0 0.05em;
}

.hero-lead {
  font-size: 1.12rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 16px;
}

.hero-sublead {
  font-size: 0.96rem;
  color: var(--slate-light);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-primary-action {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(223, 194, 48, 0.35);
  transition: all 0.25s var(--ease);
}

.btn-primary-action:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(223, 194, 48, 0.45);
}

.btn-secondary-action {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(10, 31, 63, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s var(--ease);
}

.btn-secondary-action:hover {
  border-color: var(--primary);
  background: var(--bg-soft);
  transform: translateY(-2px);
}

.hero-credentials-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px dashed rgba(10, 31, 63, 0.12);
  font-size: 0.85rem;
  color: var(--slate);
}

.hero-credential-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-credential-item svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Hero Visual Card / Interactive Panel */
.hero-visual-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(10, 31, 63, 0.10);
  border: 1.5px solid rgba(223, 194, 48, 0.3);
  position: relative;
}

.hvc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.hvc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(10, 31, 63, 0.06);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
}

.hvc-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: v3Pulse 2s infinite;
}

@keyframes v3Pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hvc-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.hvc-metric-box {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border);
}

.hvc-metric-box .num {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.hvc-metric-box .label {
  font-size: 0.78rem;
  color: var(--slate-light);
  font-weight: 600;
  line-height: 1.35;
}

.hvc-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hvc-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.45;
}

.hvc-checklist svg {
  color: #10b981;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-kicker::before {
  content: '';
  width: 20px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ==========================================================================
   Business Problem / Pain Points Section
   ========================================================================== */
.section-pain {
  padding: 84px 0;
  background: #ffffff;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ef4444;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(239, 68, 68, 0.25);
}

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

.pain-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #FFFDF7;
  border: 1.5px solid rgba(223, 194, 48, 0.45);
  color: #0A1F3F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(10, 31, 63, 0.04);
}
.pain-card:hover .pain-icon {
  background: #0A1F3F;
  color: #F7D840;
  border-color: #0A1F3F;
  transform: translateY(-2px);
  transition: all 0.25s ease;
}

.pain-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.pain-card p {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ==========================================================================
   Capabilities & Features Section
   ========================================================================== */
.section-capabilities {
  padding: 88px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.cap-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.cap-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-dark);
}

.cap-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cap-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(10, 31, 63, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.3s var(--ease);
}

.cap-card:hover .cap-icon {
  background: var(--primary);
  color: var(--accent);
  transform: scale(1.08) rotate(-3deg);
}

.cap-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--bg-soft);
  color: var(--slate);
  border: 1px solid var(--border);
}

.cap-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.cap-card p {
  font-size: 0.94rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.cap-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px dashed var(--border);
  padding-top: 18px;
}

.cap-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.45;
}

.cap-bullets svg {
  color: #10b981;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   Implementation Roadmap / Process Section
   ========================================================================== */
.section-process {
  padding: 88px 0;
  background: #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(10,31,63,0.15), rgba(10,31,63,0.15) 6px, transparent 6px, transparent 12px);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: all 0.3s var(--ease);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
  transition: all 0.3s var(--ease);
}

.process-step:hover .step-num {
  background: var(--primary);
  color: var(--accent);
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ==========================================================================
   Use Cases / Industry Scenarios
   ========================================================================== */
.section-usecases {
  padding: 88px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.usecase-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s var(--ease);
}

.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-dark);
}

.usecase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.usecase-ind {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.usecase-tag {
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(223, 194, 48, 0.15);
  color: #78350f;
  padding: 4px 12px;
  border-radius: 20px;
}

.usecase-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
}

.usecase-block {
  padding-left: 14px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.usecase-block.problem {
  border-left: 3px solid #ef4444;
  color: #475569;
}

.usecase-block.solution {
  border-left: 3px solid #10b981;
  color: #0f172a;
}

.usecase-block b {
  color: var(--primary);
}

.usecase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-top: auto;
}

/* ==========================================================================
   Security, Compliance & Governance
   ========================================================================== */
.section-governance {
  padding: 84px 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.gov-box {
  background: linear-gradient(135deg, #0a1f3f 0%, #14325f 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.gov-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.25;
}

.gov-content p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.gov-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gov-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.gov-points svg {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.gov-card-side {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 30px;
}

.gov-card-side h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 14px;
}

.gov-card-side p {
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.section-faq {
  padding: 84px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.25s var(--ease);
}

.faq-item:hover {
  border-color: rgba(10, 31, 63, 0.18);
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--slate);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item[open] summary .icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-item p {
  padding: 0 24px 22px;
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.65;
}

/* ==========================================================================
   Conversion CTA Banner
   ========================================================================== */
.section-conversion {
  padding: 84px 0;
  background: #ffffff;
}

.conversion-card {
  background: radial-gradient(circle at 10% 50%, rgba(247, 216, 64, 0.12) 0%, transparent 50%),
              linear-gradient(135deg, #0a1f3f 0%, #14325f 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(223, 194, 48, 0.35);
}

.conversion-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.conversion-card p {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.conversion-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.conversion-card .btn-primary-action {
  font-size: 1.05rem;
  padding: 16px 34px;
}

.conversion-card .btn-secondary-action {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.conversion-card .btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.conversion-direct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.88rem;
  color: #cbd5e1;
  flex-wrap: wrap;
}

.conversion-direct a {
  color: #ffffff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.conversion-direct a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Related Services Nav Strip
   ========================================================================== */
.related-services-strip {
  padding: 48px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.related-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate);
  margin-bottom: 20px;
  text-align: center;
}

.related-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.related-pill {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease);
}

.related-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.related-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: #ffffff;
  color: #555555;
  padding: 64px 0 28px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: #0a1f3f;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.footer-links a {
  color: #475569;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.84rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pain-grid, .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .process-grid::before { display: none; }
  .gov-box { grid-template-columns: 1fr; padding: 36px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .pain-grid, .cap-grid, .usecase-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .conversion-card { padding: 40px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============================================================
   Enhanced Branded Icon Thumbs & Badges
   ============================================================ */
.eyebrow-badge img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 6px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.hvc-icon-thumb {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1.5px solid rgba(10, 31, 63, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(10, 31, 63, 0.06);
  flex-shrink: 0;
}
.hvc-icon-thumb img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.usecase-ind-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.usecase-icon-thumb {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(10, 31, 63, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(10, 31, 63, 0.04);
}
.usecase-icon-thumb img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.footer-contact-ic {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
  display: inline-block;
}

/* ==========================================================================
   Motion-Led Interactive & Scroll-Reveal System (Matching Main Hub)
   ========================================================================== */

/* Scroll-triggered reveal */
[data-rv] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
  will-change: opacity, transform;
}
[data-rv="left"] { transform: translateX(-24px); }
[data-rv="right"] { transform: translateX(24px); }
[data-rv="scale"] { transform: scale(0.96); }
[data-rv].is-in {
  opacity: 1 !important;
  transform: none !important;
}

/* Marker highlight animation */
.ml-mark {
  background: linear-gradient(120deg, rgba(247, 216, 64, 0.35) 0%, rgba(247, 216, 64, 0.8) 100%) no-repeat 0 88%;
  background-size: 0% 32%;
  transition: background-size 0.9s var(--ease) 0.35s;
}
.is-in .ml-mark, .ml-mark.is-in {
  background-size: 100% 32%;
}

/* Card hover elevation */
.pain-card, .cap-card, .usecase-card, .gov-box, .interactive-card {
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease) !important;
}
.pain-card:hover, .cap-card:hover, .usecase-card:hover, .interactive-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 32px rgba(10, 31, 63, 0.08) !important;
  border-color: rgba(10, 31, 63, 0.18) !important;
}

/* Live Bridge Pulse */
.hvc-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #059669;
  position: relative;
  display: inline-block;
}
.hvc-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.4);
  animation: pulseRing 2s infinite ease-out;
}
@keyframes pulseRing {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Button ripple / lift */
.btn-primary-action {
  position: relative;
  overflow: hidden;
  transition: all 0.28s var(--ease);
}
.btn-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(223, 194, 48, 0.4);
}
.btn-secondary-action:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: #F8FAFC;
}

/* --- Interactive Source Migration Explorer --- */
.source-explorer {
  margin-top: 48px;
  background: #ffffff;
  border: 1px solid rgba(10, 31, 63, 0.1);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 8px 30px rgba(10, 31, 63, 0.04);
}
.source-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.source-tab-btn {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s var(--ease);
}
.source-tab-btn:hover {
  background: #F1F5F9;
  color: #0A1F3F;
  transform: translateY(-1px);
}
.source-tab-btn.active {
  background: #0A1F3F;
  color: #ffffff;
  border-color: #0A1F3F;
  box-shadow: 0 4px 14px rgba(10, 31, 63, 0.18);
}
.source-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 30px;
}
@media (max-width: 860px) {
  .source-panel { grid-template-columns: 1fr; padding: 22px; }
}
.source-panel-info h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0A1F3F;
  margin-bottom: 8px;
}
.source-panel-info p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}
.source-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.source-spec-item {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
}
.source-spec-item span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 3px;
}
.source-spec-item b {
  font-size: 13.5px;
  color: #0A1F3F;
}
.source-panel-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(10, 31, 63, 0.04);
}
.source-panel-card h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #0A1F3F;
  margin-bottom: 14px;
}
.source-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.source-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
}
.source-checklist li svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Interactive Phase Timeline Bar --- */
.phase-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 32px 0 28px;
}
@media (max-width: 860px) {
  .phase-stepper { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .phase-stepper { grid-template-columns: 1fr; }
}
.phase-step-btn {
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.phase-step-btn:hover {
  border-color: rgba(10, 31, 63, 0.25);
  transform: translateY(-2px);
}
.phase-step-btn.active {
  background: #F8FAFC;
  border-color: #0A1F3F;
  border-left: 4px solid #0A1F3F;
  box-shadow: 0 4px 14px rgba(10, 31, 63, 0.06);
}
.phase-step-btn .step-num {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748B;
  display: block;
  margin-bottom: 4px;
}
.phase-step-btn.active .step-num {
  color: #0A1F3F;
}
.phase-step-btn b {
  font-size: 13.5px;
  color: #0A1F3F;
  display: block;
  line-height: 1.3;
}

/* Smooth Accordion Chevron */
.faq-item {
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  margin-bottom: 12px !important;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}
.faq-item:hover {
  border-color: rgba(10, 31, 63, 0.2) !important;
  box-shadow: 0 4px 16px rgba(10, 31, 63, 0.04) !important;
}
.faq-item summary {
  padding: 18px 20px !important;
  font-weight: 700 !important;
  color: #0A1F3F !important;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  transition: transform 0.3s ease;
  color: #0A1F3F;
}
.faq-item[open] summary .icon {
  transform: rotate(180deg);
}
.faq-item p {
  padding: 0 20px 20px !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* ============================================================
   SmartSoft Shared Micro-Interactions & Animation Engine
   Matches services.html: Quick Sub-Nav, Scroll Glance & Peek,
   Tactile Selection Pulse, Icon Float & Shimmer Sweeps
   ============================================================ */

/* --- Keyframe Animations --- */
@keyframes v3DemoPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); box-shadow: 0 0 0 4px rgba(247, 216, 64, 0.45); }
  100% { transform: scale(1); }
}

@keyframes srvIconFloat {
  0% { transform: translateY(-3px) scale(1.08) rotate(0deg); }
  50% { transform: translateY(-5px) scale(1.1) rotate(2deg); }
  100% { transform: translateY(-3px) scale(1.08) rotate(-1.5deg); }
}

@keyframes srvArrowSlide {
  0%, 100% { transform: translateX(0); opacity: 0.65; }
  50% { transform: translateX(3.5px); opacity: 1; color: #0A1F3F; }
}

@keyframes srvSheenSweep {
  0% { left: -130%; opacity: 0; }
  20% { opacity: 0.85; }
  100% { left: 210%; opacity: 0; }
}

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

@keyframes v3SlideFromTop {
  0% {
    transform: translateY(-12px);
    box-shadow: 0 8px 24px rgba(10, 31, 63, 0.05);
  }
  50% {
    box-shadow: 0 20px 48px rgba(10, 31, 63, 0.12);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 16px 44px rgba(10, 31, 63, 0.08);
  }
}

@keyframes v3SlideFromBottom {
  0% {
    transform: translateY(12px);
    box-shadow: 0 8px 24px rgba(10, 31, 63, 0.05);
  }
  50% {
    box-shadow: 0 20px 48px rgba(10, 31, 63, 0.12);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 16px 44px rgba(10, 31, 63, 0.08);
  }
}

.v3-demo-pulse {
  animation: v3DemoPulse 0.55s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* --- Sticky Quick Sub-Nav Scroll Spy --- */
.v3-quick-subnav {
  position: sticky;
  top: 76px;
  z-index: 99;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 31, 63, 0.08);
  box-shadow: 0 4px 20px rgba(10, 31, 63, 0.03);
  padding: 10px 0;
  transition: all 0.3s ease;
}
.v3-qs-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.v3-qs-wrap::-webkit-scrollbar { display: none; }
.v3-qs-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(10, 31, 63, 0.04);
  color: #0A1F3F;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(.2,.8,.2,1);
  border: 1px solid transparent;
}
.v3-qs-pill:hover {
  background: rgba(10, 31, 63, 0.08);
  color: #0A1F3F;
  transform: translateY(-1px);
}
.v3-qs-pill.active {
  background: #0A1F3F;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(10, 31, 63, 0.22);
  border-color: #0A1F3F;
}
.v3-qs-pill.active i {
  color: #F7D840;
}
.v3-qs-cta {
  margin-left: auto;
  background: #F7D840;
  color: #0A1F3F !important;
  font-weight: 700;
  border-color: rgba(223, 194, 48, 0.8);
  box-shadow: 0 2px 8px rgba(223, 194, 48, 0.35);
}
.v3-qs-cta:hover {
  background: #DFC230;
  transform: translateY(-1px);
}

/* --- Floating Back-To-Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0A1F3F;
  color: #F7D840;
  border: 1.5px solid rgba(247, 216, 64, 0.35);
  box-shadow: 0 8px 24px rgba(10, 31, 63, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all 0.3s cubic-bezier(.2,.8,.2,1);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #F7D840;
  color: #0A1F3F;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(223, 194, 48, 0.4);
}

/* --- Interactive Card Motion & Radial Spotlight --- */
.cap-card, .pain-card, .scenario-card, .gov-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1), box-shadow 0.28s cubic-bezier(.2,.8,.2,1), border-color 0.28s ease !important;
}
.cap-card::before, .scenario-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, -120px);
  left: var(--mouse-x, -120px);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(247, 216, 64, 0.12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}
.cap-card:hover::before, .scenario-card:hover::before {
  opacity: 1;
}
.cap-card:hover, .pain-card:hover, .scenario-card:hover, .gov-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(10, 31, 63, 0.1) !important;
  border-color: rgba(10, 31, 63, 0.22) !important;
}
.cap-card:hover .cap-icon,
.pain-card:hover .pain-icon,
.gov-card:hover .gov-icon {
  animation: srvIconFloat 2.6s ease-in-out infinite alternate;
  border-color: rgba(223, 194, 48, 0.7);
  background: #ffffff;
}
.cap-card:hover .cap-more svg,
.pain-card:hover .pain-link svg,
.scenario-card:hover .scenario-link svg {
  animation: srvArrowSlide 1.3s ease-in-out infinite;
}

/* --- Panel Transition Effects --- */
.source-panel.is-animating {
  animation: fadeInSim 0.35s ease forwards;
}

/* --- Enhanced Process Step & Card Active States --- */
.process-step {
  cursor: pointer;
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 31, 63, 0.25);
  box-shadow: 0 10px 24px rgba(10, 31, 63, 0.08);
}
.process-step.active {
  border-color: #0A1F3F !important;
  box-shadow: 0 12px 32px rgba(10, 31, 63, 0.12) !important;
  background: #F8FAFC !important;
  transform: translateY(-4px);
}
.process-step.active .step-num {
  background: #0A1F3F !important;
  color: #F7D840 !important;
}
.cap-card.active {
  border-color: #0A1F3F !important;
  box-shadow: 0 12px 32px rgba(10, 31, 63, 0.12) !important;
}

/* Mouse spotlight on usecase and process cards */
.usecase-card, .process-step {
  position: relative;
  overflow: hidden;
}
.usecase-card::before, .process-step::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, -120px);
  left: var(--mouse-x, -120px);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(247, 216, 64, 0.12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}
.usecase-card:hover::before, .process-step:hover::before {
  opacity: 1;
}

/* --- Enhanced Brand Icon & Visual Card Styles --- */
.source-tab-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  border-radius: 3px;
}
.cap-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}
.usecase-icon-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #FFFDF7;
  border: 1.5px solid rgba(223, 194, 48, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(10, 31, 63, 0.04);
}
.usecase-icon-thumb img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}
.usecase-banner-img {
  display: none !important;
}
.usecase-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F1F5F9;
  border: 1px solid rgba(10, 31, 63, 0.08);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0A1F3F;
}
.usecase-app-badge img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.cap-card-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  background: #F8FAFC;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  margin-top: 12px;
}
.cap-card-tech-badge img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
