/* ===================================
   SYSTEM5 AI - GLOBAL STYLES
   Premium Due Diligence Platform
   =================================== */

/* ===================================
   RESET & BASE STYLES
   =================================== */

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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===================================
   MULTILANGUAGE SUPPORT
   =================================== */

/* Language Switcher */
.language-switcher {
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.language-options {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.language-option:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.language-option.active {
  background: linear-gradient(to right, #f59e0b, #f97316);
  color: #1e293b;
}

.language-option i {
  font-size: 0.875rem;
}

/* Chinese Typography */
.zh-cn {
  font-family: "Noto Sans SC", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

.zh-cn .hero-title {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.zh-cn .section-title {
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.zh-cn .benefit-title,
.zh-cn .user-title,
.zh-cn .feature-title {
  line-height: 1.4;
}

.zh-cn .testimonial-text {
  line-height: 1.7;
  font-size: 0.95rem;
}

.zh-cn .hero-subtitle,
.zh-cn .section-subtitle {
  line-height: 1.7;
}

/* ===================================
   HEADER STYLES
   =================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-container {
  position: relative;
}

.logo {
  height: 3rem;
  width: auto;
  border-radius: 0.5rem;
}

.logo-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 0.75rem;
  height: 0.75rem;
  background: linear-gradient(to right, #f59e0b, #f97316);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.brand-info {
  display: none;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(to right, #1e293b, #475569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #1e293b; /* Fallback */
}

.brand-tagline {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  color: #475569;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: #1e293b;
}

.nav-underline {
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 0.125rem;
  background: linear-gradient(to right, #f59e0b, #f97316);
  transition: width 0.3s ease;
}

.nav-link:hover .nav-underline {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-portal {
  display: none;
  color: #475569;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.client-portal:hover {
  color: #1e293b;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(to right, #1e293b, #334155);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(to right, #334155, #475569);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: #475569;
  font-size: 1.25rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: #1e293b;
}

/* Mobile Navigation */
.nav-desktop.mobile-active {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  flex-direction: column;
  padding: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  z-index: 1000;
  gap: 1rem;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  position: relative;
  padding: 4rem 0 6rem;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.7), rgba(30, 41, 59, 0.6));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  z-index: 5;
}

.pattern-element {
  position: absolute;
  border: 1px solid #f59e0b;
  animation: float 6s ease-in-out infinite;
}

.pattern-1 {
  top: 5rem;
  left: 2.5rem;
  width: 8rem;
  height: 8rem;
  transform: rotate(45deg);
  animation-delay: 0s;
}

.pattern-2 {
  top: 10rem;
  right: 5rem;
  width: 6rem;
  height: 6rem;
  transform: rotate(12deg);
  animation-delay: 2s;
}

.pattern-3 {
  bottom: 8rem;
  left: 25%;
  width: 4rem;
  height: 4rem;
  transform: rotate(45deg);
  animation-delay: 4s;
}


.hero-content {
  position: relative;
  z-index: 20;
  text-align: center;
  max-width: 80rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-badge i {
  color: #f59e0b;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: white;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.4s both;
}

.title-line {
  display: block;
}

.title-gradient {
  background: linear-gradient(to right, #f59e0b, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #f59e0b; /* Fallback */
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 300;
  color: #e2e8f0;
  max-width: 64rem;
  margin: 0 auto 3rem;
  line-height: 1.6;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  animation: fadeInUp 1s ease 0.8s both;
}

.btn-hero-primary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(to right, #f59e0b, #f97316);
  color: #1e293b;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.5s ease;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 20rem;
}

.btn-hero-primary:hover {
  background: linear-gradient(to right, #f97316, #ea580c);
  box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.25);
  transform: translateY(-2px);
}

.btn-hero-primary i {
  transition: transform 0.3s ease;
}

.btn-hero-primary:hover i {
  transform: rotate(12deg);
}

.btn-hero-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 100%;
  max-width: 20rem;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   BENEFITS SECTION
   =================================== */

.benefits {
  padding: 4rem 0 5rem;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.benefits-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.benefit-card {
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.benefit-card.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.benefit-card:hover {
  transform: translateY(-4px);
}

.benefit-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.benefit-icon-blue {
  background: linear-gradient(to bottom right, #dbeafe, #bfdbfe);
  color: #1d4ed8;
}

.benefit-icon-emerald {
  background: linear-gradient(to bottom right, #d1fae5, #a7f3d0);
  color: #047857;
}

.benefit-icon-amber {
  background: linear-gradient(to bottom right, #fef3c7, #fde68a);
  color: #b45309;
}

.benefit-icon-blue-alt {
  background: linear-gradient(to bottom right, #dbeafe, #bfdbfe);
  color: #1e40af;
}

.benefit-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.benefit-description {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}

/* ===================================
   USERS SECTION
   =================================== */

.users-section {
  position: relative;
  padding: 4rem 0 8rem;
  background: linear-gradient(to bottom right, #1e293b, #334155, #1e293b);
  overflow: hidden;
}

.users-background {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 25% 25%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 9999px;
  color: #f59e0b;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.5;
}

.users-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.user-card {
  background: linear-gradient(to bottom right, #ffffff, #f8fafc);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(30px);
}

.user-card.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.user-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(1.02);
}

.user-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.user-card:hover .user-icon {
  transform: scale(1.05);
}

.user-icon-blue {
  background: linear-gradient(to bottom right, #3b82f6, #1d4ed8);
}

.user-icon-emerald {
  background: linear-gradient(to bottom right, #10b981, #047857);
}

.user-icon-amber {
  background: linear-gradient(to bottom right, #f59e0b, #d97706);
}

.user-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.user-description {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features {
  padding: 4rem 0 8rem;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.features-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.features-content {
  order: 2;
}

.features-header {
  margin-bottom: 2rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(30px);
}

.feature-item.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.05);
}

.feature-icon-blue {
  background: linear-gradient(to bottom right, #3b82f6, #1d4ed8);
}

.feature-icon-emerald {
  background: linear-gradient(to bottom right, #10b981, #047857);
}

.feature-icon-amber {
  background: linear-gradient(to bottom right, #f59e0b, #d97706);
}

.feature-icon-purple {
  background: linear-gradient(to bottom right, #8b5cf6, #7c3aed);
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
}

.features-action {
  margin-top: 2rem;
}

.btn-secondary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(to right, #1e293b, #334155);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: linear-gradient(to right, #334155, #475569);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.features-image {
  position: relative;
  order: 1;
}

.image-glow {
  position: absolute;
  inset: -1rem;
  background: linear-gradient(to right, rgba(245, 158, 11, 0.2), rgba(100, 116, 139, 0.2));
  border-radius: 1.5rem;
  filter: blur(2rem);
}

.platform-image {
  position: relative;
  z-index: 10;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials {
  padding: 4rem 0 8rem;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0.6;
  margin-top: 2rem;
}

.client-logo {
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: rgba(148, 163, 184, 0.1);
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.testimonial-card {
  background: linear-gradient(to bottom right, #ffffff, #f8fafc);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-card.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.testimonial-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(1.02);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-stars i {
  color: #f59e0b;
  font-size: 1.25rem;
}

.testimonial-text {
  font-size: 1rem;
  color: #475569;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.author-avatar-blue {
  background: linear-gradient(to bottom right, #3b82f6, #1d4ed8);
}

.author-avatar-emerald {
  background: linear-gradient(to bottom right, #10b981, #047857);
}

.author-avatar-amber {
  background: linear-gradient(to bottom right, #f59e0b, #d97706);
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 700;
  color: #1e293b;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.875rem;
  color: #64748b;
}

/* ===================================
   FAQ SECTION
   =================================== */

.faq {
  padding: 4rem 0 8rem;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-list {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.5);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #475569;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: #64748b;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: #f59e0b;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
}

/* ===================================
   FINAL CTA SECTION
   =================================== */

.final-cta {
  position: relative;
  padding: 4rem 0 8rem;
  background: linear-gradient(to bottom right, #1e293b, #334155, #1e293b);
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.cta-pattern {
  position: absolute;
  inset: 0;
}

.cta-pattern-element {
  position: absolute;
  border: 1px solid #f59e0b;
  border-radius: 0.5rem;
  animation: float 8s ease-in-out infinite;
}

.cta-pattern-1 {
  top: 5rem;
  left: 5rem;
  width: 10rem;
  height: 10rem;
  transform: rotate(45deg);
  animation-delay: 0s;
}

.cta-pattern-2 {
  bottom: 5rem;
  right: 5rem;
  width: 8rem;
  height: 8rem;
  transform: rotate(12deg);
  animation-delay: 3s;
}

.cta-pattern-3 {
  top: 50%;
  left: 50%;
  width: 24rem;
  height: 24rem;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 50%;
  animation-delay: 6s;
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 9999px;
  color: #f59e0b;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.btn-cta-primary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(to right, #f59e0b, #f97316);
  color: #1e293b;
  border: none;
  padding: 1.25rem 3rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.5s ease;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 24rem;
}

.btn-cta-primary:hover {
  background: linear-gradient(to right, #f97316, #ea580c);
  box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.25);
  transform: translateY(-2px);
}

.btn-cta-primary i {
  transition: transform 0.3s ease;
}

.btn-cta-primary:hover i {
  transform: rotate(12deg);
}

.btn-cta-secondary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 1.25rem 3rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 100%;
  max-width: 24rem;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   FOOTER SECTION
   =================================== */

.footer {
  background: #0f172a;
  color: white;
  padding: 4rem 0 2rem;
  border-top: 1px solid #334155;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

.footer-brand {
  grid-column: span 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-description {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-locations {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.location {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #94a3b8;
  font-size: 0.875rem;
}

.location i {
  color: #f59e0b;
  flex-shrink: 0;
}

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

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

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

.footer-link {
  color: #94a3b8;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #f59e0b;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #94a3b8;
  font-size: 0.875rem;
}

.contact-item i {
  color: #f59e0b;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  color: #94a3b8;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.social-link:hover {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #334155;
}

.footer-copyright {
  color: #94a3b8;
  font-size: 0.875rem;
  text-align: center;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.legal-link {
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: #f59e0b;
}

/* ===================================
   ANIMATIONS
   =================================== */

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

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Responsive adjustments for Chinese text */
@media (min-width: 640px) {
  .language-options {
    gap: 1.5rem;
  }

  .language-option {
    padding: 0.75rem 1.25rem;
  }
}

@media (max-width: 639px) {
  .language-switcher {
    padding: 0.25rem 0;
  }

  .language-options {
    justify-content: center;
    gap: 0.5rem;
  }

  .language-option {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .zh-cn .hero-title {
    font-size: 1.75rem;
  }

  .zh-cn .section-title {
    font-size: 2rem;
  }
}

/* Small screens (640px and up) */
@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }

  .brand-info {
    display: block;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-actions {
    flex-direction: row;
    gap: 1.5rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: auto;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .users-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-actions {
    flex-direction: row;
    gap: 1.5rem;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: auto;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-copyright {
    text-align: left;
  }
}

/* Medium screens (768px and up) */
@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .cta-title {
    font-size: 3rem;
  }

  .feature-item {
    gap: 1.5rem;
  }
}

/* Large screens (1024px and up) */
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

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

  .mobile-menu-btn {
    display: none;
  }

  .hero-title {
    font-size: 5rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .users-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-content {
    order: 1;
  }

  .features-image {
    order: 2;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-brand {
    grid-column: span 1;
  }
}

/* Extra large screens (1280px and up) */
@media (min-width: 1280px) {
  .hero-title {
    font-size: 6rem;
  }

  .section-title {
    font-size: 4rem;
  }

  .cta-title {
    font-size: 4rem;
  }
}

/* 2XL screens (1536px and up) */
@media (min-width: 1536px) {
  .hero-title {
    font-size: 7rem;
  }

  .section-title {
    font-size: 5rem;
  }

  .cta-title {
    font-size: 5rem;
  }
}

/* ===================================
   ACCESSIBILITY & PERFORMANCE
   =================================== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero-overlay {
    background: rgba(0, 0, 0, 0.8);
  }

  .section-badge {
    border-width: 2px;
  }

  .btn-primary,
  .btn-secondary {
    border: 2px solid currentColor;
  }
}

/* Focus styles for keyboard navigation */
button:focus-visible,
a:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .header,
  .hero,
  .final-cta,
  .footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .section-title,
  .benefit-title,
  .user-title,
  .feature-title {
    color: black;
  }
}

/* ===================================
   END OF GLOBAL STYLES
   =================================== */
