@font-face {
  font-family: "Inter Black";
  src: url("assets/fonts/Inter-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #142254;
  --primary-accent: #0058b8;
  --primary-light: #f0f5ff;
  --brand-gold: #d98218;
  --brand-red: #c9252b;
  --text-main: #0f172a;
  --text-muted: #5b6b82;
  --text-light: #94a3b8;
  --bg-page: #ffffff;
  --bg-subtle: #f6f8fb;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-full: 9999px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

html, body {
  background-color: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 36px;
}

/* ==========================================================================
   Top Announcement Bar & Sticky Header (Replicating Shanghai Anqing Effect)
   ========================================================================== */
.top-announcement-bar {
  background-color: #142254;
  color: #f3f4f6;
  font-size: 14.5px;
  font-weight: 500;
  text-align: center;
  padding: 12px 16px 84px;
  letter-spacing: 0.03em;
}

.top-bar-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.1em;
  font-weight: 600;
  transform: translateY(2px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: -70px;
  transition: border-radius 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

/* Inverted SVG Corners & Cutout Line on Sticky */
.header__corner {
  position: absolute;
  top: 100%;
  width: 40px;
  height: 40px;
  color: #ffffff;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1001;
}

.header__corner.left {
  left: 0;
}

.header__corner.right {
  right: 0;
  transform: scaleX(-1);
}

.header__corner svg {
  display: block;
  width: 100%;
  height: 100%;
}

.header__corner svg path:first-child {
  fill: #ffffff;
}

.header__corner svg path:last-child {
  stroke: #e5e7eb;
  stroke-width: 1px;
}

.header__cutout {
  position: absolute;
  top: 100%;
  left: 40px;
  right: 40px;
  height: 1px;
  background-color: #e5e7eb;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1001;
}

.site-header.scrolled .header__corner,
.site-header.scrolled .header__cutout {
  opacity: 1;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 36px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
  margin-left: 8px;
}

.brand-logo img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.03em;
}

.brand-en {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Main Navigation - Capsule Flip & Exclusive Single-Select Active State */
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: color 0.4s cubic-bezier(0.3, 1, 0.3, 1);
}

.nav-link .nav-btn-text[data-text] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.3, 1, 0.3, 1), opacity 0.45s cubic-bezier(0.3, 1, 0.3, 1);
  transform: translateY(0) scale(1);
  opacity: 1;
}

.nav-link .nav-btn-duplicate {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(100%) scale(0.6);
  transition: transform 0.45s cubic-bezier(0.3, 1, 0.3, 1);
  pointer-events: none;
  font-weight: 600;
}

.nav-link:hover .nav-btn-text[data-text],
.nav-link.active .nav-btn-text[data-text] {
  transform: translateY(-15%) scale(0.7);
  opacity: 0;
}

.nav-link:hover .nav-btn-duplicate,
.nav-link.active .nav-btn-duplicate {
  transform: translateY(0%) scale(1);
}

.nav-link.active .nav-btn-duplicate {
  background-color: var(--primary);
  color: #ffffff;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border-color);
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   Scroll Reveal Slide-Up Effect
   ========================================================================== */
.reveal-slide {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Hero Section - Synced Dynamic Copy & 3D Page-Flip Carousel
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 52px 0 88px;
  background: #ffffff;
  overflow: hidden;
}

.hero-container-clean {
  width: 100%;
  text-align: left;
}

.hero-copy-stage {
  position: relative;
  min-height: 132px;
  margin-bottom: 30px;
}

.hero-copy-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.55s;
  pointer-events: none;
}

.hero-copy-item.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-title-standalone {
  font-size: 56px;
  line-height: 1.22;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.hero-title-standalone span {
  color: var(--primary-accent);
}

.hero-subtitle-clean {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 960px;
  margin: 0;
}

.hero-banner-wrap {
  position: relative;
  width: 100%;
  height: 490px;
  border-radius: 40px;
  overflow: hidden;
  background: #0f172a;
}

.hero-slides-stage {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 2200px;
  transform-style: preserve-3d;
}

.hero-page-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transform-origin: left center;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.hero-page-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transform: rotateY(0deg);
}

.hero-page-slide.flip-next-out {
  visibility: visible;
  z-index: 4;
  transform-origin: left center;
  animation: pageFlipNextOut 0.9s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

.hero-page-slide.flip-next-in {
  opacity: 1;
  visibility: visible;
  z-index: 3;
  animation: pageRevealUnder 0.9s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

.hero-page-slide.flip-prev-in {
  visibility: visible;
  z-index: 4;
  transform-origin: left center;
  animation: pageFlipPrevIn 0.9s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

.hero-page-slide.flip-prev-out {
  opacity: 1;
  visibility: visible;
  z-index: 3;
  animation: pageDimUnder 0.9s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

@keyframes pageFlipNextOut {
  0% {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  45% {
    box-shadow: 28px 0 60px rgba(0, 0, 0, 0.45);
  }
  100% {
    opacity: 0;
    transform: rotateY(-102deg) scale(0.98);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}

@keyframes pageRevealUnder {
  0% {
    filter: brightness(0.62);
    transform: scale(1.03);
  }
  100% {
    filter: brightness(1);
    transform: scale(1);
  }
}

@keyframes pageFlipPrevIn {
  0% {
    opacity: 0;
    transform: rotateY(-102deg) scale(0.98);
    box-shadow: 28px 0 60px rgba(0, 0, 0, 0.45);
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}

@keyframes pageDimUnder {
  0% {
    filter: brightness(1);
    transform: scale(1);
  }
  100% {
    filter: brightness(0.62);
    transform: scale(1.03);
  }
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-carousel-controls {
  position: absolute;
  right: 40px;
  bottom: 34px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
}

.hero-nav-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.hero-nav-arrow:hover {
  background: var(--primary);
  transform: scale(1.06);
}

.hero-nav-arrow svg {
  width: 16px;
  height: 16px;
}

.hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border: none;
  outline: none;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.42);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease;
}

.hero-dot.active {
  width: 26px;
  background: #ffffff;
}

/* ==========================================================================
   Metrics Strip (Authentic Data from Business License)
   ========================================================================== */
.metrics-strip {
  background: #ffffff;
  padding: 40px 0 60px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.metric-item {
  position: relative;
  border-left: 2px solid var(--border-color);
  padding: 8px 16px 8px 24px;
  border-radius: 0 16px 16px 0;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    border-left-color 0.3s ease,
    background-color 0.3s ease;
}

.metrics-strip.is-active .metric-item {
  opacity: 1;
  transform: translateY(0);
}

.metrics-strip.is-active .metric-item:nth-child(1) { transition-delay: 0s; }
.metrics-strip.is-active .metric-item:nth-child(2) { transition-delay: 0.08s; }
.metrics-strip.is-active .metric-item:nth-child(3) { transition-delay: 0.16s; }
.metrics-strip.is-active .metric-item:nth-child(4) { transition-delay: 0.24s; }

.metrics-strip.is-active .metric-item:hover {
  transition-delay: 0s;
  border-left-color: var(--primary-accent);
  background-color: #f8fafc;
  transform: translateY(-4px);
}

.metric-num {
  font-family: "Inter Black", "Inter", "Segoe UI Black", "Arial Black", sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left bottom;
}

.metric-item:hover .metric-num {
  color: var(--primary-accent);
  transform: scale(1.05);
}

.metric-num span.unit {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-accent);
  margin-left: 6px;
}

.metric-label {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Common Section Layout
   ========================================================================== */
.section {
  padding: 96px 0;
  position: relative;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 46px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.lifecycle-title {
  font-size: 52px;
}

.title-gradient-blue {
  background: linear-gradient(90deg, #0f172a 0%, #0058b8 55%, #1d7dfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-intro {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ==========================================================================
   Engineering Delivery Lifecycle (3 Center-Flip Cards)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.process-card-slot {
  perspective: 1600px;
  height: 440px;
}

.process-flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  transform-style: preserve-3d;
  transform-origin: center center;
  transition: transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-card-slot:hover .process-flip-card {
  transform: rotateY(180deg);
}

.process-flip-face {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.process-flip-front {
  background: #0f172a;
  padding: 0;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.process-flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, #142254 0%, #0b3a7e 58%, #0058b8 100%);
  color: #ffffff;
  padding: 52px 38px 46px;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
}

.process-back-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  color: #ffffff;
}

.process-back-icon svg {
  width: 26px;
  height: 26px;
}

.process-back-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.35;
}

.process-back-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.85;
  margin-bottom: 12px;
}

.process-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Full-bleed Banner & Interactive Solution Tabs
   ========================================================================== */
.solutions-hero-banner {
  position: relative;
  background-image: linear-gradient(135deg, rgba(16, 31, 44, 0.84) 0%, rgba(20, 34, 84, 0.76) 100%), url('assets/solutions-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 200px 0 160px;
  margin-top: 50px;
  color: #ffffff;
}

.solutions-hero-banner .section-title {
  color: #ffffff;
  font-size: 52px;
}

.solutions-hero-banner .section-intro {
  color: rgba(255, 255, 255, 0.9);
  max-width: 820px;
  margin: 0 auto 34px;
}

.solutions-action {
  display: flex;
  justify-content: center;
}

.btn-capsule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background-color: #ffffff;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.35s cubic-bezier(0.3, 1, 0.3, 1);
}

.btn-capsule svg {
  width: 18px;
  height: 18px;
  stroke: #0f172a;
  transform: rotate(-45deg);
  transition: transform 0.35s cubic-bezier(0.3, 1, 0.3, 1), stroke 0.3s ease;
}

.btn-capsule:hover {
  transform: translateY(-3px) scale(1.02);
  background-color: var(--brand-gold);
  color: #ffffff;
}

.btn-capsule:hover svg {
  transform: rotate(0deg) translateX(4px);
  stroke: #ffffff;
}

.solutions-tabs-wrapper {
  background: var(--bg-subtle);
  padding: 122px 0 96px;
  border-bottom: 1px solid var(--border-color);
}

.tab-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-accent);
  background: var(--primary-light);
  border: 0.5px solid rgba(0, 88, 184, 0.1);
  outline: none;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary-accent);
  color: #ffffff;
  border-color: var(--primary-accent);
  box-shadow: 0 6px 18px rgba(0, 88, 184, 0.28);
}

.tab-pane {
  display: none;
  animation: paneFade 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-pane.active {
  display: block;
}

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

.solution-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  background: #ffffff;
  border: none;
  border-radius: 36px;
  padding: 58px 52px;
  min-height: 536px;
  box-shadow: var(--shadow-sm);
  align-items: center;
}

.solution-info h3 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 18px;
}

.solution-info p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 0;
}

.solution-visual-box {
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.solution-visual-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Enterprise Corporate Profile Section (NO ADDRESS, NO PHONE)
   ========================================================================== */
.section-profile {
  background-color: #101f2c;
  color: #ffffff;
  padding: 100px 0;
  overflow: hidden;
}

.profile-layout {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.profile-visual {
  width: 100%;
  height: 410px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}

.profile-building-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-content {
  padding-bottom: 0;
}

.profile-company-name {
  font-size: 52px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 22px;
}

.profile-intro-text p {
  font-size: 16px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 0;
  text-align: justify;
}

/* ==========================================================================
   Footer (STRICT COMPLIANCE: NO ADDRESS, NO PHONE / CONSULTATION TEL)
   ========================================================================== */
.site-footer {
  background: #0b1320;
  color: #94a3b8;
  padding: 56px 0 36px;
  border-top: 1px solid #1e293b;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 28px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 10px;
  padding: 4px;
}

.footer-brand h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.footer-brand p {
  font-size: 11px;
  color: #64748b;
  letter-spacing: 0.06em;
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 14px;
  color: #94a3b8;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
}

.footer-compliance {
  color: #64748b;
}

/* ==========================================================================
   Back to Top Floating Button (Icon Only)
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 990;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  outline: none;
  background: var(--primary-accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 88, 184, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  transition: transform 0.25s ease;
}

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

.back-to-top:hover {
  background: #004694;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 88, 184, 0.38);
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-title-standalone {
    font-size: 42px;
  }
  .section-title {
    font-size: 36px;
  }
  .lifecycle-title,
  .solutions-hero-banner .section-title,
  .profile-company-name {
    font-size: 40px;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .solution-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 32px;
  }
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .profile-visual {
    height: 340px;
  }
}

@media (max-width: 820px) {
  .container,
  .header-inner {
    padding: 0 20px;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 16px 20px 24px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
    border-bottom: 1px solid var(--border-color);
    display: none;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-link {
    width: 100%;
    justify-content: center;
  }
  .hero-title-standalone {
    font-size: 30px;
  }
  .hero-copy-stage {
    min-height: 118px;
    margin-bottom: 22px;
  }
  .hero-banner-wrap {
    height: 340px;
    border-radius: 24px;
  }
  .hero-carousel-controls {
    right: 20px;
    bottom: 16px;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .back-to-top {
    right: 20px;
    bottom: 24px;
    width: 44px;
    height: 44px;
  }
}
