﻿:root {
  --primary-blue: #0057b8;
  --primary-blue-dark: #004494;
  --accent-orange: #ff7a18;
  --accent-orange-dark: #e66000;
  --deep-navy: #0b1d3c;
  --slate-gray: #455a64;
  --soft-gray: #f0f4f8;
  --pure-white: #ffffff;
  --text-color: #1f2a37;
  --transition-base: all 0.3s ease;
  --max-width: 1200px;
  --shadow-soft: 0 12px 30px rgba(15, 35, 95, 0.1);
}

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

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', 'Noto Sans TC', 'Open Sans', sans-serif;
  background-color: var(--soft-gray);
  color: var(--text-color);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
}

img {
  border-radius: 12px;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

body.animations-enabled .animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--animate-delay, 0s);
  will-change: opacity, transform;
}

body.animations-enabled .animate-on-scroll.animate-from-left {
  transform: translate3d(-24px, 12px, 0);
}

body.animations-enabled .animate-on-scroll.animate-from-right {
  transform: translate3d(24px, 12px, 0);
}

body.animations-enabled .animate-on-scroll.animate-scale {
  transform: scale(0.96);
}

body.animations-enabled .animate-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}
a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}
[hidden] {
  display: none !important;
}


.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 1rem;
  text-transform: none;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--slate-gray);
  margin-bottom: 2.5rem;
  max-width: 700px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

[lang='zh-Hant'] .eyebrow {
  letter-spacing: 0.05em;
  text-transform: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  background: var(--primary-blue);
  color: var(--pure-white);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: 0 10px 25px rgba(0, 87, 184, 0.25);
}

.btn:hover,
.btn:focus {
  background: var(--primary-blue-dark);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  box-shadow: none;
}

.btn--outline:hover,
.btn--outline:focus {
  background: rgba(0, 87, 184, 0.08);
  color: var(--primary-blue-dark);
}

.hero .btn--outline {
  color: var(--pure-white);
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
}

.hero .btn--outline:hover,
.hero .btn--outline:focus {
  background: rgba(255, 255, 255, 0.14);
  color: var(--pure-white);
  border-color: rgba(255, 255, 255, 0.95);
}

header.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(11, 29, 60, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(11, 29, 60, 0.2);
}

.site-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 1.25rem;
  padding: 1rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--pure-white);
  font-weight: 700;
  letter-spacing: 1px;
}

.site-logo span {
  font-size: 1.1rem;
}

.site-logo img {
  height: 48px;
  width: auto;
}


nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex: 1 1 auto;
}

nav.primary-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  transition: var(--transition-base);
}

nav.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: var(--transition-base);
}

nav.primary-nav a:hover,
nav.primary-nav a:focus {
  color: var(--pure-white);
}

nav.primary-nav a:hover::after,
nav.primary-nav a:focus::after,
nav.primary-nav a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1.5rem;
}

.nav-cta {
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  background: var(--accent-orange);
  color: var(--pure-white);
  font-weight: 600;
  font-size: 0.96rem;
  box-shadow: 0 10px 20px rgba(255, 122, 24, 0.25);
}

.nav-cta:hover,
.nav-cta:focus {
  background: var(--accent-orange-dark);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--pure-white);
  margin-left: 0;
  padding: 0.28rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.language-switcher button {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: var(--pure-white);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition-base);
}

.language-switcher button.active,
.language-switcher button:hover,
.language-switcher button:focus {
  background: var(--pure-white);
  color: #0b1d3c;
  border-color: transparent;
}

.mobile-toggle,
.site-header__toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  width: 42px;
  cursor: pointer;
}

.mobile-toggle span,
.site-header__toggle span {
  height: 3px;
  width: 100%;
  background: var(--pure-white);
  border-radius: 4px;
  transition: var(--transition-base);
}

.hero {
  position: relative;
  padding: clamp(6rem, 8vw, 8rem) 0 clamp(4rem, 6vw, 6rem);
  background: radial-gradient(circle at top right, rgba(0, 87, 184, 0.2), transparent 55%),
    linear-gradient(135deg, rgba(11, 29, 60, 0.95), rgba(11, 29, 60, 0.75));
  color: var(--pure-white);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero-trade.svg') center/cover, linear-gradient(135deg, rgba(11,29,60,0.95), rgba(0,87,184,0.78));
  opacity: 0.18;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 600px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-stats {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.hero-stats .stat {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-stats h3 {
  font-size: 2rem;
  font-weight: 700;
}

.hero-stats span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  content-visibility: auto;
  contain-intrinsic-size: 720px 1200px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--pure-white);
  padding: 2.25rem;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 87, 184, 0.05);
  display: grid;
  gap: 1rem;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 87, 184, 0.08), transparent 60%);
  opacity: 0;
  transition: var(--transition-base);
}

.card:hover,
.card:focus-within {
  transform: translateY(-6px);
}

.card:hover::before,
.card:focus-within::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 87, 184, 0.08);
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--deep-navy);
}

.card p {
  color: var(--slate-gray);
  font-size: 0.98rem;
}

.card img {
  border-radius: 14px;
  width: 100%;
  height: auto;
}

.card a.btn {
  justify-self: start;
  margin-top: 0.5rem;
}

.logo-wall {
  background: var(--pure-white);
  padding: 2rem;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 2rem;
}

.logo-wall-track {
  display: flex;
  gap: 3rem;
  overflow: hidden;
  position: relative;
}

.logo-wall-track::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--pure-white), rgba(255, 255, 255, 0), var(--pure-white));
  pointer-events: none;
}

.logo-wall-track ul {
  display: flex;
  gap: 3rem;
  animation: scroll 25s linear infinite;
}

.logo-wall-track li {
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--slate-gray);
  opacity: 0.75;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.timeline {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.timeline-year {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-blue);
  position: relative;
  padding-right: 1rem;
}

.timeline-year::after {
  content: '';
  position: absolute;
  top: 0.6rem;
  right: 0.2rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 0 6px rgba(255, 122, 24, 0.2);
}

.timeline-content {
  background: var(--pure-white);
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 87, 184, 0.08);
}

.milestone-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: rgba(0, 87, 184, 0.08);
  color: var(--primary-blue);
  font-weight: 500;
  font-size: 0.9rem;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(0, 87, 184, 0.1), rgba(255, 122, 24, 0.08));
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.highlight-box h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--deep-navy);
}

.list-check {
  display: grid;
  gap: 0.9rem;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--slate-gray);
}

.list-check li::before {
  content: '\2713';
  color: var(--accent-orange);
  font-weight: 700;
  margin-top: 0.2rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.step {
  background: var(--pure-white);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: left;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid transparent;
  transition: var(--transition-base);
}

.step span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 87, 184, 0.12);
  color: var(--primary-blue);
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 1rem;
}

.step:hover {
  border-top-color: var(--accent-orange);
  transform: translateY(-4px);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.industry-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.filter-chip {
  border: 1px solid var(--primary-blue);
  background: rgba(0, 87, 184, 0.08);
  color: var(--primary-blue);
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition-base);
}

.filter-chip:hover,
.filter-chip:focus-visible {
  background: rgba(0, 87, 184, 0.18);
  color: var(--primary-blue-dark);
  box-shadow: 0 12px 26px rgba(0, 87, 184, 0.22);
  outline: none;
}

.filter-chip.is-active {
  background: var(--primary-blue);
  color: var(--pure-white);
  border-color: transparent;
  box-shadow: 0 18px 34px rgba(0, 87, 184, 0.28);
}

.industry-empty {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: rgba(0, 87, 184, 0.08);
  color: var(--primary-blue-dark);
  font-weight: 600;
  margin-bottom: 1.5rem;
}


.industry-card {
  background: var(--pure-white);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.industry-card img {
  height: 180px;
  object-fit: cover;
  border-radius: 0;
}

.industry-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.industry-card-content h3 {
  font-size: 1.25rem;
  color: var(--deep-navy);
}

.industry-card-content p {
  color: var(--slate-gray);
  font-size: 0.95rem;
}

.faq {
  margin-top: 3rem;
}

.faq-item {
  background: var(--pure-white);
  cursor: pointer;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: var(--transition-base);
}

.faq-item.open {
  border-left: 4px solid var(--accent-orange);
}

.faq-item h4 {
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item p {
  margin-top: 0.75rem;
  color: var(--slate-gray);
  display: none;
}

.faq-item.open p {
  display: block;
}

.case-carousel {
  display: grid;
  gap: 1.5rem;
}

.case-card {
  background: var(--pure-white);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
}

.case-card img {
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.case-card-content {
  padding: 2rem;
  display: grid;
  gap: 1.25rem;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--slate-gray);
}

.case-structure {
  display: grid;
  gap: 0.75rem;
}

.case-structure strong {
  color: var(--deep-navy);
}

.testimonial {
  background: linear-gradient(135deg, rgba(0, 87, 184, 0.1), rgba(255, 122, 24, 0.1));
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-soft);
  margin-top: 3rem;
}

.testimonial blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--deep-navy);
  margin-bottom: 1.5rem;
}

.testimonial cite {
  font-weight: 600;
  color: var(--primary-blue);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.contact-form {
  background: var(--pure-white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.5rem;
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-field label {
  font-weight: 600;
  color: var(--deep-navy);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(11, 29, 60, 0.15);
  font-size: 1rem;
  transition: var(--transition-base);
  background: #fdfefe;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(0, 87, 184, 0.15);
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

@media (max-width: 768px) {
  .form-field input,
  .form-field textarea {
    font-size: 16px;
  }
}

.contact-details {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  background: var(--pure-white);
  padding: 1.75rem;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.8rem;
}

.contact-card h3 {
  font-size: 1.2rem;
  color: var(--deep-navy);
}

.contact-card p,
.contact-card a {
  color: var(--slate-gray);
  font-size: 0.95rem;
}

.map-embed iframe {
  border: 0;
  border-radius: 18px;
  width: 100%;
  height: 260px;
}

.footer {
  background: var(--deep-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links ul {
  display: grid;
  gap: 0.75rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  line-height: 1.4;
  padding: 0.35rem 0;
}

.footer-links a:hover {
  color: var(--pure-white);
}




.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: var(--pure-white);
}



.success-message {
  display: none;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0, 87, 184, 0.08);
  color: var(--primary-blue);
  border: 1px solid rgba(0, 87, 184, 0.2);
  font-weight: 500;
}

.success-message.show {
  display: block;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.testimonial-slider {
  position: relative;
}

.testimonial-nav {
  display: flex;
  gap: 0.75rem;
  position: absolute;
  top: -2.5rem;
  right: 0;
}

.testimonial-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 29, 60, 0.08);
  color: var(--deep-navy);
  cursor: pointer;
  transition: var(--transition-base);
}

.testimonial-nav button:hover {
  background: var(--primary-blue);
  color: var(--pure-white);
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
}

.contact-cta {
  text-align: left;
  margin-top: 3rem;
}

.contact-cta .btn {
  padding-inline: 2.5rem;
  margin-top: 1.25rem;
}

.contact-cta picture {
  display: block;
  max-width: 520px;
  margin-left: auto;
}

.contact-cta img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.legal .container {
  display: grid;
  gap: 1.5rem;
}

.legal-card {
  background: var(--pure-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.legal-card h2 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--deep-navy);
}

.legal-card p {
  color: var(--slate-gray);
}

.legal-updated {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--slate-gray);
}

.legal-card a {
  color: var(--primary-blue);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 1.5rem;
  }
  .legal .container {
    gap: 1rem;
  }
  .contact-cta {
    text-align: center;
  }
  .contact-cta picture {
    margin: 0 auto;
    max-width: 420px;
  }
}
@media (max-width: 1024px) {
  nav.primary-nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: rgba(11, 29, 60, 0.98);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: var(--transition-base);
    overflow-y: auto;
  }

  nav.primary-nav.open {
    transform: translateX(0);
  }

  nav.primary-nav a {
    font-size: 1.1rem;
  }

  .nav-actions {
    order: 3;
    width: 100%;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .language-switcher {
    order: initial;
    margin-left: 0;
  }

  .mobile-toggle,
  .site-header__toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  header.site-header {
    background: rgba(11, 29, 60, 0.78);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 30px rgba(11, 29, 60, 0.35);
  }
  .hero {
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-stats {
    justify-items: center;
  }

  .site-header .nav-container {
    gap: 1rem;
  }

  .logo-wall-track ul {
    animation-duration: 35s;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@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;
  }
}




.form-assurance {
  font-size: 0.95rem;
  color: var(--slate-gray);
  margin-bottom: 0.75rem;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--slate-gray);
}

.checkbox-field input {
  width: 1rem;
  height: 1rem;
}

.cta-commit {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--slate-gray);
}
.case-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--slate-gray);
}

  50% {
    transform: translate3d(-8px, -14px, 0) scale(1.02);
  }
  100% {
    transform: translate3d(6px, 10px, 0) scale(1);
  }
}

  50% {
    box-shadow: 0 0 0 14px rgba(255, 122, 24, 0);
  }
}
body::before {
  content: '';
  position: fixed;
  inset: -25vh -25vw;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 87, 184, 0.22), transparent 60%),
    radial-gradient(circle at 82% 12%, rgba(255, 122, 24, 0.18), transparent 55%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 40%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 72px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.85;
  will-change: transform, filter;
  animation: globalAurora 48s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(0, 16, 45, 0.65), transparent 65%);
  pointer-events: none;
  z-index: -3;
}

@keyframes globalAurora {
  0% {
    transform: translate3d(0, 0, 0) scale(1.02);
    filter: hue-rotate(0deg);
  }
  50% {
    transform: translate3d(2%, -1%, 0) scale(1.05);
    filter: hue-rotate(-8deg);
  }
  100% {
    transform: translate3d(-2%, 1%, 0) scale(1.03);
    filter: hue-rotate(6deg);
  }
}

@keyframes heroSweep {
  0% {
    transform: translate3d(-2%, -2%, 0) scale(1.01);
    opacity: 0.35;
  }
  50% {
    transform: translate3d(2%, 3%, 0) scale(1.03);
    opacity: 0.5;
  }
  100% {
    transform: translate3d(-1%, 2%, 0) scale(1.01);
    opacity: 0.38;
  }
}

.section {
  position: relative;
  isolation: isolate;
}

.section::before {
  content: '';
  position: absolute;
  inset: 10% 5% auto 5%;
  height: 160px;
  background: radial-gradient(circle at top, rgba(0, 87, 184, 0.12), transparent 65%);
  filter: blur(40px);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

.section::after {
  content: '';
  position: absolute;
  inset: 20% 5% 5% 5%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  perspective: 1400px;
  --hero-highlight-opacity: 0;
  --hero-highlight-x: 50%;
  --hero-highlight-y: 50%;
  --hero-overlay-image: url('../img/components-overview.jpg') center/cover;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -35%;
  background: radial-gradient(circle at var(--hero-highlight-x) var(--hero-highlight-y), rgba(0, 87, 184, 0.26), transparent 55%);
  opacity: var(--hero-highlight-opacity);
  transition: opacity 0.6s ease;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 6%;
  border-radius: 36px;
  background:
    linear-gradient(120deg, rgba(0, 87, 184, 0.16), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    var(--hero-overlay-image, url('../img/hero-trade.svg') center/cover);
  opacity: 0.45;
  animation: heroSweep 28s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  background: rgba(11, 29, 60, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  backdrop-filter: blur(14px);
  box-shadow: 0 34px 65px rgba(11, 29, 60, 0.45);
  padding: clamp(2.75rem, 4vw, 3.25rem);
}

.hero .container::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.14), transparent 62%);
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  z-index: -1;
}

body.animations-enabled .hero .container::before {
  opacity: 1;
}

.hero-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  will-change: transform;
  isolation: isolate;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 87, 184, 0.2), transparent 62%);
  opacity: 0.65;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.hero-media img,
.hero-media picture,
.hero-media video,
.hero-media canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  transform: translate3d(var(--hero-parallax-x, 0px), var(--hero-parallax-y, 0px), 0) scale(1.02);
  transition: transform 0.6s ease;
  will-change: transform;
  box-shadow: 0 32px 60px rgba(11, 29, 60, 0.35);
  position: relative;
  z-index: 0;
}

body.animations-enabled .hero-media:hover::after,
body.animations-enabled .hero-media:focus-within::after {
  opacity: 0.85;
}

.hero-content {
  position: relative;
}

.hero-content::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1.25rem;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 122, 24, 0.8));
  border-radius: 999px;
  opacity: 0.8;
}

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

.hero-stats .stat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.animations-enabled .hero-stats .stat.animate-on-scroll.is-visible::after {
  opacity: 1;
}

body.animations-enabled .hero-stats .stat.animate-on-scroll.is-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 20, 60, 0.18);
}

.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(0, 87, 184, 0.4), rgba(255, 122, 24, 0.35));
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: scale(0.96);
  z-index: -1;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.25), transparent 55%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: -1;
}

body.animations-enabled .card.animate-on-scroll.is-visible,
.card:hover,
.card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 30px 55px rgba(11, 29, 60, 0.22);
}

body.animations-enabled .card.animate-on-scroll.is-visible::before,
.card:hover::before,
.card:focus-within::before {
  opacity: 0.85;
  transform: scale(1);
}

body.animations-enabled .card.animate-on-scroll.is-visible::after,
.card:hover::after,
.card:focus-within::after {
  opacity: 0.45;
}

.logo-wall-track {
  position: relative;
  overflow: hidden;
}

.logo-wall-track::before,
.logo-wall-track::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(30px, 6vw, 80px);
  pointer-events: none;
  z-index: 2;
}

.logo-wall-track::before {
  left: 0;
  background: linear-gradient(90deg, rgba(11, 29, 60, 1), rgba(11, 29, 60, 0));
}

.logo-wall-track::after {
  right: 0;
  background: linear-gradient(270deg, rgba(11, 29, 60, 1), rgba(11, 29, 60, 0));
}

.badge-list .badge {
  position: relative;
  overflow: hidden;
}

.badge-list .badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.badge-list .badge:hover::after,
.badge-list .badge:focus-visible::after {
  opacity: 1;
}

body.animations-enabled .faq-item.animate-on-scroll.is-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 45px rgba(15, 32, 70, 0.16);
}

.legal-card {
  position: relative;
  overflow: hidden;
}

.legal-card::before {
  content: '';
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 140px;
  background: linear-gradient(120deg, rgba(0, 87, 184, 0.12), transparent 70%);
  pointer-events: none;
}

body.animations-enabled .hero-cta .btn.animate-on-scroll.is-visible {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(0, 87, 184, 0.35);
}

@media (max-width: 768px) {
  .section::before,
  .section::after {
    opacity: 0.35;
  }
  .hero .container {
    background: rgba(11, 29, 60, 0.48);
    padding: clamp(2rem, 6vw, 2.5rem);
    backdrop-filter: none;
  }
  .industry-filter {
    justify-content: center;
  }
  .filter-chip {
    flex: 1 1 calc(50% - 0.5rem);
    text-align: center;
  }
}

body.animations-enabled .hero .container {
  transform: rotateX(var(--hero-tilt-x, 0deg)) rotateY(var(--hero-tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  will-change: transform;
}








@media (max-width: 560px) {
  .filter-chip {
    flex-basis: 100%;
  }
}

/* === Standalone status/utility helpers === */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-4 {
  gap: 1rem;
}

.min-h-screen {
  min-height: 100vh;
}

.w-full {
  width: 100%;
}

.w-8 {
  width: 2rem;
}

.h-8 {
  height: 2rem;
}

.w-16 {
  width: 4rem;
}

.h-16 {
  height: 4rem;
}

.w-20 {
  width: 5rem;
}

.h-20 {
  height: 5rem;
}

.max-w-lg {
  max-width: 32rem;
}

.px-4 {
  padding-inline: 1rem;
}

.px-6 {
  padding-inline: 1.5rem;
}

.py-3 {
  padding-block: 0.75rem;
}

.p-8 {
  padding: 2rem;
}

.p-10 {
  padding: 2.5rem;
}

.rounded-lg {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 999px;
}

.shadow-xl {
  box-shadow: 0 24px 50px rgba(11, 29, 60, 0.18);
}

.border {
  border: 1px solid #e2e8f0;
}

.border-slate-100 {
  border-color: #e2e8f0;
}

.bg-white {
  background: #ffffff;
}

.bg-slate-50 {
  background: #f8fafc;
}

.bg-emerald-100 {
  background: #d1fae5;
}

.bg-orange-50 {
  background: #fff7ed;
}

.bg-slate-900 {
  background: #0f172a;
  color: #ffffff;
}

.text-white {
  color: #ffffff;
}

.text-slate-900 {
  color: #0f172a;
}

.text-slate-600 {
  color: #475569;
}

.text-emerald-600 {
  color: #059669;
}

.text-center {
  text-align: center;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 1.3;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 1.25;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 1.1;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.leading-relaxed {
  line-height: 1.7;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.inline-block {
  display: inline-block;
}

.transition-colors {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.hover\:bg-slate-800:hover {
  background: #1e293b;
}

@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
}


/* === Mobile navigation polish === */
@media (max-width: 1024px) {
  nav.primary-nav {
    inset: 0;
    padding: 6rem 2rem;
    background: linear-gradient(145deg, rgba(11, 29, 60, 0.9), rgba(0, 87, 184, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    box-shadow: 0 28px 60px rgba(0, 14, 48, 0.45);
    backdrop-filter: blur(18px) saturate(150%);
    isolation: isolate;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 1000;
  }

  nav.primary-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 40%),
      radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.08), transparent 50%);
    pointer-events: none;
    opacity: 0.9;
  }

  nav.primary-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  nav.primary-nav.open a {
    opacity: 1;
    transform: translateY(0);
  }

  nav.primary-nav.open a:nth-child(1) { transition-delay: 0.1s; }
  nav.primary-nav.open a:nth-child(2) { transition-delay: 0.2s; }
  nav.primary-nav.open a:nth-child(3) { transition-delay: 0.3s; }
  nav.primary-nav.open a:nth-child(4) { transition-delay: 0.4s; }
  nav.primary-nav.open a:nth-child(5) { transition-delay: 0.5s; }
  nav.primary-nav.open a:nth-child(6) { transition-delay: 0.6s; }
}

/* === Hero section mobile tweaks === */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 3rem;
    text-align: center;
  }

  .hero .container {
    padding: 1.5rem;
    background: transparent;
    box-shadow: none;
    border: none;
    gap: 1.5rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-media {
    margin: 0 -1.5rem;
    border-radius: 0;
    box-shadow: none;
  }
}

/* === Horizontal scroll cards (mobile) === */
@media (max-width: 768px) {
  .card-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 2rem;
    margin: 0 -1.25rem;
    padding-inline: 1.25rem;
    scrollbar-width: none;
  }

  .card-grid::-webkit-scrollbar {
    display: none;
  }

  .card {
    min-width: 280px;
    scroll-snap-align: center;
    margin-bottom: 0;
    padding: 1.5rem;
  }
}

/* === Stats and logo wall mobile tweaks === */
@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .hero-stats .stat {
    padding: 1rem;
  }

  .hero-stats h3 {
    font-size: 1.5rem;
  }

  .logo-wall-track ul {
    animation-duration: 20s;
  }

  .logo-wall {
    padding: 1.5rem;
  }
}

/* === FINAL MOBILE POLISH === */ 

/* 1. Glassmorphism Mobile Nav (App-like feel) */
@media (max-width: 1024px) {
  nav.primary-nav {
    inset: 0; 
    width: 100%;
    height: 100vh;
    padding: 6rem 2rem;
    background: rgba(11, 29, 60, 0.95);
    backdrop-filter: blur(15px);
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  nav.primary-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  nav.primary-nav.open a {
    opacity: 1;
    transform: translateY(0);
  }
  /* Stagger animation for menu items */
  nav.primary-nav.open a:nth-child(1) { transition-delay: 0.1s; }
  nav.primary-nav.open a:nth-child(2) { transition-delay: 0.15s; }
  nav.primary-nav.open a:nth-child(3) { transition-delay: 0.2s; }
  nav.primary-nav.open a:nth-child(4) { transition-delay: 0.25s; }
  nav.primary-nav.open a:nth-child(5) { transition-delay: 0.3s; }
  nav.primary-nav.open a:nth-child(6) { transition-delay: 0.35s; }
}

/* 2. Horizontal Snap Scroll for Cards (Netflix-style) */
@media (max-width: 768px) {
  .card-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 2rem;
    margin: 0 -1.25rem;
    padding-inline: 1.25rem;
    scrollbar-width: none; /* Hide scrollbar Firefox */
  }
  .card-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
  }
  .card {
    min-width: 280px;
    scroll-snap-align: center;
    margin-bottom: 0;
  }
  
  /* Hero Section Spacing Fix */
  .hero { padding: 6rem 0 3rem; text-align: center; }
  .hero .container { padding: 1.5rem; background: transparent; box-shadow: none; border: none; }
  .hero-content h1 { font-size: 2rem; line-height: 1.2; }
  .hero-cta { justify-content: center; flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* === Mobile snap scrolling === */
@media (max-width: 768px) {
  html {
    scroll-snap-type: y proximity;
    scroll-padding-top: 88px;
  }

  body.menu-open {
    scroll-snap-type: none;
  }

  header.site-header,
  .hero,
  .section,
  .footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none !important;
  }
}

