:root {
  --brand: #0d6efd;
  --brand-dark: #0a58ca;
  --brand-soft: rgba(13, 110, 253, 0.12);
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-dark: #081226;
  --border-soft: rgba(148, 163, 184, 0.28);
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 16px 32px rgba(15, 23, 42, 0.09);
  --radius-xl: 1.5rem;
  --anchor-offset: 48px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  font-family: "Inter", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--surface-soft);
  color: var(--ink);
}

section[id] {
  scroll-margin-top: var(--anchor-offset);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.bg-page {
  background: linear-gradient(180deg, #f8fbff 0%, #f8fafc 100%);
}

.utility-bar {
  background: linear-gradient(90deg, #0b4dd8 0%, #103e9c 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

.utility-bar strong {
  color: #fff;
}

.main-nav {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
}

.navbar-brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.85rem;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, #1f7bff 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.25);
}

.brand-small {
  font-size: 0.82rem;
  color: #64748b;
}

.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 600;
}

.page-tag-light {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-split,
.hero-cover {
  position: relative;
  overflow: hidden;
}

.hero-split::before,
.hero-split::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.7;
}

.hero-split::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.18) 0%, rgba(13, 110, 253, 0) 72%);
}

.hero-split::after {
  width: 360px;
  height: 360px;
  left: -100px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 70%);
}

.hero-original {
  background:
    radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.14), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(13, 110, 253, 0.2), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.hero-business {
  background:
    radial-gradient(circle at 10% 15%, rgba(191, 219, 254, 0.55), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(226, 232, 240, 0.85), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.hero-cover {
  min-height: 640px;
  color: #fff;
}

.hero-cover .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-overlay-dark {
  background:
    linear-gradient(90deg, rgba(8, 18, 38, 0.88) 0%, rgba(8, 18, 38, 0.66) 45%, rgba(8, 18, 38, 0.48) 100%),
    linear-gradient(180deg, rgba(13, 110, 253, 0.25), rgba(8, 18, 38, 0.3));
}

.min-vh-50 {
  min-height: 50vh;
}

.glass-panel {
  background: linear-gradient(180deg, rgba(11, 34, 72, 0.74) 0%, rgba(9, 28, 60, 0.62) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 54px rgba(8, 18, 38, 0.28);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-xl);
}

.metric-chip,
.stat-pill {
  border-radius: 1rem;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.metric-chip {
  padding: 1rem 1.1rem;
  height: 100%;
}

.metric-chip strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.1;
  color: var(--ink);
}

.metric-chip span {
  color: #64748b;
  font-size: 0.92rem;
}

.stat-pill {
  padding: 1rem 1rem 0.95rem;
  color: var(--ink);
}

.stat-pill strong {
  display: block;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.hero-stats-panel {
  position: relative;
  overflow: hidden;
}

.hero-stats-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.28), transparent 34%),
    radial-gradient(circle at bottom left, rgba(13, 110, 253, 0.24), transparent 30%);
  pointer-events: none;
}

.hero-stat-card {
  position: relative;
  min-height: 112px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 255, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 32px rgba(8, 18, 38, 0.16);
}

/* .hero-stat-card::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0d6efd 0%, #61a8ff 100%);
  opacity: 0.85;
} */

.hero-stat-card-wide {
  min-height: 118px;
}

.hero-stat-label {
  color: #6b7a90;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-stat-note {
  margin-top: 0.35rem;
  color: #526179;
  font-size: 0.9rem;
}

.hero-stat-places {
  font-size: 1.08rem !important;
  line-height: 1.35;
}

.hero-cover .screen-meta span {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.7);
  color: #233552;
  box-shadow: 0 12px 24px rgba(8, 18, 38, 0.12);
}

.hero-cover .screen-meta span i {
  color: var(--brand);
}

.preview-device {
  position: relative;
  border-radius: 1.5rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.preview-device img {
  width: 100%;
  border-radius: 1rem;
  display: block;
}

.preview-caption {
  position: absolute;
  bottom: 1.15rem;
  left: 1.15rem;
  padding: 0.55rem 0.8rem;
  background: rgba(8, 18, 38, 0.8);
  color: #fff;
  border-radius: 0.8rem;
  font-size: 0.85rem;
}

.preview-stack {
  position: relative;
  min-height: 500px;
}

.preview-stack .stack-item {
  position: absolute;
  width: 72%;
}

.preview-stack .stack-item:first-child {
  left: 0;
  top: 0;
  transform: rotate(-3deg);
}

.preview-stack .stack-item:nth-child(2) {
  right: 0;
  top: 5.2rem;
  transform: rotate(4deg);
}

.preview-stack .stack-item:nth-child(3) {
  left: 14%;
  bottom: 0;
  transform: rotate(-1.5deg);
}

.project-card,
.solution-card,
.case-card,
.mock-panel {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.project-card,
.solution-card,
.case-card {
  overflow: hidden;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover,
.solution-card:hover,
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.13);
  border-color: rgba(13, 110, 253, 0.18);
}

.project-card .card-img-top,
.case-card img {
  width: 100%;
  object-fit: cover;
}

.project-card .card-img-top {
  height: 220px;
}

.case-card img {
  height: 220px;
}

.icon-badge {
  width: 3.15rem;
  height: 3.15rem;
  display: inline-grid;
  place-items: center;
  border-radius: 1rem;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.35rem;
}

.solution-card .card-body,
.project-card .card-body,
.case-card .card-body {
  padding: 1.6rem;
}

.surface-block {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.reference-note {
  border-left: 4px solid var(--brand);
  background: #fff;
  padding: 1rem 1.1rem;
  border-radius: 0 1rem 1rem 0;
  box-shadow: var(--shadow-soft);
  color: #475569;
}

.mock-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 1.2rem;
  height: 100%;
}

.mock-display {
  background: linear-gradient(180deg, #081226 0%, #10203e 100%);
  border-radius: 1.15rem;
  min-height: 270px;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.mock-topbar {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}

.mock-topbar span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.mock-grid .mini-card,
.mock-table .row-bar span,
.mock-sidebar .nav-pill,
.mock-chart {
  border-radius: 0.8rem;
}

.mock-grid .mini-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.9rem;
}

.mock-chart {
  height: 122px;
  margin-top: 0.85rem;
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.5), rgba(59, 130, 246, 0.05)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  position: relative;
}

.mock-chart::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 20%;
  bottom: 20%;
  background: linear-gradient(90deg, transparent 0%, rgba(96, 165, 250, 0.72) 100%);
  clip-path: polygon(0 88%, 12% 80%, 28% 64%, 45% 70%, 64% 34%, 78% 40%, 100% 10%, 100% 100%, 0 100%);
}

.mock-sidebar {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.9rem;
  margin-top: 0.85rem;
}

.mock-sidebar .nav-stack {
  display: grid;
  gap: 0.55rem;
}

.mock-sidebar .nav-pill {
  height: 0.95rem;
  background: rgba(255, 255, 255, 0.18);
}

.mock-table {
  display: grid;
  gap: 0.6rem;
}

.mock-table .row-bar {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.7fr;
  gap: 0.55rem;
}

.mock-table .row-bar span {
  height: 0.95rem;
  background: rgba(255, 255, 255, 0.12);
}

.case-horizontal img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.logo-chip {
  min-height: 78px;
  border-radius: 1.15rem;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-soft);
}

.partner-band {
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.18), transparent 28%),
    linear-gradient(180deg, #081226 0%, #102244 100%);
  color: #fff;
}

.partner-band .logo-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.cta-band {
  background: linear-gradient(135deg, #0d6efd 0%, #1f7bff 100%);
  color: #fff;
  border-radius: 2rem;
  box-shadow: 0 24px 60px rgba(13, 110, 253, 0.28);
}

.site-footer {
  background: var(--ink-dark);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a:hover {
  color: #fff;
}

.footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.badge-soft-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.72rem;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  color: #475569;
}

.list-check li i {
  color: var(--brand);
  margin-top: 0.2rem;
}

.mini-note {
  color: #94a3b8;
  font-size: 0.92rem;
}

.screen-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.screen-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #334155;
  font-size: 0.88rem;
}

@media (max-width: 1199.98px) {
  .logo-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  :root {
    --anchor-offset: 88px;
  }

  .hero-cover {
    min-height: auto;
  }

  .preview-stack {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .preview-stack .stack-item {
    position: static;
    width: 100%;
    transform: none !important;
  }
}

@media (max-width: 767.98px) {
  .logo-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card .card-img-top,
  .case-card img {
    height: 200px;
  }

  .case-horizontal img {
    min-height: 200px;
  }
}

.navbar-brand-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.solution-icon-img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.partners-section {
  background:
    linear-gradient(180deg, #eef3fb 0%, #f7f9fc 100%);
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.partner-logo-card {
  min-height: 108px;
  display: grid;
  place-items: center;
  /* background: linear-gradient(180deg, #10213f 0%, #13284a 100%);
   */
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.2), transparent 28%), linear-gradient(135deg, #0d6efd 0%, #165ff2 50%, #0b4dd8 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.15rem;
  box-shadow: 0 16px 36px rgba(8, 18, 38, 0.18);
  padding: 1.25rem;
}

.partner-logo {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.about-stack,
.career-philosophy {
  display: grid;
  gap: 1rem;
}

.about-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
  padding: 1.35rem 1.4rem;
}

.career-board {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.4rem;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  height: 100%;
}

.career-board-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.career-email-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.1);
  color: var(--brand-dark);
  font-weight: 700;
  white-space: nowrap;
}

.career-table {
  --bs-table-bg: transparent;
  margin-bottom: 0;
}

.career-table thead th {
  color: var(--ink-soft);
  font-weight: 700;
  border-bottom-width: 1px;
}

.career-table tbody td {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.footer-links-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.navbar .nav-link {
  font-weight: 500;
  color: #334155;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--brand);
}

body.is-scrolled .main-nav {
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.value-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.value-icon {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 1rem;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.process-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f8fafc 100%);
}

.process-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.partner-logo-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partner-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 22px 40px rgba(8, 18, 38, 0.24);
}

.partner-logo {
  filter: none;
  opacity: 0.96;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.partner-logo-card:hover .partner-logo {
  opacity: 1;
  transform: scale(1.02);
}

.careers-section .container {
  position: relative;
}

.career-layout {
  align-items: stretch;
}

.footer-brand-stack {
  display: grid;
  gap: 0.35rem;
}

.footer-brand-title {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.cta-panel {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #0d6efd 0%, #165ff2 50%, #0b4dd8 100%);
  color: #fff;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(13, 110, 253, 0.28);
}

.cta-tag {
  box-shadow: none;
}

/* Contact Form in CTA */
.contact-form-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  color: var(--ink);
}

.contact-quick-form .form-control {
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.9rem;
  padding: 0.6rem 0.85rem;
}

.contact-quick-form .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

.contact-quick-form .btn-primary {
  padding: 0.65rem 1rem;
  font-weight: 600;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 16px 32px rgba(13, 110, 253, 0.26);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-dark);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .back-to-top {
    transition: none;
  }
}

@media (max-width: 991.98px) {
  .career-board-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stat-card,
  .hero-stat-card-wide {
    min-height: auto;
  }

  .partner-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .partner-logo-grid,
  .footer-links-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .career-layout > .col-lg-5,
  .career-layout > .col-lg-7 {
    display: flex;
  }

  .career-philosophy,
  .career-board {
    width: 100%;
  }

  .career-philosophy {
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.08);
  border: 1px solid rgba(13, 110, 253, 0.2);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switch:hover {
  background: rgba(13, 110, 253, 0.15);
  border-color: rgba(13, 110, 253, 0.3);
}

.lang-current {
  min-width: 2rem;
}

/* Case Metrics */
.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  margin-top: auto;
}

.metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.metric-success {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

.metric-info {
  background: rgba(13, 110, 253, 0.12);
  color: var(--brand-dark);
}

/* Enhanced Case Card */
.case-client {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.case-section {
  padding: 0.5rem 0;
}

.case-section:not(:last-child) {
  border-bottom: 1px dashed rgba(226, 232, 240, 0.6);
}

.case-section-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

.case-section-label i {
  font-size: 0.85rem;
}

.case-section-text {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.case-results {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 2px solid rgba(22, 163, 74, 0.2);
}

.case-results .case-section-label {
  color: #16a34a;
}

/* Certification Cards */
.cert-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.cert-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, #0d6efd 0%, #165ff2 50%, #0b4dd8 100%);
  color: #fff;
  font-size: 1.75rem;
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.25);
}

/* Insights Section */
.insights-section {
  background: linear-gradient(180deg, #f8fbff 0%, #f0f5fa 100%);
}

.insight-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.insight-date {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.insight-card .h5 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 600;
  transition: gap 0.2s ease;
}

.insight-link:hover {
  gap: 0.6rem;
  color: var(--brand-dark);
}

/* Contact Float */
.contact-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1050;
}

.contact-float-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d6efd 0%, #165ff2 100%);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px rgba(13, 110, 253, 0.3);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 20px 40px rgba(13, 110, 253, 0.35);
}

.contact-float-panel {
  position: absolute;
  bottom: 4rem;
  right: 0;
  width: 280px;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.contact-float-content {
  padding: 1.25rem;
}

.contact-float-content h4 {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.contact-float-qr {
  text-align: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  margin-bottom: 0.75rem;
}

.contact-float-qr img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #f8fafc;
  margin-bottom: 0.5rem;
}

.contact-float-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-float-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: #f8fafc;
  color: var(--ink);
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.contact-float-link:hover {
  background: #f1f5f9;
  color: var(--brand);
}

.contact-float-link i {
  color: var(--brand);
}

/* Adjust back-to-top position when contact float is visible */
.back-to-top {
  bottom: 5.5rem;
}

@media (max-width: 575.98px) {
  .contact-float {
    right: 1rem;
    bottom: 1rem;
  }

  .contact-float-panel {
    width: 260px;
    right: -0.5rem;
  }
}
