/* Key2Meds Main Styles */
/* Based on modern biotech design principles */

:root {
  --primary-color: #0A2A5A;
  --accent-color: #00D2FF;
  --accent-hover: #00B8E6;
  --text-dark: #1a202c;
  --text-gray: #4a5568;
  --bg-light: #f7fafc;
  --bg-section: #ffffff;
  --border-color: #e2e8f0;
  --border-radius: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

/* Header Styles */
.header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-top {
  padding: 0.5rem 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Main Navigation */
.main-nav {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  display: inline-block;
}

.nav-link:hover {
  color: var(--accent-color);
}

/* Mega Menu Styles */
.nav-item.has-mega-menu {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #f7fafc;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  min-width: 280px;
  margin-top: 0.5rem;
}

.mega-menu-large {
  min-width: 900px;
  max-width: 1200px;
  /* 对于超大菜单，使用左对齐而不是居中，避免内容被遮挡 */
  left: 0;
  right: auto;
  transform: translateX(0) translateY(-10px);
}

.nav-item.has-mega-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-item.has-mega-menu:hover .mega-menu-large {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) translateY(0);
}

.mega-menu-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.mega-menu-large .mega-menu-content {
  /* 7 列布局，适应 Services 菜单 */
  grid-template-columns: repeat(7, minmax(140px, 1fr));
  gap: 1rem;
}

.mega-menu-column {
  min-width: 0;
}

.mega-menu-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: linear-gradient(145deg, #dcfce7, #e6e6e6);
  box-shadow:
    3px 3px 6px rgba(0, 0, 0, 0.08),
    -3px -3px 6px rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.mega-menu-title:not(h4):hover {
  background: linear-gradient(145deg, var(--accent-color), #00B8E6);
  color: white;
  transform: translateY(-2px);
  box-shadow:
    5px 5px 10px rgba(0, 210, 255, 0.3),
    -2px -2px 6px rgba(255, 255, 255, 0.8);
}

.mega-menu-title:not(h4)::after {
  content: '→';
  position: absolute;
  right: 0.75rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.mega-menu-title:not(h4):hover::after {
  opacity: 1;
  right: 0.5rem;
}

h4.mega-menu-title {
  background: transparent;
  box-shadow: none;
  padding: 0.5rem 0;
  font-size: 1.1rem;
}

.mega-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 0.5rem;
}

.mega-menu-list li {
  margin: 0;
  border-bottom: 1px solid var(--border-color);
}

.mega-menu-list a {
  display: block;
  padding: 0.625rem 0.75rem;
  color: var(--text-gray);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  position: relative;
  background: transparent;
}

.mega-menu-list a::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  opacity: 0;
  transition: all 0.3s ease;
}

.mega-menu-list a:hover {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f7ff 100%);
  color: var(--accent-color);
  font-weight: 600;
  padding-left: 1.25rem;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.05);
  transform: translateX(3px);
}

.mega-menu-list a:hover::before {
  opacity: 1;
  left: 0.5rem;
}

/* Language Toggle Button */
.language-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0d3d7a 100%);
  border: none;
  border-radius: 2rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(10, 42, 90, 0.15);
  position: relative;
  overflow: hidden;
}

.language-toggle-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.1) 0%, rgba(0, 210, 255, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.language-toggle-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 42, 90, 0.25);
}

.language-toggle-btn:hover::before {
  opacity: 1;
}

.language-toggle-btn:active {
  transform: translateY(0);
}

.lang-text {
  position: relative;
  z-index: 1;
  min-width: 50px;
  text-align: left;
}

.lang-icon {
  position: relative;
  z-index: 1;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.language-toggle-btn:hover .lang-icon {
  transform: rotate(180deg);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.75rem;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 210, 255, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem !important;
  font-size: 1rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-gray);
  margin: 4px 0;
  transition: all 0.3s ease;
}

.mobile-nav {
  background: white;
  border-top: 1px solid var(--border-color);
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
}

.mobile-nav-list a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-gray);
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list a:hover {
  background: var(--bg-light);
  color: var(--accent-color);
}

.mobile-dropdown-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  color: var(--text-gray);
  font-weight: 500;
  cursor: pointer;
}

.mobile-dropdown {
  background: var(--bg-light);
  list-style: none;
}

.mobile-dropdown a {
  padding-left: 3rem;
}

/* Footer Styles */
.footer {
  background: #1a202c;
  color: #a0aec0;
  padding-top: 3rem;
}

.footer-main {
  padding-bottom: 2rem;
}

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

.footer-column {
  padding: 1rem 0;
}

.footer-about {
  margin-right: 4rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-description {
  margin-bottom: 1.5rem;
  color: #cbd5e0;
  line-height: 1.8;
}

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

.footer-links,
.footer-contact {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent-color);
}

/* Footer Contact Email */
.footer-contact-email {
  margin-top: 1.5rem;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-color);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.email-link:hover {
  color: var(--accent-hover);
  transform: translateX(3px);
}

.email-link .contact-icon {
  flex-shrink: 0;
}

/* Contact Items */
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-icon {
  flex-shrink: 0;
}

/* Newsletter */
.newsletter-signup {
  margin-top: 1.5rem;
}

.newsletter-title {
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.newsletter-input::placeholder {
  color: #a0aec0;
}

.newsletter-btn {
  padding: 0.75rem 1rem;
  background: var(--accent-color);
  color: var(--primary-color);
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: var(--accent-hover);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.legal-links a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--accent-color);
}

.footer-certifications {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cert-badge {
  height: 40px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.cert-badge:hover {
  opacity: 1;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--accent-color);
  color: var(--primary-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 210, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
}

/* Hero Section - Unified */
.hero,
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 880px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?w=2560&h=1440&fit=crop&q=80') center/cover no-repeat;
  opacity: 0.3;
}



.hero .container,
.hero-section .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.hero h1,
.hero-section h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero .subtitle,
.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.hero .description {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Section Common Styles */
.services-section,
.services-overview,
.platforms-section,
.stats-section,
.cta-section,
.process-section,
.why-choose-section,
.certifications-section,
.news-section {
  padding: 80px 0;
}

.services-section,
.platforms-section,
.certifications-section,
.news-section {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

/* 确保内容在装饰背景之上 */
.services-section > *,
.platforms-section > *,
.certifications-section > *,
.news-section > *,
.why-choose-section > *,
.process-section > *,
.stats-section > *,
.cta-section > * {
  position: relative;
  z-index: 1;
}



.why-choose-section,
.process-section {
  background: white;
  position: relative;
  overflow: hidden;
}



.stats-section,
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

/* Stats Section 装饰性背景 - 光晕效果 */
.stats-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.certifications-section {
  padding: 60px 0;
}



.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.3), transparent);
}

/* Section Headers */
.section-header,
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Grid Layouts */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1300px;
  margin: 0 auto;
  padding: 0;
}

.testimonials-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.news-grid {
  margin-bottom: 3rem;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent-color), #0099CC);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card .value-prop {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.service-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
  opacity: 0;
  margin-bottom: 0;
}

.service-card:hover .service-details {
  max-height: 200px;
  opacity: 1;
  margin-bottom: 1.5rem;
}

.service-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-details li {
  padding: 0.375rem 0;
  color: var(--text-gray);
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}

.service-details li::before {
  content: '•';
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.service-link,
.news-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.service-link:hover,
.news-link:hover {
  gap: 0.75rem;
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:nth-child(1) {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f7ff 100%);
}

.feature-card:nth-child(2) {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.feature-card:nth-child(3) {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.feature-card:nth-child(4) {
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.stat-item {
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

.stat-sublabel {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

/* Certifications Section */
.cert-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cert-logo {
  background: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.cert-logo:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Testimonials Section */
.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 210, 255, 0.1);
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 120px;
  color: rgba(0, 210, 255, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 0;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 210, 255, 0.2);
  border-color: var(--accent-color);
}

.testimonial-card:hover::after {
  transform: scaleX(1);
}

.testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--text-gray);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  font-style: normal;
}

.testimonial-quote::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-color), transparent);
  border-radius: 2px;
}

.testimonial-author {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-role {
  font-size: 0.95rem;
  color: var(--text-gray);
  position: relative;
  z-index: 1;
  opacity: 0.8;
}

/* News Section */
.news-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.news-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e0f7ff, #f0f9ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.news-content {
  padding: 2rem;
}

.news-date {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: 0.75rem;
}

.news-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.news-excerpt {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.view-all-link {
  text-align: center;
  margin-top: 2rem;
}

.view-all-link a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.view-all-link a:hover {
  gap: 0.75rem;
}

/* News Section 装饰性背景 - 光晕效果 */
.news-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.news-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(10, 42, 90, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* CTA Section 装饰性背景 - 光晕效果 */
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
  z-index: 0;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite 2s;
  z-index: 0;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* CTA Section */
.cta-section .container {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta-section .cta-subtitle {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-section .cta-description {
  font-size: 1rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cta-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-contact-info a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cta-contact-info a:hover {
  color: white;
}



/* Platforms Section */
.platform-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  background: white;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}



.platform-item:hover {
  box-shadow: 0 12px 40px rgba(0, 210, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

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

.platform-item:nth-child(2) {
  animation-delay: 0.2s;
}

.platform-item:nth-child(3) {
  animation-delay: 0.4s;
}

.platform-item:nth-child(4) {
  animation-delay: 0.6s;
}

.platform-item:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.platform-item:nth-child(even) .platform-image {
  order: 2;
}

.platform-item:nth-child(even) .platform-content {
  order: 1;
}

.platform-image {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.platform-image:hover {
  transform: translateY(-10px) scale(1.02);
}

.platform-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.platform-content {
  padding: 0;
}

.platform-content h3 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.platform-content h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
  border-radius: 2px;
}

.platform-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

.platform-content li {
  padding: 1rem 0;
  color: var(--text-gray);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.8;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(0, 210, 255, 0.1);
  transition: all 0.3s ease;
}

.platform-content li:hover {
  padding-left: 0.5rem;
  color: var(--primary-color);
  background: rgba(0, 210, 255, 0.03);
}

.platform-content li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(0, 210, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.platform-content li:hover::before {
  background: var(--accent-color);
  color: white;
  transform: scale(1.1) rotate(360deg);
}

.platform-content .service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--accent-color);
  border-radius: 30px;
  background: transparent;
}

.platform-content .service-link:hover {
  background: var(--accent-color);
  color: white;
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 210, 255, 0.3);
}

/* Process Section 装饰性背景 - 光晕效果 */
.process-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 210, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(10, 42, 90, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Process Section */
.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(10% + 2rem);
  right: calc(10% + 2rem);
  height: 3px;
  background: linear-gradient(to right, var(--accent-color) 0%, var(--accent-color) 100%);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  flex: 1;
  padding: 0 1rem;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), #0099CC);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.4);
  border: 4px solid white;
  position: relative;
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 210, 255, 0.6);
}

.process-step h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-logo {
    font-size: 0.9rem;
    padding: 0.875rem 1.5rem;
  }

  .process-steps::before {
    display: none;
  }

  .process-steps {
    flex-wrap: wrap;
    gap: 3rem;
  }

  .process-step {
    flex: 0 0 calc(50% - 1.5rem);
  }
}

@media (max-width: 968px) {
  .platform-item,
  .platform-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .platform-item:nth-child(even) .platform-image,
  .platform-item:nth-child(even) .platform-content {
    order: unset;
  }

  .platform-image {
    height: 350px;
  }

  .platform-content h3 {
    font-size: 1.875rem;
  }
}

@media (max-width: 768px) {
  .hero h1,
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero .subtitle,
  .hero-subtitle {
    font-size: 1.25rem;
  }

  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .platform-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .platform-item:nth-child(even) {
    direction: ltr;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-step {
    flex: 1 1 100%;
    margin-bottom: 2rem;
  }

  .cert-logo {
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
  }

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

  .stat-number {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

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

  .testimonial-card {
    padding: 2rem;
  }

  .testimonial-card::before {
    font-size: 80px;
    top: -5px;
    left: 10px;
  }
}