/* ==========================================================================
   Lingee English Landing Page Styles
   IE10+ compatible — no CSS Grid, no CSS custom properties
   ========================================================================== */

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #2F2F2F;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

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

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

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

/* Fonts */
.font-heading {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

.font-body {
  font-family: 'Open Sans', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

.font-cta {
  font-family: 'Raleway', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

/* Colors */
.text-heading { color: #031543; }
.text-body { color: #2F2F2F; }
.text-secondary { color: #343434; }
.text-white { color: #FFFFFF; }
.text-brand-100 { color: #DBEAFE; }
.text-brand-300 { color: #93C5FD; }
.text-brand-600 { color: #2563EB; }
.text-brand-700 { color: #2563EB; }
.bg-white { background-color: #FFFFFF; }
.bg-gray-50 { background-color: #F9FAFB; }
.bg-brand-50 { background-color: #EFF6FF; }

/* Module background gradients — matched to kingdee.com/products/lingee.html */
.bg-finance-hub {
  background: #F0F5FF;
  background: -webkit-linear-gradient(top, #F0F5FF 0%, #F8FAFF 100%);
  background: -ms-linear-gradient(top, #F0F5FF 0%, #F8FAFF 100%);
  background: linear-gradient(180deg, #F0F5FF 0%, #F8FAFF 100%);
}

.bg-trust {
  background: #F8FAFF;
  background: -webkit-linear-gradient(top, #F8FAFF 0%, #F0F5FF 100%);
  background: -ms-linear-gradient(top, #F8FAFF 0%, #F0F5FF 100%);
  background: linear-gradient(180deg, #F8FAFF 0%, #F0F5FF 100%);
}

.bg-faq-section {
  background: #F0F5FF;
  background: -webkit-linear-gradient(top, #F0F5FF 0%, #F8FAFF 100%);
  background: -ms-linear-gradient(top, #F0F5FF 0%, #F8FAFF 100%);
  background: linear-gradient(180deg, #F0F5FF 0%, #F8FAFF 100%);
}

/* Typography scale */
.text-12 { font-size: 12px; line-height: 1; }
.text-13 { font-size: 13px; line-height: 1.6; }
.text-15 { font-size: 15px; line-height: 1.6; }
.text-16 { font-size: 16px; line-height: 1.6; }
.text-18 { font-size: 18px; line-height: 1.6; }
.text-20 { font-size: 20px; line-height: 1.3; }
.text-21 { font-size: 21px; line-height: 1.2; }
.text-24 { font-size: 24px; line-height: 1.2; }

.section-title {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: #031543;
}

.hero-title {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  color: #031543;
  margin-bottom: 1rem;
}

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

@media (min-width: 768px) {
  .section-title { font-size: 42px; }
  .hero-title { font-size: 57px; }
}

/* Layout */
.container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.container-hero {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 640px) {
  .container,
  .container-hero {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .container,
  .container-hero {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-610 { max-width: 610px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Spacing */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }

.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 3rem; padding-bottom: 5rem; }

@media (min-width: 1024px) {
  .py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg-py-24 { padding-top: 6rem; padding-bottom: 6rem; }
}

/* Flex utilities */
.flex {
  display: -ms-flexbox;
  display: flex;
}

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

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

.justify-center {
  -ms-flex-pack: center;
  justify-content: center;
}

.justify-between {
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.flex-shrink-0 {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

/* Buttons */
.btn-primary {
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
  align-items: center;
  padding: 14px 32px;
  background: #4F46E5;
  background: -webkit-linear-gradient(left, #4F46E5 0%, #2563EB 100%);
  background: -ms-linear-gradient(left, #4F46E5 0%, #2563EB 100%);
  background: linear-gradient(90deg, #4F46E5 0%, #2563EB 100%);
  color: #FFFFFF !important;
  font-family: 'Raleway', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
  -webkit-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.btn-primary:visited{
    color: #FFFFFF !important;
}
.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-white {
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
  align-items: center;
  padding: 14px 32px;
  background: #FFFFFF;
  color: #2563EB;
  font-family: 'Raleway', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border-radius: 6px;
  -webkit-transition: background-color 0.2s ease;
  -ms-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.btn-white:hover {
  background-color: #EFF6FF;
}

.arrow-icon {
  margin-left: 0.5rem;
  width: 16px;
  height: 16px;
  -webkit-transition: transform 0.2s ease;
  -ms-transition: transform 0.2s ease;
  transition: transform 0.2s ease;
}

.btn-primary:hover .arrow-icon,
.btn-white:hover .arrow-icon {
  -webkit-transform: translateX(4px);
  -ms-transform: translateX(4px);
  transform: translateX(4px);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 530px;
  width: 100%;
  overflow: hidden;
  background-color: #F9FAFB;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-linear-gradient(left, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.75) 50%, transparent 100%);
  background: -ms-linear-gradient(left, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.75) 50%, transparent 100%);
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.75) 50%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

.hero-text {
  text-shadow: 0 2px 12px rgba(255,255,255,0.8), 0 1px 2px rgba(255,255,255,0.9);
}

.hero-tag {
  font-size: 13px;
  font-weight: 600;
  color: #2563EB;
  letter-spacing: 0.1em;
  /* //text-transform: uppercase; */
  margin-bottom: 0.75rem;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #2F2F2F;
  max-width: 610px;
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  .hero {
    /* height: 440px; */
    height: auto;
    padding-bottom: 40px;
  }
  .hero-bg {
    background-image: url('../images/hero-mobile.jpg');
    background-size: contain;
    background-position: right top;
  }
  .hero-content {
    padding-top: 2rem;
    -ms-flex-align: start;
    align-items: flex-start;
  }
  .hero-title {
    margin-top: 1rem;
  }
}

/* ==========================================================================
   Section title areas
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  font-size: 18px;
  line-height: 1.6;
  color: #2F2F2F;
}

/* ==========================================================================
   Module 1: Three Scenarios
   ========================================================================== */
.m1-grid {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.m1-card {
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  padding: 12px;
}

.m1-card-inner {
  width: 100%;
  border-radius: 12px;
  padding: 32px;
  /* //box-shadow: 0 12px 32px rgba(3, 21, 67, 0.12); */
  -webkit-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.m1-card-inner:hover {
  -webkit-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  transform: translateY(-4px);
  /* //box-shadow: 0 20px 44px rgba(3, 21, 67, 0.18); */
}

.m1-card:nth-child(1) .m1-card-inner {
  background: #eef4ff;
  background: -webkit-linear-gradient(top, #eef4ff 0%, #d1deff 100%);
  background: -ms-linear-gradient(top, #eef4ff 0%, #d1deff 100%);
  background: linear-gradient(180deg, #eef4ff 0%, #d1deff 100%);
}

.m1-card:nth-child(2) .m1-card-inner {
  background: #f5f2ff;
  background: -webkit-linear-gradient(top, #f5f2ff 0%, #e5dffe 100%);
  background: -ms-linear-gradient(top, #f5f2ff 0%, #e5dffe 100%);
  background: linear-gradient(180deg, #f5f2ff 0%, #e5dffe 100%);
}

.m1-card:nth-child(3) .m1-card-inner {
  background: #fff2f0;
  background: -webkit-linear-gradient(top, #fff2f0 0%, #fbddd9 100%);
  background: -ms-linear-gradient(top, #fff2f0 0%, #fbddd9 100%);
  background: linear-gradient(180deg, #fff2f0 0%, #fbddd9 100%);
}

.icon-box {
  width: 64px;
  height: 64px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.m1-card h3 {
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
  color: #031543;
  margin-bottom: 12px;
}

.m1-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #2F2F2F;
}

@media (min-width: 768px) {
  .m1-card {
    width: 33.333%;
  }
}

/* ==========================================================================
   Module 2: Features
   ========================================================================== */
.feature-row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 6rem;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-col {
  padding: 0 24px;
}

.feature-col.text-col {
  width: 45%;
}

.feature-col.img-col {
  width: 55%;
}

.feature-col:first-child {
  padding-left: 0;
}

.feature-col:last-child {
  padding-right: 0;
}

.feature-image-first .feature-col:first-child {
  -ms-flex-order: 1;
  order: 1;
}

.feature-image-first .feature-col:last-child {
  -ms-flex-order: 2;
  order: 2;
}

.feature-col h3 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #031543;
  margin-bottom: 16px;
}

.feature-col p {
  font-size: 16px;
  line-height: 1.6;
  color: #2F2F2F;
  margin-bottom: 16px;
}

.feature-col p:last-child {
  margin-bottom: 0;
}

.feature-img-wrap {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(3, 21, 67, 0.14);
}

.feature-img-wrap img {
  width: 100%;
  height: auto;
}

 @media (max-width: 1023px) {
  .feature-row {
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .feature-col.text-col,
  .feature-col.img-col {
    width: 100%;
    padding: 0;
  }
  .feature-col.text-col {
    -ms-flex-order: 2;
    order: 2;
    margin-top: 1.5rem;
  }
  .feature-col.img-col {
    -ms-flex-order: 1;
    order: 1;
  }
  .feature-image-first .feature-col:first-child,
  .feature-image-first .feature-col:last-child {
    -ms-flex-order: 0;
    order: 0;
  }
}

/* ==========================================================================
   Module 3: Finance Cards
   ========================================================================== */
.m3-grid {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.m3-card {
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  padding: 12px;
}

.m3-card-inner {
  width: 100%;
  background: #FFFFFF;
  background: -webkit-linear-gradient(top, #FFFFFF 0%, rgba(255, 255, 255, 0.5) 100%);
  background: -ms-linear-gradient(top, #FFFFFF 0%, rgba(255, 255, 255, 0.5) 100%);
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.5) 100%);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 12px 36px rgba(3, 21, 67, 0.16);
  -webkit-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.m3-card-inner:hover {
  -webkit-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(3, 21, 67, 0.22);
}

.m3-icon {
  width: 64px;
  height: 64px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 20px;
}

.m3-icon svg {
  width: 48px;
  height: 48px;
}

.m3-card h3 {
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
  color: #031543;
  margin-bottom: 8px;
}

.m3-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #2F2F2F;
}

@media (min-width: 640px) {
  .m3-card {
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .m3-card {
    width: 25%;
  }
}

/* ==========================================================================
   Module 4: Badges
   ========================================================================== */
.badge-grid {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1.5rem;
}

.badge-img {
  width: 72px;
  height: auto;
  display: inline-block;
}

.badge-break {
  display: none;
  width: 100%;
}

@media (min-width: 1024px) {
  .badge-grid {
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .badge-grid {
    gap: 1rem;
  }
  .badge-break {
    display: block;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item {
  border-bottom: 1px solid #E5E7EB;
  padding-top: 20px;
  padding-bottom: 20px;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-toggle {
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  text-align: left;
}

.faq-icon {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: #2563EB;
  margin-top: 4px;
  margin-right: 24px;
}

.faq-icon-h,
.faq-icon-v {
  position: absolute;
  background-color: currentColor;
}

.faq-icon-h {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
}

.faq-icon-v {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  -webkit-transition: transform 0.3s ease;
  -ms-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon-v {
  -webkit-transform: scaleY(0);
  -ms-transform: scaleY(0);
  transform: scaleY(0);
}

.faq-question {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: #031543;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding-left: 44px;
  opacity: 0;
  -webkit-transition: max-height 0.3s ease, opacity 0.3s ease;
  -ms-transition: max-height 0.3s ease, opacity 0.3s ease;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-item.open .faq-content {
  opacity: 1;
}

.faq-answer {
  font-size: 18px;
  line-height: 1.6;
  color: #2F2F2F;
  padding-top: 24px;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  background: #3B82F6;
  background: -webkit-linear-gradient(left, #3B82F6 0%, #2563EB 100%);
  background: -ms-linear-gradient(left, #3B82F6 0%, #2563EB 100%);
  background: linear-gradient(90deg, #3B82F6 0%, #2563EB 100%);
}

.cta .section-title {
  color: #FFFFFF;
}

.cta-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #DBEAFE;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Inline SVG helper
   ========================================================================== */
.svg-icon {
  display: inline-block;
  vertical-align: middle;
}
