@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&display=swap');

.theme-business {
  --primary: var(--wp--preset--color--business-primary, #2563eb);
  --primary-hover: var(--primary);
  --primary-light: color-mix(in srgb, var(--primary) 10%, #ffffff);
  --text-main: var(--wp--preset--color--text-main, #0f172a);
  --text-muted: var(--wp--preset--color--text-muted, #64748b);
  --bg-page: var(--wp--preset--color--bg-page, #ffffff);
  --bg-alt: var(--wp--preset--color--bg-alt, #f8fafc);
  --border: var(--wp--preset--color--border, #e2e8f0);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-sans: "Noto Sans TC", system-ui, -apple-system, sans-serif;
  --container-width: 1200px;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.theme-business .wp-block-group,
.theme-business .wp-block-columns,
.theme-business .wp-block-column,
.theme-business figure,
.theme-business p,
.theme-business h1,
.theme-business h2,
.theme-business h3,
.theme-business h4,
.theme-business ul {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.theme-business a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.theme-business .container {
  width: 100%;
  max-width: var(--container-width);
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 24px;
  padding-left: 24px;
}

.theme-business > header,
.theme-business .hero,
.theme-business .services,
.theme-business .about,
.theme-business .testimonials,
.theme-business .contact-cta,
.theme-business > footer {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.theme-business header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid var(--border) !important;
  transition: all 0.3s ease !important;
}

.theme-business .nav-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 80px !important;
}

.theme-business .logo {
  font-size: 24px !important;
  font-weight: 900 !important;
  color: var(--text-main) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.theme-business .logo-dot {
  width: 10px !important;
  height: 10px !important;
  background-color: var(--primary) !important;
  border-radius: 50% !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.theme-business .nav-menu {
  display: flex !important;
  align-items: center !important;
  gap: 32px !important;
  list-style: none !important;
  padding-left: 0 !important;
}

.theme-business .nav-link {
  font-weight: 500 !important;
  color: var(--text-muted) !important;
}

.theme-business .nav-link:hover,
.theme-business .nav-link.active {
  color: var(--primary) !important;
}

.theme-business .nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.theme-business .btn,
.theme-business .wp-block-button.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: var(--radius-sm) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  border: none !important;
  box-sizing: border-box !important;
}

.theme-business .wp-block-button.btn a,
.theme-business .wp-block-button.btn-primary a,
.theme-business .wp-block-button.btn-secondary a,
.theme-business .wp-block-button.btn-accent a {
  padding: 0 !important;
  background: none !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  border-radius: inherit !important;
  text-decoration: none !important;
  line-height: inherit !important;
}

.theme-business .wp-block-button.btn-primary,
.theme-business .btn-primary {
  background-color: var(--primary) !important;
  color: #ffffff !important;
  border: none !important;
}

.theme-business .wp-block-button.btn-primary:hover,
.theme-business .btn-primary:hover {
  filter: brightness(0.9) !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-md) !important;
}

.theme-business .hero .wp-block-button.btn-secondary {
  background-color: transparent !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border) !important;
}

.theme-business .hero .wp-block-button.btn-secondary:hover {
  background-color: var(--bg-alt) !important;
  border-color: var(--text-muted) !important;
  transform: translateY(-1px) !important;
}

.theme-business .hero .wp-block-button.btn-secondary a {
  color: var(--text-main) !important;
}

.theme-business .contact-cta .wp-block-button.btn-secondary {
  background-color: transparent !important;
  border: 1px solid #ffffff !important;
}

.theme-business .contact-cta .wp-block-button.btn-secondary a {
  color: #ffffff !important;
}

.theme-business .menu-toggle {
  display: none !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 4px !important;
  color: var(--text-main) !important;
}

.theme-business .hero {
  padding: 100px 0 80px !important;
  background: radial-gradient(circle at 90% 10%, var(--primary-light) 0%, transparent 40%) !important;
  overflow: hidden !important;
}

.theme-business .hero-grid {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: 48px !important;
  align-items: center !important;
}

.theme-business .hero-content {
  max-width: 620px !important;
}

.theme-business .hero-tag {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 16px !important;
  background-color: var(--primary-light) !important;
  color: var(--primary) !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin-bottom: 24px !important;
}

.theme-business .hero-title {
  font-size: 48px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  color: var(--text-main) !important;
  margin-bottom: 24px !important;
  letter-spacing: -0.5px !important;
}

.theme-business .hero-subtitle {
  font-size: 18px !important;
  color: var(--text-muted) !important;
  margin-bottom: 40px !important;
  line-height: 1.75 !important;
}

.theme-business .hero-buttons {
  display: flex !important;
  gap: 16px !important;
}

.theme-business .hero-image-wrapper {
  position: relative !important;
}

.theme-business .hero-image,
.theme-business figure.hero-image,
.theme-business figure.hero-image img {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
  width: 100% !important;
  height: 450px !important;
  object-fit: cover !important;
}

.theme-business .hero-badge {
  position: absolute !important;
  bottom: 24px !important;
  left: -24px !important;
  background-color: #ffffff !important;
  padding: 16px 24px !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.theme-business .hero-badge-icon {
  width: 48px !important;
  height: 48px !important;
  background-color: var(--primary-light) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--primary) !important;
  flex-shrink: 0 !important;
}

.theme-business .hero-badge-text h4 {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: var(--text-main) !important;
}

.theme-business .hero-badge-text p {
  font-size: 13px !important;
  color: var(--text-muted) !important;
}

.theme-business .services {
  padding: 100px 0 !important;
  background-color: var(--bg-alt) !important;
}

.theme-business .section-header {
  text-align: center !important;
  max-width: 650px !important;
  margin: 0 auto 64px !important;
}

.theme-business .section-tag {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin-bottom: 16px !important;
  display: block !important;
}

.theme-business .section-title {
  font-size: 36px !important;
  font-weight: 900 !important;
  margin-bottom: 16px !important;
  color: var(--text-main) !important;
}

.theme-business .section-desc {
  font-size: 16px !important;
  color: var(--text-muted) !important;
}

.theme-business .services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 32px !important;
}

.theme-business .service-card {
  background-color: var(--bg-page) !important;
  padding: 40px !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--border) !important;
  transition: all 0.3s ease !important;
  height: 100% !important;
}

.theme-business .service-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--shadow-lg) !important;
  border-color: var(--primary) !important;
}

.theme-business .service-icon {
  width: 56px !important;
  height: 56px !important;
  background-color: var(--primary-light) !important;
  color: var(--primary) !important;
  border-radius: var(--radius-sm) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 24px !important;
}

.theme-business .service-card h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
}

.theme-business .service-card p {
  color: var(--text-muted) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.theme-business .about {
  padding: 100px 0 !important;
}

.theme-business .about-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 64px !important;
  align-items: center !important;
}

.theme-business .about-image,
.theme-business figure.about-image,
.theme-business figure.about-image img {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
  height: 480px !important;
  object-fit: cover !important;
  width: 100% !important;
}

.theme-business .about-content h2 {
  font-size: 36px !important;
  font-weight: 900 !important;
  margin-bottom: 24px !important;
}

.theme-business .about-text {
  color: var(--text-muted) !important;
  margin-bottom: 40px !important;
  font-size: 16px !important;
}

.theme-business .stats-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 32px !important;
}

.theme-business .stat-item {
  border-left: 4px solid var(--primary) !important;
  padding-left: 20px !important;
}

.theme-business .stat-number {
  font-size: 36px !important;
  font-weight: 900 !important;
  color: var(--primary) !important;
  line-height: 1 !important;
  margin-bottom: 8px !important;
}

.theme-business .stat-label {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--text-main) !important;
}

.theme-business .stat-desc {
  font-size: 13px !important;
  color: var(--text-muted) !important;
  margin-top: 4px !important;
}

.theme-business .testimonials {
  padding: 100px 0 !important;
  background-color: var(--bg-alt) !important;
}

.theme-business .testimonials-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 32px !important;
  margin-bottom: 80px !important;
}

.theme-business .testimonial-card {
  background-color: var(--bg-page) !important;
  padding: 32px !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--border) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
}

.theme-business .testimonial-stars {
  color: #fbbf24 !important;
  margin-bottom: 16px !important;
  display: flex !important;
  gap: 4px !important;
}

.theme-business .testimonial-content {
  font-size: 15px !important;
  color: var(--text-main) !important;
  margin-bottom: 24px !important;
  font-style: italic !important;
}

.theme-business .testimonial-author {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.theme-business .author-avatar,
.theme-business figure.author-avatar,
.theme-business figure.author-avatar img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.theme-business .author-info h4 {
  font-size: 15px !important;
  font-weight: 700 !important;
}

.theme-business .author-info p {
  font-size: 13px !important;
  color: var(--text-muted) !important;
}

.theme-business .partners-title {
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--text-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  margin-bottom: 32px !important;
}

.theme-business .partners-logos {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 32px !important;
  opacity: 0.6 !important;
}

.theme-business .partner-logo {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: var(--text-muted) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.theme-business .contact-cta {
  padding: 100px 0 !important;
  background-color: var(--text-main) !important;
  color: #ffffff !important;
  position: relative !important;
  overflow: hidden !important;
}

.theme-business .contact-cta::before {
  content: "" !important;
  position: absolute !important;
  top: -50% !important;
  right: -20% !important;
  width: 600px !important;
  height: 600px !important;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 20%, transparent) 0%, transparent 70%) !important;
  pointer-events: none !important;
}

.theme-business .cta-container {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: 64px !important;
  align-items: center !important;
  position: relative !important;
  z-index: 1 !important;
}

.theme-business .cta-content h2 {
  font-size: 40px !important;
  font-weight: 900 !important;
  margin-bottom: 24px !important;
  line-height: 1.3 !important;
  color: #ffffff !important;
}

.theme-business .cta-content p {
  color: #94a3b8 !important;
  font-size: 16px !important;
  margin-bottom: 32px !important;
}

.theme-business .cta-features {
  list-style: none !important;
  padding-left: 0 !important;
}

.theme-business .cta-feature-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
  font-size: 15px !important;
  color: #e2e8f0 !important;
}

.theme-business .cta-feature-icon {
  color: var(--primary) !important;
  flex-shrink: 0 !important;
}

.theme-business .cta-form-card {
  background-color: #1e293b !important;
  padding: 40px !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid #334155 !important;
}

.theme-business .form-group {
  margin-bottom: 20px !important;
}

.theme-business .form-label {
  display: block !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #cbd5e1 !important;
  margin-bottom: 8px !important;
}

.theme-business .form-input {
  width: 100% !important;
  padding: 12px 16px !important;
  background-color: #0f172a !important;
  border: 1px solid #334155 !important;
  border-radius: var(--radius-sm) !important;
  color: #ffffff !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  transition: all 0.2s ease !important;
}

.theme-business .form-input:focus {
  outline: none !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent) !important;
}

.theme-business .contact-submit {
  width: 100% !important;
  padding: 14px !important;
  font-size: 16px !important;
}

.theme-business footer {
  background-color: #0f172a !important;
  color: #94a3b8 !important;
  padding: 80px 0 32px !important;
  border-top: 1px solid #1e293b !important;
}

.theme-business .footer-grid {
  display: grid !important;
  grid-template-columns: 1.5fr repeat(3, 1fr) !important;
  gap: 48px !important;
  margin-bottom: 64px !important;
}

.theme-business .footer-brand .logo {
  color: #ffffff !important;
  margin-bottom: 20px !important;
}

.theme-business .footer-brand p {
  font-size: 14px !important;
  line-height: 1.7 !important;
  margin-bottom: 24px !important;
}

.theme-business .footer-socials {
  display: flex !important;
  gap: 16px !important;
}

.theme-business .social-link {
  width: 36px !important;
  height: 36px !important;
  background-color: #1e293b !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #cbd5e1 !important;
  transition: all 0.2s ease !important;
}

.theme-business .social-link:hover {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

.theme-business .footer-column h4 {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 24px !important;
}

.theme-business .footer-links {
  list-style: none !important;
  padding-left: 0 !important;
}

.theme-business .footer-links li {
  margin-bottom: 12px !important;
}

.theme-business .footer-links a,
.theme-business .footer-contact-item {
  font-size: 14px !important;
}

.theme-business .footer-links a:hover {
  color: #ffffff !important;
}

.theme-business .footer-bottom {
  border-top: 1px solid #1e293b !important;
  padding-top: 32px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  font-size: 13px !important;
}

@media (max-width: 1024px) {
  .theme-business .hero-title {
    font-size: 40px !important;
  }
  .theme-business .services-grid,
  .theme-business .testimonials-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .theme-business .menu-toggle {
    display: block !important;
  }
  .theme-business .nav-menu {
    position: fixed !important;
    top: 80px !important;
    left: 0 !important;
    right: 0 !important;
    background-color: #ffffff !important;
    flex-direction: column !important;
    padding: 32px 24px !important;
    gap: 24px !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-150%) !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
  }
  .theme-business .nav-menu.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .theme-business .nav-actions {
    display: none !important;
  }
  .theme-business .hero-grid,
  .theme-business .about-grid,
  .theme-business .cta-container {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .theme-business .hero-image,
  .theme-business figure.hero-image,
  .theme-business figure.hero-image img,
  .theme-business .about-image,
  .theme-business figure.about-image,
  .theme-business figure.about-image img {
    height: 320px !important;
  }
  .theme-business .hero-badge {
    left: 16px !important;
  }
  .theme-business .services-grid,
  .theme-business .testimonials-grid,
  .theme-business .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .theme-business .footer-grid {
    gap: 32px !important;
  }
}
