/* ==========================================================================
   Shifeng Info - Custom Modernized CSS (Clean Tech / Enterprise Stripe-style)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- Root variables --- */
:root {
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --border-light: #e2e8f0;
  --border-dark: #cbd5e1;
  --color-primary: #0f62fe; /* Enterprise Royal Blue */
  --color-primary-hover: #0043ce;
  --color-primary-light: rgba(15, 98, 254, 0.08);
  --color-secondary: #0d9488; /* Security Teal */
  --color-secondary-hover: #0f766e;
  --color-secondary-light: rgba(13, 148, 136, 0.08);
  --text-dark: #0f172a; /* Slate 900 */
  --text-muted: #475569; /* Slate 600 */
  --text-light: #94a3b8; /* Slate 400 */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 24px -10px rgba(15, 98, 254, 0.08);
}

/* --- Typography & Base Overrides --- */
body, h1, h2, h3, h4, h5, h6, p, a, span, button, input, textarea, select {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-main);
  color: var(--text-muted);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
}

/* --- Layout Spacing --- */
.section-padding {
  padding: 100px 0;
}
@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* --- Glassmorphism Navigation Header --- */
.glass-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all 0.3s ease;
}

.glass-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px -5px rgba(15, 98, 254, 0.05);
}

.header_logo img {
  height: 40px;
  width: auto;
}

.main_menu nav ul li a {
  color: var(--text-dark) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 10px 15px !important;
  position: relative;
  transition: color 0.2s ease;
}

.main_menu nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 15px;
  background-color: var(--color-primary);
  transition: width 0.2s ease;
}

.main_menu nav ul li a:hover,
.main_menu nav ul li a.active {
  color: var(--color-primary) !important;
}

.main_menu nav ul li a:hover::after,
.main_menu nav ul li a.active::after {
  width: calc(100% - 30px);
}

/* --- Clean Buttons & Badges --- */
.btn-primary-custom {
  background-color: var(--color-primary);
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 9999px;
  border: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-custom:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(15, 98, 254, 0.2);
}

.btn-secondary-custom {
  background-color: transparent;
  color: var(--color-primary) !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary-custom:hover {
  background-color: var(--bg-subtle);
  border-color: var(--border-dark);
  color: var(--color-primary-hover) !important;
}

.badge-pill-custom {
  background-color: var(--color-secondary-light);
  color: var(--color-secondary) !important;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 20px;
}

/* --- Gradient Text --- */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Hero Section & Dashboard Graphics --- */
.hero-banner-custom {
  background: radial-gradient(circle at 100% 0%, rgba(13, 148, 136, 0.03) 0%, rgba(15, 98, 254, 0.03) 50%, #ffffff 100%);
  padding-top: 180px;
  padding-bottom: 110px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-banner-custom h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-banner-custom p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 540px;
}

@media (max-width: 991px) {
  .hero-banner-custom {
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: center;
  }
  .hero-banner-custom h1 {
    font-size: 2.5rem;
  }
  .hero-banner-custom p {
    margin: 0 auto 30px auto;
  }
  .hero-graphic-col {
    margin-top: 50px;
  }
}

/* Mock Dashboard HTML Graphic */
.mock-dashboard {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(15, 98, 254, 0.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.dashboard-header {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-dots {
  display: flex;
  gap: 6px;
}

.dashboard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dashboard-dot:nth-child(1) { background-color: #ef4444; }
.dashboard-dot:nth-child(2) { background-color: #eab308; }
.dashboard-dot:nth-child(3) { background-color: #22c55e; }

.dashboard-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dashboard-body {
  display: flex;
  height: 290px;
}

.dashboard-sidebar {
  width: 50px;
  background: var(--bg-subtle);
  border-right: 1px solid var(--border-light);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.dashboard-icon {
  width: 24px;
  height: 24px;
  color: var(--text-light);
  opacity: 0.7;
}
.dashboard-icon.active {
  color: var(--color-primary);
  opacity: 1;
}

.dashboard-content {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.dashboard-metric-box {
  background: var(--color-secondary-light);
  border: 1px solid rgba(13, 148, 136, 0.1);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-metric-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-secondary);
  text-transform: uppercase;
}

.dashboard-metric-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(13, 148, 136, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

.email-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.email-item {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.email-info {
  display: flex;
  flex-direction: column;
}

.email-sender {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
}

.email-subject {
  font-size: 11px;
  color: var(--text-muted);
}

.email-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}
.email-badge.passed { background: #dcfce7; color: #15803d; }
.email-badge.cleaned { background: var(--color-secondary-light); color: var(--color-secondary); }
.email-badge.archived { background: var(--color-primary-light); color: var(--color-primary); }

.sync-bar {
  margin-top: auto;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px;
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sync-text {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
}

.sync-progress-container {
  height: 4px;
  background-color: var(--border-light);
  border-radius: 9999px;
  overflow: hidden;
}

.sync-progress-bar {
  height: 100%;
  width: 100%;
  background-color: var(--color-primary);
  border-radius: 9999px;
  animation: fillProgress 3s infinite alternate ease-in-out;
}

@keyframes fillProgress {
  0% { width: 45%; }
  100% { width: 100%; }
}

/* --- Trust Metrics Bar --- */
.trust-metrics-section {
  padding: 30px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.trust-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .trust-metrics-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

.trust-metric-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
}

@media (max-width: 768px) {
  .trust-metric-item {
    flex-direction: column;
    padding: 10px 0;
  }
}

.trust-metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-metric-icon.secondary {
  background-color: var(--color-secondary-light);
  color: var(--color-secondary);
}

.trust-metric-content h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.trust-metric-content p {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0;
}

/* --- Sorb Security & Premium Cards --- */
.sticky-panel-container {
  position: sticky;
  top: 120px;
}

@media (max-width: 991px) {
  .sticky-panel-container {
    position: relative;
    top: 0;
    margin-bottom: 40px;
  }
}

.section-subtitle-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
  margin-bottom: 12px;
}

.section-subtitle-badge.teal {
  color: var(--color-secondary);
}

.premium-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-secondary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-secondary);
  box-shadow: 0 16px 32px -10px rgba(13, 148, 136, 0.12);
}

.premium-card:hover::before {
  opacity: 1;
}

.premium-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--color-secondary-light);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.premium-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.premium-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Zimbra Services Matrix --- */
.zimbra-bg {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.service-row {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.service-row:hover {
  border-color: var(--color-primary);
  transform: translateX(6px);
  box-shadow: 0 10px 20px -8px rgba(15, 98, 254, 0.08);
}

.service-row-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-row-content {
  flex: 1;
}

.service-row-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.service-row-content p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* --- Why Choose Us Value props --- */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 991px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

.why-us-card {
  background: #ffffff;
  padding: 40px;
  transition: all 0.3s ease;
  position: relative;
}

.why-us-card:not(:last-child) {
  border-right: 1px solid var(--border-light);
}

@media (max-width: 991px) {
  .why-us-card:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
}

.why-us-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.why-us-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-us-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Hover Accent Line Expansion */
.why-us-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-primary);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-us-card:hover {
  background-color: var(--bg-subtle);
}

.why-us-card:hover::after {
  width: 100%;
}

/* --- Contact Us Overhaul & B2B Forms --- */
.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 10px 20px -8px rgba(13, 148, 136, 0.08);
}

.contact-info-card h3 {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.contact-info-card h3 i {
  color: var(--color-secondary);
}

.contact-info-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-form-container {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 576px) {
  .contact-form-container {
    padding: 24px;
  }
}

.contact-form-container h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 30px;
}

.form-group-custom {
  position: relative;
  margin-bottom: 24px;
}

.form-control-custom {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.form-control-custom:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px var(--color-secondary-light);
  outline: none;
}

textarea.form-control-custom {
  min-height: 120px;
  resize: vertical;
}

/* Floating labels effect */
.form-group-custom label {
  position: absolute;
  left: 18px;
  top: 14px;
  font-size: 14px;
  color: var(--text-light);
  pointer-events: none;
  transition: all 0.2s ease;
}

.form-control-custom:focus ~ label,
.form-control-custom:not(:placeholder-shown) ~ label {
  top: -8px;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-secondary);
  background-color: #ffffff;
  padding: 0 6px;
}

/* Form success message */
.form-messege {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 600;
}

/* --- High-end Footer Section --- */
.footer-custom {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 80px 0 30px 0;
}

.footer-top-cta {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.footer-top-cta h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-top-cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

@media (max-width: 576px) {
  .footer-top-cta h2 {
    font-size: 1.8rem;
  }
}

.footer-bottom-custom {
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .footer-bottom-custom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

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

.footer-copyright {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}

.footer-contact-links {
  display: flex;
  gap: 24px;
}

@media (max-width: 768px) {
  .footer-contact-links {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}

.footer-contact-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.footer-social-links {
  display: flex;
  gap: 16px;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.footer-social-links a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

/* ==========================================================================
   Language Switcher Styles
   ========================================================================== */
.lang-switcher-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  margin-right: 15px;
}

@media (max-width: 576px) {
  .lang-switcher-container {
    margin-right: 5px;
    font-size: 12.5px;
    gap: 6px;
  }
}

.lang-switcher-link {
  color: var(--color-primary) !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.lang-switcher-link:hover {
  color: var(--color-secondary) !important;
}

.lang-switcher-link.active {
  color: var(--text-dark) !important;
  font-weight: 700;
  pointer-events: none; /* Disable clicking active language */
}

.lang-switcher-separator {
  color: var(--border-light);
  user-select: none;
}

/* Offcanvas Lang Switcher */
.offcanvas-lang-switcher {
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

/* Footer Lang Switcher alignment */
.footer-lang-switcher {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

